/* Deep Array — kinetic layout
   Mostly white and cream, with ink sections; Array Blue is the accent.
   The brand dot is the moving object: it falls out of the logo, swells into transitions,
   sits behind active tabs and links, and tumbles with physics.
   Type: Bebas Neue (headlines), Montserrat Bold caps (labels), Poppins Medium (sentences). */

:root {
  --blue: #0037ff;
  --blue-dark: #002ad1;
  --soft: #7c96ff;
  --sky: #d3dcff;

  --ink: #121110;
  --ink-2: #1c1a19;
  --cream: #ecebe6;
  --white: #ffffff;
  --muted: #6b6863;

  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-label: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(18px, 3.4vw, 50px);
  --ease: cubic-bezier(0.62, 0.16, 0.13, 1.01);
  --soft-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); overflow-x: clip; scroll-behavior: smooth; }
html.has-motion { scroll-behavior: auto; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-weight: 500; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 0.9; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.2vw, 5.4rem); }
p { text-wrap: pretty; }
.dotted::after { content: ""; display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.05em; border-radius: 50%; background: var(--blue); }
.ph { text-decoration: underline dashed var(--blue); text-underline-offset: 4px; }
[data-tone="dark"] .ph, .about .ph, .stmt .ph { text-decoration-color: var(--soft); }

.label { font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px;
  background: var(--blue); color: var(--white); border: 0; cursor: pointer;
  font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.4s var(--soft-ease), scale 0.3s var(--soft-ease);
}
.btn:hover { background: var(--blue-dark); }
.btn:active { scale: 0.97; }
.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding-bottom: 6px;
  font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: color 0.4s var(--soft-ease), background-size 0.5s var(--ease);
}
.link::after { content: "→"; transition: transform 0.4s var(--soft-ease); }
.link:hover { color: var(--blue); }
.link:hover::after { transform: translateX(4px); }
.link--light:hover { color: var(--soft); }

/* ---------------- Header & logo ---------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: 84px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: flex-end; color: var(--ink); pointer-events: none; transition: color 0.25s linear; }
.hdr > * { pointer-events: auto; }
.hdr.is-dark { color: var(--white); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(18, 17, 16, 0.08); opacity: 0; transition: opacity 0.35s var(--soft-ease), background 0.25s linear; pointer-events: none; }
.hdr.is-solid::before { opacity: 1; }
.hdr.is-dark::before { background: rgba(28, 26, 25, 0.86); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.menu-open .hdr::before, .hdr.is-clear::before { opacity: 0; }
.logo {
  --lh: 32px;
  position: absolute; left: var(--gutter); top: 26px; display: flex; align-items: center; gap: calc(var(--lh) * 0.3);
  transform-origin: 0 0; will-change: transform;
}
.logo .mark { height: var(--lh); width: auto; flex: none; }
.mark .far { fill: var(--blue); } .mark .near { fill: currentColor; }
.logo__word {
  display: block; flex: none; height: calc(var(--lh) * 0.42); width: calc(var(--lh) * 0.42 * 9.877);
  background: currentColor; -webkit-mask: url(../brand/wordmark-mask.png) center / contain no-repeat; mask: url(../brand/wordmark-mask.png) center / contain no-repeat;
}
.nav { display: none; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.nav a { position: relative; font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform 0.45s var(--soft-ease); }
.nav a:not(.nav__cta):hover::after, .nav a.is-on::after { transform: none; }
/* the CTA's highlighter: a blue dot that keeps orbiting behind the words */
.nav__cta { isolation: isolate; padding: 8px 4px !important; white-space: nowrap; }
.nav__cta span { position: relative; z-index: 1; }
.nav__dot { position: absolute; z-index: 0; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #9db0ff; animation: orbit 5.5s var(--ease) infinite; }
.hdr.is-dark .nav__dot { background: var(--blue); }
@keyframes orbit {
  0%   { transform: translate(-58px, 2px) scale(1); }
  25%  { transform: translate(10px, -6px) scale(0.7); }
  50%  { transform: translate(58px, 3px) scale(1.15); }
  75%  { transform: translate(-6px, 6px) scale(0.8); }
  100% { transform: translate(-58px, 2px) scale(1); }
}
.nav__cta:hover .nav__dot { animation-play-state: paused; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--soft-ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1180px) { .nav { display: flex; } .burger { display: none; } }
.menu-open .hdr { color: var(--white); }
.mnav { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--white); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--soft-ease), visibility 0s 0.5s; }
.mnav.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--soft-ease); }
.mnav__links { display: grid; gap: 2px; }
.mnav__links a { font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.05; text-transform: uppercase; }
.mnav__foot { color: #8a8a8a; }

/* The falling dot */
.drop { position: fixed; left: 0; top: 0; z-index: 58; width: 60px; height: 60px; pointer-events: none; display: none; }
.drop span { position: absolute; inset: 0; display: block; border-radius: 50%; }
.drop .drop__o { background: var(--ink); }
.has-motion .drop { display: block; }

/* The bubble: what the swelling dot reveals. Clipped to the dot's circle, so it opens and closes with it */
.bubble { display: none; }
.journey .bubble {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 59; pointer-events: none; overflow: hidden;
  background: var(--blue); clip-path: circle(0px at 50% 50%); visibility: hidden;
}
.bubble__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: overlay; opacity: 0.5; will-change: transform, opacity; }
.bubble__text {
  position: relative; text-align: center; color: var(--white); padding: 0 var(--gutter);
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3rem, 7.2vw, 7.8rem); line-height: 0.9; will-change: transform, opacity;
}
.bubble__text span { display: block; }
.bubble__dot { display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.05em; border-radius: 50%; background: var(--white); }

/* ---------------- Hero ----------------
   The giant logo sits up top (it lives in the header and shrinks into place as you scroll).
   Below it: status, the promise, the two actions and a trust line. */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(36px, 7vh, 64px); background: var(--white); }
.hero__foot { display: grid; gap: 28px; align-items: end; }
.hero__h { font-size: clamp(2.6rem, 4.6vw, 5.6rem); line-height: 0.9; }
.hero .ln { white-space: nowrap; }
@media (max-width: 600px) { .hero .ln { white-space: normal; } }
.hero .ln { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero .ln > span { display: inline-block; }
.hero__side { display: grid; gap: 22px; justify-items: start; max-width: 38ch; }
.hero__sub { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.5; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__actions .link { margin-top: 0; }
@media (min-width: 1000px) {
  .hero__foot { grid-template-columns: 1fr auto; gap: 4vw; }
  .hero__side { justify-items: end; text-align: right; }
}
/* phones: the hero grows to fit, so the words always start below the big logo */
@media (max-width: 760px) {
  .hero { height: auto; min-height: 100svh; padding-top: calc(13svh + 16vw + 44px); }
  .hero__h { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* Opening (no loader): the logo builds dot by dot and the wordmark wipes in; then the words rise */
.js .logo .mark circle { transform-box: fill-box; transform-origin: center; scale: 0; transition: scale 0.7s cubic-bezier(0.34, 1.6, 0.64, 1); transition-delay: calc(0.1s + var(--i, 0) * 30ms); }
.js .logo__word { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease) 0.55s; }
.is-loaded .logo .mark circle { scale: 1; }
.is-loaded .logo__word { clip-path: inset(0 0 0 0); }
.js .hero .ln > span { transform: translateY(105%); transition: transform 1.2s var(--ease) 0.7s; }
.js .hero .ln:nth-child(2) > span { transition-delay: 0.78s; }
.js .hero .ln:nth-child(3) > span { transition-delay: 0.86s; }
.js .hero__side { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--soft-ease), transform 1.1s var(--soft-ease); }
  .js .hero__side { transition-delay: 0.95s; }
.is-loaded .hero .ln > span, .is-loaded .hero__side { opacity: 1; transform: none; }

/* ---------------- Intro ---------------- */
.intro { position: relative; display: grid; background: var(--white); }
.intro__panel { position: relative; height: 62vh; background: var(--cream); overflow: hidden; }
.intro__frag { position: absolute; width: 150%; left: -38%; top: 14%; will-change: transform; }
.intro__frag .mark { width: 100%; height: auto; }
.intro__frag .mark .near { fill: var(--ink); } .intro__frag .mark .far { fill: var(--blue); }
.intro__body { padding: 12vh var(--gutter) 14vh; }
.intro__text { font-size: clamp(1.4rem, 2.3vw, 2.4rem); line-height: 1.45; max-width: 24ch; }
.intro__media { display: grid; gap: 14px; margin-top: 10vh; }
.intro__media figure { position: relative; z-index: 2; background: var(--ink); overflow: hidden; }
.intro__media img { width: 100%; }
.intro__media .is-photo { background: var(--cream); }
.intro__media .is-photo img { transform-origin: 50% 50%; will-change: transform; }
.svc__img { background: var(--cream); }
@media (min-width: 900px) {
  .intro { grid-template-columns: 1fr 1fr; }
  .intro__panel { position: sticky; top: 0; height: 100vh; }
  .intro__body { padding: 20vh 0 18vh clamp(56px, 7vw, 110px); }
  .intro__text { position: sticky; top: 16vh; padding-right: var(--gutter); }
  .intro__media { margin-top: 55vh; }
}

/* Text that fills in as you read: each word starts pale and darkens */
.fw { color: var(--dim, #d6d2ca); }
.no-motion .fw { color: inherit; }

/* ---------------- Tabs (shared) ---------------- */
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; isolation: isolate; }
.tabs [role="tab"] {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 10px 20px;
  font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tab-off, rgba(255, 255, 255, 0.55)); transition: color 0.4s var(--soft-ease);
}
.tabs [role="tab"]:first-child { padding-left: 14px; }
.tabs [role="tab"] + [role="tab"]::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--tab-line, rgba(255, 255, 255, 0.25)); }
.tabs [role="tab"]:hover { color: var(--tab-hover, var(--white)); }
.tabs [role="tab"][aria-selected="true"] { color: var(--white); }
.tabs__hl { position: absolute; z-index: 0; left: 0; top: 50%; height: 30px; margin-top: -15px; width: 80px; border-radius: 999px; background: var(--blue); transition: transform 0.65s var(--ease), width 0.65s var(--ease); }
.tabs--light { --tab-off: #77736d; --tab-line: rgba(18, 17, 16, 0.2); --tab-hover: var(--ink); }
.tabpanel { margin-top: clamp(28px, 4vh, 44px); }
.tabpanel.is-on { animation: panelIn 0.8s var(--soft-ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------- About (dark) ---------------- */
.about { position: relative; background: var(--ink-2); color: var(--white); overflow: hidden; }
.about__grid { display: grid; min-height: 100vh; }
.about__text { padding: 16vh var(--gutter) 10vh; align-self: center; }
.about__lead { font-size: clamp(1.3rem, 2.1vw, 2.2rem); line-height: 1.45; max-width: 34ch; }
.about__intro { font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: rgba(255, 255, 255, 0.75); max-width: 44ch; margin-bottom: 28px; }
.about__list { display: grid; gap: 22px; max-width: 54ch; }
.about__list dt { font-family: var(--f-display); font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1; text-transform: uppercase; }
.about__list dd { margin-top: 6px; color: rgba(255, 255, 255, 0.7); }
.about__art { position: relative; height: 70vh; overflow: hidden; }
.wall { position: absolute; inset: 0; -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.wall__track { animation: wall 26s linear infinite; }
.wall__track span { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(9rem, 22vw, 22rem); line-height: 0.82; color: #2f2c2a; white-space: nowrap; }
@keyframes wall { to { transform: translateY(-50%); } }
.about__mark { position: absolute; left: 50%; top: 50%; width: 58%; height: auto; transform: translate(-50%, -50%); }
.about__mark .near { fill: var(--white); }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: 7fr 5fr; }
  .about__art { height: auto; min-height: 100vh; }
}

/* ---------------- Fill transition ---------------- */
.fill { display: none; position: relative; background: var(--white); }
.has-motion .fill { display: block; height: 120vh; }
/* on wide screens the travelling dot does the swelling, so this is just a short breath of space */
.journey .fill { height: 60vh; }
.journey .fill__stage { display: none; }
.journey .about__grid { min-height: 115vh; }
.journey .about__mark .drop-src { opacity: 0; }
.journey .about.is-handed .about__mark .drop-src { opacity: 1; }
.journey .who__dot { opacity: 0; }
/* where the travelling dot settles further down, the resident dot waits invisibly until it arrives */
.journey .tile__dot, .journey .frame__svg .drop-src, .journey .ftr__mark .drop-src { opacity: 0; }
.journey .frame__svg .drop-src { animation: none; transform: none; }
.journey .mosaic.is-handed .tile__dot, .journey .frame.is-handed .frame__svg .drop-src, .journey .ftr.is-handed .ftr__mark .drop-src { opacity: 1; }
.journey .who.is-handed .who__dot { opacity: 1; }
.journey .who__dot--a { transition: opacity 0.5s var(--soft-ease); }
/* the cards wait until the bubble has become the dot behind them, then glide in around it */
.journey .who .wcard { opacity: 0; translate: 0 60px; transition: opacity 0.22s linear, translate 0.4s var(--ease); transition-delay: 0s; }
.journey .who.is-handed .wcard { opacity: 1; translate: 0 0; transition: opacity 0.8s var(--soft-ease), translate 1.1s var(--ease); }
.journey .who.is-handed .wcard:nth-child(2) { transition-delay: 0.08s; }
.journey .who.is-handed .wcard:nth-child(3) { transition-delay: 0.16s; }
.journey .who.is-handed .wcard:nth-child(4) { transition-delay: 0.24s; }
.journey .who.is-handed .wcard:nth-child(5) { transition-delay: 0.32s; }
.fill__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.fill__dot { position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; border-radius: 50%; background: var(--blue); transform: scale(0); will-change: transform; }

/* ---------------- Who we're for: centre-focus carousel ---------------- */
.who { position: relative; background: var(--white); padding: 12vh 0; }
.who__h { font-size: clamp(2rem, 3.4vw, 3.6rem); text-align: center; padding: 0 var(--gutter); max-width: 22ch; margin: 0 auto 6vh; }
.who__stage { position: relative; }
.who__track { display: flex; gap: 22px; overflow-x: auto; padding: 0 var(--gutter) 10px; scroll-snap-type: x mandatory; }
.wcard {
  flex: none; width: min(78vw, 300px); aspect-ratio: 4 / 5; padding: 26px; scroll-snap-align: center;
  display: flex; flex-direction: column; justify-content: space-between; transform-origin: 50% 50%;
}
.wcard .glyph { width: 40%; }
.wcard p { font-size: 0.98rem; line-height: 1.5; }
.c-ink { background: var(--ink); color: var(--white); }
.c-soft { background: var(--soft); color: var(--ink); }
.c-blue { background: var(--blue); color: var(--white); }
.c-cream { background: var(--cream); color: var(--ink); }
.c-sky { background: var(--sky); color: var(--ink); }
.glyph svg { width: 100%; height: auto; fill: currentColor; }
.who__dot { display: none; }
/* pinned centre-focus carousel on every screen size */
.has-motion .who { height: 320vh; padding: 0; }
.has-motion .who__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.has-motion .who__stage { height: min(62vh, 520px); }
.has-motion .who__track { position: absolute; left: 0; top: 50%; overflow: visible; padding: 0; align-items: center; will-change: transform; }
.has-motion .wcard { width: clamp(220px, 21vw, 300px); }
.has-motion .who__dot { display: block; position: absolute; left: 50%; top: 50%; width: min(30vh, 300px); height: min(30vh, 300px); border-radius: 50%; background: var(--blue); will-change: transform; }
@media (max-width: 699px) {
  .has-motion .wcard { width: 62vw; padding: 20px; }
  .has-motion .who__dot { width: 34vw; height: 34vw; }
  .has-motion .who__stage { height: 58vh; }
}

/* ---------------- What we build ---------------- */
.svc { background: var(--cream); padding: clamp(80px, 14vh, 160px) var(--gutter); }
.svc__grid { display: grid; gap: 48px; align-items: center; max-width: 1400px; margin: 0 auto; }
.svc__img { position: relative; aspect-ratio: 1 / 1; background: var(--ink); overflow: hidden; }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.8s var(--soft-ease), transform 1.4s var(--soft-ease); }
.svc__img img.is-on { opacity: 1; transform: none; }
.svc__h { margin-bottom: 30px; }
.svc .tabpanel h3 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin-bottom: 14px; }
.svc .tabpanel p { font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.5; max-width: 34ch; }
@media (min-width: 900px) {
  .svc__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
}

/* ---------------- Statement (dark) with physics ---------------- */
.stmt { position: relative; background: var(--ink-2); color: var(--white); }
.stmt__pin { position: relative; display: grid; min-height: 100vh; }
.stmt__phys { width: 100%; height: 48vh; }
.stmt__h { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3.4rem, 7.8vw, 8.8rem); line-height: 0.86; padding: 14vh var(--gutter) 6vh; --dim: #4a4744; }
.has-motion .stmt { height: 210vh; }
.has-motion .stmt__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
@media (min-width: 900px) {
  .stmt__pin { grid-template-columns: 1fr 1fr; align-items: center; }
  .stmt__phys { height: 100vh; }
  .stmt__h { padding: 0 var(--gutter) 0 2vw; }
}

/* ---------------- Approach: commitments ---------------- */
.commit { background: var(--white); padding: clamp(90px, 15vh, 170px) var(--gutter); }
.commit__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 7vh, 80px); }
.commit__head h2 { max-width: 13ch; }
.commit__head p { max-width: 36ch; color: var(--muted); font-size: 1.1rem; align-self: end; }
.commit__list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: clamp(26px, 4vh, 44px) 0; border-top: 1px solid rgba(18, 17, 16, 0.14); }
.commit__list li:last-child { border-bottom: 1px solid rgba(18, 17, 16, 0.14); }
.commit__n { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; color: var(--blue); padding-top: 0.7em; }
.commit__list p { font-size: clamp(1.3rem, 2.5vw, 2.5rem); line-height: 1.35; max-width: 34ch; }
.commit__list strong { font-weight: 500; }
@media (min-width: 900px) {
  .commit__head { grid-template-columns: 1fr 1fr; }
  .commit__list li { grid-template-columns: 1fr 5fr; }
}

/* ---------------- Process: mosaic ---------------- */
.mosaic { position: relative; background: var(--white); padding: 8vh var(--gutter); }
.mosaic__grid { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1320px, 100%); margin: 0 auto; transform-origin: 50% 50%; will-change: transform; }
.tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--card { background: var(--cream); display: grid; place-items: center; padding: 6%; }
.tile--card h2 { position: relative; font-size: clamp(1.1rem, 2.8vw, 3.2rem); line-height: 0.95; color: var(--ink); max-width: 9ch; }
.tile__dot { position: absolute; right: -0.5em; top: 38%; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--blue); mix-blend-mode: multiply; }
.has-motion .mosaic { height: 300vh; padding: 0; }
.has-motion .mosaic__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; padding: 0 var(--gutter); }

/* ---------------- Steps in a dark frame ---------------- */
.frame { background: var(--white); padding: 4vh var(--gutter) 12vh; }
.frame__box { display: grid; gap: 40px; background: var(--ink-2); color: var(--white); padding: clamp(32px, 6vw, 96px); min-height: 80vh; align-items: center; }
.frame__mark { display: grid; place-items: center; }
.frame__svg { width: min(70%, 380px); height: auto; overflow: visible; }
.frame__svg .near { fill: var(--white); }
.frame__svg circle { transform-box: fill-box; transform-origin: center; animation: dotCycle 5.2s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes dotCycle { 0% { transform: scale(0); } 10% { transform: scale(1.12); } 15% { transform: scale(1); } 84% { transform: scale(1); } 94% { transform: scale(0); } 100% { transform: scale(0); } }
.fsteps { margin-top: 26px; }
.fsteps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fsteps span { grid-row: span 2; font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; color: var(--soft); padding-top: 0.5em; }
.fsteps h3 { font-size: clamp(1.7rem, 2.2vw, 2.2rem); }
.fsteps p { color: rgba(255, 255, 255, 0.7); max-width: 44ch; }
.js .fsteps li { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--soft-ease), transform 1s var(--soft-ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js .fsteps.is-in li { opacity: 1; transform: none; }
@media (min-width: 900px) { .frame__box { grid-template-columns: 1fr 1fr; } }

/* ---------------- Team ---------------- */
.team { background: var(--white); padding: clamp(80px, 14vh, 150px) var(--gutter) 0; }
.team__head { display: grid; gap: 22px; margin-bottom: clamp(36px, 6vh, 64px); }
.team__head p { max-width: 44ch; color: var(--muted); font-size: 1.1rem; align-self: end; }
.team__list { display: grid; gap: 28px; }
.person { display: grid; gap: 10px; align-content: start; }
.person__photo { aspect-ratio: 1 / 1; max-width: 300px; width: 100%; background: var(--cream); display: grid; place-items: center; margin-bottom: 10px; font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: #a29e97; }
.person h3 { font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
.person__role { font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }
.person p:last-child { color: var(--muted); max-width: 46ch; }
@media (min-width: 700px) { .team__list { grid-template-columns: 1fr 1fr; gap: 4vw; } }
@media (min-width: 1000px) {
  .team__head { grid-template-columns: 1fr 1fr; }
  .team__list { grid-template-columns: repeat(12, 1fr); }
  .person:first-child { grid-column: 1 / span 5; }
  .person:last-child { grid-column: 7 / span 5; margin-top: 8vh; }
}

/* ---------------- FAQ ---------------- */
.faq { background: var(--white); padding: clamp(80px, 14vh, 160px) var(--gutter); display: grid; gap: 40px; }
.faq__list details { border-top: 1px solid rgba(18, 17, 16, 0.14); }
.faq__list details:last-child { border-bottom: 1px solid rgba(18, 17, 16, 0.14); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary h3 { font-family: var(--f-body); font-weight: 500; text-transform: none; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.3; transition: color 0.4s var(--soft-ease); }
.faq__list summary::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background 0.4s var(--soft-ease), border-color 0.4s var(--soft-ease), transform 0.5s var(--soft-ease); }
.faq__list details[open] summary::after { background: var(--blue); border-color: var(--blue); transform: scale(1.35); }
.faq__list summary:hover h3 { color: var(--blue); }
.faq__list details p { padding: 0 48px 28px 0; color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
@media (min-width: 1000px) {
  .faq { grid-template-columns: 4fr 8fr; gap: 6vw; }
  .faq h2 { position: sticky; top: 120px; align-self: start; }
}

/* ---------------- Contact: step form ---------------- */
.contact { background: var(--cream); padding: clamp(80px, 14vh, 160px) var(--gutter); }
.contact__grid { display: grid; gap: 48px; max-width: 1400px; margin: 0 auto; }
.contact__side { display: grid; gap: 22px; align-content: start; }
.contact__side h2 { max-width: 13ch; }
.contact__side p { max-width: 40ch; font-size: 1.1rem; }
.contact__alt { color: var(--muted); }
.contact__alt a { color: var(--ink); border-bottom: 1px solid currentColor; }
.sf { background: var(--white); padding: clamp(28px, 4vw, 56px); display: grid; gap: 26px; align-content: start; min-height: 440px; }
.sf__top { display: flex; align-items: center; gap: 16px; }
.sf__count { font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; color: var(--blue); }
.sf__bar { flex: 1; height: 2px; background: #e2e0da; position: relative; overflow: hidden; }
.sf__bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0.25); transition: transform 0.7s var(--ease); }
.sf__step { display: grid; gap: 18px; }
.sf__q { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 0.95; }
.opt { color: #9a968f; font-size: 0.6em; }
.sf input, .sf textarea { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 10px 0 12px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); border-radius: 0; resize: vertical; transition: border-color 0.3s var(--soft-ease); }
.sf input:focus, .sf textarea:focus { outline: none; border-bottom-color: var(--blue); }
.sf textarea::placeholder { color: #a7a39c; }
.sf__nav { display: flex; align-items: center; gap: 16px; }
.sf__back { border: 0; background: none; cursor: pointer; font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0; margin-right: auto; }
.sf__back:hover { color: var(--ink); }
.sf__note { font-size: 0.88rem; color: var(--muted); }
.sf__note a { border-bottom: 1px solid currentColor; }
.sf__status { color: var(--blue); min-height: 1.4em; }
.js .sf__step { display: none; }
.js .sf__step.is-on { display: grid; animation: panelIn 0.7s var(--soft-ease) both; }
.sf__next, .sf__back { display: none; }
.js .sf__next, .js .sf__back { display: inline-flex; }
.js .sf__back[hidden], .js .sf__next[hidden], .js .sf__submit[hidden] { display: none; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }
}

/* ---------------- Footer ---------------- */
.ftr { background: #f4f3ef; }
.ftr__main { position: relative; display: grid; gap: 36px; padding: clamp(56px, 9vh, 100px) var(--gutter) clamp(40px, 6vh, 64px); align-items: end; }
.ftr__logo { --lh: clamp(54px, 8.4vw, 130px); display: flex; align-items: center; gap: calc(var(--lh) * 0.3); color: var(--ink); }
.ftr__logo .mark { height: var(--lh); width: auto; }
.ftr__logo .logo__word { display: none; }
.ftr__info { display: grid; gap: 10px; }
.ftr__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ftr__links a { transition: color 0.3s var(--soft-ease); }
.ftr__links a:hover { color: var(--blue); }
.ftr__links i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.ftr__links span { color: var(--muted); }
.sticker { justify-self: start; display: inline-block; transform: rotate(-8deg); }
.sticker span { display: inline-block; background: var(--blue); color: var(--white); font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3rem, 7vw, 7.4rem); line-height: 1; padding: 0.12em 0.4em 0.04em; transition: transform 0.6s var(--ease), background 0.4s var(--soft-ease); }
.sticker:hover span { transform: rotate(8deg) scale(1.04); background: var(--blue-dark); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px var(--gutter); background: var(--ink); color: #bdbab4; font-size: 0.9rem; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__legal a:hover { color: var(--white); }
@media (min-width: 1000px) {
  .ftr__main { grid-template-columns: 1fr auto; gap: 36px 4vw; }
  .ftr__logo { grid-column: 1; grid-row: 1; }
  .ftr__info { grid-column: 1; grid-row: 2; }
  .sticker { grid-column: 2; grid-row: 1 / span 2; }
  .ftr__logo .logo__word { display: block; }
  .sticker { justify-self: end; align-self: start; }
}

/* ---------------- Mobile sticky CTA ---------------- */
.mcta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 50; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transform: translateY(140%); transition: transform 0.6s var(--soft-ease); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 14px 30px -12px rgba(0, 0, 0, 0.45); }
.mcta.is-on { transform: none; }
@media (min-width: 1000px) { .mcta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .wall__track { animation: none; }
  .frame__svg circle { animation: none; transform: none; }
}

/* ================= Phone polish ================= */
/* text that fills in: words stay inline, so underlines and spacing run on unbroken */
[data-fill] .fw, [data-fill] .w { display: inline !important; }

@media (max-width: 760px) {
  /* the header: a solid sheet instead of live blur, which is costly while scrolling on phones */
  .hdr::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, 0.97); }
  .hdr.is-dark::before { background: rgba(28, 26, 25, 0.97); }

  /* tabs fit on one row */
  .tabs [role="tab"] { padding: 9px 11px; font-size: 10px; letter-spacing: 0.1em; }
  .tabs [role="tab"]:first-child { padding-left: 11px; }
  .tabs__hl { height: 28px; margin-top: -14px; }

  /* about: a little less air above the words */
  .about__text { padding: 12vh var(--gutter) 6vh; }
  .about__art { height: 58vh; }

  /* statement: dots up top, the line clear of the sticky button */
  .stmt__phys { height: 42vh; }
  .stmt__h { padding: 6vh var(--gutter) 14vh; }

  /* process mosaic: large enough to read; the edges run off the screen */
  .has-motion .mosaic { height: 230vh; }
  .has-motion .mosaic__pin { display: flex; justify-content: center; align-items: center; }   /* centres the oversized grid, overflowing evenly */
  .mosaic__grid { width: 175vw; max-width: none; flex: none; }
  .tile--card h2 { font-size: 1.35rem; }

  /* contact: the card hugs its content */
  .sf { min-height: 0; }

  /* footer: the full logo, sized to fit */
  .ftr__logo { --lh: 48px; }
  .ftr__logo .logo__word { display: block; }
}
@media (max-width: 420px) {
  .tabs [role="tab"] { padding: 9px 8px; letter-spacing: 0.06em; }
  .tabs [role="tab"]:first-child { padding-left: 10px; }
}
