/* 35 Viewfinder: Holm Design-Build (sample)
   High-fidelity recreation of the look of stux.framer.website (our own code, CC0 photos).
   White, near-black and one electric yellow; wide uppercase display type; sharp corners everywhere.
   Re-skin: change the shared token layer below. Breakpoints 760 / 1080 (ncs-desktop). No JavaScript. */
:root {
  /* Shared token layer (library-wide names) */
  --c-bg: #ffffff;
  --c-surface: #f2f2f2;            /* projects and process bands, credential tiles */
  --c-ink: #040404;                /* text, buttons, process cards, footer: 21:1 on white */
  --c-muted: #666666;              /* captions: 5.7:1 on white, 5.5:1 on the surface */
  --c-line: #e3e3e3;               /* decorative rules and cell borders */
  --c-line-strong: #767676;        /* form field borders, 4.5:1 */
  --c-accent: #ffea2f;             /* yellow: only on ink, or as a fill behind ink text (never yellow text on light) */
  --c-on-accent: #040404;
  --c-accent-2: #ffea2f;           /* no second accent: status only, unused */
  --f-display: "Clash Display", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;  /* opsz 32 = the Inter Display cut */
  --f-mono: "Inter", system-ui, sans-serif;  /* no mono in this theme */
  --r-sm: 0px;
  --r-lg: 0px;                     /* sharp corners on every image, card, button and tile */
  --r-pill: 50px;                  /* only the round quote disc, avatars and FAQ discs */
  --s-1: 5px; --s-2: 15px; --s-3: 30px; --s-4: 50px; --s-5: 100px; --s-6: clamp(72px, 14.1vw + 17px, 220px);

  /* Theme names mapped to the shared layer */
  --ink: var(--c-ink);
  --paper: var(--c-bg);
  --band: var(--c-surface);
  --yellow: var(--c-accent);
  --dim: #9b9b9b;                  /* small text on ink, 7.4:1 */
  --m: 15px;                       /* page margin: 15 on phones, 30 from 760px */
  --sec: var(--s-6);               /* gap between sections: 80 (390) to 220 (1440) */
  --giant: 30.5vw;                 /* footer wordmark size: tune so the name runs edge to edge */
  --hgap: clamp(40px, 5.71vw + 17.7px, 100px);  /* heading row to content */
  --head-h: var(--bar-h);          /* where the hero starts under the bar (0 where the bar is clear over the hero) */
  --bar-h: 52px;                   /* fixed bar: 52 phones, 72 tablets, 92 computers (Stux) */
  --hero-h: 125vw;                 /* 4:5 on phones */
  --ease-spring: cubic-bezier(.16, 1, .3, 1);   /* the original's sampled spring, no overshoot */
  --ease-flood: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --focus: var(--c-ink);
  /* Measured type scale, phone (390) to desktop (1440) */
  --t-hero: clamp(48px, 6.857vw + 21.26px, 128px);
  --t-xl: clamp(52px, 5.524vw + 30.46px, 116px);
  --t-stat: clamp(40px, 3.81vw + 25.14px, 80px);
  --t-h2: clamp(30px, 2.667vw + 19.6px, 58px);
  --t-quote: clamp(24px, 1.714vw + 17.31px, 42px);
  --t-st: clamp(22px, .571vw + 19.77px, 28px);
  --t-svc: clamp(20px, .381vw + 18.51px, 24px);
  --t-card: clamp(18px, .19vw + 17.26px, 20px);
  --t-tq: clamp(20px, .762vw + 17.03px, 28px);
  --t-bl: clamp(18px, .571vw + 15.77px, 24px);
  --t-bm: clamp(16px, .381vw + 14.51px, 20px);
  --t-bs: clamp(16px, .19vw + 15.26px, 18px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); background: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.3 var(--f-body); font-variation-settings: "opsz" 32;
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1580px; margin-inline: auto; padding-inline: var(--m); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.iq { width: 30px; height: 28px; fill: currentColor; }
.sample { font-size: 14px; color: var(--c-muted); }

a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.process .pstep, .site-foot, .featured { --focus: var(--yellow); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 60; background: #fff; padding: 12px 16px; }
.skip:focus { top: 8px; }
.demo { position: relative; z-index: 31; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; text-align: center; padding: 6px 16px; }

main > * + * { margin-top: var(--sec); }

/* Index label: "01 —— ABOUT US" (three of them: about, projects, process) */
.idx { display: flex; align-items: center; gap: 10px; font: 500 16px/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.idx i { width: 50px; height: 1px; background: currentColor; }

/* Section heading row: label slot (373) + heading block from x = 483 at 1440 */
.hrow { display: grid; gap: 30px; }
.hblock { display: grid; gap: 30px; justify-items: start; min-width: 0; }
.hslot:empty { display: none; }
.h2 { max-width: 820px; font: 500 var(--t-h2)/1 var(--f-display); text-transform: uppercase; }

/* ---------- Buttons: ink with a yellow arrow square; on hover the yellow floods the button ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: var(--r-lg);
  font: 600 14px/1 var(--f-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-talk { position: relative; isolation: isolate; gap: 20px; min-height: 62px; padding: 5px 5px 5px 20px; background: var(--ink); color: #fff; }
.btn-talk::before { content: ""; position: absolute; inset: 5px; z-index: -1; background: var(--yellow);
  clip-path: inset(0 0 0 calc(100% - 50px)); transition: clip-path 400ms var(--ease-flood); }
.btn-talk .bl { transition: color 400ms var(--ease-flood); }
.btn-talk .sq { display: grid; place-items: center; width: 50px; height: 52px; color: var(--ink); }
.btn-talk .sq .i { transition: rotate 400ms var(--ease-flood), scale 400ms var(--ease-flood); }
.btn-talk:focus-visible::before { clip-path: inset(0); }
.btn-talk:focus-visible .bl { color: var(--ink); }
.btn-talk:focus-visible { outline-color: var(--ink); }
.btn-call { gap: 10px; padding: 0 20px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-call .i { width: 20px; height: 20px; }

/* ---------- Header: Stux's bar. Phones: wordmark + hamburger. 760+: hamburger, centred wordmark, quote button ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: #fff; color: var(--ink); }
.burger, .brand, .head-actions { animation: fade-down 700ms var(--ease-spring) backwards; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--bar-h); padding-inline: var(--m); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 600 24px/1 var(--f-display); letter-spacing: -.01em;
  text-transform: uppercase; text-decoration: none; color: inherit; }
.head-actions { display: none; align-items: center; gap: 20px; }
.head-tel { display: none; }
/* Hamburger (three lines, 36 x 22) and the X that replaces it while the menu is open: one grid cell, so nothing moves */
.burger { order: 2; display: grid; }
.burger > a { position: relative; grid-area: 1 / 1; display: grid; place-items: center; width: 48px; height: var(--bar-h); margin-inline: -6px; color: inherit; }
/* the toggle's target runs the bar's full height and a little below it, so it stays under the finger whether the bar
   sits under the demo bar (top of the page) or is stuck to the top of the screen */
.burger > a::after { content: ""; position: absolute; inset: 0 0 -32px; }
.bars { position: relative; width: 36px; height: 22px; }
.bars i { position: absolute; right: 0; height: 2px; background: currentColor; transition: width 300ms var(--ease-spring); }
.bars i:nth-child(1) { top: 0; width: 36px; }
.bars i:nth-child(2) { top: 10px; width: 36px; }
.bars i:nth-child(3) { top: 20px; width: 26px; }
.x { position: relative; width: 24px; height: 24px; }
.x i { position: absolute; left: -2px; top: 11px; width: 28px; height: 2px; background: currentColor; rotate: 45deg; }
.x i + i { rotate: -45deg; }
.nav-close { visibility: hidden; }
#menu:target ~ .site-head .nav-open { visibility: hidden; }
#menu:target ~ .site-head .nav-close { visibility: visible; }
/* Open: the bar goes clear over the dark panel, ink turns white, the quote button floods yellow (as in Stux) */
#menu:target ~ .site-head { background: transparent !important; color: #fff !important; animation: none !important; }
#menu:target ~ .site-head::before { display: none; }
#menu:target ~ .site-head .head-cta::before { clip-path: inset(0); }
#menu:target ~ .site-head .head-cta .bl { color: var(--ink); }

/* ---------- Menu overlay (Stux): dark frosted panel that grows from the top, five rows rise in ---------- */
.menu { --ncs-on-style: none; position: fixed; inset: 0; z-index: 29; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--bar-h) + min(110px, 7svh)) var(--m) max(24px, env(safe-area-inset-bottom)); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; transition: visibility 0s linear 320ms; --focus: var(--yellow); }
.menu::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(5, 5, 5, .93);
  -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px); transform-origin: 50% 0; opacity: 0; scale: 1 .55;
  transition: opacity 300ms ease, scale 300ms ease; }
.menu:target { visibility: visible; transition: none; }
.menu:target::before { opacity: 1; scale: 1 1; transition: opacity 500ms var(--ease-spring), scale 900ms var(--ease-spring); }
.menu-list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu-list a { display: flex; align-items: center; gap: 22px; min-height: clamp(56px, 10.5svh, 94px); text-decoration: none; }
.mi { min-width: 30px; font: 400 14px/1.1 var(--f-body); color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
.mt { font: 500 28px/1.2 var(--f-body); letter-spacing: -.01em; }
.menu-foot { display: grid; gap: 18px; font-size: 16px; line-height: 1.25; color: rgba(255, 255, 255, .7); }
.mf-call { display: grid; gap: 4px; }
.mf-l { font: 600 13px/1.1 var(--f-display); text-transform: uppercase; }
.mf-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start; font-size: 20px; color: #fff; text-decoration: none; }
.mf-tel::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.menu-list a, .menu-foot { opacity: 0; translate: 0 50px; transition: opacity 250ms ease, translate 0s linear 320ms; }
.menu:target .menu-list a, .menu:target .menu-foot { opacity: 1; translate: 0 0;
  transition: opacity 650ms var(--ease-spring) 360ms, translate 650ms var(--ease-spring) 360ms; }

/* ---------- Loader: 6 x 5 ink tiles fade out along anti-diagonals (resting state = gone) ---------- */
.intro { position: relative; z-index: 5; height: 0; }
.tiles { position: absolute; left: 0; right: 0; top: var(--head-h); height: var(--hero-h); display: grid;
  grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); pointer-events: none; }
.tiles i { background: var(--ink); opacity: 0; visibility: hidden;
  animation: tile 220ms ease calc(100ms + var(--i) * 27ms) backwards; }   /* phones: done by 1.1 s */
@keyframes tile { from { opacity: 1; visibility: visible; } }

/* ---------- S0 Hero ---------- */
.hero { position: relative; height: var(--hero-h); overflow: hidden; color: #fff; background: #1d2433; }
.hero-media { position: absolute; inset: 0; animation: settle 1000ms var(--ease-spring) 150ms backwards; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(5, 5, 5, .42), rgba(5, 5, 5, 0) 22%), linear-gradient(rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, .55) 75%, rgba(5, 5, 5, .78)); }
.hero-copy { position: absolute; inset: auto 0 0; z-index: 6; display: grid; justify-items: center; gap: 20px; padding: 0 var(--m) 30px; text-align: center;
  animation: rise 700ms var(--ease-spring) 300ms backwards; }
.hero-name { justify-self: stretch; font: 600 var(--t-hero)/.8 var(--f-display); text-transform: uppercase; }
.hero-name > span:not(.vh) { display: block; }
.hn-2 { padding-bottom: .06em; background: linear-gradient(#fff 30%, #a3a3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-loc { font-size: var(--t-bm); line-height: 1.3; }

.hero-call { display: flex; justify-content: space-between; width: auto; margin: 15px var(--m) 0; }
.facts { border-bottom: 1px solid var(--c-line); animation: rise-s 700ms var(--ease-spring) 300ms backwards; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.facts-grid > div { display: grid; gap: 6px; align-content: start; padding: 14px var(--m); border-top: 1px solid var(--c-line); }
.facts-grid > div:nth-child(odd) { border-right: 1px solid var(--c-line); }
.facts-grid > div:nth-child(-n+2) { border-top: 0; }
.facts dt { font: 600 13px/1.1 var(--f-display); text-transform: uppercase; color: var(--c-muted); }
.facts dd { font-size: 16px; line-height: 1.25; font-weight: 500; }

/* ---------- S1 About + staircase stats ---------- */
.stairs { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--hgap); }
.cell { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 200px; padding: 20px 15px 15px;
  border: 1px solid var(--c-line); margin: 0 -1px -1px 0; background: #fff; }
.st-n { font: 500 var(--t-stat)/1 var(--f-display); }
.st-b { display: grid; gap: 14px; }
.st-c { font-size: 16px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.st-i { font: 600 14px/1 var(--f-display); color: var(--c-muted); }

.team-row { display: grid; gap: 40px; }
.team-st { max-width: 470px; font: 600 var(--t-st)/1.1 var(--f-display); text-transform: uppercase; }
.crew { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.avs { display: flex; padding-left: 5px; }
.avs li { display: grid; place-items: center; width: 50px; height: 50px; margin-left: -5px; border-radius: 50%; box-shadow: 0 0 0 5px #fff;
  background: var(--ink); color: #fff; font: 600 14px/1 var(--f-display); }
.avs li:nth-child(2) { background: var(--yellow); color: var(--ink); }
.avs li:nth-child(3) { background: var(--c-surface); color: var(--ink); }
.crew-n { display: grid; gap: 4px; }
.crew-fig { display: block; font: 500 22px/1 var(--f-display); text-transform: uppercase; }
.crew-cap { display: block; font-size: var(--t-bs); line-height: 1.2; color: var(--c-muted); }
.team-photo { overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-surface); }
.tp-in { height: 100%; }
.tp-in img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- S2 Projects ---------- */
.projects { padding-block: var(--sec); background: var(--band); }
.hrow-split { display: grid; gap: 30px; justify-items: start; }
.hgroup { display: grid; gap: 30px; }
.pgrid { display: flex; gap: 12px; margin: var(--hgap) calc(-1 * var(--m)) 0; padding-inline: var(--m); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--m); scrollbar-width: none; }
.pgrid::-webkit-scrollbar { display: none; }
.pgrid:focus-visible, .pcards:focus-visible, .rv-list:focus-visible { outline-offset: -3px; }
.pcard { flex: 0 0 85%; scroll-snap-align: start; position: relative; }
.pc-bg { display: none; }
.pc-card { display: grid; background: #fff; padding: 5px 5px 18px; gap: 16px; }
.pc-win { overflow: hidden; aspect-ratio: 1 / .92; background: var(--c-surface); }
.pc-win img { width: 100%; height: 100%; object-fit: cover; transition: scale 400ms cubic-bezier(.22, 1, .36, 1); }
.pc-card figcaption { display: grid; gap: 6px; text-align: center; padding-inline: 10px; }
.pc-name { font: 500 var(--t-card)/1 var(--f-display); text-transform: uppercase; }
.pc-meta { font-size: var(--t-bs); line-height: 1.2; color: var(--c-muted); }

/* ---------- S3 Services ---------- */
.svc-cols { display: none; }
.svc-list { margin-top: var(--hgap); border-bottom: 1px solid var(--c-line); }
.svc-list details { border-top: 1px solid var(--c-line); }
.svc-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; cursor: pointer; list-style: none;
  font: 500 var(--t-svc)/1.1 var(--f-display); text-transform: uppercase; }
.svc-list summary::-webkit-details-marker { display: none; }
.svc-list .svc-t { text-align: right; }
.svc-a { display: grid; gap: 20px; padding: 6px 0 20px; }
.svc-a p { font-size: var(--t-bm); line-height: 1.3; }
.svc-a img { width: 100%; aspect-ratio: 360 / 220; object-fit: cover; }

/* ---------- S4 Featured ---------- */
.featured { display: none; }

/* ---------- S5 Sticky quote ---------- */
.philo-in { position: relative; }
.drift { display: none; }
.q-box { position: relative; z-index: 1; display: grid; justify-items: center; gap: 20px; max-width: 850px; margin-inline: auto; text-align: center; background: #fff; }
.q-disc { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; }
.q-disc .iq { width: 22px; height: 20px; }
.q-box blockquote { font: 600 var(--t-quote)/1.1 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.q-box blockquote p { text-wrap: balance; }
.q-box figcaption { font-size: var(--t-bm); line-height: 1.3; color: var(--c-muted); }

/* ---------- S6 Process ---------- */
.process { padding-block: var(--sec); background: var(--band); }
.pcards { display: flex; gap: 10px; margin: var(--hgap) calc(-1 * var(--m)) 0; padding-inline: var(--m); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--m); scrollbar-width: none; }
.pcards::-webkit-scrollbar { display: none; }
.pstep { position: relative; flex: 0 0 85%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; padding: 15px; background: var(--ink); color: #fff; }
.ps-l { display: grid; gap: 20px; }
.ps-n { font: 500 var(--t-h2)/1 var(--f-display); color: var(--yellow); }
.ps-tx { display: grid; gap: 16px; }
.ps-d { font-size: var(--t-bl); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.ps-tag { font: 400 13px/1.1 var(--f-display); text-transform: uppercase; color: var(--dim); }
.ps-img { width: 100%; aspect-ratio: 330 / 200; object-fit: cover; margin-top: auto; }

/* ---------- S7 Reviews ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--t-bs); line-height: 1.3; color: var(--c-muted); }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rv-list { display: flex; gap: 12px; margin: var(--hgap) calc(-1 * var(--m)) 0; padding-inline: var(--m); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--m); scrollbar-width: none; }
.rv-list::-webkit-scrollbar { display: none; }
.rv { flex: 0 0 85%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) 60px; grid-template-areas: "photo photo" "who tile" "q q";
  align-content: start; gap: 16px 12px; padding-top: 15px; border-top: 1px solid var(--c-line); }
.rv-photo { grid-area: photo; width: 100%; aspect-ratio: 300 / 180; object-fit: cover; object-position: 50% 25%; }
/* Initials in place of stock portraits: the reviews are samples, so no stranger's face is attached to them */
.rv-mono { display: grid; align-items: end; justify-items: start; padding: 16px 20px; background: var(--c-surface); color: var(--ink);
  font: 600 clamp(64px, 7.5vw, 120px)/.78 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.rv-who { grid-area: who; display: grid; gap: 4px; align-content: start; }
.rv-name { font-size: var(--t-bm); line-height: 1.3; font-weight: 500; }
.rv-place, .rv-src { font-size: 16px; line-height: 1.3; color: var(--c-muted); }
.rv-q { grid-area: q; font-size: var(--t-tq); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.rv-i { display: none; grid-area: i; font: 600 14px/1 var(--f-display); }
.rv-tile { grid-area: tile; display: grid; place-items: center; width: 60px; height: 60px; background: var(--yellow); color: var(--ink); }

/* ---------- S8 Credentials ---------- */
.cred-h { font: 600 clamp(18px, .19vw + 17.26px, 20px)/1.1 var(--f-display); text-transform: uppercase; text-align: center; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.cred-grid li { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 150px; padding: 16px 10px; background: var(--band); text-align: center; }
.cred-grid .i { width: 30px; height: 30px; }
.cred-m { font: 600 16px/1.05 var(--f-display); text-transform: uppercase; }
.cred-c { font-size: 14px; line-height: 1.25; color: var(--c-muted); }

/* ---------- S9 FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-top: var(--hgap); }
.qa { border: 1px solid var(--c-line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 15px; cursor: pointer; list-style: none;
  font-size: var(--t-bl); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa-i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-line); }
.qa-i .i { width: 14px; height: 14px; stroke-width: 2; transition: rotate 250ms var(--ease-out); }
.qa[open] .qa-i .i { rotate: 45deg; }
.qa p { padding: 0 15px 18px; font-size: var(--t-bm); line-height: 1.3; color: #333; max-width: 720px; }

/* ---------- Contact / quote ---------- */
.q-side { display: none; gap: 4px; }
.q-row { display: flex; align-items: center; gap: 14px; min-height: 56px; font-size: 18px; line-height: 1.2; font-weight: 500; text-decoration: none; }
.q-row .i { color: var(--ink); }
.q-row small { display: block; margin-top: 3px; font-size: 16px; font-weight: 400; color: var(--c-muted); }
.q-form { display: grid; gap: 16px; width: 100%; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 14px/1.2 var(--f-display); text-transform: uppercase; }
.req { font: 400 14px/1.2 var(--f-body); text-transform: none; color: var(--c-muted); }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--c-line-strong); border-radius: 0; background: #fff;
  color: var(--ink); font: 400 16px/1.2 var(--f-body); }
.field select { appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23040404' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.btn-submit { justify-content: space-between; width: 100%; margin-top: 4px; }
.sent { display: none; padding: 14px 16px; background: var(--ink); color: #fff; border-left: 6px solid var(--yellow); }
.sent:target { display: block; }

/* ---------- Footer ---------- */
.site-foot { margin-top: var(--sec); background: var(--ink); color: #fff; padding-bottom: env(safe-area-inset-bottom); }
.fcta { position: relative; display: grid; min-height: 380px; overflow: hidden; }
.fcta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.fcta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(4, 4, 4, .34), rgba(4, 4, 4, .5)); }  /* 3:1+ for the 52-110px heading over the brightest teal */
.fcta-in { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 30px; padding: 56px var(--m) 40px; text-align: center; }
.fcta-h { font: 600 var(--t-xl)/.9 var(--f-display); text-transform: uppercase; }
.fcta-h > span, .fcta-h .l3 { display: block; }
.fink { display: grid; gap: 28px; padding: 24px var(--m) 0; text-align: center; }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.f-mark { font: 600 18px/1 var(--f-display); text-transform: uppercase; }
.f-lic { font: 600 13px/1.2 var(--f-display); text-transform: uppercase; }
.f-mid { display: grid; justify-items: center; gap: 6px; }
.f-mail { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-bl); font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.f-tel { display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--t-h2)/1 var(--f-display); color: var(--yellow); text-decoration: none; }
.f-hours { margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, .72); }
.f-row { display: grid; justify-items: center; gap: 8px; font-size: var(--t-bs); line-height: 1.2; }
.f-copy { max-width: 340px; color: rgba(255, 255, 255, .72); }
.f-addr { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.f-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 8px; }
.f-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; text-decoration: none; }
.f-links span { color: rgba(255, 255, 255, .5); }
.f-giant { height: calc(var(--giant) * .62); overflow: hidden; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m);
  border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 20px; box-sizing: content-box; }
.f-giant span { display: block; font: 600 var(--giant)/.78 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; text-align: left; white-space: nowrap; }

/* ---------- Motion ---------- */
@keyframes fade-down { from { opacity: 0; translate: 0 -50px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 70px; } }
@keyframes rise-s { from { opacity: 0; translate: 0 50px; } }
@keyframes settle { from { scale: 1.2; } }

/* =====================================================================================
   760px and up (tablets): 30px margins, featured section, wider cells
   ===================================================================================== */
@media (min-width: 760px) {
  :root { --m: 30px; --hero-h: min(78vw, calc(100svh - 120px)); --bar-h: 72px; }
  .site-foot { padding-bottom: 0; }
  .head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .burger { order: 0; justify-self: start; }
  .brand { justify-self: center; font-size: 26px; }
  .head-actions { display: flex; justify-self: end; }
  .head-cta { display: inline-flex; min-height: 52px; padding-block: 0; }
  .head-cta .sq { height: 42px; width: 42px; }
  .head-cta::before { clip-path: inset(0 0 0 calc(100% - 42px)); }
  .tiles i { animation: tile 300ms ease calc(150ms + var(--i) * 40ms) backwards; }   /* done by 1.6 s */
  .hero-copy { padding-bottom: 60px; }
  .facts { display: block; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid > div { padding: 20px var(--m); border-top: 0; border-right: 1px solid var(--c-line); }
  .facts-grid > div:last-child { border-right: 0; }
  .facts dt { font-size: 14px; }
  .facts dd { font-size: var(--t-bm); }
  .stairs { grid-template-columns: repeat(4, 1fr); }
  .cell { min-height: 360px; padding: 24px; }
  .st-c { font-size: var(--t-bl); line-height: 1.2; letter-spacing: -.0125em; }
  .team-row { grid-template-columns: 1fr 1fr; align-items: end; }
  .team-photo { aspect-ratio: 690 / 550; }
  .pgrid, .pcards, .rv-list { overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .pcard { flex: none; }
  .featured { position: relative; display: grid; margin-top: var(--sec); aspect-ratio: 1440 / 810; min-height: 560px; overflow: hidden; color: #fff; background: #1d2433; }
  .ft-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .featured::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(rgba(5, 5, 5, 0), rgba(4, 4, 4, .92) 70%, #040404); }
  .featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; background: linear-gradient(rgba(4, 4, 4, .45), rgba(4, 4, 4, 0)); }
  .ft-in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 30px var(--m); }
  .ft-top { display: flex; justify-content: space-between; font: 500 18px/1.1 var(--f-display); text-transform: uppercase; }
  .ft-bot { display: grid; gap: 18px; }
  .ft-name { font: 600 var(--t-xl)/.9 var(--f-display); text-transform: uppercase; }
  .ft-name span { display: block; }
  .ft-2 { padding-bottom: .06em; background: linear-gradient(#fff 30%, #a3a3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .ft-loc { font-size: var(--t-bm); line-height: 1.3; }
  .ft-facts { font: 600 14px/1.2 var(--f-display); text-transform: uppercase; color: #d6d6d6; }
  .q-disc { width: 70px; height: 70px; }
  .q-disc .iq { width: 30px; height: 28px; }
  .q-box { gap: 30px; }
  .pcards { flex-direction: column; gap: 15px; }
  .pstep { flex-direction: row; justify-content: space-between; gap: 30px; min-height: 420px; }
  .ps-l { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; }
  .ps-tx { gap: 40px; max-width: 340px; }
  .ps-img { width: 54%; height: auto; aspect-ratio: 759 / 580; margin-top: 0; flex: none; }
  .rv-list { flex-direction: column; gap: 0; border-bottom: 1px solid var(--c-line); }
  .rv { grid-template-columns: 34% minmax(0, 1fr) 60px; grid-template-rows: auto auto 1fr; grid-template-areas: "photo who tile" "photo q q" "photo i i";
    column-gap: 30px; padding-block: 30px; }
  .rv-photo { aspect-ratio: 386 / 400; }
  .rv-i { display: block; align-self: end; }
  .cred-grid { grid-template-columns: repeat(4, 1fr); }
  .cred-grid li { min-height: 180px; }
  .qa summary { padding: 15px 30px; min-height: 89px; }
  .qa p { padding: 0 30px 26px; }
  .quote .hrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 60px; align-items: start; }
  .q-side { display: grid; padding-top: 6px; }
  .fcta { min-height: 520px; }
  .fcta-h .l3 { display: inline; }
  .fcta-in { padding-top: 120px; }
  .fink { padding-top: 30px; gap: 70px; }
  .f-row { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: stretch; text-align: left; }
  .f-copy { max-width: 260px; }
  .f-addr { justify-self: center; text-align: center; }
  .f-links { justify-content: flex-end; max-width: 300px; justify-self: end; }
}

/* =====================================================================================
   1080px and up (computers): the recreation at full measure
   ===================================================================================== */
@media (min-width: 1080px) {
  :root { --hero-h: max(640px, calc(100svh - 32px)); --giant: min(32.2vw, 520px); }
  :root { --bar-h: 92px; }
  .head-row { padding-block: 15px; }
  .head-tel { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
  .hero-call { display: none; }
  .menu { padding-top: calc(var(--bar-h) + min(110px, 12svh)); }
  .menu-list a { min-height: clamp(64px, 11.5svh, 103px); gap: 30px; }
  .mt { font-size: 36px; }
  .menu-foot { grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .mf-loc { text-align: right; font-size: 18px; }
  .head-cta { min-height: 62px; padding-block: 5px; }
  .head-cta .sq { width: 50px; height: 52px; }
  .head-cta::before { clip-path: inset(0 0 0 calc(100% - 50px)); }
  .hero-copy { padding: 0 var(--m) 118px; gap: 25px; }
  .hero-copy .hero-name { justify-self: center; width: 100%; max-width: 1000px; }

  /* Heading rows: a 373px label slot, then the heading block at x = 483 */
  .hrow { grid-template-columns: 373px minmax(0, 1fr); column-gap: 80px; }
  .hslot:empty { display: block; }
  .idx { align-self: start; padding-top: 6px; }

  /* Staircase: four 600px rows, each pins at 150px, so the cells land side by side */
  .stairs { display: block; position: relative; height: 2400px; margin-top: 200px; }
  .step { position: sticky; top: 150px; display: grid; grid-template-columns: repeat(4, 1fr); height: 600px; pointer-events: none; }
  .cell { grid-column: var(--c); height: 600px; padding: 30px; pointer-events: auto; }
  .team { margin-top: 200px; }
  .team-row { grid-template-columns: minmax(0, 640px) minmax(0, 690px); justify-content: space-between; gap: 50px; }
  .crew { margin-top: 70px; }
  .crew-fig { font-size: 24px; }

  /* Projects: 1380 x 810 frames, blurred photo, sharp 665 x 450 window in a white card */
  .hrow-split { grid-template-columns: 1fr auto; align-items: end; }
  .hgroup { gap: 40px; }
  .pgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .pcard { display: grid; place-items: center; aspect-ratio: 1380 / 810; overflow: hidden; background: #c9ccd2; }
  .pc-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(15px); scale: 1.08; }
  .pc-card { position: relative; width: 48.9%; padding: 5px 5px 30px; gap: 30px; }
  .pc-win { aspect-ratio: 665 / 450; }
  .pc-card figcaption { gap: 8px; }

  /* Services: rotated-label columns, open 800, closed 193, fixed 750 row */
  .svc-list { display: none; }
  .svc-cols { container-type: inline-size; display: flex; height: 750px; margin-top: var(--hgap); border-right: 1px solid var(--c-line); }
  .svc-col { position: relative; display: flex; flex: 0 0 14%; min-width: 0; padding: 0 50px; border-left: 1px solid var(--c-line); overflow: hidden; }
  .svc-col:has(:checked) { flex: 1 1 0; }
  .svc-col input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
  .svc-rail { display: flex; flex-direction: column; justify-content: space-between; flex: none; width: 29px; height: 100%; cursor: pointer;
    font: 500 24px/1.1 var(--f-display); text-transform: uppercase; }
  .svc-rail span { writing-mode: vertical-rl; white-space: nowrap; }
  .svc-t { transition: translate 300ms var(--ease-out); }
  .svc-col:not(:has(:checked)) .svc-rail::after { content: ""; position: absolute; inset: 0; }
  .svc-col:has(input:focus-visible) .svc-rail { outline: 3px solid var(--focus); outline-offset: 4px; }
  .svc-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; flex: none; width: min(621px, calc(58cqw - 179px)); margin-left: 50px;
    visibility: hidden; opacity: 0; transition: opacity 250ms ease; }
  .svc-col:has(:checked) .svc-body { visibility: visible; opacity: 1; }
  .svc-body p { max-width: 350px; font-size: var(--t-bm); line-height: 1.3; }
  .svc-body img { width: 100%; aspect-ratio: 621 / 350; object-fit: cover; }

  /* Sticky quote: the quote pins at 250px while six photos drift past behind it */
  .philo-in { height: 1800px; }
  .q-box { position: sticky; top: 250px; padding-block: 20px; }
  .drift { display: block; position: absolute; inset: 0 var(--m); }
  .drift img { position: absolute; object-fit: cover; }
  .d1 { left: 0; top: 527px; width: 29%; aspect-ratio: 400 / 280; }
  .d2 { left: 71%; top: 300px; width: 29%; aspect-ratio: 400 / 280; }
  .d3 { left: 11.6%; top: 1000px; width: 17.4%; aspect-ratio: 240 / 180; }
  .d4 { left: 0; top: 1290px; width: 29%; aspect-ratio: 400 / 280; }
  .d5 { left: 74.3%; top: 940px; width: 14.5%; aspect-ratio: 200 / 150; }
  .d6 { left: 9.4%; top: 1620px; width: 14.5%; aspect-ratio: 200 / 150; }

  /* Process: 1410 x 610 ink cards, the first two pin at 150px */
  .process .wrap { padding-inline: 15px; }
  .process .hrow { grid-template-columns: 381px minmax(0, 1fr); }
  .pstep { position: sticky; top: 150px; min-height: 610px; padding: 15px; }
  .pstep:last-child { position: relative; top: 0; }
  .ps-l { max-width: 621px; }
  .ps-tx { gap: 59px; max-width: 340px; }
  .ps-n { font-size: 58px; }
  .ps-tag { line-height: 1.1; }
  .ps-img { width: 53.8%; aspect-ratio: auto; height: 580px; }

  /* Reviews: 1380 x 500 rows between rules; name at x = 496, quote at x = 689, yellow tile far right */
  .rv { grid-template-columns: 386px 110px 193px minmax(0, 440px) 1fr 60px; grid-template-rows: auto 1fr;
    grid-template-areas: "photo . who q . tile" "photo . . i . ."; column-gap: 0; row-gap: 0; padding-block: 50px; }
  .rv-photo { width: 386px; height: 400px; aspect-ratio: auto; }
  .rv-who { padding-right: 20px; }
  .rv-q { --t-tq: 28px; line-height: 1.2; letter-spacing: -.5px; }

  .cred-h { font-size: 20px; }
  .cred-grid { gap: 10px; margin-top: 40px; }
  .cred-grid .i { width: 34px; height: 34px; }
  .cred-m { font-size: 20px; }
  .cred-c { font-size: 16px; }
  .faq-list { margin-left: 453px; max-width: 911px; }
  .quote .hrow { grid-template-columns: 373px minmax(0, 1fr); column-gap: 80px; }
  .q-side { padding-top: 10px; }

  .fcta { min-height: 650px; }
  .fcta-in { padding-top: 180px; }
  .fink { padding: 30px var(--m) 0; gap: 70px; }
  .f-top .f-mark { font-size: 20px; }
  .f-row { font-size: 18px; }
  .f-giant { height: 210px; }
  .f-giant span { line-height: .76; }
}

/* ---------- Hover (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-talk:hover::before { clip-path: inset(0); }
  .btn-talk:hover .bl { color: var(--ink); }
  .btn-talk:hover .sq .i { rotate: 45deg; scale: 1.4; }
  .btn-call:hover { background: var(--c-surface); }
  .menu-list a:hover .mt { color: var(--yellow); }
  .nav-open:hover .bars i:nth-child(3) { width: 36px; }
  .head-tel:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .pcard:hover .pc-win img { scale: 1.03; }
  .svc-col:not(:has(:checked)):hover .svc-t { translate: 0 -30px; }
  .qa summary:hover .qa-i { background: var(--yellow); }
  .f-mail, .f-addr, .f-links a { transition: color 500ms cubic-bezier(.44, 0, .56, 1); }
  .f-tel { transition: color 400ms cubic-bezier(.44, 0, .56, 1); }
  .f-mail:hover, .f-addr:hover, .f-links a:hover { color: var(--yellow); }
  .f-tel:hover { color: #fff; }
}

/* ---------- Scroll-driven extras (progressive; static and fully visible without support) ---------- */
@supports (animation-timeline: scroll()) {
  /* Stux: the bar is clear with white ink over the hero and turns white over the first 300px (home view only).
     Without scroll timelines it stays a white bar above the hero. */
  :root { --head-h: 0px; }
  .hero-wrap { margin-top: calc(-1 * var(--bar-h)); }
  body:not(:has(main [id]:target:not(#top))) .site-head { background: transparent;
    animation: head-ink linear both; animation-timeline: scroll(root); animation-range: 0 300px; }
  body:not(:has(main [id]:target:not(#top))) .site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
    animation: head-bg linear both; animation-timeline: scroll(root); animation-range: 0 300px; }
}
@keyframes head-bg { from { opacity: 0; } }
@keyframes head-ink { from { color: #fff; } to { color: var(--c-ink); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @media (min-width: 760px) {
      .tp-in { height: 120%; animation: drift-y linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
      .team-photo { position: relative; }
    }
    @media (min-width: 1080px) {
      .drift img { animation: drift-y2 linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
      .pstep:not(:last-child) { animation: covered linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 60%; }
    }
    .f-tel { animation: tel-glow linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
  }
}
@keyframes drift-y { from { translate: 0 -16.6%; } to { translate: 0 0; } }
@keyframes drift-y2 { from { translate: 0 60px; } to { translate: 0 -60px; } }
@keyframes covered { to { scale: .96; } }
@keyframes tel-glow { from { color: #9b9b9b; } to { color: var(--c-accent); } }

/* ---------- Reduced motion: no loader, no entrances ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .burger, .brand, .head-actions, .hero-media, .hero-copy, .facts { animation: none; }
  .menu-list a, .menu-foot, .menu::before { transition-delay: 0s !important; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
