  /* ------------------------------------------------------------------
     Softrix — website mockup styles (services-first, light, editorial)
     Fonts: Newsreader (display serif) + Hanken Grotesk (text), local woff2.
     ------------------------------------------------------------------ */
  @font-face { font-family: "Newsreader"; src: url("fonts/Newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
  @font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
  @font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

  :root {
    --paper: #f7f4ee;
    --paper-2: #eee9df;
    --card: #ffffff;
    --ink: #1a1c1e;
    --ink-2: #3b3e42;
    --muted: #66625b;
    --line: #e3ddd2;
    --line-strong: #8c857a;
    --accent: #0a6a93;          /* text-safe Softrix cyan (5.5:1 on paper) */
    --cyan: #40ceff;            /* logo cyan — fills and marks only */
    --charcoal: #333333;        /* logo charcoal */
    --danger: #a63a14;
    --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
    --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: var(--serif);
    --display-weight: 330;
    --display-track: -0.022em;
    --container: 1240px;
    --gutter: 40px;
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);
  }
  html[data-paper="white"] { --paper: #ffffff; --paper-2: #f3f2ef; --card: #faf9f7; }
  html[data-heading="sans"] { --display: var(--sans); --display-weight: 380; --display-track: -0.04em; }

  *, *::before, *::after { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; scroll-padding-top: 96px; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
  h1, h2, h3, p, ol, ul, figure { margin: 0; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  :focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
  ::selection { background: #cdeffd; }

  .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

  /* Type */
  .t-hero, .t-h2, .t-h3, .t-num { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-optical-sizing: auto; }
  .t-hero { font-size: clamp(48px, 7.2vw, 98px); line-height: 1; }
  .t-h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.06; }
  .t-h3 { font-size: 28px; line-height: 1.18; font-weight: calc(var(--display-weight) + 70); letter-spacing: -0.012em; }
  .t-hero em, .t-h2 em { font-style: italic; color: var(--ink-2); }
  html[data-heading="sans"] .t-hero em, html[data-heading="sans"] .t-h2 em { font-style: normal; color: var(--muted); }
  .t-lead { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 56ch; }
  .t-label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .t-small { font-size: 14px; line-height: 1.6; color: var(--muted); }
  .muted { color: var(--muted); }

  /* Mark — the logo's corner piece, as a bullet */
  .mark { display: inline-block; width: 9px; height: 9px; background: var(--cyan); border-radius: 1.5px 1.5px 5.5px 1.5px; flex: none; }

  /* Buttons & links */
  .btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: -0.005em; border: 1px solid transparent; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
  .btn:active { transform: scale(.97); }
  .btn-ink { background: var(--ink); color: var(--paper); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
  .arrow { width: 16px; height: 16px; flex: none; transition: transform 220ms var(--ease-out); }
  .link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
  .link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size 240ms var(--ease-out); }
  .link-accent { color: var(--accent); }
  @media (hover: hover) and (pointer: fine) {
    .btn-ink:hover { background: #000; }
    .btn-ghost:hover { border-color: var(--ink); }
    .btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
    .link-arrow:hover span { background-size: 100% 1px; }
  }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
  .site-header[data-scrolled="true"] { border-bottom-color: var(--line); }
  .header-inner { display: flex; align-items: center; gap: 40px; height: 84px; }
  .logo { flex: none; }
  .logo img { height: 34px; width: auto; }
  .nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .nav > a, .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1.2 var(--sans); color: var(--ink-2); border: 0; background: none; border-radius: 999px; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
  .nav > a[aria-current="page"], .nav-link[aria-current="page"] { color: var(--ink); }
  .nav > a[aria-current="page"]::after, .nav-link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-left: 2px; }
  @media (hover: hover) and (pointer: fine) { .nav > a:hover, .nav-link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); } }
  .header-cta { margin-left: 8px; }
  .menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
  .menu-btn svg { width: 18px; height: 18px; }
  .menu-btn path { transform-box: fill-box; transform-origin: center; transition: transform 220ms var(--ease-out); }
  .site-header[data-open="true"] .menu-btn .l1 { transform: translateY(3px) rotate(45deg); }
  .site-header[data-open="true"] .menu-btn .l2 { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { display: none; }

  /* Hero */
  .hero { padding: 76px 0 104px; }
  .hero-title { display: grid; gap: 28px; justify-items: start; margin-bottom: 56px; }
  .hero-title .t-hero { max-width: 15ch; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; align-items: start; }
  .hero-copy { display: grid; gap: 30px; justify-items: start; padding-top: 6px; }
  .kicker { display: inline-flex; align-items: center; gap: 12px; }
  .hero .t-hero .dot { color: var(--cyan); }
  .hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

  .index-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px 22px; }
  .index-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .index-list { list-style: none; padding: 0; }
  .index-list li + li { border-top: 1px solid var(--line); }
  .index-list a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px; padding: 15px 6px; margin: 0 -6px; border-radius: 4px; transition: background-color 180ms ease; }
  .index-list .num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .index-list .name { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; transition: transform 220ms var(--ease-out); }
  .index-list .arrow { color: var(--muted); }
  @media (hover: hover) and (pointer: fine) {
    .index-list a:hover { background: var(--paper); }
    .index-list a:hover .name { transform: translateX(4px); }
    .index-list a:hover .arrow { transform: translateX(3px); color: var(--ink); }
  }
  .index-foot { padding-top: 14px; border-top: 1px solid var(--line); }

  /* Facts */
  .facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 30px 28px 30px 0; display: grid; gap: 4px; }
  .fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
  .fact strong { font-family: var(--display); font-weight: calc(var(--display-weight) + 40); font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }

  /* Sections */
  .section { padding: 128px 0; }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 64px; }
  .section-head .lead-col { display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }

  /* Services */
  .svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .svc { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 36px 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
  .svc:not(:nth-child(3n + 1)) { padding-left: 36px; border-left: 1px solid var(--line); }
  .svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .svc .num { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .svc .mark { opacity: 0; transform: scale(.9); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
  .svc p { color: var(--ink-2); max-width: 40ch; }
  .caps { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 6px 28px; list-style: none; padding: 0; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
  .caps li { display: flex; align-items: baseline; gap: 10px; }
  .caps li::before { content: ""; width: 10px; height: 1px; background: var(--line-strong); flex: none; transform: translateY(-4px); }
  .svc .link-arrow { margin-top: auto; padding-top: 18px; font-size: 14px; }
  @media (hover: hover) and (pointer: fine) {
    .svc:hover .mark { opacity: 1; transform: none; }
  }

  /* Process */
  .band { background: var(--paper-2); }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; counter-reset: step; }
  .step { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--ink); }
  .step .t-num { font-size: 60px; line-height: 1; font-weight: 250; color: var(--muted); }
  html[data-heading="sans"] .step .t-num { font-weight: 300; }
  .step h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
  .step p { color: var(--ink-2); font-size: 15.5px; }

  /* Engagement */
  .engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .model { display: flex; flex-direction: column; gap: 16px; padding: 36px 34px 34px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
  .model .t-label { color: var(--accent); }
  .model ul { list-style: none; padding: 18px 0 0; margin-top: auto; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
  .model li { display: flex; align-items: center; gap: 10px; }
  .model li::before { content: ""; width: 14px; height: 1px; background: var(--line-strong); flex: none; }

  /* Own products (secondary) */
  .lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
  .lab-copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: 120px; }
  .lab-copy h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; }
  .lab-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
  .lab-list a { display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .lab-list .year { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .lab-list .pname { font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: calc(var(--display-weight) + 70); letter-spacing: -0.01em; }
  .lab-list .pdesc { display: block; font-family: var(--sans); font-size: 14.5px; color: var(--muted); letter-spacing: 0; font-weight: 400; margin-top: 2px; }
  .lab-list .arrow { color: var(--muted); }
  @media (hover: hover) and (pointer: fine) {
    .lab-list a:hover .pname { color: var(--accent); }
    .lab-list a:hover .arrow { transform: translate(2px, -2px); color: var(--ink); }
  }

  /* Studio */
  .studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
  .photo-slot { position: relative; aspect-ratio: 5 / 4; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, color-mix(in srgb, var(--paper-2) 70%, var(--paper)) 12px 24px); border: 1px solid var(--line); display: grid; place-items: center; }
  .photo-slot figcaption { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px; }
  .photo-slot.has-photo { background: var(--paper-2); }
  .photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .studio-copy { display: grid; gap: 22px; justify-items: start; }
  .studio-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 4px; }

  /* Contact */
  .contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
  .contact-copy { display: grid; gap: 24px; justify-items: start; }
  .details { list-style: none; padding: 0; display: grid; gap: 0; width: 100%; max-width: 440px; border-top: 1px solid var(--line); margin-top: 12px; }
  .details li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .details a { color: var(--ink); }
  @media (hover: hover) and (pointer: fine) { .details a:hover { color: var(--accent); } }
  .form-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
  .form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .field { display: grid; gap: 8px; }
  .field.span { grid-column: 1 / -1; }
  .field label { font-size: 14px; font-weight: 600; color: var(--ink); }
  .field label .opt { font-weight: 400; color: var(--muted); }
  .control { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color 160ms ease; -webkit-appearance: none; appearance: none; }
  .control::placeholder { color: #8a857d; }
  textarea.control { height: auto; min-height: 132px; padding: 13px 16px; resize: vertical; }
  select.control { padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
  .control:focus-visible { border-color: var(--ink); border-radius: 4px; }
  .field[data-invalid="true"] .control { border-color: var(--danger); }
  .field .error { display: none; align-items: center; gap: 8px; font-size: 13.5px; color: var(--danger); }
  .field[data-invalid="true"] .error { display: flex; }
  .form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
  .form-done { display: none; gap: 14px; justify-items: start; }
  .form-card[data-sent="true"] .form { display: none; }
  .form-card[data-sent="true"] .form-done { display: grid; }

  /* Footer */
  .site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 88px 0 40px; }
  .footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 64px; }
  .footer-brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
  .footer-brand img { height: 32px; width: auto; }
  .footer-col { display: grid; gap: 14px; align-content: start; }
  .footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
  .footer-col a { color: var(--ink-2); }
  @media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
  .socials { display: flex; gap: 10px; flex-wrap: wrap; }
  .socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
  .socials svg { fill: currentColor; }
  .socials a:active { transform: scale(0.96); }
  .socials a:focus-visible { outline: none; box-shadow: var(--focus); }
  @media (hover: hover) and (pointer: fine) { .socials a:hover { color: var(--accent); border-color: var(--line-strong); } }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }

  /* Reveal (once) */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .reveal[data-in="true"] { opacity: 1; transform: none; }

  /* ---------------- Services menu (header) ---------------- */
  .nav-item { position: relative; }
  .nav-link .chev { width: 10px; height: 10px; transition: transform 200ms var(--ease-out); }
  .nav-item[data-open="true"] .nav-link { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
  .nav-item[data-open="true"] .chev { transform: rotate(180deg); }
  .menu { position: absolute; top: calc(100% + 12px); left: -24px; width: 620px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px #1a1c1e0a, 0 24px 48px -20px #1a1c1e33; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: 60px 0; transition: opacity 120ms ease, transform 140ms var(--ease-out), visibility 0s linear 140ms; }
  .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav-item[data-open="true"] .menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s; }
  .menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .menu-grid a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 12px 12px; border-radius: 6px; transition: background-color 160ms ease; }
  .menu-grid a[aria-current="page"] { background: var(--paper); }
  .menu-num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
  .menu-title { display: block; font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
  .menu-desc { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
  @media (hover: hover) and (pointer: fine) { .menu-grid a:hover { background: var(--paper); } }
  .menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 14px 12px 0; padding-top: 14px; border-top: 1px solid var(--line); }

  /* ---------------- Inner pages ---------------- */
  .crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
  .crumbs a { color: var(--ink-2); }
  .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .crumbs .sep { color: var(--line-strong); }

  .page-hero { padding: 56px 0 96px; }
  .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; align-items: start; }
  .page-hero-copy { display: grid; gap: 28px; justify-items: start; }
  .page-hero .t-hero { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
  .page-hero .t-hero .dot { color: var(--cyan); }

  /* Services overview: jump links + rows */
  .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .jump a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--card); transition: border-color 160ms ease, color 160ms ease; }
  .jump a span { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
  @media (hover: hover) and (pointer: fine) { .jump a:hover { border-color: var(--line-strong); color: var(--ink); } }
  .rows { border-top: 1px solid var(--ink); }
  .row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
  .row .num { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 250; color: var(--muted); }
  .row h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
  .row-tag { display: block; font-size: 15px; color: var(--muted); margin-top: 14px; max-width: 32ch; }
  .row-body { display: grid; gap: 22px; align-content: start; }
  .row-body p { color: var(--ink-2); max-width: 56ch; }

  /* Service detail: at-a-glance card */
  .glance { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px 28px; }
  .glance section { padding: 20px 0; }
  .glance section + section { border-top: 1px solid var(--line); }
  .glance .t-label { margin-bottom: 12px; display: block; }
  .glance ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
  .glance li { display: flex; align-items: baseline; gap: 12px; }
  .glance li::before { content: ""; width: 10px; height: 1px; background: var(--line-strong); flex: none; transform: translateY(-4px); }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
  a.chip:hover { border-color: var(--line-strong); color: var(--ink); }

  /* Capabilities grid */
  .cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .cap { display: grid; gap: 10px; align-content: start; padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); }
  .cap:not(:nth-child(3n + 1)) { padding-left: 34px; border-left: 1px solid var(--line); }
  .cap h3 { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
  .cap p { color: var(--ink-2); font-size: 15.5px; max-width: 38ch; }

  /* Good fit + proof */
  .fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .fit-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
  .fit-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.55; color: var(--ink); }
  .fit-list .mark { margin-top: 8px; }
  .proof { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
  .proof p { font-family: var(--display); font-size: 21px; line-height: 1.4; font-weight: calc(var(--display-weight) + 40); letter-spacing: -0.005em; }
  html[data-heading="sans"] .proof p { font-size: 19px; }

  /* FAQ */
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 80px; align-items: start; }
  .faq { border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { list-style: none; display: grid; grid-template-columns: 1fr 22px; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .plus { position: relative; width: 14px; height: 14px; justify-self: end; }
  .faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-out); }
  .faq summary .plus::after { transform: rotate(90deg); }
  .faq details[open] summary .plus::after { transform: rotate(0deg); }
  .faq .answer { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 64ch; }
  .faq details[open] .answer { animation: faq-in 260ms var(--ease-out); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

  /* Related + CTA band */
  .related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .rel { display: grid; gap: 10px; align-content: start; padding: 28px 28px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; transition: border-color 180ms ease; }
  .rel .num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
  .rel h3 { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .rel p { font-size: 15px; color: var(--muted); }
  @media (hover: hover) and (pointer: fine) { .rel:hover { border-color: var(--line-strong); } .rel:hover .arrow { transform: translateX(3px); } }
  .cta-band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; padding: 64px 0; border-top: 1px solid var(--ink); }
  .cta-band .t-h2 { font-size: clamp(34px, 4vw, 54px); }
  .cta-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

  /* ---------------- Filters (careers, work, blog, FAQ) ---------------- */
  .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
  .seg button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
  .seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  @media (hover: hover) and (pointer: fine) { .seg button:hover:not([aria-pressed="true"]) { border-color: var(--line-strong); color: var(--ink); } }
  .search { position: relative; flex: 1 1 220px; max-width: 320px; }
  .search input { width: 100%; height: 40px; padding: 0 14px 0 38px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink); font: 400 15px/1 var(--sans); }
  .search svg { position: absolute; left: 14px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: var(--muted); }
  .switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; margin-left: auto; }
  .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .switch .track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line); border: 1px solid var(--line-strong); transition: background-color 180ms ease; }
  .switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px #0003; transition: transform 200ms var(--ease-out); }
  .switch input:checked + .track { background: var(--ink); border-color: var(--ink); }
  .switch input:checked + .track::after { transform: translateX(16px); }
  .switch input:focus-visible + .track { box-shadow: var(--focus); }
  .result-count { font-size: 14px; color: var(--muted); }

  /* ---------------- Careers ---------------- */
  .jobs { list-style: none; padding: 0; }
  .job { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
  .job[hidden] { display: none; }
  .job h3 { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
  .job .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .job p { color: var(--ink-2); font-size: 15.5px; }
  .empty { display: none; justify-items: start; gap: 14px; padding: 48px 0; border-bottom: 1px solid var(--line); }
  .empty[data-show="true"] { display: grid; }
  .empty h3 { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 26px; }
  .empty .row-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
  .more { display: flex; justify-content: center; padding-top: 32px; }
  .open-app { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-top: 48px; padding: 36px 40px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
  .open-app h3 { font-family: var(--display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; }
  .open-app p { color: var(--muted); margin-top: 8px; }

  /* ---------------- Apply dialog ---------------- */
  .apply { width: min(720px, calc(100vw - 32px)); max-height: min(92vh, 980px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px #1a1c1e66; overflow: hidden; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity 140ms ease, transform 140ms var(--ease-out); }
  .apply[data-state="open"] { opacity: 1; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease-out); }
  .apply::backdrop { background: #1a1c1e00; transition: background-color 200ms ease; }
  .apply[data-state="open"]::backdrop { background: #1a1c1e66; }
  .apply-inner { display: flex; flex-direction: column; max-height: min(92vh, 980px); }
  .apply-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 32px 20px; border-bottom: 1px solid var(--line); }
  .apply-head h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: 34px; line-height: 1.1; margin-top: 6px; }
  .x-btn { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color 160ms ease; }
  .x-btn:hover { border-color: var(--line-strong); }
  .x-btn svg { width: 14px; height: 14px; }
  .apply form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .apply-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 8px; }
  .apply-head, .apply-foot, .apply-error { flex: none; }
  .apply-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 32px 24px; border-top: 1px solid var(--line); }
  .apply .form { grid-template-columns: 1fr 1fr; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 20px; border: 1.5px dashed var(--line-strong); border-radius: 6px; background: var(--paper); text-align: center; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
  .drop[data-drag="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--cyan) 10%, var(--paper)); }
  .drop strong { font-weight: 600; }
  .drop .browse { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  .drop svg { width: 22px; height: 22px; color: var(--muted); }
  .file-chip { display: none; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
  .file-chip[data-show="true"] { display: flex; }
  .file-chip .fname { font-weight: 600; font-size: 14.5px; word-break: break-all; }
  .file-chip .fsize { font-size: 13px; color: var(--muted); }
  .file-chip .x-btn { width: 32px; height: 32px; margin-left: auto; }
  .file-icon { flex: none; width: 34px; height: 40px; border-radius: 3px 10px 3px 3px; background: var(--card); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
  .field[data-invalid="true"] .drop { border-color: var(--danger); }
  .check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
  .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
  .progress { display: none; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
  .progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 900ms var(--ease-out); }
  .apply[data-send="sending"] .progress { display: block; }
  .apply[data-send="sending"] .progress span { width: 92%; }
  .apply[data-send="sending"] .apply-submit { opacity: .6; pointer-events: none; }
  .apply-status { display: none; gap: 16px; justify-items: start; padding: 40px 32px 36px; }
  .apply[data-send="done"] .apply-body, .apply[data-send="done"] .apply-foot, .apply[data-send="failed"] .apply-foot .apply-submit { display: none; }
  .apply[data-send="done"] .apply-done { display: grid; }
  .apply-error { display: none; align-items: flex-start; gap: 10px; margin: 0 32px; padding: 14px 16px; border-radius: 6px; background: color-mix(in srgb, var(--danger) 9%, var(--card)); color: var(--danger); font-size: 14.5px; }
  .apply[data-send="failed"] .apply-error { display: flex; }
  .apply-retry { display: none; }
  .apply[data-send="failed"] .apply-retry { display: inline-flex; }
  html.lock { overflow: hidden; }

  /* ---------------- Work ---------------- */
  .works { display: grid; gap: 0; border-top: 1px solid var(--ink); }
  .work { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
  .work[hidden] { display: none; }
  .plate { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
  .plate .dom { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -0.03em; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; color: var(--ink); }
  .plate .dom em { font-style: italic; color: var(--muted); }
  .plate .yr { position: absolute; left: 22px; bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
  .plate .live { position: absolute; right: 22px; top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .plate .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent); }
  .plate .corner { position: absolute; right: 22px; bottom: 18px; }
  .work-copy { display: grid; gap: 18px; justify-items: start; }
  .work-copy h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
  .work-copy p { color: var(--ink-2); max-width: 52ch; }
  .facts-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 14.5px; margin: 4px 0; }
  .facts-list dt { color: var(--muted); }
  .facts-list dd { margin: 0; color: var(--ink); }

  /* ---------------- About ---------------- */
  .photo-wide { aspect-ratio: 16 / 7; }
  .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
  .story-body { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
  .story-body p:first-child::first-letter { font-family: var(--display); float: left; font-size: 74px; line-height: .86; padding: 6px 10px 0 0; color: var(--ink); }
  .timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .timeline li { display: grid; gap: 8px; align-content: start; padding: 22px 18px 0 0; }
  .timeline li + li { padding-left: 18px; border-left: 1px solid var(--line); }
  .timeline .yr { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: calc(var(--display-weight) + 20); letter-spacing: -0.02em; }
  .timeline .what { font-weight: 600; font-size: 15px; }
  .timeline .desc { font-size: 14px; color: var(--muted); }
  /* Milestones rail inside "Our story" (About) — same dates as .timeline, set vertically */
  .story.has-rail { row-gap: 40px; }
  .story.has-rail .story-body { grid-column: 2; grid-row: 1 / span 2; }
  .milestones { grid-column: 1; grid-row: 2; list-style: none; padding: 0; border-top: 1px solid var(--ink); }
  .milestones li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .milestones .yr { grid-row: span 2; font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: calc(var(--display-weight) + 20); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .milestones .what { font-weight: 600; font-size: 15px; }
  .milestones .what a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color 160ms ease, text-decoration-color 160ms ease; }
  .milestones .desc { font-size: 14px; color: var(--muted); }
  .milestones li:last-child .yr { color: var(--accent); }
  @media (hover: hover) and (pointer: fine) { .milestones .what a:hover { color: var(--accent); text-decoration-color: currentColor; } }
  .principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .principle { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 34px 40px 36px 0; border-bottom: 1px solid var(--line); }
  .principle:nth-child(2n) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
  .principle .num { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--muted); font-weight: 250; }
  .principle h3 { font-family: var(--display); font-weight: calc(var(--display-weight) + 70); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
  .principle p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }

  /* ---------------- Contact page ---------------- */
  .next-steps { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 460px; }
  .next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .next-steps .n { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--muted); }
  .next-steps strong { display: block; font-weight: 600; }
  .next-steps span.d { font-size: 14.5px; color: var(--muted); }
  .map { position: relative; display: grid; place-items: center; aspect-ratio: 21 / 8; border-radius: 6px; border: 1px solid var(--line); overflow: hidden; background-color: var(--paper-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
  .map-pin { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 20px 40px -24px #1a1c1e40; }
  .map-pin .mark { width: 14px; height: 14px; }

  /* ---------------- FAQ page ---------------- */
  .faq-group { scroll-margin-top: 110px; }
  .faq-group + .faq-group { margin-top: 72px; }
  .faq-group > h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: 32px; line-height: 1.15; margin-bottom: 20px; }

  /* ---------------- Blog ---------------- */
  .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .post-card { display: grid; gap: 14px; align-content: start; }
  .post-card[hidden] { display: none; }
  .post-card.feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .post-cover { aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
  .post-cover span { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); color: var(--muted); letter-spacing: -0.02em; }
  .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--muted); }
  .post-card h2, .post-card h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.12; }
  .post-card.feature h2 { font-size: clamp(32px, 3.4vw, 46px); }
  .post-card h3 { font-size: 26px; }
  .post-card p { color: var(--ink-2); }
  .post-slot { display: grid; place-items: center; min-height: 220px; border: 1.5px dashed var(--line-strong); border-radius: 6px; color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }

  /* ---------------- Long-form (article, privacy) ---------------- */
  .prose { max-width: 68ch; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
  .prose > * + * { margin-top: 1.1em; }
  .prose h2 { font-family: var(--display); font-weight: calc(var(--display-weight) + 40); letter-spacing: -0.015em; font-size: 32px; line-height: 1.2; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 110px; }
  .prose h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin-top: 1.6em; }
  .prose ul { padding-left: 1.2em; }
  .prose li + li { margin-top: .4em; }
  .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .prose .lede { font-size: 21px; line-height: 1.6; color: var(--ink); }
  .prose .note { font-size: 15px; padding: 16px 18px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); }
  .doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
  .toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14.5px; }
  .toc .t-label { margin-bottom: 10px; }
  .toc a { padding: 6px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .toc a:hover { color: var(--ink); }
  .draft-flag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--line-strong); font-size: 13px; color: var(--muted); }

  .cap-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid.two .cap { padding-left: 0; border-left: 0; }
  .cap-grid.two .cap:nth-child(2n) { padding-left: 34px; border-left: 1px solid var(--line); }
  @media (max-width: 640px) { .cap-grid.two { grid-template-columns: 1fr; } .cap-grid.two .cap:nth-child(2n) { padding-left: 0; border-left: 0; } }

  /* ---------------- Live forms ---------------- */
  .field-hint { margin: 0; }
  .form > .span { grid-column: 1 / -1; }
  .ts:empty { display: none; }
  .form-error { display: none; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 6px; background: color-mix(in srgb, var(--danger) 9%, var(--card)); color: var(--danger); font-size: 14.5px; }
  .form-card[data-error="true"] .form-error { display: flex; }
  .form-card[data-busy="true"] button[type="submit"] { opacity: .6; cursor: progress; }

  /* ---------------- Mockup chrome (not part of the site) ---------------- */
  .mk-bar { position: fixed; left: 16px; bottom: 16px; z-index: 100; display: flex; flex-wrap: wrap; max-width: calc(100vw - 32px); align-items: center; gap: 6px; padding: 6px; background: #1a1c1ef2; color: #f7f4ee; border-radius: 999px; font: 500 12.5px/1 var(--sans); box-shadow: 0 10px 30px -10px #0006; }
  .mk-bar .mk-title { padding: 0 10px 0 12px; opacity: .75; white-space: nowrap; }
  .mk-seg { display: inline-flex; background: #ffffff14; border-radius: 999px; padding: 2px; }
  .mk-seg button { border: 0; background: transparent; color: inherit; font: inherit; padding: 7px 11px; border-radius: 999px; cursor: pointer; opacity: .7; }
  .mk-seg button[aria-pressed="true"] { background: #f7f4ee; color: #1a1c1e; opacity: 1; }
  .mk-bar .mk-min { border: 0; background: transparent; color: inherit; width: 28px; height: 28px; border-radius: 999px; cursor: pointer; opacity: .7; }
  .mk-bar[data-min="true"] .mk-body { display: none; }
  .mk-body { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

  /* Design notes (ⓘ) — mockup chrome, shown when Notes is on */
  :where([data-note]) { position: relative; }  /* zero specificity: never overrides a component's own position */
  .site-header:where([data-note]) { position: sticky; }
  .note-btn { display: none; position: absolute; top: 10px; right: 10px; z-index: 20; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font: 700 12px/22px var(--serif); font-style: italic; cursor: help; box-shadow: 0 0 0 3px var(--paper); }
  html[data-notes="on"] .note-btn { display: block; }
  .note-tip { position: fixed; z-index: 200; max-width: 300px; padding: 12px 14px; background: #1a1c1e; color: #f7f4ee; border-radius: 6px; font: 400 13px/1.5 var(--sans); box-shadow: 0 12px 32px -10px #0008; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 140ms ease, transform 160ms var(--ease-out); }
  .note-tip[data-show="true"] { opacity: 1; transform: none; }

  /* Responsive */
  @media (max-width: 1080px) {
    :root { --gutter: 28px; }
    .nav > a, .nav-link { padding: 10px 10px; }
    .hero-grid, .section-head, .lab, .studio, .contact { gap: 56px; }
  }
  @media (max-width: 960px) {
    .nav, .header-cta { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-nav { display: block; overflow: hidden; max-height: 0; transition: max-height 300ms var(--ease-out); border-bottom: 1px solid transparent; }
    .site-header[data-open="true"] .mobile-nav { max-height: calc(100vh - 72px); overflow-y: auto; border-bottom-color: var(--line); }
    .mobile-nav ul { list-style: none; padding: 8px 0 24px; display: grid; }
    .mobile-nav .mobile-sub { list-style: none; padding: 4px 0 12px 18px; display: grid; border-bottom: 1px solid var(--line); }
    .mobile-nav .mobile-sub a { padding: 9px 0 !important; font-family: var(--sans) !important; font-size: 16px !important; font-weight: 500 !important; color: var(--ink-2); border-bottom: 0 !important; }
    .mobile-nav a:not(.btn) { display: block; padding: 14px 0; font-family: var(--display); font-size: 26px; font-weight: calc(var(--display-weight) + 70); border-bottom: 1px solid var(--line); }
    .mobile-nav .btn { margin-top: 20px; }
    .hero-grid, .section-head, .lab, .studio, .contact { grid-template-columns: 1fr; }
    .lab-copy { position: static; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
    .svc:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .engage { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { padding-left: 0; border-left: 0; }
    .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .section { padding: 96px 0; }
  }
  @media (max-width: 640px) {
    :root { --gutter: 20px; }
    .header-inner { height: 72px; }
    .logo img { height: 30px; }
    .hero { padding: 40px 0 64px; }
    .hero-grid { gap: 48px; }
    .t-lead { font-size: 17.5px; }
    .index-card { padding: 20px 20px 16px; }
    .hero-title { margin-bottom: 36px; gap: 22px; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc, .svc:nth-child(2n) { padding: 30px 0 34px; border-left: 0; }
    .steps { grid-template-columns: 1fr; }
    .fact { padding: 22px 16px 22px 0; }
    .fact + .fact { padding-left: 16px; }
    .fact:nth-child(3) { padding-left: 0; }
    .fact strong { font-size: 28px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 44px; gap: 28px; }
    .form-card { padding: 24px 20px; }
    .form { grid-template-columns: 1fr; }
    .lab-list a { grid-template-columns: 52px 1fr auto; gap: 14px; }
    .lab-list .pname { font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .mk-bar .mk-title { display: none; }
    .mk-bar { left: 8px; bottom: 8px; max-width: calc(100vw - 16px); font-size: 11.5px; }
    .mk-seg button { padding: 7px 9px; }
    .mk-seg[data-key="paper"] { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transform: none; transition: opacity 300ms ease; }
    .btn:active { transform: none; }
    .index-list .name, .arrow, .svc .mark { transition: none; }
  }

  /* ---------------- Inner pages — responsive ---------------- */
  @media (max-width: 1080px) {
    .page-hero-grid, .fit, .faq-wrap { gap: 56px; }
    .row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
  }
  @media (max-width: 960px) {
    .page-hero-grid, .fit, .faq-wrap { grid-template-columns: 1fr; }
    .row { grid-template-columns: 56px 1fr; }
    .row-body { grid-column: 2; }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .cap:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
    .cap:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
    .related { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; align-items: start; }
  }
  @media (max-width: 640px) {
    .page-hero { padding: 32px 0 64px; }
    .crumbs { margin-bottom: 20px; }
    .row { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
    .row-body { grid-column: auto; }
    .row .num { font-size: 30px; }
    .cap-grid { grid-template-columns: 1fr; }
    .cap, .cap:nth-child(2n) { padding: 28px 0 30px; border-left: 0; }
    .glance { padding: 4px 20px; }
    .faq summary { font-size: 19px; padding: 20px 0; }
    .faq .answer { padding-right: 0; }
    .cta-band { padding: 48px 0; }
  }

  /* ---------------- New pages — responsive ---------------- */
  @media (max-width: 1080px) {
    .work, .story, .doc { gap: 48px; }
    .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .timeline li:nth-child(4) { padding-left: 0; border-left: 0; }
  }
  @media (max-width: 960px) {
    .job { grid-template-columns: 1fr auto; gap: 12px 24px; }
    .job p { grid-column: 1 / -1; grid-row: 2; }
    .job .btn { grid-column: 2; grid-row: 1; }
    .work, .story, .doc, .post-card.feature { grid-template-columns: 1fr; }
    .story.has-rail .story-body, .milestones { grid-column: auto; grid-row: auto; }   /* phone: story first, dates after */
    .toc { position: static; }
    .principles { grid-template-columns: 1fr; }
    .principle, .principle:nth-child(2n) { padding: 30px 0; border-left: 0; }
    .posts { grid-template-columns: 1fr 1fr; }
    .open-app { grid-template-columns: 1fr; }
    .switch { margin-left: 0; }
  }
  @media (max-width: 640px) {
    .apply { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
    .apply-inner { max-height: 100dvh; height: 100dvh; }
    .apply-head, .apply-body, .apply-foot { padding-left: 20px; padding-right: 20px; }
    .apply-head h2 { font-size: 28px; }
    .apply .form { grid-template-columns: 1fr; }
    .apply-error { margin: 0 20px; }
    .job { grid-template-columns: 1fr; }
    .job .btn { grid-column: auto; grid-row: auto; justify-self: start; }
    .search { max-width: none; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .timeline li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .timeline li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
    .posts { grid-template-columns: 1fr; }
    .map { aspect-ratio: 4 / 3; }
    .open-app { padding: 26px 22px; }
    .prose { font-size: 17px; }
  }
