:root {
  --ink: #18211e;
  --muted: #65716a;
  --line: #dce2da;
  --paper: #f5f7f4;
  --white: #fff;
  --lime: #d8fa6b;
  --coral: #f27e66;
  --dark: #17201d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', 'Noto Sans SC', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { flex: none; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(100% - 96px, 1360px); margin-inline: auto; }
.section-pad { padding: 120px 0; }
section[id] { scroll-margin-top: 75px; }

.site-header { height: 76px; background: var(--paper); position: relative; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'DM Sans', sans-serif; font-size: 25px; font-weight: 800; line-height: 1; white-space: nowrap; }
.brand-dot, .accent-period { color: var(--coral); }
.brand-mark { width: 26px; height: 25px; display: flex; align-items: flex-end; gap: 3px; transform: skew(-15deg); }
.brand-mark span { width: 7px; background: var(--ink); display: block; }
.brand-mark span:nth-child(1) { height: 20px; }
.brand-mark span:nth-child(2) { height: 12px; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 20px; }
.site-nav { height: 100%; display: flex; align-items: center; gap: 40px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.nav-contact) { color: #39453f; transition: color .2s; }
.site-nav > a:hover { color: #e15c45; }
.nav-contact { min-height: 42px; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; gap: 14px; padding: 0 17px; transition: background .2s, transform .2s; }
.nav-contact:hover, .button-dark:hover { background: #3b4b43; transform: translateY(-2px); }
.nav-contact svg { width: 17px; height: 17px; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { display: block; width: 25px; height: 25px; }

.hero { position: relative; min-height: min(650px, calc(100svh - 240px)); background: #0d1716; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,18,17,.97) 0%, rgba(7,18,17,.92) 28%, rgba(7,18,17,.72) 54%, rgba(7,18,17,.18) 100%), linear-gradient(0deg, rgba(7,18,17,.55), transparent 40%), url('assets/hero-analytics.jpg') center 48% / cover no-repeat; }
.hero-inner { position: relative; min-height: inherit; display: flex; align-items: center; justify-content: space-between; }
.hero-content { max-width: 720px; padding: 78px 0 96px; }
.eyebrow { margin: 0; color: #566960; display: flex; align-items: center; gap: 14px; font-family: 'DM Sans', 'Noto Sans SC', sans-serif; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; }
.eyebrow.light { color: #ccd9d1; }
.eyebrow-line { width: 29px; height: 1px; background: var(--coral); flex: none; }
.hero h1 { margin: 25px 0 9px; font-family: 'DM Sans', sans-serif; font-size: clamp(64px, 7vw, 118px); font-weight: 800; line-height: .98; letter-spacing: 0; }
.title-period { color: var(--lime); }
.hero-statement { margin: 0; font-size: clamp(30px, 3vw, 48px); font-weight: 600; line-height: 1.42; }
.hero-description { max-width: 510px; margin: 25px 0 0; color: #d3ded8; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 37px; }
.button { border: 0; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 38px; padding: 0 21px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.button svg { width: 18px; height: 18px; }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #edffae; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover svg { transform: translateY(4px); }
.text-link-light { color: #e9f2eb; }
.hero-side-note { align-self: flex-end; margin-bottom: 37px; display: flex; align-items: center; gap: 30px; color: #c5d7cd; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; white-space: nowrap; writing-mode: vertical-rl; }

.services { background: var(--paper); padding-top: 75px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; margin-bottom: 65px; }
h2 { margin: 22px 0 0; font-size: clamp(36px, 4vw, 56px); font-weight: 700; line-height: 1.28; letter-spacing: 0; }
.section-intro { max-width: 355px; margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cbd5cc; border-bottom: 1px solid #cbd5cc; }
.service-item { padding: 38px 40px 43px 0; display: flex; flex-direction: column; min-width: 0; }
.service-item + .service-item { padding-left: 40px; border-left: 1px solid #cbd5cc; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-number { color: #87948a; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; }
.service-top svg { width: 27px; height: 27px; color: #d86e59; stroke-width: 1.6; }
.service-item h3 { margin: 72px 0 16px; font-size: 25px; line-height: 1.3; }
.service-item p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 34px; }
.service-tags span { border: 1px solid #d7ded5; padding: 7px 10px; color: #66776a; font-size: 12px; white-space: nowrap; }

.approach { background: var(--dark); color: var(--white); }
.approach-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 80px; }
.approach-heading .eyebrow { grid-column: 1 / -1; }
.approach-heading h2 { margin-top: 24px; }
.approach-heading > p:last-child { max-width: 370px; margin: 0 0 8px auto; color: #b6c6ba; font-size: 16px; line-height: 1.9; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 82px; border-top: 1px solid #56645b; }
.step { min-width: 0; padding: 29px 38px 0 0; }
.step + .step { border-left: 1px solid #56645b; padding-left: 38px; }
.step-index { font-family: 'DM Sans', sans-serif; color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.step h3 { margin: 49px 0 12px; font-size: 22px; }
.step p { max-width: 300px; margin: 0; color: #b8c6bc; font-size: 14px; line-height: 1.85; }

.about { background: #fff; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 8%; align-items: center; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.about-name { display: flex; flex-direction: column; gap: 5px; margin-top: 55px; padding-top: 23px; border-top: 1px solid var(--line); }
.about-name span:first-child { font-size: 15px; font-weight: 700; }
.about-name span:last-child { color: #829087; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; }
.about-visual { position: relative; overflow: hidden; min-height: 440px; }
.about-visual img { width: 100%; height: 440px; object-fit: cover; object-position: center; }
.visual-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; background: var(--lime); padding: 16px 20px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.visual-caption svg { width: 19px; height: 19px; }

.contact { background: #e4edf2; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 10%; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 390px; margin: 29px 0 51px; color: #5d6d72; font-size: 16px; line-height: 1.9; }
.email-link { display: inline-flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font-family: 'DM Sans', sans-serif; font-size: clamp(17px, 2vw, 22px); font-weight: 700; overflow-wrap: anywhere; }
.email-link svg { width: 20px; height: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 25px; padding-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; color: #293c40; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #a9bbc0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 400; padding: 11px 0 13px; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #193f38; box-shadow: 0 1px 0 #193f38; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7d9094; opacity: 1; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2318211e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; cursor: pointer; }
.button-dark { background: var(--ink); color: var(--white); align-self: flex-start; margin-top: 7px; min-width: 196px; }

.site-footer { background: #111a17; color: #f2f6f0; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding: 62px 0 65px; }
.footer-brand .brand-mark span { background: var(--lime); }
.footer-brand .brand-mark span:nth-child(2) { background: var(--coral); }
.footer-main p { margin: 15px 0 0 38px; color: #a4b4a9; font-size: 13px; }
.footer-links { display: flex; align-items: flex-start; gap: 32px; color: #c0cec2; font-size: 13px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #3a4940; padding: 23px 0 27px; color: #8e9e92; font-family: 'DM Sans', sans-serif; font-size: 12px; }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 64px, 1360px); }
  .site-nav { gap: 22px; }
  .section-pad { padding: 95px 0; }
  .service-item { padding-right: 24px; }
  .service-item + .service-item { padding-left: 24px; }
  .about-layout, .contact-layout { gap: 6%; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1360px); }
  .site-header { height: 68px; }
  section[id] { scroll-margin-top: 68px; }
  .brand { font-size: 23px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; height: auto; padding: 15px 20px 25px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 20px 25px rgba(12, 25, 17, .12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 15px; justify-content: space-between; padding: 0 17px; border-bottom: 0; }
  .hero { min-height: min(630px, calc(100svh - 175px)); }
  .hero-image { background: linear-gradient(90deg, rgba(7,18,17,.95), rgba(7,18,17,.78)), linear-gradient(0deg, rgba(7,18,17,.48), transparent 50%), url('assets/hero-analytics.jpg') 58% center / cover no-repeat; }
  .hero-content { padding: 90px 0 98px; max-width: 610px; }
  .hero h1 { font-size: clamp(52px, 11vw, 82px); }
  .hero-statement { font-size: clamp(27px, 5vw, 36px); }
  .hero-description { font-size: 15px; }
  .hero-side-note { display: none; }
  .section-pad { padding: 78px 0; }
  .services { padding-top: 52px; }
  .section-heading, .approach-heading { display: block; }
  .section-heading { margin-bottom: 38px; }
  .section-intro, .approach-heading > p:last-child { max-width: 530px; margin: 23px 0 0; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-item, .service-item + .service-item { padding: 27px 0 33px; border-left: 0; }
  .service-item + .service-item { border-top: 1px solid #cbd5cc; }
  .service-item h3 { margin: 23px 0 12px; }
  .service-tags { padding-top: 20px; }
  .steps { margin-top: 45px; }
  .step, .step + .step { padding: 24px 0 28px; border-left: 0; }
  .step + .step { border-top: 1px solid #56645b; }
  .step h3 { margin: 22px 0 9px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .about-name { margin-top: 35px; }
  .about-visual, .about-visual img { min-height: 0; height: min(65vw, 440px); }
  .contact-copy > p:not(.eyebrow) { margin: 23px 0 26px; }
  .contact-form { padding-top: 0; }
  .footer-main { padding: 50px 0; }
  .footer-links { flex-wrap: wrap; justify-content: flex-end; max-width: 210px; gap: 15px 24px; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 36px, 1360px); }
  .hero { min-height: min(600px, calc(100svh - 175px)); }
  .hero-content { padding: 64px 0 73px; }
  .hero h1 { margin-top: 23px; font-size: clamp(48px, 13vw, 64px); }
  .hero-statement { font-size: 27px; }
  .hero-description { margin-top: 18px; font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 20px; margin-top: 27px; }
  .button { min-height: 50px; gap: 17px; padding: 0 15px; font-size: 14px; }
  .text-link { gap: 7px; font-size: 13px; }
  .section-pad { padding: 65px 0; }
  .services { padding-top: 50px; }
  h2 { font-size: clamp(32px, 8vw, 39px); }
  .section-intro, .approach-heading > p:last-child, .about-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 25px; }
  .contact-form { gap: 25px; }
  .footer-main { display: block; }
  .footer-links { margin-top: 32px; justify-content: flex-start; max-width: none; }
  .footer-bottom { gap: 15px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
