/* ==========================================================================
   ForgeConvo — styles
   Grid: 1920 artboard → 120px side margins, 1680 content width.
   ========================================================================== */

@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/Roboto-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/Roboto-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #fafafa;
  --white: #ffffff;
  --ink: #000000;
  --sand: #e4e4de;
  --muted: rgba(0, 0, 0, .55);
  --line: rgba(0, 0, 0, .85);

  --gutter: clamp(20px, 6.25vw, 120px);
  --max: 1920px;
  --col-gap: clamp(20px, 3.5vw, 68px);

  /* type: two families, every size a multiple of 8px, stepped per breakpoint */
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-label: 16px;     /* labels, captions, nav, meta */
  --fs-body: 16px;      /* paragraphs */
  --fs-lead: 16px;      /* intro paragraphs, buttons, pull lines */
  --fs-h4: 16px;        /* FAQ questions */
  --fs-h3: 24px;        /* service, step, country titles */
  --fs-h2: 32px;        /* section headings */
  --fs-quote: 24px;     /* testimonial quotes */
  --fs-display: 48px;   /* case studies heading, work page */
  --fs-statement: 40px; /* about statement */
  --fs-hero: 40px;
  --fs-numeral: 72px;   /* process numbers */
  --fs-clock: 56px;

  --sp-section: clamp(80px, 8.4vw, 160px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: 1.1s;
}

@media (max-width: 379px) { :root { --fs-hero: 32px; } }
@media (min-width: 768px) {
  :root { --fs-h4: 24px; --fs-h2: 40px; --fs-display: 64px; --fs-statement: 56px; --fs-hero: 64px; --fs-numeral: 96px; --fs-clock: 72px; }
}
@media (min-width: 1100px) {
  :root { --fs-lead: 24px; --fs-h3: 32px; --fs-h2: 48px; --fs-quote: 32px; --fs-display: 80px; --fs-statement: 72px; --fs-hero: 56px; --fs-numeral: 120px; --fs-clock: 80px; }
}
@media (min-width: 1440px) {
  :root { --fs-h4: 32px; --fs-h2: 56px; --fs-quote: 40px; --fs-display: 96px; --fs-statement: 88px; --fs-hero: 64px; --fs-numeral: 160px; --fs-clock: 96px; }
}
@media (min-width: 1760px) { :root { --fs-display: 112px; --fs-statement: 104px; --fs-hero: 80px; } }
@media (min-width: 1920px) { :root { --fs-hero: 88px; } }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

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

/* ---------- Type primitives ---------- */
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.display { font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.body p + p { margin-top: 1.3em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-section); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--col-gap);
  align-items: start;
}
.split .h2 { max-width: 15.5em; }

/* ---------- Mask reveal (shared) ---------- */
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; transform: translate3d(0, 110%, 0); transition: transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.is-ready .mask > span { transform: none; }

/* split words — created by JS */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 32ms + var(--d, 0s)); }
.is-in .w > span, .is-in.w > span { transform: none; }

/* generic fade-up reveal */
[data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* image reveal: clip from bottom + settle scale */
[data-reveal="img"] .card__media,
[data-reveal="img"] .case__media { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: var(--d, 0s); }
[data-reveal="img"] img { transform: scale(1.18); transition: transform 1.8s var(--ease) var(--d, 0s), scale 1.2s var(--ease); }
[data-reveal="img"].is-in .card__media,
[data-reveal="img"].is-in .case__media { clip-path: inset(0 0 0 0); }
[data-reveal="img"].is-in img { transform: scale(1); }
[data-reveal="img"] .card__caption, [data-reveal="img"] .case__name, [data-reveal="img"] .case__desc { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0s) + .45s); }
[data-reveal="img"].is-in .card__caption, [data-reveal="img"].is-in .case__name, [data-reveal="img"].is-in .case__desc { opacity: 1; transform: none; }

/* underline link */
.link-line { position: relative; display: inline-flex; align-items: center; gap: .5em; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.3em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after, .link-line:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.arrow { display: inline-block; transition: transform .6s var(--ease); }
.link-line:hover .arrow { transform: translateX(.35em); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ink);
  transition: transform .7s var(--ease), color .4s var(--ease);
  pointer-events: none;
}
/* frosted bar fades in once the page scrolls, so the nav never sits on top of content */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 250, 250, .94);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  opacity: 0; transition: opacity .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-solid { pointer-events: auto; }
.nav.is-solid::before { opacity: 1; }
.nav.is-dark { color: var(--paper); }
.nav.is-dark::before { background: rgba(0, 0, 0, .92); border-bottom-color: rgba(255, 255, 255, .12); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; justify-content: space-between; align-items: center; padding-top: clamp(18px, 2.4vw, 44px); padding-bottom: 16px; transition: padding .5s var(--ease); }
.nav.is-solid .nav__inner { padding-top: clamp(14px, 1.2vw, 22px); padding-bottom: clamp(14px, 1.2vw, 22px); }
.nav a { pointer-events: auto; }
.nav__logo { display: block; width: clamp(118px, 9.4vw, 180px); line-height: 0; }
.nav__logo .mask { padding: 0; margin: 0; }
.logo-svg { display: block; width: 100%; height: auto; }
.nav__links { display: flex; gap: clamp(22px, 3.1vw, 58px); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .02em; }
.nav .mask { padding: 0; margin: 0; }
.nav__links a:nth-child(1) .mask > span { --d: .55s; }
.nav__links a:nth-child(2) .mask > span { --d: .62s; }
.nav__links a:nth-child(3) .mask > span { --d: .69s; }
.nav__logo .mask > span { --d: .5s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  cursor: crosshair;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}
.hero__trail { position: absolute; left: 0; right: 0; top: var(--trail-top, 80px); height: var(--trail-h, 50%); z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }

.trail-item {
  position: absolute; left: 0; top: 0;
  width: var(--w, 260px);
  aspect-ratio: 1 / 1;
  will-change: transform, opacity, clip-path;
  opacity: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.trail-item img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.hero__hint {
  position: absolute; left: 50%; top: calc(var(--trail-top, 80px) + var(--trail-h, 50%) / 2); z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  opacity: 0; transition: opacity 1s var(--ease) 1.4s;
  pointer-events: none; white-space: nowrap;
}
.is-ready .hero__hint { opacity: 1; }
.hero__hint.is-gone { opacity: 0 !important; transition-delay: 0s; transition-duration: .5s; }
.hero__hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2s var(--ease-in-out) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.4); opacity: .35; } }

.hero__content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  column-gap: var(--col-gap);
  align-items: end;
  padding-bottom: clamp(48px, 7vw, 132px);
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__intro { max-width: 830px; }
.hero__label .mask > span { --d: .3s; }
.hero__rule { display: block; width: min(384px, 100%); height: 1px; margin: clamp(14px, 1.6vw, 30px) 0 clamp(16px, 1.75vw, 34px); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .5s; }
.is-ready .hero__rule { transform: scaleX(1); }
.hero__lede { max-width: 41.5em; }
.hero__lede .w > span { transition-delay: calc(var(--i, 0) * 9ms + .6s); }
.hero__title { font-size: var(--fs-hero); font-weight: 500; line-height: .88; letter-spacing: -.02em; white-space: nowrap; justify-self: end; }
.hero__title .mask:nth-child(1) > span { --d: .15s; }
.hero__title .mask:nth-child(2) > span { --d: .26s; }

/* the hero text sits above the trail: a soft paper halo keeps it legible */
.hero__intro, .hero__title { text-shadow: 0 0 18px var(--paper), 0 0 2px var(--paper); }

/* ==========================================================================
   FEATURED
   ========================================================================== */
.featured__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: clamp(32px, 4.1vw, 78px);
}
.card { display: block; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 517 / 806; background: #e9e9e6; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media img { scale: 1.045; }
.card__caption { display: flex; justify-content: space-between; gap: 1em; margin-top: 18px; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .02em; }
.card__caption span:last-child { color: var(--muted); }

.more { display: flex; justify-content: flex-end; margin-top: clamp(40px, 3.8vw, 72px); }
.more__link { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .03em; padding-bottom: .35em; }
.more__link::before { content: ""; position: absolute; left: 0; right: 0; bottom: -.3em; height: 1px; background: currentColor; opacity: .3; }

/* ==========================================================================
   ABOUT (dark)
   ========================================================================== */
.about__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.about__label { grid-column: 1 / -1; color: rgba(250,250,250,.55); }
.about__statement { grid-column: 1 / -1; margin-top: clamp(24px, 2.4vw, 44px); font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: -.01em; max-width: 16em; }
/* words light up as the statement scrolls through the viewport */
.about__statement .sw { opacity: var(--o, .16); transition: opacity .25s linear; }
.about__lede { grid-column: 7 / -1; margin-top: clamp(40px, 4.4vw, 84px); color: rgba(250,250,250,.78); max-width: 38em; }
.about__lede p + p { margin-top: 1.2em; }

.about__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: start;
  margin-top: clamp(80px, 9vw, 170px); padding-top: clamp(40px, 4vw, 76px); border-top: 1px solid rgba(250,250,250,.2);
}
.about__claim { font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; max-width: 9em; }
/* "not" gets a white block that wipes in behind it */
.about__not { position: relative; display: inline-block; padding: 0 .12em; isolation: isolate; transition: color .6s var(--ease) .5s; }
.about__not::before { content: ""; position: absolute; inset: .06em 0 .02em; z-index: -1; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .45s; }
.about__claim.is-in .about__not { color: var(--ink); }
.about__claim.is-in .about__not::before { transform: scaleX(1); }
.about__detail { display: grid; gap: clamp(22px, 2vw, 36px); max-width: 38em; }
.about__muted { color: rgba(250,250,250,.62); }
.about__pull { position: relative; padding-left: clamp(18px, 1.6vw, 28px); border-left: 2px solid var(--paper); font-size: var(--fs-lead); line-height: 1.2; letter-spacing: -.01em; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: end; }
.services__title { margin-top: clamp(28px, 2.6vw, 50px); max-width: 15em; }
.services__intro { max-width: 26em; justify-self: end; color: rgba(0,0,0,.72); }
.services__count { color: var(--ink); font-weight: 500; margin-right: .4em; }

.services__list { margin-top: clamp(56px, 6vw, 112px); counter-reset: svc; }
.service { position: relative; }
.service[data-reveal] { transition: opacity var(--dur) var(--ease) var(--d, 0s), transform var(--dur) var(--ease) var(--d, 0s); }
/* rule above each row draws in from the left */
.service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .1s); z-index: 1; }
.service.is-in::before { transform: scaleX(1); }
.service:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }

.service__link {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4.5em minmax(0, 1.15fr) minmax(0, 1fr) 2.5em;
  column-gap: var(--col-gap); align-items: baseline;
  padding: clamp(26px, 2.6vw, 50px) 0;
  transition: color .5s var(--ease);
}
/* black panel wipes up behind the row, bleeding to the viewport edges */
.service__link::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .65s var(--ease);
}
.service__num { font-size: var(--fs-label); font-weight: 500; color: var(--muted); transition: color .5s var(--ease); }
.service__title { font-size: var(--fs-h3); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; transition: transform .7s var(--ease); }
.service__desc { max-width: 30em; color: rgba(0,0,0,.7); transition: color .5s var(--ease); }
.service__arrow { justify-self: end; font-size: var(--fs-h3); line-height: 1; transform: rotate(-45deg); transition: transform .7s var(--ease); }

@media (hover: hover) {
  .service__link:hover, .service__link:focus-visible { color: var(--paper); }
  .service__link:hover::before, .service__link:focus-visible::before { transform: scaleY(1); transform-origin: top; }
  .service__link:hover .service__num { color: rgba(250,250,250,.55); }
  .service__link:hover .service__desc { color: rgba(250,250,250,.75); }
  .service__link:hover .service__title { transform: translateX(.4em); }
  .service__link:hover .service__arrow { transform: rotate(0deg); }
  /* dim the rows you are not on */
  .services__list:hover .service__link:not(:hover) { color: rgba(0,0,0,.35); }
  .services__list:hover .service__link:not(:hover) .service__desc { color: rgba(0,0,0,.3); }
}
.service__link:focus-visible { outline: none; }

/* cursor-following image preview */
.service-preview { display: none; }
@media (hover: hover) and (pointer: fine) {
  .service-preview {
    display: block; position: fixed; left: 0; top: 0; z-index: 40;
    width: clamp(220px, 19vw, 360px); aspect-ratio: 4 / 3;
    pointer-events: none; overflow: hidden;
    clip-path: inset(50% 50% 50% 50%); opacity: 0;
    transition: clip-path .6s var(--ease), opacity .3s var(--ease);
    will-change: transform;
  }
  .service-preview.is-on { clip-path: inset(0 0 0 0); opacity: 1; }
  .service-preview__inner { position: absolute; inset: 0; }
  .service-preview__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .45s var(--ease), transform .9s var(--ease); }
  .service-preview__inner img.is-active { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.cases .display { margin-top: clamp(18px, 1.7vw, 32px); max-width: 15em; }
.cases__row { display: grid; gap: clamp(20px, 3vw, 58px); margin-top: clamp(40px, 3.4vw, 64px); }
.cases__row--a { grid-template-columns: 58fr 42fr; margin-top: clamp(48px, 3.4vw, 64px); }
.cases__row--b { grid-template-columns: 40fr 60fr; }
.case { display: block; }
.case__media { position: relative; overflow: hidden; height: clamp(240px, 26.7vw, 512px); background: #e9e9e6; }
.case__media img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; }
.case:hover .case__media img { scale: 1.04; }
.case__name { margin-top: clamp(18px, 1.75vw, 34px); font-size: var(--fs-label); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.case__desc { margin-top: 14px; max-width: 36em; color: rgba(0,0,0,.78); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: end; }
.process__title { margin-top: clamp(18px, 1.7vw, 32px); }
.process__intro { justify-self: end; color: rgba(0,0,0,.65); }
.process__count { color: var(--ink); font-weight: 500; margin-right: .4em; }

/* three columns hung off one line; the line fills with scroll and lights each step */
.process__track { --p: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(64px, 7vw, 132px); padding-top: 34px; }
.process__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(0,0,0,.18); }
.process__line span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p)); transform-origin: left; }
.pstep { position: relative; display: flex; flex-direction: column; }
.pstep__node { position: absolute; left: 0; top: -34px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--ink); background: var(--sand); transition: background-color .5s var(--ease), transform .6s var(--ease); }
.pstep__num {
  font-size: var(--fs-numeral); font-weight: 300; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,.35);
  transition: color .8s var(--ease), -webkit-text-stroke-color .8s var(--ease), transform 1s var(--ease);
  transform: translateY(12px);
}
.pstep__body { margin-top: clamp(28px, 2.6vw, 48px); opacity: .38; transition: opacity .8s var(--ease); }
.pstep__phase { font-size: var(--fs-label); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(0,0,0,.55); }
.pstep__title { margin-top: 12px; font-size: var(--fs-h3); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.pstep__text { margin-top: clamp(16px, 1.5vw, 26px); max-width: 26em; }
.pstep__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(20px, 1.8vw, 32px); }
.pstep__tags li { padding: .4em .95em; border: 1px solid rgba(0,0,0,.3); border-radius: 999px; font-size: var(--fs-label); }
.pstep.is-on .pstep__node { background: var(--ink); transform: scale(1.15); }
.pstep.is-on .pstep__num { color: var(--ink); -webkit-text-stroke-color: var(--ink); transform: none; }
.pstep.is-on .pstep__body { opacity: 1; }

/* ==========================================================================
   APPROACH
   ========================================================================== */
.approach__body { margin-top: clamp(28px, 2.6vw, 50px); max-width: 42em; }
.qa { padding-top: .6em; }
.qa__row { display: grid; grid-template-columns: 8em 1fr; gap: 1em; padding: .8em 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.qa__row:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.qa dt { font-weight: 700; }

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locations__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); align-items: start; }
.locations .h2 { max-width: 15.5em; }
.locations .body { margin-top: clamp(28px, 2.6vw, 50px); max-width: 38em; color: rgba(250,250,250,.78); }

.studio-clock { display: inline-grid; gap: 6px; margin-top: clamp(40px, 4.4vw, 84px); padding: clamp(20px, 1.8vw, 32px) clamp(24px, 2.2vw, 40px); border: 1px solid rgba(250,250,250,.22); border-radius: 22px; }
.studio-clock__label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .06em; color: rgba(250,250,250,.6); }
.studio-clock__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: live 2.2s var(--ease-in-out) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
.studio-clock__time { font-size: var(--fs-clock); font-weight: 400; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.studio-clock__time .colon { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.studio-clock__zone { font-size: var(--fs-label); color: rgba(250,250,250,.5); letter-spacing: .04em; }

.zones__head { display: flex; justify-content: space-between; gap: 1em; padding-bottom: 18px; color: rgba(250,250,250,.55); }
.zones__list { border-top: 1px solid rgba(250,250,250,.85); }
.zone {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto 4.2em 3.4em; align-items: baseline; column-gap: clamp(14px, 1.6vw, 28px);
  padding: clamp(18px, 1.7vw, 30px) 0; border-bottom: 1px solid rgba(250,250,250,.16);
}
.zone::before { content: ""; position: absolute; left: calc(-1 * var(--gutter) / 3); right: calc(-1 * var(--gutter) / 3); top: 0; bottom: 0; z-index: -1; background: rgba(250,250,250,.07); opacity: 0; transition: opacity .4s var(--ease); }
.zones__list { position: relative; isolation: isolate; }
.zone__name { font-size: var(--fs-h3); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; transition: transform .6s var(--ease); }
.zone__city, .zone__diff { font-size: var(--fs-label); color: rgba(250,250,250,.5); text-align: right; font-variant-numeric: tabular-nums; }
.zone__time { font-size: var(--fs-body); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .zone:hover::before { opacity: 1; }
  .zone:hover .zone__name { transform: translateX(.35em); }
  .zones__list:hover .zone:not(:hover) { opacity: .45; }
  .zone[data-reveal].is-in { transition: opacity .4s var(--ease), transform var(--dur) var(--ease); }
}

.cities { margin-top: clamp(40px, 4vw, 76px); }
.cities .label { color: rgba(250,250,250,.55); }
.cities__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cities__list li { padding: .55em 1.15em; border: 1px solid rgba(250,250,250,.3); border-radius: 999px; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.cities__list li:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ==========================================================================
   CLIENTS marquee
   ========================================================================== */
.clients { padding-top: var(--sp-section); overflow: hidden; }
.marquee { margin-top: clamp(28px, 2.6vw, 50px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: clamp(12px, 1.4vw, 24px); padding-right: clamp(12px, 1.4vw, 24px); }
.marquee__group li { width: clamp(180px, 15vw, 290px); aspect-ratio: 1024 / 445; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.marquee__group img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.marquee__group li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.testimonials__title { margin-top: clamp(18px, 1.7vw, 32px); }
.testimonials__controls { display: flex; align-items: center; gap: 12px; }
.testimonials__count { margin-right: clamp(8px, 1.4vw, 24px); font-size: var(--fs-label); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.testimonials__sep { margin: 0 .5em; color: var(--muted); }
.t-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; width: clamp(48px, 3.6vw, 64px); aspect-ratio: 1;
  border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: color .45s var(--ease);
}
.t-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .5s var(--ease); }
.t-btn:hover, .t-btn:focus-visible { color: var(--paper); }
.t-btn:hover::before, .t-btn:focus-visible::before { transform: scale(1); }
.t-btn svg { width: 42%; transition: translate .5s var(--ease); }
.t-btn[data-t-prev]:hover svg { translate: -3px 0; }
.t-btn[data-t-next]:hover svg { translate: 3px 0; }
.t-btn:active { scale: .94; }

.testimonials__stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--col-gap);
  margin-top: clamp(40px, 4.4vw, 84px); padding-top: clamp(40px, 4vw, 76px);
  border-top: 1px solid var(--ink);
}
.testimonials__mark { width: clamp(64px, 7vw, 128px); height: auto; margin-top: .4em; }
.testimonials__slides { display: grid; }
.t-slide { grid-area: 1 / 1; visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(36px, 4vw, 72px); }
.t-slide { transition: visibility 0s linear .6s; }
.t-slide.is-active { visibility: visible; transition-delay: 0s; }
.t-slide__quote { font-size: var(--fs-quote); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; max-width: 21em; }
.t-slide__quote.is-medium { font-size: min(var(--fs-quote), 32px); max-width: 24em; }
.t-slide__quote.is-long { font-size: 24px; line-height: 1.18; max-width: 30em; }
.t-slide__stars { display: inline-flex; gap: 2px; margin-right: .7em; vertical-align: -1px; color: var(--ink); }
.t-slide__stars svg { width: 12px; height: 12px; }
.t-slide__quote .w > span { transition-duration: .9s; transition-delay: calc(var(--i, 0) * 22ms); }
/* outgoing quote lifts away quickly */
.t-slide:not(.is-active) .w > span { transform: translate3d(0, -105%, 0); transition-duration: .5s; transition-delay: calc(var(--i, 0) * 8ms); }
.t-slide.is-pre .w > span { transform: translate3d(0, 105%, 0); transition: none; }
.t-slide__author { display: flex; align-items: center; gap: 18px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.t-slide.is-active .t-slide__author { opacity: 1; transform: none; transition-delay: .35s; }
.t-slide__avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 500; }
.t-slide__who { display: flex; flex-direction: column; gap: 4px; }
.t-slide__name { font-weight: 600; }
.t-slide__role { color: var(--muted); font-size: var(--fs-label); }

.testimonials__progress { position: relative; height: 1px; margin-top: clamp(40px, 4vw, 76px); background: rgba(0,0,0,.12); overflow: hidden; }
.testimonials__progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 0; }
.faq__list { margin-top: clamp(28px, 2.6vw, 50px); }
.faq__item { border-bottom: 1px solid rgba(0,0,0,.12); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1em;
  padding: clamp(18px, 1.6vw, 30px) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: var(--fs-h4); font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
}
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; transition: transform .6s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: clamp(20px, 1.8vw, 34px); max-width: 82em; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta__title { max-width: 18em; }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2em; margin-top: clamp(48px, 4.4vw, 84px); }
.cta__text { max-width: 23em; font-size: var(--fs-lead); font-weight: 700; line-height: 1.25; }
.cta__action { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }

/* pill button: white fill blooms from where the cursor enters */
.cta-btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: clamp(16px, 1.6vw, 28px);
  padding: clamp(10px, .8vw, 14px) clamp(10px, .8vw, 14px) clamp(10px, .8vw, 14px) clamp(24px, 2vw, 38px);
  border: 1px solid rgba(250,250,250,.45); border-radius: 999px;
  color: var(--paper); white-space: nowrap;
  font-size: var(--fs-lead); font-weight: 600; letter-spacing: -.01em;
  transition: border-color .5s var(--ease), color .5s var(--ease), translate .6s var(--ease);
}
.cta-btn__fill {
  position: absolute; z-index: -1; left: var(--x); top: var(--y);
  width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--paper);
  transform: translate(-50%, -50%) scale(0); transition: transform .75s var(--ease);
}
.cta-btn__label { transition: translate .6s var(--ease); }
.cta-btn__icon {
  position: relative; display: grid; place-items: center; overflow: hidden; flex: none;
  width: 2.3em; height: 2.3em; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), translate .6s var(--ease);
}
/* two arrows side by side; hover slides the second out and the first in */
.cta-btn__arrows { position: absolute; left: 0; top: 0; display: flex; width: 200%; height: 100%; translate: -50% 0; transition: translate .6s var(--ease); }
.cta-btn__arrows svg { width: 50%; height: 100%; flex: none; padding: .68em; }
.cta-btn:hover, .cta-btn:focus-visible { color: var(--ink); border-color: var(--paper); }
.cta-btn:hover .cta-btn__fill, .cta-btn:focus-visible .cta-btn__fill { transform: translate(-50%, -50%) scale(1); }
.cta-btn:hover .cta-btn__icon, .cta-btn:focus-visible .cta-btn__icon { background: var(--ink); color: var(--paper); }
.cta-btn:hover .cta-btn__arrows, .cta-btn:focus-visible .cta-btn__arrows { translate: 0 0; }
.cta-btn:active { scale: .97; }
.cta-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
@media (max-width: 760px) { .cta__action { align-items: flex-start; } }

/* ==========================================================================
   FOOTER / CONTACT
   ========================================================================== */
.footer { padding-top: var(--sp-section); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 27fr) minmax(0, 20fr) minmax(0, 33fr);
  grid-template-areas:
    "about head1 details"
    "about head2 form";
  column-gap: var(--col-gap);
  row-gap: clamp(56px, 7vw, 130px);
  align-items: start;
}
.footer__about { grid-area: about; align-self: end; max-width: 25em; padding-bottom: 5em; }
.footer__heading { grid-area: head1; font-size: var(--fs-h2); line-height: 1; }
.footer__heading--form { grid-area: head2; }
.footer__details { grid-area: details; display: flex; flex-direction: column; align-items: flex-start; gap: .7em; padding-top: .2em; }
.form { grid-area: form; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 2.4vw, 46px) clamp(20px, 2.2vw, 42px); }
.field { position: relative; display: block; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; font-weight: 400; margin-bottom: .4em; }
.field input, .field textarea {
  width: 100%; padding: .5em 0; background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.25); border-radius: 0; outline: none; resize: vertical; font-weight: 500;
}
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #c0392b; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.form__status { font-size: var(--fs-label); color: var(--muted); }
.form__send { background: none; border: 0; padding: 0; cursor: pointer; font-size: var(--fs-h3); font-weight: 500; }

.footer__mark { margin-top: clamp(80px, 9vw, 170px); }
.footer__mark .logo-svg { width: 100%; }
.footer__bar { display: flex; justify-content: space-between; gap: 1em; margin-top: clamp(28px, 3vw, 56px); padding-block: 24px 32px; border-top: 1px solid rgba(0,0,0,.12); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .02em; }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 90;
    width: 84px; height: 84px; margin: -42px 0 0 -42px;
    border-radius: 50%; background: #fff; mix-blend-mode: difference;
    pointer-events: none;
    transform: translate3d(-200px, -200px, 0) scale(.12);
    transition: scale .5s var(--ease), opacity .3s;
    will-change: transform;
  }
  .cursor.is-hidden { opacity: 0; }
  .cursor__label { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #000; opacity: 0; transition: opacity .3s; }
  .cursor.is-view { mix-blend-mode: normal; background: var(--ink); }
  .cursor.is-view .cursor__label { opacity: 1; color: var(--paper); }
  .cursor.is-link { opacity: .9; }
}

/* ==========================================================================
   WORK PAGE
   ========================================================================== */
.work-hero { padding-top: clamp(140px, 14vw, 260px); padding-bottom: clamp(40px, 4vw, 80px); }
.work-hero .display { margin-top: clamp(18px, 1.7vw, 32px); }
.project { padding-block: clamp(56px, 6vw, 112px); border-top: 1px solid rgba(0,0,0,.12); scroll-margin-top: 80px; }
.project__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: end; margin-bottom: clamp(28px, 3vw, 56px); }
.project__head p { color: rgba(0,0,0,.75); max-width: 36em; }
.project__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 30px); }
.project__grid .pm { position: relative; overflow: hidden; background: #e9e9e6; }
.project__grid .pm img { width: 100%; height: 100%; object-fit: cover; }
.pm--wide { grid-column: span 6; aspect-ratio: 1500 / 1072; }
.pm--land { grid-column: span 6; aspect-ratio: 740 / 416; }
.pm--tall { grid-column: span 6; aspect-ratio: 740 / 987; }
.pm[data-reveal="img"] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out) var(--d, 0s), transform 1.8s var(--ease) var(--d, 0s); }
.pm[data-reveal="img"].is-in img { clip-path: inset(0); }
.misc-grid .pm { grid-column: span 4; aspect-ratio: 1000 / 853; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__content { grid-template-columns: 1fr; row-gap: 40px; }
  .hero__title { justify-self: start; order: -1; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-areas: "head1 details" "head2 form" "about about"; }
  .footer__about { padding-bottom: 0; }
}

@media (max-width: 760px) {
  :root { --sp-section: 72px; }
  .nav__links { gap: 18px; }
  .hero__content { padding-bottom: 36px; }
  .split, .project__head { grid-template-columns: 1fr; row-gap: 28px; }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__grid .card__media { aspect-ratio: 4 / 5; }
  .cases__row--a, .cases__row--b { grid-template-columns: 1fr; row-gap: 48px; }
  .case__media { height: auto; aspect-ratio: 16 / 10; }
  .process__head { grid-template-columns: 1fr; row-gap: 20px; }
  .process__intro { justify-self: start; }
  .process__track { grid-template-columns: 1fr; row-gap: 56px; padding-top: 0; padding-left: 34px; }
  .process__line { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line span { transform: scaleY(var(--p)); transform-origin: top; }
  .pstep__node { left: -34px; top: 10px; }
  .zone { grid-template-columns: minmax(0, 1fr) 4em 3.2em; }
  .zone__city { display: none; }
  .testimonials__head { flex-direction: column; align-items: flex-start; }
  .testimonials__stage { grid-template-columns: 1fr; }
  .testimonials__mark { width: 52px; margin: 0 0 24px; }
  .qa__row { grid-template-columns: 7em 1fr; }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; grid-template-areas: "head1" "details" "head2" "form" "about"; row-gap: 24px; }
  .footer__heading--form { margin-top: 40px; }
  .form { grid-template-columns: 1fr; }
  .footer__about { margin-top: 48px; }
  .project__grid .pm { grid-column: 1 / -1; }
  .misc-grid .pm { grid-column: span 6; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .mask > span, .w > span { transform: none !important; }
  [data-reveal], [data-reveal] * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

.work-hero .mask:nth-child(2) > span { --d: .12s; }

/* paragraphs use Regular; UI labels and headings keep Medium */
.label, .nav__links, .card__caption, .case__name, .more__link, .footer__bar, .field input, .field textarea { font-weight: 500; }
.pm--full { grid-column: 1 / -1; aspect-ratio: 2000 / 889; }
.pm--169 { grid-column: span 6; aspect-ratio: 16 / 9; }
.pm--port { grid-column: span 4; aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .pm--port { grid-column: span 6; } .pm--full { aspect-ratio: 16 / 9; } }

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form { position: relative; }
.form.is-sending .form__send { opacity: .4; pointer-events: none; }
.form__status.is-success { color: var(--ink); }
.form__status.is-error { color: #c0392b; }

@media (max-width: 1100px) {
  .service__link { grid-template-columns: 3.5em minmax(0, 1fr) 2em; row-gap: 14px; }
  .service__desc { grid-column: 2 / 3; grid-row: 2; }
  .service__arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 760px) {
  .services__head { grid-template-columns: 1fr; row-gap: 24px; }
  .services__intro { justify-self: start; }
  .service__link { grid-template-columns: 2.6em minmax(0, 1fr) 1.4em; column-gap: 12px; padding: 24px 0; }
}

@media (max-width: 1100px) {
  .locations__grid { grid-template-columns: 1fr; row-gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .pstep__body { opacity: 1; }
  .pstep__num { color: var(--ink); -webkit-text-stroke-color: var(--ink); transform: none; }
}

@media (max-width: 1100px) { .about__lede { grid-column: 4 / -1; } }
@media (max-width: 760px) {
  .about__lede { grid-column: 1 / -1; }
  .about__bottom { grid-template-columns: 1fr; row-gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .about__statement .sw { opacity: 1 !important; } }

/* ---------- Featured: Forge Destinations card + scroll-driven logofolio ----------
   On desktop the section pins to the viewport and the page's vertical scroll
   moves the logo row sideways (JS sets the section height and --x). */
.featured__grid { grid-template-columns: minmax(0, 1fr); }
.logo-reel { min-width: 0; margin-inline: calc(-1 * var(--gutter)); display: flex; flex-direction: column; } /* bleeds to both screen edges */
/* full-width row; a touch shorter than the old card so the pinned section breathes */
.logo-reel__viewport { flex: none; height: clamp(280px, calc(100svh - 360px), 520px); overflow: hidden; }
.logo-reel__track { display: flex; width: max-content; height: 100%; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.logo-reel__group { display: flex; gap: var(--col-gap); padding-inline: var(--gutter); height: 100%; }
.logo-reel__group li { height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e9e6; }
.logo-reel__group img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.logo-reel__group li:hover img { scale: 1.05; }
.logo-reel__caption { margin-inline: var(--gutter); }
.logo-reel__caption { position: relative; }
.logo-reel__progress { position: absolute; left: 0; right: 0; top: -9px; height: 1px; background: rgba(0,0,0,.12); }
.logo-reel__progress > span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--rp, 0)); transform-origin: left; }

.featured.is-pinned { padding-block: 0; }
.featured.is-pinned .featured__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.featured.is-pinned .featured__grid { margin-top: clamp(24px, 3vh, 48px); }
.featured.is-pinned .more { margin-top: clamp(20px, 3vh, 40px); }

/* phones / reduced motion: no pinning, swipe the row instead */
.featured:not(.is-pinned) .logo-reel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured:not(.is-pinned) .logo-reel__viewport::-webkit-scrollbar { display: none; }
.featured:not(.is-pinned) .logo-reel__group li { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
@media (max-width: 760px) {
  .featured__grid { grid-template-columns: 1fr; }
  .logo-reel { margin-top: 24px; }
  .logo-reel__progress { display: none; }
  .logo-reel__viewport { flex: none; height: 340px; contain: none; }
}

/* ---------- Families: IBM Plex Mono for headings and UI, Roboto for paragraphs ---------- */
h1, h2, h3, h4, blockquote, button, .nav, .label, .h2, .h3, .display,
.hero__title, .hero__hint, .card__caption, .more__link,
.about__statement, .about__claim, .about__pull,
.services__count, .process__count, .service__num, .service__title, .service__arrow,
.case__name, .pstep__num, .pstep__phase, .pstep__title, .pstep__tags,
.qa dt, .studio-clock, .zones__head, .zone__name, .zone__city, .zone__diff, .zone__time, .cities__list,
.testimonials__count, .t-slide__name, .t-slide__avatar, .faq__q, .cta-btn, .form__send, .field__label,
.footer__heading, .footer__details, .footer__bar, .cursor__label, .marquee { font-family: var(--font-mono); }
.hero__lede, .body, .about__lede, .about__muted, .service__desc, .case__desc, .pstep__text,
.approach__body, .qa dd, .faq__a, .cta__text, .footer__about, .services__intro, .process__intro, .t-slide__role,
.field input, .field textarea, .form__status, .project__head p { font-family: var(--font-body); }
.services__count, .process__count { font-family: var(--font-mono); }
@media (max-width: 479px) { .hero__title { letter-spacing: -.04em; } }

/* ==========================================================================
   APP MODE: phones and tablets get a native-feeling shell with a tab bar
   ========================================================================== */
.tabbar { display: none; }

@media (max-width: 1099px) {
  :root { --tabbar-h: 64px; --tabbar-gap: 12px; --tabbar-space: calc(var(--tabbar-h) + var(--tabbar-gap) * 2 + env(safe-area-inset-bottom)); }

  html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
  body { padding-bottom: var(--tabbar-space); overscroll-behavior-x: none; }
  a, button { touch-action: manipulation; }

  /* the top bar keeps only the logo; navigation lives in the tab bar */
  .nav__links { display: none; }
  .nav__inner { padding-top: max(18px, env(safe-area-inset-top)); }
  .nav.is-solid .nav__inner { padding-top: max(14px, env(safe-area-inset-top)); }

  .tabbar {
    position: fixed; z-index: 60;
    left: max(var(--tabbar-gap), env(safe-area-inset-left));
    right: max(var(--tabbar-gap), env(safe-area-inset-right));
    bottom: calc(var(--tabbar-gap) + env(safe-area-inset-bottom));
    height: var(--tabbar-h); padding: 8px;
    display: flex; align-items: stretch; justify-content: space-between; gap: 4px;
    background: rgba(10, 10, 10, .9); color: var(--paper);
    -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .45);
    font-family: var(--font-mono); font-weight: 500; font-size: 16px; letter-spacing: .01em;
    transform: translateY(calc(100% + 40px));
    transition: transform .8s var(--ease) .4s, background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
    user-select: none; -webkit-user-select: none;
  }
  body:not(.is-loading) .tabbar { transform: none; }
  /* over dark sections the bar flips to light so it never disappears */
  .tabbar.is-light { background: rgba(250, 250, 250, .92); color: var(--ink); border-color: rgba(0, 0, 0, .08); }

  .tabbar__item {
    flex: 1 1 0; min-width: 48px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; color: inherit; opacity: .62;
    transition: flex-grow .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), opacity .3s var(--ease), transform .2s var(--ease);
  }
  .tabbar__item svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease), opacity .3s var(--ease); }
  .tabbar__item:active { transform: scale(.92); }
  .tabbar__item.is-active { flex-grow: 2.4; opacity: 1; background: var(--paper); color: var(--ink); }
  .tabbar.is-light .tabbar__item.is-active { background: var(--ink); color: var(--paper); }
  .tabbar__item.is-active .tabbar__label { max-width: 120px; opacity: 1; }

  /* the pinned work reel stops above the tab bar */
  .featured.is-pinned .featured__pin { height: calc(100svh - var(--tabbar-space)); }
  /* the opening screen ends where the tab bar begins */
  .hero { min-height: calc(100svh - var(--tabbar-space)); }
}

/* tablets: a centred bar with every label showing */
@media (min-width: 640px) and (max-width: 1099px) {
  .tabbar { left: 50%; right: auto; width: min(640px, calc(100% - 48px)); margin-left: calc(min(640px, calc(100% - 48px)) / -2); }
  .tabbar__label { max-width: 120px; opacity: 1; }
  .tabbar__item.is-active { flex-grow: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  .tabbar, .tabbar__item, .tabbar__label { transition: none; }
}

/* ==========================================================================
   FLOATING "LET'S TALK" BUTTON
   ========================================================================== */
.talk-btn {
  --talk-orange: #ff6b1a;
  position: fixed; z-index: 55;
  right: max(24px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 32px 0 24px; border-radius: 999px;
  background: #111; color: #fff;
  font-family: var(--font-body); font-weight: 500; font-size: 16px; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.talk-btn.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.talk-btn__dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--talk-orange); animation: talk-blink 1.4s ease-in-out infinite; }
/* soft ring that pulses out from the dot */
.talk-btn__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--talk-orange); opacity: 0;
  animation: talk-ring 1.4s ease-out infinite;
}
@keyframes talk-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes talk-ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
@media (hover: hover) {
  .talk-btn:hover { background: #000; box-shadow: 0 20px 48px -12px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .14); }
  .talk-btn.is-visible:hover { transform: translateY(-2px); }
}
.talk-btn:active { transform: scale(.96); }
/* over dark sections the button turns white so it keeps standing out */
.talk-btn.is-on-dark { background: #fff; color: #000; }
.talk-btn:focus-visible { outline: 2px solid var(--talk-orange); outline-offset: 4px; }

/* phones and tablets: sits on the right, just above the tab bar */
@media (max-width: 1099px) {
  .talk-btn { right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--tabbar-space) + 8px); height: 48px; padding: 0 24px 0 16px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .talk-btn__dot, .talk-btn__dot::after { animation: none; }
}
