:root {
  --ink: #111312;
  --muted: #676b68;
  --line: #d9ddda;
  --paper: #f4f5f1;
  --white: #fff;
  --accent: #78f0d0;
  --dark: #111413;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--ink); }

.site-shell { min-height: 100vh; overflow: clip; }
.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 4vw; border-bottom: 1px solid rgba(17,19,18,.12); background: rgba(244,245,241,.88); backdrop-filter: blur(18px); }
.brand { font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.brand span { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 7px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 12px; letter-spacing: -.08em; }
.nav { display: flex; gap: 30px; font-size: 14px; }
.nav a { position: relative; }
.nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 17px; }
.language { border: 0; background: transparent; cursor: pointer; font-size: 12px; letter-spacing: .08em; }
.language span { margin: 0 4px; color: #a0a5a1; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--accent); color: var(--ink); }
.button-small { min-height: 42px; padding: 0 19px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-button span { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--ink); }

.section-pad { padding: 118px 6vw; }
.hero { display: grid; min-height: calc(100vh - 76px); grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); align-items: center; gap: 7vw; }
.hero-copy { padding-bottom: 5vh; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 34px; color: #535854; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(120,240,208,.16); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 30px; font-size: clamp(54px, 6.1vw, 105px); font-weight: 600; letter-spacing: -.065em; line-height: .94; }
.hero-text { max-width: 690px; margin-bottom: 38px; color: var(--muted); font-size: clamp(18px, 1.4vw, 23px); line-height: 1.5; }
.button-row { display: flex; align-items: center; gap: 30px; }
.text-link { display: inline-flex; gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(4px, 4px); }
.signal-card { position: relative; min-height: 585px; overflow: hidden; border-radius: 2px; background: var(--dark); color: #fff; box-shadow: 0 28px 80px rgba(11,16,14,.18); }
.signal-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(120,240,208,.16), transparent 35%); content: ""; }
.signal-head, .signal-foot { position: absolute; z-index: 2; right: 28px; left: 28px; display: flex; justify-content: space-between; color: #9da5a0; font-family: monospace; font-size: 10px; letter-spacing: .1em; }
.signal-head { top: 27px; }
.signal-head span:last-child::before { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); content: ""; }
.signal-foot { bottom: 25px; align-items: flex-end; }
.signal-foot span { max-width: 230px; line-height: 1.5; }
.signal-foot strong { color: var(--accent); font-size: 19px; }
.signal-card svg { position: absolute; inset: 70px 5% 70px; width: 90%; height: calc(100% - 140px); }
.grid-lines { fill: none; stroke: #2b302d; stroke-width: 1; }
.signal-line { fill: none; stroke: #68706b; stroke-width: 2; }
.signal-glow { fill: none; stroke-width: 5; filter: drop-shadow(0 0 9px rgba(120,240,208,.55)); }
.signal-card circle { fill: var(--dark); stroke: var(--accent); stroke-width: 2; }

.services { background: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); gap: 5vw; margin-bottom: 70px; }
.section-heading .eyebrow { margin-top: 9px; }
.section-heading h2 { max-width: 900px; margin-bottom: 25px; font-size: clamp(42px, 5.2vw, 82px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.section-heading > div > p { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 300px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.service-card:hover { position: relative; z-index: 2; background: var(--accent); transform: translateY(-5px); }
.service-card > span { display: block; margin-bottom: 72px; color: var(--muted); font-family: monospace; font-size: 11px; }
.service-card h3 { margin-bottom: 14px; font-size: 25px; letter-spacing: -.035em; }
.service-card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.service-card:hover p { color: #2d342f; }

.why { background: var(--dark); color: #f4f5f1; }
.section-heading-light .eyebrow, .why .eyebrow { color: #9ba29e; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-left: 32%; border-top: 1px solid #343936; border-left: 1px solid #343936; }
.why-grid article { min-height: 260px; padding: 30px; border-right: 1px solid #343936; border-bottom: 1px solid #343936; }
.why-grid article > span { display: block; margin-bottom: 65px; color: var(--accent); font-family: monospace; font-size: 11px; }
.why-grid h3 { margin-bottom: 15px; font-size: 25px; letter-spacing: -.035em; }
.why-grid p { max-width: 460px; margin-bottom: 0; color: #aeb5b1; line-height: 1.55; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: .16fr .45fr 1fr; align-items: start; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--muted); font-family: monospace; font-size: 11px; }
.process-list h3 { margin-bottom: 0; font-size: 25px; letter-spacing: -.035em; }
.process-list p { max-width: 650px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }

.cases { background: #e9ebe6; }
.case-list { border-top: 1px solid #bec3bf; }
.case { border-bottom: 1px solid #bec3bf; }
.case summary { display: grid; grid-template-columns: .22fr 1fr auto; align-items: center; gap: 30px; padding: 32px 0; cursor: pointer; list-style: none; }
.case summary::-webkit-details-marker { display: none; }
.case-number { color: var(--muted); font-family: monospace; font-size: 11px; }
.case summary h3 { margin-bottom: 0; font-size: clamp(24px, 2.3vw, 37px); font-weight: 600; letter-spacing: -.04em; }
.case-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #aeb5b1; border-radius: 50%; font-size: 22px; transition: transform .25s ease, background .25s ease; }
.case[open] .case-toggle { background: var(--accent); transform: rotate(45deg); }
.case-body { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 5vw; padding: 12px 0 55px 22%; }
.case-body h4 { margin: 0 0 13px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.case-body p, .case-body li { color: var(--muted); line-height: 1.55; }
.case-body ul { margin: 0; padding-left: 18px; }
.metrics p { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.metrics strong { color: var(--ink); font-size: 30px; letter-spacing: -.04em; }
.metrics span { font-size: 13px; }
.case-note { max-width: 780px; margin: 28px 0 0 22%; color: var(--muted); font-size: 12px; line-height: 1.6; }

.technology { background: var(--white); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tech-grid div { display: flex; min-height: 120px; align-items: flex-end; justify-content: space-between; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(19px, 2vw, 30px); font-weight: 600; letter-spacing: -.04em; }
.tech-grid span { align-self: flex-start; color: var(--muted); font-family: monospace; font-size: 10px; font-weight: 400; }

.about { background: var(--accent); }
.about-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8vw; }
.about-layout h2 { margin-bottom: 0; font-size: clamp(84px, 14vw, 235px); font-weight: 700; letter-spacing: -.09em; line-height: .78; }
.about-layout > div { padding-top: 8px; }
.about-layout > div p { font-size: clamp(20px, 2vw, 31px); letter-spacing: -.035em; line-height: 1.35; }
.about-statement { grid-column: 2; max-width: 560px; padding-top: 70px; border-top: 1px solid rgba(17,19,18,.3); font-size: 15px; font-weight: 700; letter-spacing: .04em; }

.contact { display: grid; grid-template-columns: .86fr 1.14fr; gap: 8vw; background: var(--dark); color: #f4f5f1; }
.contact h2 { max-width: 720px; margin-bottom: 27px; font-size: clamp(49px, 6vw, 95px); font-weight: 600; letter-spacing: -.06em; line-height: .98; }
.contact-intro > p:not(.eyebrow) { max-width: 610px; color: #aeb5b1; font-size: 18px; line-height: 1.55; }
.contact .eyebrow { color: #9ba29e; }
.direct-contact { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 65px; }
.direct-contact span { margin-bottom: 8px; color: #7e8782; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.direct-contact a { border-bottom: 1px solid #53605a; font-size: 18px; }
.lead-form { align-self: start; padding: 35px; border: 1px solid #363c39; background: #171b19; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 25px; }
.lead-form label { display: flex; flex-direction: column; gap: 9px; }
.lead-form label > span { color: #9ba29e; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lead-form input:not([type="checkbox"]), .lead-form textarea { width: 100%; border: 0; border-bottom: 1px solid #4a514d; border-radius: 0; outline: none; background: transparent; color: #fff; font-size: 17px; }
.lead-form input:not([type="checkbox"]) { height: 42px; }
.lead-form textarea { padding: 12px 0; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); }
.brief-field { margin-top: 31px; }
.consent { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; margin: 25px 0; }
.consent input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent span { line-height: 1.5; text-transform: none !important; }
.button-accent { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #fff; }
.button:disabled { cursor: progress; opacity: .6; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 38px; margin-top: 18px; }
.form-status p { margin-bottom: 0; color: var(--accent); font-size: 13px; line-height: 1.5; }
.form-status.is-error p { color: #ff9f91; }
.form-status[hidden] { display: none; }

.site-footer { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 4vw; padding: 65px 6vw 28px; background: #090b0a; color: #e9ebe6; }
.brand-inverse span { background: var(--accent); color: var(--ink); }
.site-footer > div:first-child p { margin-top: 25px; color: #777f7a; font-size: 13px; }
.site-footer nav, .site-footer > div:nth-child(3) { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; font-size: 13px; }
.site-footer button { padding: 0; border: 0; border-bottom: 1px solid #4b514e; background: transparent; color: #e9ebe6; cursor: pointer; }
.copyright { grid-column: 1 / -1; margin: 65px 0 0; padding-top: 21px; border-top: 1px solid #242825; color: #666d69; font-size: 11px; }
.not-found { display: flex; min-height: 100svh; align-items: flex-start; justify-content: center; flex-direction: column; padding: 8vw; }
.not-found > p { margin: 80px 0 14px; color: var(--muted); font-family: monospace; }
.not-found h1 { max-width: 900px; font-size: clamp(48px, 8vw, 120px); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { position: fixed; top: 76px; right: 0; left: 0; display: none; flex-direction: column; gap: 24px; padding: 36px 6vw 48px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 24px; }
  .nav-open { display: flex; }
  .menu-button { display: block; }
  .button-small { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .hero-copy { padding-bottom: 0; }
  .signal-card { min-height: 480px; }
  .why-grid { margin-left: 0; }
  .case-body { padding-left: 0; }
  .case-note { margin-left: 0; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding: 0 20px; }
  .nav { top: 68px; padding-inline: 20px; }
  .language { font-size: 11px; }
  .header-actions { gap: 10px; }
  .section-pad { padding: 82px 20px; }
  .hero { min-height: calc(100svh - 68px); align-content: center; gap: 54px; padding-top: 62px; }
  h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-text { font-size: 17px; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 17px; }
  .button-row .button { width: 100%; }
  .signal-card { min-height: 390px; }
  .signal-head, .signal-foot { right: 20px; left: 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 45px; }
  .section-heading h2 { font-size: 43px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card > span { margin-bottom: 45px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article { min-height: 225px; }
  .process-list li { grid-template-columns: 45px 1fr; gap: 12px; }
  .process-list p { grid-column: 2; }
  .case summary { grid-template-columns: 1fr auto; gap: 16px; }
  .case-number { grid-column: 1 / -1; }
  .case-body { grid-template-columns: 1fr; gap: 20px; }
  .tech-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 50px; }
  .about-layout h2 { font-size: 105px; }
  .about-statement { grid-column: 1; padding-top: 35px; }
  .contact { padding-top: 90px; }
  .contact h2 { font-size: 49px; }
  .field-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 23px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
}

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