
@layer reset, tokens, base, components;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  a { color: inherit; -webkit-tap-highlight-color: transparent; }
  ul { list-style: none; padding: 0; }
  figure { margin: 0; }
}

@layer tokens {
  :root {
    --page: oklch(0.965 0.002 300);
    --paper: oklch(1 0 0);
    --ink: oklch(0.16 0.004 300);
    --ink-2: oklch(0.42 0.006 300);
    --grey: oklch(0.52 0.006 300);
    --line: oklch(0.88 0.004 300);
    --hover: oklch(0 0 0 / 0.05);
    --btn: oklch(0.16 0.004 300);
    --btn-ink: oklch(1 0 0);
    --nav: oklch(0.965 0.002 300 / 0.82);
    /* the work window is always dark, in both themes */
    --w-bg: oklch(0.13 0.003 300);
    --w-bar: oklch(0.19 0.004 300);
    --w-ink: oklch(0.97 0 0);
    --w-ink-2: oklch(0.78 0.005 300);
    --w-line: oklch(1 0 0 / 0.12);
    --w-fill: oklch(1 0 0 / 0.07);
    --w-fill-2: oklch(1 0 0 / 0.12);
    --font: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --gutter: clamp(16px, 4vw, 64px);
    --max: 1440px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-body: clamp(16px, 15px + 0.25vw, 19px);
  }
  @media (min-width: 1800px) { :root { --max: 1600px; } }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --page: oklch(0.12 0.003 300); --paper: oklch(0.17 0.003 300);
      --ink: oklch(0.97 0 0); --ink-2: oklch(0.78 0.005 300); --grey: oklch(0.66 0.006 300);
      --line: oklch(0.28 0.004 300); --hover: oklch(1 0 0 / 0.07);
      --btn: oklch(0.97 0 0); --btn-ink: oklch(0.14 0 0); --nav: oklch(0.12 0.003 300 / 0.82);
      --w-bg: oklch(0.155 0.003 300); --w-bar: oklch(0.21 0.004 300);
    }
  }
}

@layer base {
  html { scroll-padding-top: 84px; }
  html, body { overflow-x: clip; }
  body { background: var(--page); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  h1, h2, h3 { font-weight: 500; text-wrap: balance; }
  p { text-wrap: pretty; }
  :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
}

@layer components {
  .wrap { --pad: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
    width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
  .skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--page); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
  .skip:focus { top: 10px; }
  .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .grey { color: var(--grey); }

  /* Top bar */
  .head { position: sticky; top: 0; z-index: 40; background: var(--nav); padding-top: env(safe-area-inset-top);
    -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); }
  .head-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
  .badge { display: inline-flex; align-items: center; gap: 0.28em; padding: 6px 9px; border-radius: 6px; background: var(--btn); color: var(--btn-ink); font-size: 14px; line-height: 1; }
  .badge i { width: 1px; height: 0.95em; background: currentColor; opacity: 0.55; }
  .nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
  .nav a { text-decoration: none; font-size: 16px; font-weight: 500; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
    background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: 17px; text-decoration: none; white-space: nowrap;
    transition: transform 100ms ease-out, opacity 200ms ease; }
  .btn:active { transform: scale(0.97); }
  .nav .btn { margin-left: 8px; min-height: 44px; font-size: 16px; padding: 0 18px; }
  .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .menu { display: none; margin-left: auto; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 500; }
  @media (hover: hover) {
    .nav a:not(.btn):hover { background: var(--hover); }
    .btn:hover { opacity: 0.86; }
    .btn--ghost:hover { background: var(--hover); opacity: 1; }
  }

  /* Opening */
  .hero { padding: clamp(28px, 5vw, 72px) 0 clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
  .hero h1 { font-size: clamp(32px, 14px + 3.4vw, 60px); line-height: 1.05; letter-spacing: -0.033em; max-width: 22ch; }
  .hero-text .cities { margin-top: clamp(18px, 2vw, 28px); }

  /* Logo carousel: app icons on a ring that turns slowly by itself. Front = larger and brighter. */
  /* isolate: tile z-indexes stay inside the carousel, so the sticky header always sits on top */
  .stage { display: none; min-width: 0; position: relative; z-index: 0; isolation: isolate; }
  .ring { position: relative; height: 270px; }
  .orb { position: absolute; left: 50%; top: 40%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0; border-radius: 20px;
    transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1)); opacity: var(--o, 1); will-change: transform, opacity;
    -webkit-tap-highlight-color: transparent; }
  .orb .app { display: grid; place-items: center; overflow: hidden;
    box-shadow: 0 0 0 1px oklch(0 0 0 / 0.08), inset 0 1px 0 oklch(1 0 0 / 0.25), 0 14px 28px -12px oklch(0 0 0 / 0.45); }
  .orb .app img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .orb .app { width: 100%; height: 100%; border-radius: 20px; filter: brightness(var(--b, 1)) saturate(var(--b, 1)); transition: box-shadow 200ms ease; }
  .orb .app svg { width: 42px; height: 42px; }
  .orb:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  @media (hover: hover) and (pointer: fine) { .orb:hover .app { box-shadow: 0 0 0 2px var(--ink), 0 10px 24px -8px oklch(0 0 0 / 0.45); } }
  .ring .floor { position: absolute; left: 14%; right: 14%; top: 82%; height: 30px; border-radius: 50%;
    background: radial-gradient(closest-side, oklch(0 0 0 / 0.14), transparent); filter: blur(6px); pointer-events: none; }
  .ring-cap { margin-top: 4px; text-align: center; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
  .ring-cap strong { color: var(--ink); font-weight: 600; }
  .ring-cap span::before { content: " · "; color: var(--grey); }
  .ring-cap span:empty::before { content: ""; }
  @media (min-width: 761px) { .stage { display: block; width: min(100%, 520px); justify-self: center; } }
  @media (min-width: 1100px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 96px); }
    .hero h1 { font-size: clamp(36px, 10px + 2.9vw, 60px); }
    .stage { width: 100%; max-width: 520px; justify-self: end; }
  }
  .cities { display: flex; flex-wrap: wrap; gap: 8px; }
  .cities li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink-2); background: var(--paper); white-space: nowrap; }
  @media (max-width: 560px) {
    .cities { gap: 0; flex-wrap: nowrap; font-size: 15px; }
    .cities li { padding: 0; border: 0; background: none; color: var(--ink-2); }
    .cities li + li::before { content: "·"; padding: 0 8px; color: var(--grey); }
  }
  @media (max-width: 340px) { .cities { font-size: 14px; } .cities li + li::before { padding: 0 5px; } }

  /* Section heads */
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.5vw, 30px);
    padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--line); }
  .sec-head h2 { font-size: clamp(26px, 16px + 1.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
  .sec-head p { color: var(--ink-2); max-width: 60ch; }

  /* ---------- Our work window ---------- */
  .work { padding-bottom: clamp(56px, 8vw, 112px); }
  .win { container: win / inline-size; color: var(--w-ink); background: var(--w-bg); border-radius: clamp(14px, 1.4vw, 20px); overflow: hidden;
    box-shadow: 0 0 0 1px var(--w-line), 0 40px 80px -48px oklch(0 0 0 / 0.7); }
  .tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: var(--w-bar); }
  .tab { position: relative; flex: 0 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border-radius: 10px 10px 0 0; font-size: 15px; font-weight: 500; color: var(--w-ink-2); white-space: nowrap; transition: background-color 180ms ease, color 180ms ease; }
  .tab span { font-size: 12px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--w-fill-2); }
  .tab[aria-selected="true"] { color: var(--w-ink); background: var(--w-bg); }
  .tab[aria-selected="true"] span { background: var(--w-ink); color: var(--w-bg); }
  .tab:focus-visible { outline-offset: -4px; }
  @media (hover: hover) { .tab[aria-selected="false"]:hover { color: var(--w-ink); background: var(--w-fill); } }

  /* All panes share one grid cell, so switching tabs never changes the height */
  .panes { display: grid; }
  .pane { grid-area: 1 / 1; display: grid; min-width: 0; visibility: hidden; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .pane.on { visibility: visible; opacity: 1; transition: opacity 200ms ease; }
  /* Phones: one vertical list. Tap a project to open it in place; nothing scrolls sideways. */
  .rail, .media, .infos { display: none; }
  .pane:not(.on) { display: none; }
  .mlist { padding: 6px 10px 10px; }
  .mlist > li + li { border-top: 1px solid var(--w-line); }
  .m summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
    min-height: 64px; padding: 10px 6px; cursor: pointer; border-radius: 12px; -webkit-tap-highlight-color: transparent; transition: background-color 150ms ease; }
  .m summary::-webkit-details-marker { display: none; }
  .m summary:active { background: var(--w-fill); }
  .th { width: 64px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--w-line); }
  .th img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
  .th-solo { display: grid; place-items: center; background: oklch(0.22 0.01 300); }
  .th-solo img { width: auto; height: 86%; border-radius: 4px; }
  .th-type { display: grid; place-items: center; font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
    background: radial-gradient(90% 90% at 30% 20%, oklch(0.3 0.04 262), oklch(0.16 0.005 300)); }
  .m-t { display: grid; min-width: 0; }
  .m-t strong { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
  .m-t span { font-size: 14px; color: var(--w-ink-2); }
  .chev { width: 9px; height: 9px; margin-right: 6px; border: solid var(--w-ink-2); border-width: 0 1.6px 1.6px 0; rotate: 45deg; translate: 0 -2px; transition: rotate 220ms var(--ease), translate 220ms var(--ease); }
  .m[open] .chev { rotate: 225deg; translate: 0 2px; }
  .m-body { padding: 4px 6px 18px; }
  .m[open] .m-body { animation: open 260ms var(--ease); }
  @keyframes open { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
  .m-shot { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 14px; }
  .m-shot .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .m-shot .phone { position: absolute; right: 5%; bottom: -7%; width: 22%; aspect-ratio: 410 / 888; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 3px #0b0b0b, 0 0 0 4px #3d3d3d; }
  .m-shot .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .m-shot.solo-bg { display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 30%, oklch(0.28 0.01 300), oklch(0.1 0 0)); }
  .m-shot .solo { width: auto; height: 84%; border-radius: 16px; box-shadow: 0 0 0 4px #0b0b0b, 0 0 0 5px #3d3d3d; }
  .m-shot .card { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px;
    background: radial-gradient(90% 90% at 30% 20%, oklch(0.27 0.03 262), oklch(0.12 0.005 300) 70%); }
  .m-shot .card b { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
  .m-shot .card i { margin-top: 8px; font-style: normal; color: var(--w-ink-2); font-size: 14px; }
  .m-body .body { margin-top: 2px; max-width: 62ch; font-size: 16px; line-height: 1.5; color: var(--w-ink-2); }

  /* Shared building blocks for the wide layouts */
  .rows { display: flex; flex-direction: column; gap: 2px; padding: 10px; }
  .row { display: grid; text-align: left; min-height: 44px; padding: 10px 14px; border-radius: 10px; transition: background-color 180ms ease, transform 100ms ease-out; }
  .row strong { font-size: 16px; font-weight: 500; }
  .row span { display: block; margin-top: 1px; font-size: 13px; color: var(--w-ink-2); }
  .row[aria-pressed="true"] { background: var(--w-fill-2); }
  .row:active { transform: scale(0.98); }
  .media { grid-area: media; position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 9.4; }
  .slides { height: 100%; display: grid; }
  .slide { grid-area: 1 / 1; position: relative; overflow: hidden; opacity: 0; transition: opacity 360ms var(--ease); }
  .slide.on { opacity: 1; z-index: 1; }
  .slide .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .slide .phone { position: absolute; right: 5%; bottom: -7%; width: 19%; aspect-ratio: 410 / 888; border-radius: 16px; overflow: hidden;
    box-shadow: 0 0 0 4px #0b0b0b, 0 0 0 5px #3d3d3d, 0 20px 40px -12px #000; }
  .slide .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .slide.solo-bg { display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 30%, oklch(0.28 0.01 300), oklch(0.1 0 0)); }
  .slide .solo { width: auto; height: 84%; border-radius: 20px; box-shadow: 0 0 0 5px #0b0b0b, 0 0 0 6px #3d3d3d, 0 30px 60px -20px #000; }
  .slide .card { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px;
    background: radial-gradient(90% 90% at 30% 20%, oklch(0.27 0.03 262), oklch(0.12 0.005 300) 70%); }
  .slide .card b { font-size: clamp(26px, 5cqi, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
  .slide .card i { margin-top: 12px; font-style: normal; color: var(--w-ink-2); font-size: 15px; }
  .infos { grid-area: info; padding: 20px 24px 24px; min-width: 0; }
  .info { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; transition: opacity 180ms ease, visibility 0s linear 180ms; }
  .info.on { visibility: visible; opacity: 1; transition: opacity 220ms ease; }
  .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--w-ink-2); }
  .tag { color: var(--w-ink); font-weight: 600; font-size: 13px; padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--w-line); }
  .info h3 { margin-top: 10px; font-size: clamp(24px, 3.4cqi, 32px); line-height: 1.08; letter-spacing: -0.025em; }
  .info .body { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--w-ink-2); }
  .chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
  .chips li { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: var(--w-fill-2); }
  .visit { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
  .visit::after { content: "↗"; }
  .note { margin-top: 12px; font-size: 14px; color: var(--w-ink-2); }

  /* Medium window: sidebar + media, description under the media */
  @container win (min-width: 720px) {
    .mlist { display: none; }
    .pane:not(.on) { display: grid; }
    .rail, .media { display: block; }
    .infos { display: grid; }
    .pane { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); grid-template-areas: "rail media" "rail info"; }
    .rail { grid-area: rail; border-right: 1px solid var(--w-line); }
  }
  @media (hover: hover) and (pointer: fine) {
    .row[aria-pressed="false"]:hover { background: var(--w-fill); }
  }
  /* Wide window: sidebar · media · description, side by side */
  @container win (min-width: 1140px) {
    .pane { grid-template-columns: 240px minmax(0, 1fr) clamp(300px, 26cqi, 380px); grid-template-areas: "rail media info"; }
    .media { aspect-ratio: auto; min-height: 100%; }
    .slides { position: absolute; inset: 0; height: auto; }
    .infos { border-left: 1px solid var(--w-line); padding: 26px; align-content: start; }
    .info h3 { font-size: 30px; }
  }

  /* What we do */
  .do { padding: 0 0 clamp(20px, 3vw, 40px); container: do / inline-size; }
  .who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
  .who > li { display: flex; flex-direction: column; padding: clamp(16px, 1.8vw, 22px); border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .who h3 { font-size: clamp(18px, 15px + 0.5vw, 22px); letter-spacing: -0.02em; }
  .who > li > p { margin-top: 6px; color: var(--ink-2); font-size: clamp(15px, 14px + 0.2vw, 17px); line-height: 1.45; }
  .who .chips { margin-top: auto; padding-top: 14px; }
  .who .chips li { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  @container do (max-width: 520px) { .who .chips { display: none; } }
  @container do (min-width: 1000px) { .who { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .all { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: 16px; }
  .all span { color: var(--ink-2); margin-right: 4px; }
  .all a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
  @media (hover: hover) { .all a:hover { text-decoration: underline; text-underline-offset: 4px; } }

  /* Close */
  .close { margin-top: clamp(36px, 5vw, 72px); padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 7vw, 96px); border-top: 1px solid var(--line);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .close h2 { font-size: clamp(32px, 14px + 3.6vw, 64px); line-height: 1.04; letter-spacing: -0.033em; }
  .close .acts { display: flex; flex-wrap: wrap; gap: 12px; }

  /* Footer */
  .foot { border-top: 1px solid var(--line); padding: 32px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--ink-2); }
  .foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px 24px; }
  @media (max-width: 760px) {
    .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
    .foot .about { grid-column: 1 / -1; }
    .foot ul a { font-size: 15px; }
  }
  .foot h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
  .foot ul a { display: inline-block; padding: 4px 0; text-decoration: none; }
  .foot .about p { max-width: 36ch; margin-top: 12px; }
  .foot .about .where { margin-top: 4px; white-space: nowrap; color: var(--ink); }
  .foot .about .f-mail { margin-top: 6px; } .foot .about .f-mail a { display: inline-block; padding: 8px 0; color: var(--ink); text-underline-offset: 3px; }
  .legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 14px; }
  .legal ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .legal a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
  @media (hover: hover) { .foot ul a:hover, .legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
  @media (pointer: coarse) { .foot ul a { padding: 9px 0; } .all a, .legal a { min-height: 44px; } }

  /* Phone menu */
  .sheet { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0;
    padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
    background: var(--page); color: var(--ink); opacity: 0; transition: opacity 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete; }
  .sheet[open] { opacity: 1; }
  @starting-style { .sheet[open] { opacity: 0; } }
  .sheet ul { padding-top: 16px; }
  .sheet li a { display: block; padding: 10px 0; font-size: 34px; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
  .sheet .btn { margin-top: 24px; width: 100%; min-height: 56px; }

  /* iPhone: app-style chrome. Small top bar, frosted tab bar at the thumb. */
  .book-mini { display: none; }
  .tabbar { display: none; }
  /* Phones AND tablets get the same bottom tab bar (no Menu button), so every touch screen works the same way */
  @media (max-width: 900px) {
    .menu { display: none !important; }
    .head-in { min-height: 56px; }
    .book-mini { display: inline-flex; margin-left: auto; min-height: 36px; padding: 0 14px; font-size: 15px; }
    .book-mini::before { content: ""; position: absolute; inset: -6px -4px; }
    .book-mini { position: relative; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 30;
      left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom));
      padding: 6px; border-radius: 22px; background: color-mix(in oklch, var(--page) 88%, transparent);
      -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
      box-shadow: 0 0 0 0.5px color-mix(in oklch, var(--ink) 18%, transparent), 0 10px 30px -10px oklch(0 0 0 / 0.35); }
    .tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; border-radius: 16px; text-decoration: none;
      font-size: 12px; font-weight: 500; letter-spacing: 0.005em; color: color-mix(in oklch, var(--ink) 78%, var(--page)); transition: transform 100ms ease-out, background-color 200ms ease, color 200ms ease; }
    .tabbar svg { width: 24px; height: 24px; }
    .tabbar a[aria-current="true"] { color: var(--ink); background: color-mix(in oklch, var(--ink) 8%, transparent); }
    .tabbar a.cta { color: var(--btn-ink); background: var(--btn); }
    .tabbar a:active { transform: scale(0.94); }
    .demo-note { display: none; }
    .hero { padding-top: 22px; }
  }
  @media (min-width: 761px) and (max-width: 900px) { .tabbar { left: 50%; right: auto; width: min(560px, calc(100% - 20px)); translate: -50% 0; } }
  @media (max-width: 900px) and (prefers-reduced-transparency: reduce) {
    .tabbar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  }

  .demo-note { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 40; font-size: 12px; padding: 6px 12px; border-radius: 999px;
    background: oklch(0.2 0 0 / 0.86); color: #f5f5f5; white-space: nowrap; pointer-events: none; }

  @media (max-width: 900px) {
    .nav { display: none; }
    .menu { display: inline-flex; }
  }
  @media (max-width: 719px) {
    .tabs { gap: 2px; padding: 6px 6px 0; }
    .tab { flex: 1 1 0; padding: 0 6px; font-size: 14px; }
    .tab span { display: none; }
  }
  @media (max-width: 480px) {
    .brand { font-size: 18px; }
  }
  /* Short landscape phones: keep the work window inside the screen */
  @media (orientation: landscape) and (max-height: 520px) {
    .hero { padding-top: 16px; }
    .m-shot { aspect-ratio: auto; height: 58svh; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  }
  @media (prefers-reduced-transparency: reduce) {
    .head { background: var(--page); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
  }
  @media (prefers-contrast: more) {
    :root { --ink-2: var(--ink); --grey: var(--ink-2); --w-ink-2: var(--w-ink); --w-line: oklch(1 0 0 / 0.4); }
  }
}

@layer components {
  /* Header: white bar with a soft edge so it stands apart from the grey page */
  :root { --bar: oklch(1 0 0 / 0.95); --sub: oklch(0.32 0.006 300); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bar: oklch(0.2 0.003 300 / 0.95); --sub: oklch(0.86 0.004 300); } }
  .head { background: var(--bar); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px oklch(0 0 0 / 0.3); }
  .nav .nav-cs { box-shadow: inset 0 0 0 1.5px var(--ink); margin-left: 6px; }

  /* Section intro lines: readable, so a new section is obvious */
  .sec-head p { color: var(--sub); font-size: clamp(17px, 15px + 0.3vw, 19px); }
  .sec-link { margin-left: 10px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
  .sec-link:hover { text-decoration: underline; text-underline-offset: 4px; }

  /* What we do: a line of four simple buttons, like Everything we do, and one sentence */
  .do { padding-bottom: clamp(20px, 3vw, 40px); }
  .who { margin-top: 0; }
  .who-b { min-height: 40px; display: inline-flex; align-items: center; color: var(--ink-2); font-size: 16px;
    background: linear-gradient(currentColor, currentColor) left bottom 6px / 0 1.5px no-repeat; transition: color 200ms ease, background-size 300ms var(--ease); }
  .who-b[aria-selected="true"] { color: var(--ink); font-weight: 500; background-size: 100% 1.5px; }
  @media (hover: hover) { .who-b:hover { color: var(--ink); } }
  .who-say { margin-top: 6px; font-size: clamp(18px, 15px + 0.5vw, 22px); letter-spacing: -0.01em; }
  .who-say:not([hidden]) { animation: say-in 260ms var(--ease); }
  @keyframes say-in { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
  .do .all:not(.who) { margin-top: 22px; }
  @media (pointer: coarse) { .who-b { min-height: 44px; } }
  @media (max-width: 560px) { .who > span { display: none; } .who { gap: 0 16px; } }

  .do .all:not(.who) { margin-top: 12px; }

  /* Our work */
  .work { padding-bottom: clamp(56px, 8vw, 112px); }
  .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); align-items: stretch; }
  .col { display: flex; flex-direction: column; min-width: 0; }
  .col-h { margin-bottom: 12px; font-size: clamp(19px, 16px + 0.4vw, 22px); letter-spacing: -0.02em; }
  .col-h span { margin-left: 6px; font-size: 15px; font-weight: 400; color: var(--ink-2); }
  .sites { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
  .site { position: relative; display: block; height: 100%; min-height: 150px; border-radius: 14px; overflow: hidden; background: #000; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
  .site img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease); }
  .site::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0 0 0 / 0.82), oklch(0 0 0 / 0.3) 40%, oklch(0 0 0 / 0) 62%); }
  .site .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; color: #fff; }
  .site .cap strong { font-size: 17px; font-weight: 500; }
  .site .cap span { font-size: 13px; color: oklch(1 0 0 / 0.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site .lbl { position: absolute; top: 12px; left: 14px; z-index: 1; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px oklch(0 0 0 / 0.7); }
  .cs-tag { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 500;
    color: oklch(0.16 0.004 300); background: oklch(1 0 0 / 0.92); }
  .cs-tag svg { width: 13px; height: 13px; }
  .strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .strip { position: relative; width: 100%; aspect-ratio: 20 / 6; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
    padding: 0 14px; border-radius: 14px; overflow: hidden; text-align: left; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 200ms ease, transform 100ms ease-out; }
  .strip .app { width: clamp(38px, 3.2vw, 48px); aspect-ratio: 1; border-radius: 11px; display: grid; place-items: center; background: var(--tile); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .strip .app svg { width: 56%; height: auto; }
  .st { display: grid; min-width: 0; }
  .st strong { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .st span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .arr { display: grid; color: var(--ink-2); opacity: 0.5; transition: opacity 200ms ease, translate 200ms var(--ease); }
  .strip:active { transform: scale(0.985); }
  @media (hover: hover) and (pointer: fine) {
    .site:hover img { transform: scale(1.035); }
    .strip:hover { box-shadow: 0 0 0 1.5px var(--ink); }
    .strip:hover .arr { opacity: 1; translate: 3px 0; }
  }
  @media (max-width: 1060px) { .split { grid-template-columns: minmax(0, 1fr); } .sites { grid-auto-rows: auto; } .site { height: auto; aspect-ratio: 16 / 10; min-height: 0; } }
  @media (max-width: 560px) {
    .strips { gap: 8px; }
    .strip { aspect-ratio: auto; min-height: 56px; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 0 10px; }
    .strip .app { width: 34px; border-radius: 9px; }
    .strip .arr, .st span { display: none; }
    .st strong { font-size: 15px; }
    .site .cap { left: 10px; right: 10px; bottom: 8px; } .site .cap strong { font-size: 15px; } .site .cap span { display: none; }
    .site .lbl { top: 8px; left: 10px; font-size: 11px; }
    .cs-tag { top: 6px; right: 6px; padding: 3px 7px; font-size: 11px; } .cs-tag svg { display: none; }
  }

  /* Case studies, option 1: a line of links like Everything we do */
  .cs-line { margin-top: 18px; }
  .cs-line .see { display: inline-flex; gap: 6px; font-weight: 500; }
  @media (hover: hover) { .cs-line a:hover { text-decoration: underline; text-underline-offset: 4px; } }
  /* Case studies, option 2: one featured card */
  .feat { margin-top: 14px; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 10px; padding-right: 20px; border-radius: 16px;
    background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow 200ms ease; }
  .feat-img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; }
  .feat-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .feat-t { display: grid; min-width: 0; }
  .feat-t .k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .feat-t strong { font-size: 18px; font-weight: 500; }
  .feat-t > span:last-child { font-size: 15px; color: var(--ink-2); }
  .feat-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
  @media (hover: hover) { .feat:hover { box-shadow: 0 0 0 1.5px var(--ink); } }
  @media (max-width: 560px) { .feat { grid-template-columns: 96px minmax(0, 1fr); } .feat-go { display: none; } .feat-t > span:last-child { display: none; } }

  .close { margin-top: clamp(28px, 4vw, 56px); }

  /* Shared pieces from the product dialog */
  .art { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; color: #fff;
    background: radial-gradient(80% 90% at 50% 25%, color-mix(in oklch, var(--tile) 70%, black), oklch(0.11 0.003 300) 75%); }
  .art .app { width: clamp(56px, 22%, 96px); aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; background: var(--tile); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.3); }
  .art .app svg { width: 52%; height: auto; }
  .art b { margin-top: 8px; font-size: clamp(22px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
  .art i { font-style: normal; color: oklch(1 0 0 / 0.72); font-size: 15px; }
  .did { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 14px; font-size: 15px; color: var(--w-ink-2); }
  .did li + li::before { content: "·"; padding: 0 9px; }
  .case { margin: auto; width: min(100% - 32px, 1000px); max-height: min(92dvh, 860px); padding: 0; border: 0; border-radius: 20px; overflow: auto; overscroll-behavior: contain;
    color: var(--w-ink); background: var(--w-bg); box-shadow: 0 0 0 1px var(--w-line), 0 40px 120px -30px oklch(0 0 0 / 0.8);
    opacity: 0; translate: 0 12px; transition: opacity 220ms ease, translate 260ms var(--ease), overlay 220ms allow-discrete, display 220ms allow-discrete; }
  .case[open] { opacity: 1; translate: 0 0; }
  @starting-style { .case[open] { opacity: 0; translate: 0 12px; } }
  .case::backdrop { background: oklch(0 0 0 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .case-in { display: grid; }
  .case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
  .case-media .shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .case-text { padding: 24px 26px 28px; }
  .case-text .meta { font-size: 14px; color: var(--w-ink-2); }
  .case-text h3 { margin-top: 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.06; letter-spacing: -0.025em; }
  .case-text .body { margin-top: 10px; font-size: 16px; color: var(--w-ink-2); }
  .case-text .note { margin-top: 12px; font-size: 14px; color: var(--w-ink-2); }
  .case-text .btn { margin-top: 20px; background: var(--w-ink); color: var(--w-bg); }
  .case-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: #fff;
    background: oklch(0 0 0 / 0.55); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.18); }
  @media (min-width: 900px) { .case-in { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); } .case-media { aspect-ratio: auto; min-height: 440px; } .case-text { align-self: center; padding: 30px 28px; } }
  @media (max-width: 760px) { .case { width: 100%; max-width: none; max-height: 88dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; } }

  @media (max-width: 480px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot ul a { white-space: nowrap; } }

  /* Case study pages: same type and spacing as the homepage */
  .cp { padding: clamp(24px, 4vw, 56px) 0 0; }
  .back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
  .back svg { rotate: 180deg; }
  .cp h1 { margin-top: 8px; font-size: clamp(32px, 14px + 3.4vw, 60px); line-height: 1.05; letter-spacing: -0.033em; max-width: 22ch; }
  .cp .sum { margin-top: 12px; font-size: clamp(17px, 15px + 0.4vw, 20px); color: var(--sub); max-width: 52ch; }
  .facts { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 14px; }
  .facts dt { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .facts dd { margin: 2px 0 0; }
  .facts a { text-underline-offset: 3px; }
  .cp-shot { position: relative; margin-top: clamp(20px, 3vw, 36px); aspect-ratio: 16 / 8; border-radius: clamp(14px, 1.4vw, 20px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
  .cp-shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .cp-shot .phone { position: absolute; right: 5%; bottom: -8%; width: 15%; aspect-ratio: 410 / 888; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 4px #0b0b0b, 0 0 0 5px #3d3d3d; }
  .cp-shot .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .cp-body { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--line); }
  .cp-body h2 { font-size: clamp(20px, 16px + 0.5vw, 24px); letter-spacing: -0.02em; }
  .cp-body p { margin-top: 8px; color: var(--ink-2); }
  .built { margin-top: 8px; }
  .built li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .built li:first-child { border-top: 1px solid var(--line); }
  .built strong { color: var(--ink); font-weight: 500; }
  .cx { padding: clamp(10px, 1.4vw, 20px) 0 0; }
  .cx-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
  .cx-eye { font-size: 14px; font-weight: 500; color: color-mix(in oklab, var(--sa) 80%, black); letter-spacing: .01em; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cx-eye { color: var(--ta, var(--sa)); } }
  .cx h1 { margin-top: 10px; font-size: clamp(40px, 22px + 3.4vw, 76px); line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance; }
  .cx-sum { margin-top: 16px; font-size: clamp(18px, 15.5px + 0.45vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 36ch; }
  .cx-acts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
  .cx-live { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
  /* Glass buttons: frosted material on hover, bright top edge, press on pointer-down */
  .cx-page .btn { transition: transform .1s ease-out, background-color .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease; will-change: transform; }
  .cx-page .btn:active { transform: scale(.97); }
  @media (hover: hover) {
    .cx-glass.btn--ghost:hover { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px -10px rgba(0,0,0,.25); border-color: rgba(0,0,0,.12); }
    .cx-primary:hover { background: color-mix(in srgb, var(--ink) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 26px -10px rgba(0,0,0,.45); }
  }
  .cx-stats { margin-top: clamp(22px, 2.6vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 560px; border-top: 1px solid var(--line); }
  .cx-stats li { padding: 12px 12px 0 0; }
  .cx-stats li + li { padding-left: 14px; border-left: 1px solid var(--line); }
  .cx-stats strong { display: block; font-size: clamp(24px, 17px + 1vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .cx-stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.3; }
  .cx-stage { position: relative; margin: 0; padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(28px, 4vw, 52px); border-radius: clamp(18px, 2vw, 28px); background: var(--stage); }
  .cx-stage--solo { width: 100%; max-width: 540px; justify-self: end; padding: clamp(14px, 1.8vw, 24px); border-radius: clamp(16px, 1.6vw, 22px); }
  @media (max-width: 900px) { .cx-stage--solo { justify-self: start; } }
  .cx-browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -18px rgba(20,20,40,.35), 0 0 0 1px rgba(0,0,0,.06); }
  .cx-banner { border-radius: 16px; }
  .cx-bar { display: flex; gap: 6px; padding: 9px 12px; background: rgba(255,255,255,.75); border-bottom: 1px solid rgba(0,0,0,.06); }
  .cx-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.14); }
  .cx-browser video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; cursor: pointer; background: #0a0a0a; }
  .cx-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
  .cx-phone { position: absolute; right: clamp(10px, 2vw, 24px); bottom: clamp(-18px, -1.4vw, -8px); width: 23%; aspect-ratio: 410 / 888; border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden; background: #0b0b0b; padding: 3px;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 0 0 2.5px rgba(0,0,0,.18), 0 20px 40px -16px rgba(20,10,30,.45); }
  .cx-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(11px, 1.3vw, 19px); }
  /* Band: brand tint in Simple, graphite with the brand accent in Technical */
  .cx-did-band { --bb: var(--sb); --bi: #141417; --bs: #3d3d45; --ba: var(--sa); --bl: color-mix(in srgb, var(--sa) 22%, transparent);
    margin-top: clamp(32px, 4vw, 56px); padding: clamp(28px, 3.5vw, 48px) 0; background: var(--bb); border-top: 1px solid var(--bl); color: var(--bi); position: relative; isolation: isolate;
    transition: background-color .5s cubic-bezier(.22,1,.36,1), color .5s cubic-bezier(.22,1,.36,1); }
  .cx-did-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s cubic-bezier(.22,1,.36,1);
    background: radial-gradient(80% 60% at 85% 0%, color-mix(in srgb, var(--ta) 12%, transparent), transparent 70%), radial-gradient(60% 50% at 0% 100%, color-mix(in srgb, var(--ta) 6%, transparent), transparent 70%); }
  .cx-did-band[data-mode="tech"] { --bb: var(--tb); --bi: #f5f6f8; --bs: #c4c8d0; --ba: var(--ta); --bl: rgba(255,255,255,.12); }
  .cx-did-band[data-mode="tech"]::before { opacity: 1; }
  .cx-band-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
  .cx-help-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .cx-help { max-width: 82ch; }
  .cx-help .help-t, .cx-did-band[data-mode="tech"] .cx-help .help-s { display: none; }
  .cx-did-band[data-mode="tech"] .cx-help .help-t { display: block; animation: didIn .35s cubic-bezier(.22,1,.36,1); }
  .cx-did-title { margin-top: clamp(26px, 3vw, 38px); font-size: clamp(24px, 17px + 1.1vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
  .cx-did-top:has(.cx-who) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
  .cx-who h3 { font-size: 15px; font-weight: 600; color: var(--ba); letter-spacing: .01em; }
  .cx-who ul { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cx-who li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #fff 55%, transparent); box-shadow: 0 0 0 1px var(--bl); transition: background-color .5s; }
  .cx-did-band[data-mode="tech"] .cx-who li { background: rgba(255,255,255,.05); }
  .cx-who strong { font-size: 15px; font-weight: 600; }
  .cx-who span { font-size: 14px; color: var(--bs); line-height: 1.4; }
  @media (max-width: 900px) { .cx-did-top:has(.cx-who) { grid-template-columns: minmax(0, 1fr); } }
  .cx-help-h h2, .cx-did-head h2 { font-size: clamp(28px, 19px + 1.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--bi); }
  .cx-did-title { color: var(--bi); font-weight: 600; }
  .cx-help p { margin-top: 14px; font-size: clamp(18px, 16px + 0.4vw, 21px); color: var(--bs); line-height: 1.6; transition: color .5s; }
  .cx-did-head { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
  .seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px;
    background: color-mix(in srgb, var(--bi) 7%, transparent); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px color-mix(in srgb, var(--bi) 8%, transparent); }
  .cx-did-band[data-mode="tech"] .seg { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.1); }
  .seg button { position: relative; z-index: 1; min-height: 42px; min-width: 116px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--bs); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: color .3s, transform .1s ease-out; }
  .seg button:active { transform: scale(.97); }
  @media (hover: hover) { .seg button[aria-selected="false"]:hover { color: var(--bi); } }
  .seg button[aria-selected="true"] { color: #111; }
  .seg button:focus-visible { outline: 2px solid var(--ba); outline-offset: 2px; }
  .seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: rgba(255,255,255,.92);
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -6px rgba(0,0,0,.25); transition: transform .4s cubic-bezier(.22,1,.36,1); }
  .cx-did-band[data-mode="tech"] .seg-thumb { transform: translateX(100%); }
  .cx-nut b { font-weight: 300; color: var(--ba); transition: color .5s; }
  .cx-nut { font-weight: 400; color: var(--bs); white-space: nowrap; letter-spacing: -0.01em; transition: color .5s; }
  .cx-did2 { margin-top: clamp(18px, 2.5vw, 26px); display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
  .cx-did2[hidden] { display: none; }
  .cx-more { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 48px; padding: 14px 18px; border-radius: 16px;
    color: var(--bi); text-decoration: none; box-shadow: inset 0 0 0 1px var(--bl); transition: background-color .25s ease; }
  .cx-more strong { font-weight: 600; font-size: 15.5px; }
  .cx-more span { color: var(--ba); font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .cx-more:hover { background: color-mix(in srgb, var(--ba) 8%, transparent); }
  .cx-more:focus-visible { outline: 2px solid var(--ba); outline-offset: 3px; }
  .cx-did2 li { display: grid; align-content: start; gap: 6px; padding: 16px 16px 18px; border-radius: 16px;
    background: color-mix(in srgb, #fff 88%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px color-mix(in srgb, var(--sa) 30%, transparent);
    transition: background-color .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
  .cx-did-band[data-mode="tech"] .cx-did2 li { background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.08); }
  .cx-did2 strong { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--bi); }
  .cx-did2 strong::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ba); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ba) 20%, transparent); }
  .cx-did2 span { color: var(--bs); font-size: 16px; line-height: 1.5; }
  .cx-did-pane[hidden] { display: none; }
  .cx-did-pane:not([hidden]) .cx-did2 { animation: didIn .35s cubic-bezier(.22,1,.36,1); }
  @keyframes didIn { from { opacity: 0; } to { opacity: 1; } }
  .cx-end { padding-top: 0; }
  .cx .next { margin-top: clamp(28px, 4vw, 48px); }
  @media (prefers-reduced-motion: reduce) { .cx-did-band, .cx-did-band::before, .seg-thumb, .seg button, .cx-page .btn { transition: none; } .cx-did-pane .cx-did2 { animation: none !important; } }
  @media (prefers-reduced-transparency: reduce) { .seg, .cx-glass:hover { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }
  @media (max-width: 900px) { .cx-hero { grid-template-columns: minmax(0, 1fr); } .cx-stage { max-width: 640px; } .cx-stats { max-width: none; } }
  @media (max-width: 380px) { .cx-stats span { font-size: 12px; } .cx-stats li + li { padding-left: 10px; } }
  @media (max-width: 1100px) { .cx-did2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .cx-did2 { grid-template-columns: minmax(0, 1fr); gap: 8px; } .cx-did2 li { padding: 13px 16px 14px; border-radius: 14px; gap: 3px; } .cx-did2 strong { font-size: 17px; } .cx-did2 span { font-size: 16px; padding-left: 15px; } .seg { width: 100%; } .seg button { min-width: 0; } }
  @media (max-width: 480px) { .cx-acts .btn { flex: 1 1 auto; justify-content: center; } .cx-phone { width: 26%; } .seg { width: 100%; } .seg button { min-width: 0; } }
  .cp-vid { margin-top: clamp(20px, 3vw, 36px); }
  .cp-vid-box { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(14px, 1.4vw, 20px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
  .cp-vid video, .cx-vid video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .cp-vid-pp { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0,0,0,.72); color: #fff; cursor: pointer; }
  .cp-vid-pp svg { fill: currentColor; }
  .cp-vid-pp .i-play, .cp-vid-pp[aria-pressed="true"] .i-pause { display: none; }
  .cp-vid-pp[aria-pressed="true"] .i-play { display: inline; }
  .cp-vid-pp:focus-visible, .cp-chaps button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .cp-vid figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
  .cp-vid figcaption p { color: var(--ink-2); font-size: 15px; max-width: 60ch; }
  .cp-chaps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .cp-chaps li { list-style: none; }
  .cp-chaps li::before, .cp-chaps li::marker { content: none; }
  .cp-chaps button { min-height: 36px; padding: 0 12px 0 6px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; }
  .cp-chaps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
  .cp-chaps button[aria-current="true"] { color: var(--ink); border-color: var(--ink); }
  .cp-chaps button[aria-current="true"] .n { background: var(--ink); color: var(--bg, #fff); }
  .cp-stats { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); }
  .cp-stats li { border-top: 1px solid var(--line); padding-top: 12px; }
  .cp-stats strong { display: block; font-size: clamp(30px, 20px + 2vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
  .cp-stats span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 24ch; }
  .cp-body--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .cp-did { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
  .cp-did li { display: grid; align-content: start; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
  .cp-did strong { color: var(--ink); font-weight: 500; }
  .cp-did span { color: var(--ink-2); font-size: 15px; }
  @media (max-width: 860px) { .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-body--2 { grid-template-columns: minmax(0, 1fr); } .cp-vid-box { aspect-ratio: 16 / 10; } }
  @media (max-width: 480px) { .cp-did { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
  .next { margin-top: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
  .next span { color: var(--ink-2); }
  .next strong { font-size: clamp(20px, 16px + 0.6vw, 26px); font-weight: 500; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
  @media (hover: hover) { .next:hover strong { text-decoration: underline; text-underline-offset: 5px; } }
  .idx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 8px; }
  .idx a { display: grid; gap: 4px; text-decoration: none; }
  .idx .im { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; }
  .idx .im img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease); }
  .idx strong { font-size: 20px; font-weight: 500; }
  .idx span { color: var(--ink-2); }
  @media (hover: hover) { .idx a:hover .im img { transform: scale(1.03); } }
  @media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-body { grid-template-columns: minmax(0, 1fr); } .cp-shot { aspect-ratio: 16 / 10; } }
  @media (max-width: 560px) { .idx { grid-template-columns: minmax(0, 1fr); } }
}

@layer components {
  /* Our work headings link to their own pages */
  .col-h { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; text-decoration: none; font-size: clamp(19px, 16px + 0.4vw, 22px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
  .col-h span { font-size: 15px; font-weight: 400; color: var(--ink-2); margin-left: 0; }
  .col-h svg { width: 16px; height: 16px; transition: translate 250ms var(--ease); }
  @media (hover: hover) { .col-h:hover { text-decoration: underline; text-underline-offset: 5px; } .col-h:hover svg { translate: 3px 0; } }
  a.strip { text-decoration: none; color: inherit; }
  .sub-h { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 16px 0 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
  .sub-h svg { width: 14px; height: 14px; }
  @media (hover: hover) { .sub-h:hover { color: var(--ink); } }
  /* Our work: one grid for both sides, so rows line up. Websites keep their size; the four products fill the height of
     the top row of websites; "Apps in development" sits at the gap and its three cards fill the bottom row. */
  .ow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "h1 h2" "s1 p" "s2 a";
    grid-template-rows: auto clamp(150px, 12vw, 210px) clamp(150px, 12vw, 210px); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 10px; }
  .ow-h1 { grid-area: h1; } .ow-h2 { grid-area: h2; } .ow-s1 { grid-area: s1; } .ow-s2 { grid-area: s2; } .ow-p { grid-area: p; } .ow-a { grid-area: a; }
  .ow .col-h { margin-bottom: 2px; }
  .ow .sites { grid-auto-rows: 1fr; }
  .ow .site { height: 100%; min-height: 0; }
  .ow-p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ow-p li { display: grid; }
  .ow-p .strip { aspect-ratio: auto; height: auto; min-height: 0; }
  .ow-a { display: flex; flex-direction: column; min-height: 0; }
  .ow-a .col-h { margin: 0 0 10px; }
  .appc { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .appc li { display: grid; min-height: 0; }
  .appc-c { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; gap: 10px 10px; padding: 12px; border-radius: 14px;
    text-decoration: none; color: inherit; background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow 200ms ease, transform 100ms ease-out; }
  .appc-c .app { width: 36px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; }
  .appc-c .app svg { width: 56%; height: auto; }
  .appc-c .st strong { font-size: 15px; }
  .appc-l { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .appc-c:active { transform: scale(0.985); }
  @media (hover: hover) and (pointer: fine) { .appc-c:hover { box-shadow: 0 0 0 1.5px var(--ink); } }
  /* Apps, option A: a slim bar with the name over a preview */
  .apa { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .apa li { display: grid; min-height: 0; }
  .apa a { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 6px; text-decoration: none; color: inherit; }
  .apa-bar { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .apa-bar .app { width: 26px; height: 26px; flex: none; border-radius: 7px; display: grid; place-items: center; }
  .apa-bar .app svg { width: 56%; height: auto; }
  .apa-bar strong { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .apa-bar > span:last-child { margin-left: auto; font-size: 12px; color: var(--grey); }
  .ap-vis { position: relative; display: block; min-height: 0; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
  .ap-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 500ms var(--ease); }
  .ap-vis--tile { display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, color-mix(in oklch, var(--c) 72%, white), var(--c)); }
  .ap-vis--tile .app { height: 56%; max-height: 72px; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; box-shadow: 0 12px 24px -10px oklch(0 0 0 / 0.45), inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .ap-vis--tile .app svg { width: 56%; height: auto; }
  .ap-vis--tile .app img { position: static; width: 100%; height: 100%; border-radius: inherit; }
  @media (hover: hover) and (pointer: fine) { .apa a:hover .apa-bar, .apa a:hover .ap-vis { box-shadow: 0 0 0 1.5px var(--ink); } .apa a:hover .ap-vis img { transform: scale(1.04); } }
  /* Apps, option B: app-store tiles */
  .apb { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .apb a { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 10px; padding: 6px 10px 6px 8px;
    border-radius: 12px; text-decoration: none; color: inherit; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 200ms ease; }
  .apb .app { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
  .apb .app svg { width: 56%; height: auto; }
  .apb strong { font-weight: 500; font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .apb span:not(.app) { font-size: 13px; color: var(--ink-2); }
  .apb li:nth-child(6), .apb li:nth-child(7) { display: none; }   /* desktop shows five; the phone home screen shows all */
  .apb .apb-all { display: flex; align-items: center; justify-content: center; gap: 6px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
  .apb .apb-all svg { width: 14px; height: 14px; }
  .apb .apb-more { display: none; }
  .apb .apb-arr { display: inline-flex; }
  @media (hover: hover) and (pointer: fine) { .apb a:hover { box-shadow: 0 0 0 1.5px var(--ink); } }
  @media (max-width: 560px) { .apa { grid-template-columns: repeat(3, minmax(0, 1fr)); } .apa a { grid-template-rows: auto 90px; } .apa-bar > span:last-child { display: none; } }
  /* Phones: apps look like a home screen. Real app-icon size, name underneath, tap to see what it is. */
  @media (max-width: 760px) {
    .apb li:nth-child(6), .apb li:nth-child(7) { display: list-item; }
    .apb { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 18px 8px; padding: 6px 2px 0; }
    .apb a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; align-content: start; gap: 6px; padding: 0; background: none; box-shadow: none; text-align: center; -webkit-tap-highlight-color: transparent; }
    .apb .app, .apb .apb-more { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 6px 14px -8px oklch(0 0 0 / 0.45), inset 0 1px 0 oklch(1 0 0 / 0.22); transition: transform 120ms ease-out; }
    .apb .app svg { width: 58%; }
    .apb a:active .app { transform: scale(0.92); }
    .apb strong { max-width: 100%; font-size: 12px; font-weight: 400; color: var(--ink); }
    .apb span:not(.app) { display: none; }
    .apb a.cpt span:not(.app) { display: block; margin-top: -4px; font-size: 10px; color: var(--grey); }   /* concepts stay labelled */
    .apb .apb-all { box-shadow: none; justify-content: flex-start; }
    .apb .apb-more { display: grid; place-items: center; background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
    .apb .apb-more svg { width: 22px; height: 22px; }
    .apb .apb-arr { display: none; }
  }
  @media (max-width: 1060px) {
    .ow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "s1" "s2" "h2" "p" "a"; grid-template-rows: none; }
    .ow .site { aspect-ratio: 16 / 10; height: auto; }
    .ow-h2 { margin-top: 18px; }
    .ow-p .strip { min-height: 72px; }
    .appc-l { -webkit-line-clamp: 2; }
    .apa a { grid-template-rows: auto 120px; }
  }
  @media (max-width: 560px) { .ow-p .strip { min-height: 56px; } .ow-p .st strong { white-space: normal; line-height: 1.2; } .appc { grid-template-columns: minmax(0, 1fr); } .appc-c { grid-template-rows: auto; align-items: center; } .appc-l { display: none; } }
  .badge-s { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-2); }
  @media (max-width: 560px) { .strips--dev { grid-template-columns: minmax(0, 1fr); } .strips--dev .strip { height: auto; min-height: 56px; } }

  /* Phones: Services opens a bottom sheet you can scroll */
  .svc-sheet { margin: auto 0 0; width: 100%; max-width: none; max-height: 82dvh; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--paper); color: var(--ink);
    box-shadow: 0 -20px 60px -20px oklch(0 0 0 / 0.4); translate: 0 100%; transition: translate 320ms cubic-bezier(0.22, 1, 0.36, 1), overlay 320ms allow-discrete, display 320ms allow-discrete; }
  .svc-sheet[open] { translate: 0 0; }
  @starting-style { .svc-sheet[open] { translate: 0 100%; } }
  .svc-sheet::backdrop { background: oklch(0 0 0 / 0.35); }
  .svc-sheet-in { display: flex; flex-direction: column; max-height: 82dvh; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
  .svc-sheet .grab { align-self: center; width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin-bottom: 6px; }
  .svc-sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 8px; }
  .svc-sheet h2 { font-size: 22px; letter-spacing: -0.02em; }
  .svc-sheet-top button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hover); }
  .svc-sheet ul { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
  .svc-sheet li a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-decoration: none; }
  .svc-sheet li a:active { background: var(--hover); }
  .svc-sheet li strong { display: block; font-weight: 500; font-size: 17px; }
  .svc-sheet li a > span > span { font-size: 14px; color: var(--ink-2); }
  .svc-sheet .fi { width: 34px; height: 34px; border-radius: 9px; }
  .svc-sheet .dd-all { padding: 12px 8px 0; text-decoration: none; }
  @media (prefers-reduced-motion: reduce) { .svc-sheet { transition: none; } }

  /* Logo tiles: a soft top light, like an app icon */
  .app.lg { background-image: linear-gradient(oklch(1 0 0 / 0.16), transparent 62%); overflow: hidden; }
  .app.lg img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* Who we work with: four bubbles and a search bubble */
  .do { padding-bottom: clamp(20px, 3vw, 40px); }
  .bubbles { display: flex; flex-wrap: wrap; gap: 10px; }
  .bubble { min-height: 52px; padding: 0 22px; border-radius: 14px; font-size: 17px; font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 100ms ease-out; }
  .bubble:active { transform: scale(0.97); }
  @media (hover: hover) { .bubble:hover { background: var(--btn); color: var(--btn-ink); box-shadow: none; } }
  .do .bubbles { display: inline-flex; max-width: 100%; }
  .do .find { width: 100%; }
  .do-in { display: inline-grid; max-width: 100%; }
  .find { position: relative; margin-top: 10px; }
  .find-box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--grey); cursor: text; }
  .find-box:focus-within { box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--ink) 35%, transparent), 0 0 0 4px color-mix(in oklch, var(--ink) 7%, transparent); }
  .find-box input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
  .find-box input::placeholder { color: var(--grey); opacity: 0.9; }
  .find-box input::-webkit-search-cancel-button { display: none; }
  .find-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 15; padding: 6px; border-radius: 16px; background: var(--paper);
    box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px oklch(0 0 0 / 0.3); max-height: min(380px, 60svh); overflow: auto; overscroll-behavior: contain; }
  .find-list:not([hidden]) { animation: find-in 180ms cubic-bezier(0.25, 1, 0.5, 1); }
  @keyframes find-in { from { opacity: 0; translate: 0 -3px; } to { opacity: 1; translate: 0 0; } }
  .find-list [role="option"] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 7px 10px; border-radius: 11px; cursor: pointer;
    transition: background-color 120ms ease; }
  .find-list [role="option"][aria-selected="true"] { background: var(--hover); }
  @media (hover: hover) { .find-list [role="option"]:hover { background: var(--hover); } }
  .fi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.22); }
  .fi svg { width: 16px; height: 16px; }
  .fi.app img { width: 100%; height: 100%; border-radius: inherit; }
  .fi--ask { background: var(--hover); color: var(--ink); box-shadow: none; }
  .ft { display: grid; min-width: 0; }
  .ft strong { font-weight: 500; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ft strong mark { background: none; color: inherit; font-weight: 600; }
  .ft > span { font-size: 13px; line-height: 1.35; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fk, .fgo { grid-column: 3; grid-row: 1; font-size: 12px; color: var(--grey); white-space: nowrap; }
  .fgo { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--ink); opacity: 0; transition: opacity 120ms ease; }
  .find-list [role="option"][aria-selected="true"] .fgo, .fgo--on { opacity: 1; }
  .find-list [role="option"][aria-selected="true"] .fk { opacity: 0; }
  @media (hover: hover) { .find-list [role="option"]:hover .fgo { opacity: 1; } .find-list [role="option"]:hover .fk { opacity: 0; } }
  .find-list .ask { margin-top: 4px; position: relative; }
  .find-list .ask::before { content: ""; position: absolute; left: 10px; right: 10px; top: -3px; height: 1px; background: var(--line); }
  .find-list .ask:first-child { margin-top: 0; }
  .find-list .ask:first-child::before { content: none; }
  @media (max-width: 560px) { .fk { display: none; } .find-list [role="option"] { grid-template-columns: auto minmax(0, 1fr); } .fgo:not(.fgo--on) { display: none; } .fgo--on { grid-column: 2; grid-row: 2; display: none; } }
  @media (prefers-reduced-motion: reduce) { .find-list:not([hidden]) { animation: none; } }

  /* Header search: a magnifier in the bar opens a dropdown search under it */
  .hs-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); transition: background-color 160ms ease, transform 100ms ease-out; }
  .hs-btn svg { width: 20px; height: 20px; }
  .hs-btn .i-x, .hs-btn[aria-expanded="true"] .i-s { display: none; }
  .hs-btn[aria-expanded="true"] .i-x { display: grid; }
  .hs-btn:active { transform: scale(0.94); }
  @media (hover: hover) { .hs-btn:hover { background: var(--hover); } }
  .nav .hs-btn { margin-left: 4px; }
  .hs-btn--m { display: none; }
  @media (max-width: 900px) {
    .head-in .hs-btn--m { display: inline-grid; margin-left: auto; }
    .head-in .hs-btn--m ~ .menu, .head-in .hs-btn--m ~ .book-mini { margin-left: 0; }
  }
  /* Header: dropdowns and search hang from the bottom of the bar, the same white, so the header reads as one piece */
  .head-in { position: relative; }
  /* No overflow clip on .head: iPhone Safari clips it vertically too and cut the search panel in half. html, body { overflow-x: clip } already stops sideways scroll. */
  .nav .nv { position: relative; display: flex; align-items: center; }
  .nav .nv > a { position: relative; }
  .nav .nv > a::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }   /* hover bridge to the menu */
  .dd, .hs { position: absolute; top: calc(100% + 12px); z-index: 41; background: var(--paper); border-radius: 0 0 16px 16px;
    box-shadow: 0 1px 0 var(--line) inset, 0 20px 40px -20px oklch(0 0 0 / 0.35), 0 0 0 1px color-mix(in oklch, var(--line) 70%, transparent);
    clip-path: inset(0 -40px 100% -40px); opacity: 0; visibility: hidden;
    transition: clip-path 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, visibility 0s linear 260ms; }
  .dd { left: 0; min-width: 260px; padding: 8px; }
  .nv.open > .dd, .nv:focus-within:not(.shut) > .dd { clip-path: inset(0 -40px -60px -40px); opacity: 1; visibility: visible; transition-duration: 320ms, 200ms, 0s; transition-delay: 0s; }
  .nav .dd a { min-height: 0; white-space: nowrap; }
  .dd-list a, .dd--svc a { display: grid; text-decoration: none; border-radius: 10px; transition: background-color 120ms ease; }
  .dd-list a { padding: 9px 12px; gap: 1px; }
  .dd-list strong { font-weight: 500; font-size: 15px; }
  .dd-list span { font-size: 13px; color: var(--ink-2); }
  .dd--svc { min-width: 250px; padding: 8px; max-height: calc(100dvh - 96px); overflow: auto; overscroll-behavior: contain; }
  .dd--svc li a { grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 7px 8px; font-size: 15px; }
  .dd--svc .fi { width: 26px; height: 26px; border-radius: 7px; }
  .dd--svc .fi svg { width: 14px; height: 14px; }
  .dd-all { display: inline-flex !important; align-items: center; gap: 6px; margin: 8px 0 0; padding: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .dd-all svg { width: 14px; height: 14px; }
  @media (hover: hover) { .dd a:hover { background: var(--hover); color: var(--ink); } }
  .nav > .btn { margin-left: 10px; }
  .nav .hs-btn { margin-left: 6px; margin-right: -12px; }
  .hs { top: 100%; right: 0; width: min(440px, 100vw); padding: 10px; border-radius: 0 0 0 18px; }
  .hs-btn { width: auto; min-width: 44px; padding: 0 12px; gap: 7px; grid-auto-flow: column; transition: background-color 160ms ease, transform 100ms ease-out; }
  .hs-saved { display: none; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
  .hs-btn.has-q { background: var(--hover); border-radius: 999px; }
  .hs-btn.has-q .hs-saved { display: block; }
  .hs-open .hs { clip-path: inset(0 -40px -60px -40px); opacity: 1; visibility: visible; transition-duration: 320ms, 200ms, 0s; transition-delay: 0s; }
  .hs-in { width: auto; max-width: none; padding: 0; margin: 0; }
  .hs-box { min-height: 46px; border-radius: 12px; }
  .hs-box:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
  .hs-box input { font-size: 16px; }
  .hs-list { position: static; margin-top: 6px; padding: 0; box-shadow: none; background: none; max-height: min(380px, 60svh); border-radius: 0; animation: none !important; }
  @media (max-width: 900px) { .hs { left: 0; right: 0; width: auto; border-radius: 0 0 18px 18px; } .hs-btn.has-q .hs-saved { max-width: 72px; } }
  @media (prefers-reduced-motion: reduce) { .dd, .hs { clip-path: none; transition: opacity 120ms ease, visibility 0s linear 120ms; } }

  /* "Let's talk." gets a slow metallic shine that travels left to right */
  .close h2 .grey {
    --sheen-edge: oklch(0.34 0.006 300); --sheen-peak: oklch(0.9 0.004 300);
    background: linear-gradient(100deg, var(--grey) 0%, var(--grey) 40%, var(--sheen-edge) 46%, var(--sheen-peak) 50%, var(--sheen-edge) 54%, var(--grey) 60%, var(--grey) 100%);
    background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 7s cubic-bezier(0.45, 0, 0.25, 1) 1.2s infinite; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .close h2 .grey { --sheen-edge: oklch(0.85 0.004 300); --sheen-peak: oklch(1 0 0); } }
  @keyframes shine { 0% { background-position: 100% 0; } 65%, 100% { background-position: 0% 0; } }
  @media (prefers-reduced-motion: reduce) { .close h2 .grey { animation: none; background: none; color: var(--grey); } }
  @media (forced-colors: active) { .close h2 .grey { background: none; color: CanvasText; } }

  /* Request form */
  .req { margin: auto; width: min(100% - 32px, 480px); max-height: min(94dvh, 900px); padding: 0; border: 0; border-radius: 22px; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin;
    background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -30px oklch(0 0 0 / 0.5);
    opacity: 0; translate: 0 12px; transition: opacity 220ms ease, translate 260ms var(--ease), overlay 220ms allow-discrete, display 220ms allow-discrete; }
  .req[open] { opacity: 1; translate: 0 0; }
  @starting-style { .req[open] { opacity: 0; translate: 0 12px; } }
  .req::backdrop { background: oklch(0 0 0 / 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .req .case-x { color: var(--ink); background: var(--page); box-shadow: 0 0 0 1px var(--line); }
  .req-f, .req-done { padding: clamp(22px, 4vw, 32px); display: grid; gap: 14px; }
  .req-ctx { display: inline-flex; justify-self: start; align-items: center; gap: 6px; margin-top: -4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--hover); font-size: 14px; }
  .req-ctx[hidden] { display: none; }
  .req-ctx button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); font-size: 16px; line-height: 1; }
  @media (hover: hover) { .req-ctx button:hover { background: var(--line); color: var(--ink); } }
  .req h2 { font-size: clamp(26px, 18px + 1.4vw, 36px); line-height: 1.05; letter-spacing: -0.03em; padding-right: 44px; }
  .req-sub { margin-top: -10px; color: var(--ink-2); }
  .req fieldset { border: 0; padding: 0; margin: 0; }
  .req legend, .fld > span { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
  .fld > span i { font-style: normal; font-weight: 400; color: var(--grey); }
  .picks { display: flex; flex-wrap: wrap; gap: 8px; }
  .pick { position: relative; }
  .pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 160ms ease, color 160ms ease; }
  .pick input:checked + span { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
  .pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
  .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .fld { display: grid; }
  .fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--page); color: var(--ink); font: inherit; font-size: 16px; }
  .fld textarea { resize: none; field-sizing: content; min-height: 96px; max-height: 40dvh; }
  .fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .req-err { min-height: 1.2em; margin-top: -6px; color: oklch(0.5 0.17 25); font-size: 15px; }
  .req-go { justify-self: stretch; margin-top: 4px; }
  .req-go[disabled] { opacity: 0.6; }
  .req-f[hidden], .req-done[hidden] { display: none; }
  .req-done p { color: var(--ink-2); margin-top: -8px; }
  .req-done .btn { justify-self: start; }
  @media (max-width: 560px) {
    .req { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .row2 { grid-template-columns: minmax(0, 1fr); }
    .req-go { justify-self: stretch; }
  }

  /* Websites and Products pages */
  .pg { padding: clamp(24px, 4vw, 56px) 0 0; }
  .pg h1 { font-size: clamp(32px, 14px + 3.4vw, 60px); line-height: 1.05; letter-spacing: -0.033em; }
  .pg .lede { margin-top: 10px; font-size: clamp(17px, 15px + 0.4vw, 20px); color: var(--sub); max-width: 52ch; }
  .wgrid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .wcard { scroll-margin-top: 96px; display: grid; gap: 4px; align-content: start; }
  .wcard .im { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; }
  .wcard .im img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .wcard .k { font-size: 14px; color: var(--ink-2); }
  .wcard h2 { font-size: clamp(20px, 16px + 0.6vw, 26px); letter-spacing: -0.02em; font-weight: 500; }
  .wcard p { color: var(--ink-2); max-width: 54ch; }
  .wcard .ln { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .wcard .ln a { font-weight: 500; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
  .pgroup { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(18px, 2.2vw, 26px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
  .pgroup > h2 { font-size: clamp(24px, 16px + 1.2vw, 36px); letter-spacing: -0.03em; }
  .pgroup > p { margin-top: 6px; color: var(--sub); }
  .pgrid { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; align-items: start; }
  .pgrid > li { scroll-margin-top: 96px; }
  .pitem { height: 100%; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 200ms ease; }
  .pmini { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; text-align: left; transition: transform 100ms ease-out; }
  .pchev { width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid var(--grey); border-bottom: 1.6px solid var(--grey); rotate: 45deg; translate: 0 -2px; transition: rotate 300ms cubic-bezier(0.22, 1, 0.36, 1); }
  .pmini[aria-expanded="true"] .pchev { rotate: 225deg; translate: 0 2px; }
  .pdet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1); }
  .pdet > div { overflow: hidden; min-height: 0; padding: 0 14px; }
  .pmini[aria-expanded="true"] + .pdet { grid-template-rows: 1fr; }
  .pmini[aria-expanded="true"] + .pdet > div { padding-bottom: 14px; }
  .pdet dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 2px 0 0 52px; font-size: 14px; }
  .pdet dt { color: var(--grey); }
  .pdet dd { margin: 0; color: var(--ink); }
  .pask { margin-left: 52px; min-height: 38px; padding: 0 16px; border-radius: 11px; font-size: 14px; font-weight: 500; background: var(--btn); color: var(--btn-ink); transition: transform 100ms ease-out; }
  .pask:active { transform: scale(0.97); }
  @media (prefers-reduced-motion: reduce) { .pdet, .pchev { transition: none; } }
  .pmini .app { width: 40px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .pmini .app svg { width: 56%; height: auto; }
  .pmini .pt { display: grid; gap: 1px; min-width: 0; }
  .pmini strong { font-weight: 500; font-size: 16px; }
  .pmini em { font-style: normal; font-size: 13px; color: var(--grey); }
  .pmini .pt > span { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
  .pg .strips .strip { aspect-ratio: auto; min-height: 76px; }
  .pmini:active { transform: scale(0.985); }
  .pgrid > li:target .pitem, .pitem:has(.pmini[aria-expanded="true"]) { box-shadow: 0 0 0 1.5px var(--ink); }
  @media (hover: hover) and (pointer: fine) { .pitem:hover { box-shadow: 0 0 0 1.5px var(--ink); } }
  @media (max-width: 760px) { .wgrid { grid-template-columns: minmax(0, 1fr); } }
}

@layer components {
  /* Hero: city photos rotate behind the headline; hovering a city shows its live camera */
  .hero { position: relative; isolation: isolate; }
  .cam { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; overflow: hidden; pointer-events: none;
    opacity: 0; transition: opacity 900ms cubic-bezier(0.25, 1, 0.5, 1); container-type: size; }
  .hero.cycling .cam { opacity: 1; }
  .cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity 1200ms ease, scale 7s linear; }
  .cam img.on { opacity: 1; scale: 1; }
  .cam iframe { position: absolute; top: 50%; left: 50%; width: max(140cqw, 249cqh); height: max(140cqh, 78.75cqw); translate: -50% -50%; border: 0; opacity: 0; transition: opacity 900ms ease; }
  .cam iframe.ready { opacity: 1; }
  .cam::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, color-mix(in oklch, var(--page) 88%, transparent) 0%, color-mix(in oklch, var(--page) 70%, transparent) 42%, color-mix(in oklch, var(--page) 10%, transparent) 100%),
                linear-gradient(to bottom, transparent 72%, var(--page)); }
  /* City switcher: one frosted capsule (legible over any photo) with a highlight that slides to the city on screen.
     Apple segmented-control pattern: a single track, one moving thumb, no borders on the items. */
  .hero .cities { position: relative; isolation: isolate; display: inline-flex; flex-wrap: nowrap; gap: 0; padding: 4px; border-radius: 999px;
    background: color-mix(in oklch, var(--paper) 58%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 0 0 0.5px color-mix(in oklch, var(--ink) 14%, transparent), 0 8px 24px -14px oklch(0 0 0 / 0.35); }
  .hero .cities::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: var(--tw, 0px); translate: var(--tx, 0px) 0; border-radius: 999px;
    background: var(--paper); box-shadow: 0 1px 2px oklch(0 0 0 / 0.12), 0 4px 12px -4px oklch(0 0 0 / 0.18); opacity: var(--to, 0);
    transition: translate 520ms cubic-bezier(0.22, 1, 0.36, 1), width 520ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease, opacity 300ms ease; }
  .hero .cities.held::before { background: var(--ink); box-shadow: 0 6px 16px -6px oklch(0 0 0 / 0.45); }
  .hero .cities li, .hero .cities li:has(.city) { padding: 0; border: 0; background: none; }
  .hero .cities li + li::before { content: none; }
  .cities .city { min-height: 36px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; background: none;
    transition: color 250ms ease; }
  .cities .city.now { color: var(--ink); }
  .cities.held .city[aria-pressed="true"] { color: var(--page); }
  .cities .city:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
  @media (max-width: 760px) {
    .cam::after { background: linear-gradient(color-mix(in oklch, var(--page) 86%, transparent), color-mix(in oklch, var(--page) 76%, transparent) 70%, var(--page)); }
    :root:not([data-theme="dark"]) .hero h1 .grey { color: oklch(0.45 0.006 300); }
    @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 .grey { color: oklch(0.74 0.006 300); } }
  }
  @media (max-width: 560px) {
    .hero .cities { padding: 3px; }
    .hero .cities::before { top: 3px; bottom: 3px; }
    .cities .city { min-height: 34px; padding: 0 12px; font-size: 14px; }
  }
  @media (prefers-reduced-motion: reduce) { .cam img { scale: 1; transition: opacity 200ms ease; } .hero .cities::before, .cities .city { transition: none; } }
  @media (prefers-reduced-transparency: reduce) { .hero .cities { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
  @media (forced-colors: active) { .hero .cities::before { display: none; } .cities .city.now { forced-color-adjust: none; background: Highlight; color: HighlightText; } }

  /* Pages */
  .lede a { color: var(--ink); text-underline-offset: 4px; }
  .rows3 { margin-top: 18px; border-top: 1px solid var(--line); }
  .rows3 > li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 6px 28px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
  .rows3 h3 { font-size: clamp(19px, 16px + 0.5vw, 23px); font-weight: 500; letter-spacing: -0.02em; }
  .rows3 p { color: var(--ink-2); }
  .rows3 .dl { margin-top: 4px; font-size: 15px; color: var(--grey); }
  .rows3 .acts2 { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: flex-end; }
  .rows3 .acts2 a, .rows3 .acts2 button { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; min-height: 40px; }
  .rows3 > li:target { background: linear-gradient(var(--hover), var(--hover)); }
  @media (max-width: 760px) { .rows3 > li { grid-template-columns: minmax(0, 1fr); } .rows3 .acts2 { justify-content: flex-start; } }
  .steps { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; list-style: none; padding: 0; }
  .steps li { counter-increment: s; padding-top: 14px; border-top: 2px solid var(--ink); }
  .steps li::before { content: counter(s); display: block; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .steps h3 { margin-top: 6px; font-size: 19px; font-weight: 500; }
  .steps p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }
  @media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
  .team { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; }
  .team li { min-width: 220px; padding: 18px 20px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .team .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--btn); color: var(--btn-ink); margin-bottom: 12px; }
  .team strong { display: block; font-size: 18px; font-weight: 500; }
  .team span { color: var(--ink-2); }
  .tiers { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tier { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .tier.hi { box-shadow: 0 0 0 2px var(--ink); }
  .tier h3 { font-size: 20px; font-weight: 500; }
  .tier .pr { font-size: clamp(24px, 18px + 1vw, 32px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .tier p { color: var(--ink-2); }
  .tier .btn { margin-top: auto; align-self: flex-start; }
  .tier .for { font-size: 14px; color: var(--grey); }
  @media (max-width: 900px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
  .care { margin-top: 18px; border-top: 1px solid var(--line); }
  .care li { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr) auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
  .care strong { font-weight: 500; font-size: 18px; }
  .care p { color: var(--ink-2); }
  .care .pr { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
  @media (max-width: 760px) { .care li { grid-template-columns: minmax(0, 1fr) auto; } .care p { grid-column: 1 / -1; grid-row: 2; } }
  .note { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
  .doc { max-width: 70ch; }
  .doc h2 { margin-top: 32px; font-size: clamp(20px, 16px + 0.5vw, 24px); letter-spacing: -0.02em; }
  .doc p, .doc li { margin-top: 10px; color: var(--ink-2); }
  .doc ul { list-style: disc; padding-left: 1.2em; }
  .doc a { color: var(--ink); text-underline-offset: 3px; }
  .doc .upd { margin-top: 8px; font-size: 15px; color: var(--grey); }
  .contact-grid { margin: clamp(20px, 3vw, 36px) 0 clamp(56px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
  .req--inline { position: static; display: block; width: 100%; max-width: 520px; margin: 0; max-height: none; opacity: 1; translate: none; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
  .req--inline #req-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .contact-side h2 { font-size: 20px; font-weight: 500; }
  .contact-side p { margin-top: 6px; color: var(--ink-2); }
  .contact-side .blk + .blk { margin-top: 24px; }
  @media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
  .hub-row { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hub-row a { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
  .hub-row img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms var(--ease); }
  @media (hover: hover) { .hub-row a:hover img { transform: scale(1.04); } }
  @media (max-width: 760px) { .hub-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .pg-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 500; text-decoration: none; }
  .pg-more:hover { text-decoration: underline; text-underline-offset: 4px; }

  /* Services: three compact columns */
  .svc-grid { margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); }
  .svc-col h2 { font-size: clamp(20px, 16px + 0.6vw, 26px); letter-spacing: -0.02em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .svc-col li { scroll-margin-top: 96px; border-bottom: 1px solid var(--line); }
  .svc { width: calc(100% + 16px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px 8px; margin: 0 -8px; border-radius: 12px; text-align: left; transition: background-color 160ms ease; }
  .svc .fi { grid-row: 1 / span 2; width: 36px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .svc .fi svg { width: 18px; height: 18px; }
  .svc strong { font-weight: 500; font-size: 17px; }
  .svc > span:not(.fi) { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
  .svc-w { display: inline-flex; align-items: center; min-height: 32px; margin: -10px 0 8px 48px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-underline-offset: 3px; }
  .svc-col li:target .svc { background: var(--hover); }
  @media (hover: hover) { .svc:hover { background: var(--hover); } .svc-w:hover { color: var(--ink); } }
  @media (max-width: 860px) { .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

  /* Work: small, centered case study blocks */
  .pg--mid > * { max-width: 1080px; }   /* same left edge as the header, close and footer; content still stops at 1080px */
  .minis { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .minis a { display: grid; gap: 2px; text-decoration: none; }
  .minis .im { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #000;
    box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px oklch(0 0 0 / 0.35); margin-bottom: 10px; }
  .minis .im i { position: absolute; inset: 0 0 auto; height: 20px; z-index: 1; background-color: color-mix(in oklch, var(--paper) 94%, var(--ink));
    background-image: radial-gradient(circle, var(--line) 3.5px, transparent 4px), radial-gradient(circle, var(--line) 3.5px, transparent 4px), radial-gradient(circle, var(--line) 3.5px, transparent 4px);
    background-size: 10px 10px; background-repeat: no-repeat; background-position: 10px 5px, 24px 5px, 38px 5px; }
  .minis .im img { position: absolute; top: 20px; left: 0; width: 100%; height: calc(100% - 20px); object-fit: cover; object-position: top center; transition: transform 600ms var(--ease); }
  .minis strong { font-size: 18px; font-weight: 500; }
  .minis .k { font-size: 14px; color: var(--grey); }
  .minis .d { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
  @media (hover: hover) { .minis a:hover .im img { transform: scale(1.03); } }
  @media (max-width: 860px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .minis { grid-template-columns: minmax(0, 1fr); } }

  /* About */
  .beliefs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); }
  .beliefs li { display: grid; align-content: start; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
  .beliefs h3 { font-size: 19px; font-weight: 500; }
  .beliefs p { color: var(--ink-2); }
  .beliefs a { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-weight: 500; text-decoration: none; min-height: 36px; }
  .beliefs a svg { width: 14px; height: 14px; }
  @media (hover: hover) { .beliefs a:hover { text-decoration: underline; text-underline-offset: 4px; } }
  .vision { margin-top: 10px; font-size: clamp(20px, 16px + 0.8vw, 28px); line-height: 1.3; letter-spacing: -0.02em; max-width: 36ch; text-wrap: balance; }
  @media (max-width: 760px) { .beliefs { grid-template-columns: minmax(0, 1fr); } }

  /* Services: one simple list */
  .svs { margin-top: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); }
  .svs li { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
  .svs button { width: 100%; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 4px; text-align: left; }
  .svs strong { font-weight: 500; font-size: 18px; white-space: nowrap; }
  .svs span:not(.fi):not(.arr) { color: var(--ink-2); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .svs .arr { opacity: 0; transition: opacity 160ms ease, translate 200ms ease; }
  .svs li:target button { background: var(--hover); border-radius: 10px; }
  @media (hover: hover) and (pointer: fine) { .svs button:hover .arr { opacity: 1; translate: 3px 0; } .svs button:hover strong { text-decoration: underline; text-underline-offset: 4px; } }
  @media (max-width: 860px) { .svs { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) { .svs button { grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 12px 2px; } .svs .fi { grid-row: 1 / span 2; } .svs .arr { display: none; }
    .svs span:not(.fi):not(.arr) { grid-column: 2; white-space: normal; font-size: 14px; } }

  /* Case studies: guide cards and guide pages */
  .minis--guides .im { display: grid; place-items: center; }
  .minis--guides .im .app { width: 30%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; box-shadow: 0 16px 32px -14px oklch(0 0 0 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .minis--guides .im .app svg { width: 56%; height: auto; }
  .guide h1 { margin-top: 10px; font-size: clamp(30px, 16px + 2.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
  .guide .lede { margin-top: 10px; }
  .guide .upd a { color: inherit; }
  .guide-ask { margin-top: 28px; }
  .calc { margin-top: 16px; padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: 16px; }
  .calc h3 { font-size: 17px; font-weight: 600; }
  .calc-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .calc label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
  .calc input { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; width: 100%; }
  .calc input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .calc-out { margin-top: 16px; font-size: 18px; }
  .calc-out strong { font-size: clamp(24px, 18px + 1vw, 32px); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .calc-note { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
  .g-src li { margin-top: 6px; font-size: 15px; }
  .g-src a { color: var(--ink-2); text-underline-offset: 3px; }
  @media (max-width: 420px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
  .ind h1 { font-size: clamp(30px, 16px + 2.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; max-width: 22ch; }
  .ind .guide-ask { margin-top: 20px; }
  .ind-list { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
  .ind-list strong { display: block; font-size: 18px; font-weight: 500; }
  .ind-list span { display: block; margin-top: 4px; color: var(--ink-2); }
  .ind-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; }
  .ind-pic { display: block; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--line); }
  .ind-pic img, .ic-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ind-tiles { margin-top: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .ind-tiles a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--line); }
  .ind-tiles img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease); }
  .ind-tiles a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.12 0.01 270 / 0.82), oklch(0.12 0.01 270 / 0.2) 52%, transparent 72%); }
  .ind-tiles strong { position: absolute; inset: auto 14px 14px; font-size: clamp(16px, 14px + 0.3vw, 19px); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
  @media (hover: hover) and (pointer: fine) { .ind-tiles a:hover img { scale: 1.04; } }
  @media (max-width: 1100px) { .ind-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 860px) { .ind-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .ind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ind-tiles a { aspect-ratio: 1; } }
  @media (prefers-reduced-motion: reduce) { .ind-tiles img { transition: none; } }
  .site-more { margin-top: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
  .site-more .site { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  @media (max-width: 860px) { .site-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ind-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  @media (max-width: 900px) { .ind-cards { grid-template-columns: minmax(0, 1fr); } }
  .ind-cards a { display: grid; grid-template-columns: clamp(110px, 36%, 200px) minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2.4vw, 24px);
    padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow 200ms ease; }
  .ic-im { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--line); }
  .ic-t strong { display: block; font-size: clamp(17px, 15px + 0.35vw, 20px); font-weight: 500; letter-spacing: -0.01em; }
  .ic-t span { display: block; margin-top: 4px; color: var(--ink-2); }
  .ind-cards .arr { color: var(--ink-2); } .ind-cards .arr svg { width: 18px; height: 18px; transition: translate 200ms var(--ease); }
  @media (hover: hover) and (pointer: fine) { .ind-cards a:hover { box-shadow: 0 0 0 1.5px var(--ink); } .ind-cards a:hover .arr svg { translate: 3px 0; } }
  @media (max-width: 760px) { .ind-hero { grid-template-columns: minmax(0, 1fr); } .ind-cards a { padding-right: 12px; } .ind-cards .arr { display: none; } }
  .hub-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .faq { border-bottom: 1px solid var(--line); }
  .faq:first-of-type { margin-top: 12px; }
  .faq summary { cursor: pointer; padding: 16px 0; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--ink-2); font-weight: 400; }
  .faq[open] summary::after { content: "\2212"; }
  .faq p { padding: 0 0 16px; color: var(--ink-2); max-width: 65ch; }
  @media (max-width: 640px) { .ind-list, .ind .strips { grid-template-columns: minmax(0, 1fr); } }

  /* About: company intro, a full-bleed vision over a city photo, values shown as the work that proves them */
  .ab-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(44px, 6vw, 88px) 0; }
  .ab-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .ab-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, oklch(0.14 0.01 270 / 0.84), oklch(0.14 0.01 270 / 0.55) 70%, oklch(0.14 0.01 270 / 0.4)); }
  .ab-band h2 { font-size: 15px; font-weight: 500; color: oklch(1 0 0 / 0.78); letter-spacing: 0; }
  .ab-big { margin-top: 12px; max-width: 24ch; font-size: clamp(28px, 16px + 2.6vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
  .ab-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; padding-bottom: clamp(28px, 4vw, 56px); }
  .ab-hero h1 { font-size: clamp(36px, 16px + 4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
  .ab-hero .lede { margin-top: 14px; font-size: clamp(18px, 15px + 0.5vw, 22px); color: var(--sub); max-width: 40ch; text-wrap: pretty; }
  .ab-hero > .crumbs { grid-column: 1 / -1; }
  .ab-pic { margin: 0; display: none; }
  @media (min-width: 861px) { .ab-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ab-pic { display: block; align-self: end; } .ab-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 443; object-fit: cover; border-radius: 14px; } }
  .ab-people { display: grid; gap: 10px; }
  .ab-people li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
  .ab-people .av { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--btn); color: var(--btn-ink); }
  .ab-people strong { display: block; font-size: 18px; font-weight: 500; }
  .ab-people li span span { color: var(--ink-2); font-size: 15px; }
  .ab-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 80px) 0 clamp(8px, 2vw, 24px); }
  .ab-duo h2 { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
  .ab-duo .ab-big { font-size: clamp(24px, 16px + 1.4vw, 36px); max-width: 26ch; }
  .ab-words { margin-top: 18px; max-width: 46ch; font-size: clamp(17px, 14px + 0.4vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
  .ab-duo blockquote { margin: 0; }
  .ab-src { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
  .ab-tile { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(120% 90% at 50% 0%, oklch(0.62 0.14 262), oklch(0.34 0.12 262)); }
  .ab-tile .app { width: 34%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; box-shadow: 0 20px 40px -16px oklch(0 0 0 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.25); }
  .ab-tile .app svg { width: 56%; height: auto; }
  @media (max-width: 860px) { .ab-hero, .ab-duo { grid-template-columns: minmax(0, 1fr); align-items: start; } .ab-band::before { background: oklch(0.14 0.01 270 / 0.66); } }
}

  .ck { position: fixed; z-index: 60; right: 16px; bottom: 16px; width: min(372px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 20px;
    color: var(--ink); background: color-mix(in oklch, var(--paper) 78%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.5), 0 0 0 1px color-mix(in oklch, var(--ink) 9%, transparent), 0 24px 60px -24px oklch(0 0 0 / 0.38), 0 8px 18px -10px oklch(0 0 0 / 0.18);
    transform-origin: 100% 100%; opacity: 0; transform: translateY(10px) scale(0.96); filter: blur(4px);
    transition: opacity 320ms cubic-bezier(.22,1,.36,1), transform 420ms cubic-bezier(.22,1,.36,1), filter 320ms cubic-bezier(.22,1,.36,1); }
  .ck.in { opacity: 1; transform: none; filter: none; }
  .ck[hidden] { display: none !important; }
  .ck-h { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
  .ck-h:focus { outline: none; }
  .ck-p a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .ck-sig { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink); }
  .ck-p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
  .ck-set { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms cubic-bezier(.22,1,.36,1), opacity 240ms ease; opacity: 0; }
  .ck-set > div { min-height: 0; overflow: hidden; }
  .ck.open .ck-set { grid-template-rows: 1fr; opacity: 1; }
  .ck-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid color-mix(in oklch, var(--ink) 9%, transparent); }
  .ck-row:first-child { margin-top: 12px; }
  label.ck-row { cursor: pointer; }
  .ck-row strong { display: block; font-size: 14px; font-weight: 500; } .ck-row span span { display: block; margin-top: 1px; font-size: 13px; color: var(--ink-2); }
  .ck-on { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
  .ck-sw { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 99px; position: relative; cursor: pointer;
    background: color-mix(in oklch, var(--ink) 16%, transparent); transition: background 220ms ease; }
  .ck-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
    box-shadow: 0 2px 6px oklch(0 0 0 / 0.22), 0 0 0 0.5px oklch(0 0 0 / 0.06); transition: translate 300ms cubic-bezier(.22,1,.36,1), width 160ms ease; }
  .ck-sw:active::after { width: 26px; }
  .ck-sw:checked { background: oklch(0.62 0.17 150); } .ck-sw:checked::after { translate: 18px 0; } .ck-sw:checked:active::after { translate: 14px 0; }
  .ck-sw:focus-visible, .ck-b:focus-visible, .ck-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .ck-btns { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
  .ck-b { font: inherit; font-size: 14px; font-weight: 500; padding: 9px 15px; border-radius: 99px; border: 0; cursor: pointer; color: var(--ink);
    background: color-mix(in oklch, var(--ink) 8%, transparent); transition: transform 100ms ease-out, background 160ms ease; }
  .ck-b--pri { background: var(--btn); color: var(--btn-ink); }
  .ck-b:active { transform: scale(0.97); }
  .ck-save { display: none; }
  .ck.open .ck-save { display: inline-block; } .ck.open .ck-all, .ck.open .ck-ess { display: none; }
  .ck-more { margin-left: auto; font: inherit; font-size: 14px; background: none; border: 0; padding: 8px 2px; color: var(--ink-2); cursor: pointer; }
  .ck.open .ck-more { margin-left: auto; }
  .ck-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; min-height: 24px; cursor: pointer; }
  .legal .ck-link { display: inline-flex; align-items: flex-start; min-height: 40px; padding: 4px 0; text-align: left; vertical-align: top; }
  @media (max-width: 760px) { .foot .legal .ck-link { font-size: 15px; } }   /* same box as the footer links next to it */
  @media (hover: hover) and (pointer: fine) { .ck-link:hover { text-decoration: underline; } .ck-more:hover { color: var(--ink); }
    .ck-b:not(.ck-b--pri):hover { background: color-mix(in oklch, var(--ink) 12%, transparent); } }
  @media (max-width: 760px) { .ck { left: 10px; right: 10px; width: auto; bottom: calc(86px + env(safe-area-inset-bottom)); transform-origin: 50% 100%; } }
  @media (min-width: 761px) and (max-width: 900px) { .ck { bottom: calc(86px + env(safe-area-inset-bottom)); } }
  /* Touch screens: every control gets at least a 44px tall hit area (motor access), without changing how it looks */
  @media (pointer: coarse) {
    .ck-b { min-height: 44px; }
    .brand, .col-h, .pg-more, .ck-link, .cities .city { position: relative; }
    .brand::after, .col-h::after, .pg-more::after, .ck-link::after { content: ""; position: absolute; inset: -10px -4px; }
    .cities .city::after { content: ""; position: absolute; inset: -5px 0; }
    .foot li a, .foot .ck-link { display: inline-flex; align-items: center; min-height: 44px; }
    .foot .ck-link::after { content: none; }
  }
  @media (max-width: 380px) { .ck { padding: 14px 14px 12px; } .ck-p { font-size: 13px; line-height: 1.4; } .ck-btns { margin-top: 10px; } .head-in { gap: 8px; } .book-mini { padding: 0 12px; } }
  @media (prefers-reduced-motion: reduce) { .ck { transform: none; filter: none; transition: opacity 200ms ease; } .ck-set { transition: none; } }
  @media (prefers-reduced-transparency: reduce) { .ck { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
  @media (forced-colors: active) { .ck { border: 1px solid CanvasText; } .ck-b { border: 1px solid ButtonText; } .ck-sw { border: 1px solid ButtonText; } .ck-sw:checked { background: Highlight; } .ck-sw::after { background: ButtonText; } }

  @media (forced-colors: active) {   /* Windows Contrast Themes: keep every control outlined and the focus ring in the system colour */
    .btn, .ck-b, .hs-btn, .who button, .who-b, .city, .tabbar a, .req input, .req textarea, .req select { border: 1px solid ButtonText; }
    .badge { border: 1px solid CanvasText; forced-color-adjust: auto; }
    :focus-visible { outline: 2px solid Highlight !important; outline-offset: 2px; }
  }
  .req-done h2:focus { outline: none; }
  .fi--pic { overflow: hidden; padding: 0; background: var(--line); }
  .fi--pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .svc-sheet-in { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }   /* the whole sheet scrolls as one */
  .svc-sheet ul { overflow: visible; flex: none; }
  .svc-sheet .dd-all { flex: none; }
  .svc-sheet-top { position: sticky; top: -8px; z-index: 1; background: var(--paper); }
  .svc-sheet .sheet-sub { margin: 18px 8px 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
  .crumbs { padding-top: 14px; font-size: 13px; color: var(--ink-2); }
  .crumbs--in { margin: calc(14px - clamp(24px, 4vw, 56px)) 0 clamp(18px, 3vw, 36px); padding-top: 0; max-width: none; }
  .crumbs li { margin: 0; color: inherit; }
  .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; list-style: none; margin: 0; padding: 0; }
  .crumbs li { display: inline-flex; align-items: center; min-width: 0; }
  .crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 9px 0 7px; border: solid currentColor; border-width: 1.4px 1.4px 0 0; rotate: 45deg; opacity: 0.55; }
  .crumbs a { color: inherit; text-decoration: none; padding: 6px 0; }
  .crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  @media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
  @media (max-width: 760px) {   /* phones: just a way back to the parent page */
    .crumbs li { display: none; }
    .crumbs li:nth-last-child(2) { display: inline-flex; }
    .crumbs li:nth-last-child(2)::before { content: ""; width: 7px; height: 7px; margin: 0 6px 0 3px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; rotate: 45deg; opacity: 0.8; }
    .crumbs a { font-size: 15px; padding: 10px 0; color: var(--ink); }
  }

  @media (max-width: 560px) {
    .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "p"; gap: 20px; padding: 20px 0 8px; }
    .hero-text { display: contents; }
    .hero h1 { grid-area: h; font-size: 30px; line-height: 1.08; letter-spacing: -0.032em; max-width: none; text-wrap: balance; }
    .hero .cam { grid-area: p; position: relative; inset: auto; left: auto; right: auto; z-index: 0; height: clamp(190px, 56vw, 240px);
      border-radius: 20px; opacity: 1; box-shadow: 0 18px 40px -22px oklch(0 0 0 / 0.45), 0 0 0 0.5px color-mix(in oklch, var(--ink) 10%, transparent); }
    .hero .cam::after { background: linear-gradient(to top, oklch(0 0 0 / 0.32), transparent 48%); }
    .hero .cities { grid-area: p; align-self: end; justify-self: start; margin: 0 0 12px 12px; z-index: 1; max-width: calc(100% - 24px);
      background: color-mix(in oklch, var(--paper) 72%, transparent); }
    .hero .cities .city { color: var(--ink); }
    .hero .cities.held .city[aria-pressed="true"] { color: var(--page); }   /* the tapped city stays readable on the dark pill */
    .ow-p .st strong { font-size: 15px; line-height: 1.22; text-wrap: balance; }
    .do-in { display: grid; width: 100%; }
    .do .bubbles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
    .do .bubble { justify-content: center; padding: 0 10px; font-size: 16px; min-height: 52px; text-align: center; }
  }
  @media (max-width: 760px) {
    .svb-small > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .foot .ck-link { font-size: inherit; }   /* the odd last service card spans the row instead of sitting alone */
    .foot-grid nav[aria-labelledby="f3"] { grid-column: 1 / -1; }
    .foot-grid nav[aria-labelledby="f3"] ul { display: flex; flex-wrap: wrap; column-gap: 20px; }
  }
  /* Search results: full titles (up to two lines, never cut mid-word with dots), a wider desktop panel, and a list that ends cleanly with a soft fade when it scrolls */
  .hs { width: min(520px, 100vw); }
  .find-list .ft strong, .find-list .ft > span { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .find-list [role="option"] { padding-top: 9px; padding-bottom: 9px; }
  .hs-list { max-height: min(460px, calc(100svh - 190px)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 10px;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); }
  @media (max-width: 900px) { .hs { width: auto; } .hs-list { max-height: calc(100svh - 230px); } }
  .foot .soc-f { list-style: none; padding: 0; margin: 8px 0 0 -13px; display: flex; gap: 0; }
  .foot .soc-f li { padding: 0; margin: 0; }
  .foot .soc-f a { min-height: 0; padding: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: color-mix(in oklch, var(--ink-2) 70%, var(--page)); transition: color 200ms ease, background-color 200ms ease; }
  .foot .soc-f a:hover, .foot .soc-f a:focus-visible { color: var(--ink); background: color-mix(in oklch, var(--ink) 6%, transparent); }
  .soc-f a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .foot .gps { display: inline-block; margin-top: 12px; border-radius: 10px; line-height: 0; transition: opacity 200ms ease; }
  .foot .gps:hover { opacity: .85; }
  .foot .gps:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .foot .gps img { display: block; width: 152px; height: auto; }
  /* Industries menu: one wide panel, three grouped columns */
  .dd--ind { left: auto; right: -300px; padding: 14px 14px 10px; }
  @media (max-width: 1240px) and (min-width: 901px) { .svb-small { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .ddi { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 28px; }
  .ddi-h { padding: 4px 8px 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .ddi ul + .ddi-h { margin-top: 12px; }
  .ddi ul { list-style: none; padding: 0; }
  .nav .ddi a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 15px; text-decoration: none; white-space: nowrap; }
  .ddi .fi--pic { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; }
  .ddi .fi--pic img { width: 100%; height: 100%; object-fit: cover; }
  @media (hover: hover) { .nav .ddi a:hover { background: var(--hover); } }
  /* Industries page: grouped photo tiles */
  .ind-g { margin-top: clamp(28px, 4vw, 48px); }
  .ind-g > h2 { font-size: clamp(22px, 18px + 0.8vw, 30px); letter-spacing: -0.02em; }
  .ind-big { margin-top: 14px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }   /* 4 across: no group leaves a tile alone on its own row */
  .ind-big > li > a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
  .it-pic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--line); }
  .it-pic img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms cubic-bezier(.22,1,.36,1); }
  .it-pic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.12 0.01 270 / 0.85), oklch(0.12 0.01 270 / 0.25) 45%, transparent 70%); }
  .it-pic strong { position: absolute; inset: auto 18px 16px; color: #fff; font-size: clamp(20px, 17px + 0.6vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
  .it-did { list-style: none; padding: 0 4px; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
  @media (hover: hover) and (pointer: fine) { .ind-big a:hover .it-pic img { scale: 1.04; } }
  @media (max-width: 1000px) { .ind-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) {   /* phones: two small tiles per row, names only, so all industries fit in a couple of swipes */
    .ind-big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .it-pic { aspect-ratio: 1 / 1; border-radius: 16px; }
    .it-pic strong { inset: auto 12px 11px; font-size: 16px; } .it-did { display: none; } .ind-g { margin-top: 24px; } .ind-g > h2 { font-size: 19px; } .ind-big { margin-top: 10px; } }
  @media (prefers-reduced-motion: reduce) { .it-pic img { transition: none; } }
  @media (max-width: 360px) { .hero h1 { font-size: 27px; } .hero .cities .city { padding: 0 10px; font-size: 13px; } }
