/* ───────── Tokens ───────── */
:root {
  --bg: #030303;
  --bg-2: #151515;
  --text: #F5F4F2;
  --text-2: rgba(245, 244, 242, 0.68);
  --text-3: rgba(245, 244, 242, 0.52);
  --line: rgba(245, 244, 242, 0.12);
  --ember: #FE4D00;

  --sans: 'Open Sauce Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --fs-display: clamp(2.5rem, 5.2vw, 5.25rem);
  --fs-statement: clamp(1.875rem, 4.2vw, 4rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);
  --fs-service: clamp(1.75rem, 3.6vw, 3.25rem);
  --fs-lead: clamp(1.0625rem, 1.3vw, 1.25rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(104px, 13vw, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: #2A2A2A; color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 999; background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 99px; font-size: var(--fs-small); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.label { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; }

/* ───────── Liquid canvas ───────── */
.liquid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.liquid.no-webgl { background: radial-gradient(60% 70% at 70% 0%, #FE4D00 0%, rgba(254,77,0,.25) 45%, transparent 75%), var(--bg); }
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── Header ───────── */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.header.is-solid { background: rgba(3,3,3,.86); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.header__logo img { height: 17px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a { font-size: var(--fs-small); color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; gap: 10px; transition: color .25s ease; }
.nav a:hover { color: var(--text); }
.nav .status { color: var(--text); }

/* ───────── Hero ───────── */
.hero { position: relative; isolation: isolate; height: 100svh; min-height: 640px; padding: 10px; }
.hero__frame { position: relative; isolation: isolate; height: 100%; border-radius: 22px; overflow: hidden; background: #000; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 32%, rgba(0,0,0,0) 62%), linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%); }
.hero__in { padding-top: 140px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { font-size: var(--fs-display); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; max-width: 13.5em; margin-left: -0.04em; }
.hero h1 .serif { font-size: 1.1em; letter-spacing: -0.015em; }
.hero__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px 48px; align-items: end; margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); }
.hero__row p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.55; max-width: 30ch; }
.hero__row > p:first-child { max-width: 47ch; }
.hero__row .clients p { max-width: none; }
.hero__row strong { color: var(--text); font-weight: 500; }

.line { display: block; overflow: hidden; padding-bottom: .26em; margin-bottom: -.26em; }
.line > span { display: inline-block; transform: translateY(104%); transition: transform 1.2s var(--ease); }
.is-ready .line > span { transform: none; }
.is-ready .line:nth-child(2) > span { transition-delay: .09s; }
.is-ready .line:nth-child(3) > span { transition-delay: .18s; }
.is-ready .line:nth-child(4) > span { transition-delay: .27s; }
.fade { opacity: 0; transition: opacity 1.2s ease .6s; }
.is-ready .fade { opacity: 1; }

/* ───────── Statement ───────── */
.statement { padding-block: var(--section); }
.statement__text { font-size: var(--fs-statement); font-weight: 500; line-height: 1.08; letter-spacing: -0.04em; max-width: 19em; }
.statement__text .muted { color: var(--text-3); }
.statement__text .serif { font-size: 1.1em; }
.statement__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(48px, 6vw, 88px); }
.statement__foot p { grid-column: 2; max-width: 34rem; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.clients { display: flex; align-items: center; gap: 14px; }
.clients img { height: 40px; width: auto; }
.clients p { font-size: var(--fs-small); color: var(--text-2); line-height: 1.4; }
.clients strong { display: block; font-weight: 500; color: var(--text); font-size: 1rem; }

/* ───────── Section head ───────── */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
#t-services { max-width: 15em; }
.services > ul { margin-top: clamp(40px, 5vw, 72px); }
.head h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.head h2 .serif { font-size: 1.1em; }
.head .label { white-space: nowrap; }

/* ───────── Work ───────── */
.work { padding-block: var(--section); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 56px) clamp(14px, 1.6vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.shot { grid-column: span 6; }
.shot--7 { grid-column: span 7; } .shot--5 { grid-column: span 5; }
.shot--4 { grid-column: span 4; } .shot--12 { grid-column: span 12; }
.shot__media { overflow: hidden; border-radius: 6px; background: var(--bg-2); aspect-ratio: 1088 / 800; }
.shot--7 .shot__media, .shot--5 .shot__media { aspect-ratio: auto; height: clamp(260px, 34vw, 480px); }
.shot--12 .shot__media { aspect-ratio: 2.2 / 1; }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s ease; }
.shot:hover .shot__media img { transform: scale(1.03); }
.shot figcaption { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 12px; margin-top: 14px; font-size: var(--fs-small); align-items: baseline; }
.shot figcaption .n { color: var(--text-3); font-variant-numeric: tabular-nums; font-size: var(--fs-micro); }
.shot figcaption .t { color: var(--text-3); }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--fs-small); color: var(--text); border-bottom: 1px solid var(--line); transition: border-color .25s ease; }
.link:hover { border-color: var(--text); }

/* ───────── Projects (featured) ───────── */
.section__lead { max-width: 36rem; margin-top: 24px; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.projects { position: relative; margin-top: clamp(48px, 6vw, 80px); perspective: 1400px; }
/* stacked cards: each one sticks, the next tilts in from below and the ones behind shrink */
.project { position: sticky; top: calc(96px + var(--i) * 14px); }
.project__gap { height: 34vh; }
.project__gap--end { height: 18vh; }
.project__card {
  --tilt: 0deg; --lift: 0px; --scale: 1; --shade: 0;
  position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 3vw, 40px);
  height: clamp(440px, 64vh, 580px); padding: clamp(14px, 1.4vw, 20px);
  background: var(--c-bg, #0D0D0D); color: rgb(var(--c-fg, 245 244 242));
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9);
  transform-origin: 50% 0;
  transform: translate3d(0, var(--lift), 0) rotateX(var(--tilt)) scale(var(--scale));
  will-change: transform;
}
.project__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--shade); pointer-events: none; }
.project__info { display: flex; flex-direction: column; padding: clamp(14px, 2vw, 28px); min-width: 0; }
.project__media { overflow: hidden; border-radius: 18px; background: rgba(0,0,0,.2); height: 100%; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--c-fg) / .68); }
.project__meta span:first-child { font-variant-numeric: tabular-nums; }
.project__meta .dot { background: rgb(var(--c-fg)); }
.project__info h3 { margin-top: auto; font-size: clamp(1.875rem, 3vw, 2.875rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.project__desc { margin-top: 16px; max-width: 30rem; color: rgb(var(--c-fg) / .76); font-size: 1rem; line-height: 1.6; }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.project__tags li { padding: 4px 11px; border: 1px solid rgb(var(--c-fg) / .24); border-radius: 99px; font-size: var(--fs-micro); color: rgb(var(--c-fg) / .8); }
.gallery--more { grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.gallery--more .shot { grid-column: auto; }

/* ───────── FAQ ───────── */
.faq { padding-bottom: var(--section); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; }
.faq__intro h2 .serif { font-size: 1.1em; }
.faq__lead { margin-top: 22px; max-width: 26rem; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; font-size: clamp(1rem, 1.1vw, 1.125rem); font-weight: 500; letter-spacing: -0.02em; transition: color .2s ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--text); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ember); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.faq__item p { padding: 0 48px 24px 0; max-width: 40rem; color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* ───────── Services ───────── */
.services { padding-top: clamp(72px, 9vw, 128px); }
.svc { display: grid; grid-template-columns: 2.5rem 1fr 1fr; gap: 12px clamp(16px, 3vw, 48px); align-items: start; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); }
/* align cap-tops: title + number sit on the first text line of the description */
.svc__name { margin-top: calc(6.4px - 0.125em); }
.svc__n { margin-top: 1.6px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__n { font-size: var(--fs-micro); color: var(--text-3); font-variant-numeric: tabular-nums; }
.svc__name { position: relative; font-size: var(--fs-service); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em; }
.svc__name .a, .svc__name .b { display: block; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.svc__name .b { position: absolute; inset: 0; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; font-size: 1.12em; opacity: 0; transform: translateY(30%); color: var(--text); }
.svc:hover .svc__name .a { opacity: 0; transform: translateY(-30%); }
.svc:hover .svc__name .b { opacity: 1; transform: none; }
.svc__desc { color: var(--text-2); font-size: 1rem; line-height: 1.6; max-width: 34rem; }

.svc__desc p { margin: 0; }
.svc__tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.svc--minor .svc__name { font-size: calc(var(--fs-service) * .62); color: var(--text-2); }
.svc--minor .svc__desc { font-size: .9375rem; }

.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc__tags li { padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-micro); color: var(--text-2); }

/* ───────── Process ───────── */
.process {
  --bg: #F2F1EE; --text: #0E0E0E; --text-2: rgba(14,14,14,.72); --text-3: rgba(14,14,14,.56); --line: rgba(14,14,14,.14);
  background: var(--bg); color: var(--text); padding-block: var(--section);
}
.process .step.is-on .step__n { color: #B33600; }
/* timeline: a line that fills with scroll and lights each step as it passes */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); padding-top: 52px; }
.steps__track { position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(var(--p)); }
.steps__list { display: contents; }
.step { position: relative; }
.step__node { position: absolute; top: -52px; left: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .4s ease, box-shadow .4s ease; }
.step__node::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transition: background-color .4s ease, transform .4s var(--ease); }
.step.is-on .step__node { border-color: var(--ember); box-shadow: 0 0 0 6px rgba(254,77,0,.12); }
.step.is-on .step__node::after { background: var(--ember); transform: scale(1.15); }
.step__n { font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color .4s ease; }
.step.is-on .step__n { color: var(--ember); }
.step h3 { margin-top: 14px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--text-2); font-size: .9375rem; line-height: 1.6; max-width: 28ch; }

/* ───────── Founder ───────── */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: var(--section); }
.founder__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 42%); }
.founder__photo figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 1; font-size: var(--fs-small); color: var(--text-2); line-height: 1.4; }
.founder__photo figcaption strong { display: block; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; color: var(--text); margin-bottom: 4px; }
.founder__body h2 { margin-top: 18px; font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.founder__body h2 .serif { display: block; font-size: 1.1em; letter-spacing: -0.015em; }
.founder__text { margin-top: clamp(24px, 3vw, 36px); max-width: 38rem; }
.founder__text p { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.founder__text p + p { margin-top: 16px; }
.founder__text .strong { color: var(--text); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 12rem)); align-items: center; gap: 20px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.signature { justify-self: start; width: 100%; max-width: 11rem; color: var(--text); }
.signature svg { display: block; width: 100%; height: auto; overflow: visible; }
.signature path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.signature .g { stroke-width: 2.5; fill: currentColor; fill-opacity: 0; transition: fill-opacity .5s ease; }
.signature .g.filled { fill-opacity: 1; }
.signature.is-static path { stroke-dashoffset: 0; }
.signature.is-static .g { fill-opacity: 1; }
.stats dt { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.stats dd { margin-top: 10px; font-size: var(--fs-small); color: var(--text-3); }

/* ───────── Clients marquee ───────── */
.marquee { padding-top: clamp(64px, 8vw, 112px); text-align: center; overflow: hidden; }
.marquee__head .label { font-weight: 400; }
.marquee__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: left; }
.marquee__rows { display: grid; gap: clamp(6px, 1vw, 12px); margin-top: clamp(24px, 3vw, 36px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 62s; }
.marquee__rows:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.5; color: rgba(245,244,242,.32); transition: color .35s ease; cursor: default; }
.marquee__set li:hover { color: var(--text); }
.marquee__set li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-inline: clamp(20px, 2.6vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Voice ───────── */
.voice { padding-top: clamp(72px, 9vw, 128px); }
.voice__body { display: grid; grid-template-columns: 1fr 2fr; gap: 32px clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.voice__mark { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 12vw, 11rem); line-height: .7; color: var(--ember); }
.voice blockquote p { font-size: clamp(1.375rem, 2.3vw, 2.125rem); line-height: 1.32; letter-spacing: -0.025em; color: var(--text-3); }
.voice blockquote strong { font-weight: 400; color: var(--text); }
.voice blockquote .serif { color: var(--text); font-size: 1.12em; }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.voice figcaption .avatar { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; flex: none; }
.voice figcaption p { font-size: var(--fs-small); color: var(--text-3); line-height: 1.4; }
.voice figcaption strong { display: block; font-size: 1rem; font-weight: 500; color: var(--text); }

/* ───────── Contact ───────── */
.contact { position: relative; isolation: isolate; overflow: hidden; min-height: 92svh; display: flex; align-items: center; text-align: center; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 55% at 50% 50%, rgba(3,3,3,.62), rgba(3,3,3,.15) 70%, rgba(3,3,3,.4)); }
.contact .wrap { padding-block: 120px; }
.contact .label { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.contact h2 { font-size: clamp(2.75rem, 7vw, 7rem); font-weight: 500; line-height: .98; letter-spacing: -0.05em; margin-top: 24px; }
.contact h2 .serif { display: block; font-size: 1.1em; letter-spacing: -0.015em; }
.contact p { margin: 28px auto 0; max-width: 30rem; color: var(--text); opacity: .82; }
/* CTA button (port of Framer "Button Set [Aura] 2", Arrow variant):
   pill + round arrow glued together; on hover they split apart, the circle
   shrinks, the label rolls up to a copy of itself and the arrow flies out/in */
.cta-btn { --ease-b: cubic-bezier(.4, 0, .2, 1); --h: 52px; display: inline-flex; align-items: center; gap: 0; color: #101010; text-decoration: none; transition: gap .4s var(--ease-b); touch-action: manipulation; }
.cta-btn__pill { display: inline-flex; align-items: center; height: var(--h); padding: 0 26px; border-radius: 100px; background: var(--text); }
.cta-btn__text { display: block; height: 1.25em; overflow: hidden; font-size: 1rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.03em; white-space: nowrap; }
.cta-btn__text > span { display: block; transition: transform .4s var(--ease-b); }
.cta-btn__arrow { display: grid; place-items: center; flex: none; width: var(--h); height: var(--h); border-radius: 50%; background: var(--text); transition: width .4s var(--ease-b), height .4s var(--ease-b); }
.cta-btn__icon { position: relative; width: 20px; height: 20px; overflow: hidden; }
.cta-btn__icon svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .4s var(--ease-b); }
.cta-btn__icon svg + svg { transform: translate(-110%, 110%); }
.cta-btn:hover, .cta-btn:focus-visible { gap: 10px; }
.cta-btn:hover .cta-btn__text > span, .cta-btn:focus-visible .cta-btn__text > span { transform: translateY(-100%); }
.cta-btn:hover .cta-btn__arrow, .cta-btn:focus-visible .cta-btn__arrow { width: calc(var(--h) - 10px); height: calc(var(--h) - 10px); }
.cta-btn:hover .cta-btn__icon svg:first-child, .cta-btn:focus-visible .cta-btn__icon svg:first-child { transform: translate(110%, -110%); }
.cta-btn:hover .cta-btn__icon svg + svg, .cta-btn:focus-visible .cta-btn__icon svg + svg { transform: none; }
.cta-btn:active .cta-btn__pill { transform: scale(.98); }
.cta-btn--contact { margin-top: 36px; }
.cta-btn--hero { justify-self: end; --h: 48px; }

.footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; }
.footer__who { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.footer__who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer__role { margin-top: 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A8A; }
.footer__handle { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: 14px; color: #8A8A8A; transition: color .2s ease; }
.footer__handle:hover { color: var(--text); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px clamp(32px, 5vw, 72px); }
@media (max-width: 640px) { .footer__nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }
.footer__nav a { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; color: #8A8A8A; transition: color .2s ease; }
.footer__nav a:hover, .footer__nav a[aria-current] { color: var(--text); }
.footer__legal { margin-top: clamp(40px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; letter-spacing: .05em; line-height: 1.6; text-transform: uppercase; color: #8A8A8A; }
.footer__mark { display: block; width: 100%; height: auto; margin-top: clamp(24px, 3vw, 40px); }
.footer__mark text { font-family: var(--sans); font-weight: 500; letter-spacing: -0.04em; }
.footer__mark .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.12em; }
.footer__mark .reg { letter-spacing: 0; }

/* no orphan words */
h2, h3 { text-wrap: balance; }
p, li, summary, figcaption, dd { text-wrap: pretty; }

/* ───────── Journey (scroll-driven laptop) ───────── */
.journey {
  --stage: 0; --prog: 0; position: relative; padding-block: var(--section);
  --bg: #FFFFFF; --text: #0E0E0E; --text-2: rgba(14,14,14,.72); --text-3: rgba(14,14,14,.56); --line: rgba(14,14,14,.14);
  background: var(--bg); color: var(--text);
}
.journey .cta-btn { color: #F5F4F2; }
.voice + .journey { margin-top: var(--section); }  /* the testimonial has no bottom padding of its own */
/* the track gives the scroll room; the pin sticks once it is centred under the header */
.journey__track { position: relative; height: calc(var(--pin-h, 100vh) + 5 * 55vh); height: calc(var(--pin-h, 100svh) + 5 * 55svh); }
.journey__pin { position: sticky; top: var(--pin-top, 0px); }
.journey__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); align-items: center; }
.journey__text h2 { max-width: 17em; font-size: clamp(1.875rem, 2.9vw, 2.875rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.04em; }
.journey__text h2 .serif { font-size: 1.1em; }
.journey__lead { margin-top: 18px; max-width: 30rem; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }

/* timeline: each connector fills continuously with scroll */
.journey__steps { --gap: clamp(18px, 3.6vh, 40px); --node: 44px; margin-top: clamp(28px, 3.2vw, 40px); display: grid; gap: var(--gap); }
.jstep { --fill: 0; position: relative; z-index: 1; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 18px; align-items: start; }
.jstep:not(:last-child)::before, .jstep:not(:last-child)::after { content: ""; position: absolute; z-index: -1; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: calc(-1 * var(--gap)); width: 2px; border-radius: 2px; background: var(--line); }
.jstep:not(:last-child)::after { background: var(--ember); transform-origin: top; transform: scaleY(var(--fill)); }
.jstep__node { display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-size: 12px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--text-3); transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease, transform .4s var(--ease); }
.jstep__body { transition: opacity .4s var(--ease); opacity: .4; }
.jstep__body { padding-top: 11px; }
.jstep h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.jstep__icon { flex: none; width: 20px; height: 20px; color: var(--ember); }
.jstep p { margin-top: 6px; padding-left: 30px; max-width: 48ch; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
.jstep.is-done .jstep__body { opacity: .72; }
.jstep.is-done .jstep__node { border-color: rgba(254,77,0,.45); color: #B33600; background: #FFF4EE; }
.jstep.is-on .jstep__body { opacity: 1; }
.jstep.is-on .jstep__node { background: var(--ember); border-color: var(--ember); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px #FFF1EA, 0 0 0 7px rgba(254,77,0,.22), 0 10px 22px -8px rgba(254,77,0,.6); }
.journey__text .cta-btn { --h: 48px; margin-top: clamp(28px, 3.4vw, 44px); }

/* laptop */
.journey__visual { position: relative; }
.journey__visual::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 46%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(254,77,0,.14), rgba(255,159,33,.06) 55%, transparent); filter: blur(10px); pointer-events: none; }
.laptop { position: relative; z-index: 1; width: 92%; max-width: 580px; margin-inline: auto; }
.laptop__lid { padding: 2% 2% 2.6%; border-radius: 20px 20px 8px 8px; background: linear-gradient(180deg, #2b2b2b, #171717); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 50px 80px -40px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.12); }
.laptop__screen { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #F4EFE8; }
.laptop__base { position: relative; height: clamp(10px, 1.4vw, 16px); margin-inline: -7%; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #4a4a4a, #1c1c1c 70%); }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #121212; }

.browser { display: flex; flex-direction: column; height: 100%; container-type: inline-size; color: #1D1712; }
.browser__bar { display: flex; align-items: center; gap: 2cqw; height: 4.8cqw; padding-inline: 1.8cqw; background: #FBFBFA; border-bottom: 1px solid rgba(20,20,20,.07); }
.browser__dots { display: flex; gap: .9cqw; }
.browser__dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #DEDEDB; }
.browser__url { position: relative; display: flex; align-items: center; gap: .8cqw; width: auto; min-width: 22cqw; height: 3.2cqw; padding-inline: 1.4cqw 1.8cqw; border-radius: 99px; background: #F2F2F0; font-size: 1.45cqw; color: rgba(20,20,20,.62); }
.browser__lock { width: 0; height: 1cqw; border-radius: 99px; background: #3DBE5A; transition: width .4s var(--ease); }
.browser__domain { opacity: .55; transition: opacity .4s ease; }
.browser__view { position: relative; flex: 1; min-height: 0; overflow: hidden; }

/* screen layers crossfade: 0 chat · 1 wireframe · 2-4 the finished page */
.jl { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.journey[data-stage="0"] .jl--chat, .journey[data-stage="1"] .jl--wire, .journey.is-2 .jl--page { opacity: 1; }

.jl--chat { display: flex; flex-direction: column; justify-content: center; gap: 1.8cqw; padding: 4cqw 9cqw; }
.bubble { max-width: 62%; padding: 1.6cqw 2.2cqw; border-radius: 2.2cqw; font-size: 1.9cqw; line-height: 1.4; opacity: 0; translate: 0 1.5cqw; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.bubble--in { align-self: flex-start; background: #fff; border-bottom-left-radius: .6cqw; box-shadow: 0 .4cqw 1.6cqw rgba(29,23,18,.08); }
.bubble--out { align-self: flex-end; background: #FE4D00; color: #fff; border-bottom-right-radius: .6cqw; }
.journey.is-seen[data-stage="0"] .bubble { opacity: 1; translate: 0; }
.journey.is-seen[data-stage="0"] .bubble:nth-child(2) { transition-delay: .35s; }
.journey.is-seen[data-stage="0"] .bubble:nth-child(3) { transition-delay: .7s; }

.jl--wire { display: flex; flex-direction: column; padding: 0 13.5cqw; }
.wire__nav { display: flex; align-items: center; height: 10cqw; }
.wire__nav > i { height: 2.2cqw; }
.wire__links { display: flex; justify-content: center; gap: 2.6cqw; flex: 1; }
.wire__nav i, .wire__text i { display: block; height: 1.2cqw; width: 0; border-radius: 99px; background: #DCD4C9; transition: width .6s var(--ease); }
.wire__links i { width: 0; }
.wire__pill { width: 9.5cqw; height: 3.4cqw; border-radius: 99px; background: rgba(31,170,89,.45); opacity: 0; transition: opacity .5s ease .3s; }
.wire__hero { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; }
.wire__text { display: grid; gap: 1.5cqw; }
.wire__text .wire__h { height: 3.2cqw; background: #CFC6B9; }
.wire__btn { width: 0; height: 4cqw; margin-top: 1.2cqw; border-radius: 99px; background: rgba(31,170,89,.55); transition: width .6s var(--ease) .45s; }
.wire__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 3cqw; }
.wire__stats span { height: 4.4cqw; border-radius: 1cqw; border: .2cqw dashed #CFC6B9; opacity: 0; transition: opacity .5s ease .6s; }
.wire__img { justify-self: end; width: 86%; aspect-ratio: 1; border-radius: 50%; border: .25cqw dashed #CFC6B9; background: rgba(255,255,255,.4); opacity: 0; transform: scale(.94); transition: opacity .5s ease .2s, transform .7s var(--ease) .2s; }
.wire__band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-inline: -13.5cqw; padding: 2.6cqw 13.5cqw; background: rgba(255,255,255,.55); }
.wire__band span { height: 4cqw; border-radius: 1cqw; border: .2cqw dashed #CFC6B9; opacity: 0; transition: opacity .5s ease; }
.wire__band span:nth-child(1) { transition-delay: .55s; } .wire__band span:nth-child(2) { transition-delay: .65s; } .wire__band span:nth-child(3) { transition-delay: .75s; }
.journey[data-stage="1"] .wire__nav i, .journey[data-stage="1"] .wire__text i { width: var(--w); }
.journey[data-stage="1"] .wire__btn { width: 38%; }
.journey[data-stage="1"] .wire__pill, .journey[data-stage="1"] .wire__stats span, .journey[data-stage="1"] .wire__band span { opacity: 1; }
.journey[data-stage="1"] .wire__img { opacity: 1; transform: none; }
.wire__text i:nth-child(2) { transition-delay: .08s; } .wire__text i:nth-child(3) { transition-delay: .16s; } .wire__text i:nth-child(4) { transition-delay: .24s; }
.wire__links i:nth-child(1) { transition-delay: .1s; } .wire__links i:nth-child(2) { transition-delay: .15s; } .wire__links i:nth-child(3) { transition-delay: .2s; } .wire__links i:nth-child(4) { transition-delay: .25s; }

/* the finished page: a real project */
.jl--page { background: #0B2E24; transform: scale(1.015); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.journey.is-2 .jl--page { transform: none; }
.jl--page img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* stage 4: review pins · stage 5: live */
.pin, .live { position: absolute; z-index: 2; display: flex; align-items: center; border-radius: 99px; background: #fff; font-weight: 500; white-space: nowrap; opacity: 0; scale: .85; transition: opacity .35s var(--ease), scale .35s var(--ease); }
.pin { gap: 1cqw; padding: .8cqw 1.8cqw .8cqw .8cqw; box-shadow: 0 1cqw 3cqw rgba(29,23,18,.18); font-size: 1.6cqw; }
.pin span { display: grid; place-items: center; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #FE4D00; color: #fff; font-size: 1.4cqw; }
.pin--1 { left: 71%; top: 13%; }
.pin--2 { left: 31%; top: 44%; }
.pin--2 span { background: #1FAA59; }
.journey[data-stage="3"] .pin { opacity: 1; scale: 1; }
.journey[data-stage="3"] .pin--2 { transition-delay: .3s; }
.live { left: 50%; bottom: 4cqw; translate: -50% 0; gap: 1.2cqw; padding: 1.1cqw 2.2cqw 1.1cqw 1.1cqw; box-shadow: 0 1cqw 3cqw rgba(29,23,18,.22); font-size: 1.7cqw; }
.live svg { width: 3cqw; height: 3cqw; padding: .6cqw; border-radius: 50%; background: #1FAA59; color: #fff; }
.journey[data-stage="4"] .live { opacity: 1; scale: 1; }
.journey[data-stage="4"] .browser__lock { width: 1.1cqw; }
.journey[data-stage="4"] .browser__domain { opacity: 1; }

.journey__meter { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(20px, 2.4vw, 32px); }
.journey__meter p { font-size: var(--fs-small); color: var(--text-3); font-variant-numeric: tabular-nums; }
.journey__meter b { font-weight: 500; color: var(--ember); }
.journey__bar { width: 160px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.journey__bar span { display: block; height: 100%; width: calc(var(--prog) * 100%); background: var(--ember); }

@media (min-width: 901px) and (max-height: 820px) {
  .journey__lead { display: none; }
  .journey__steps { --gap: 12px; margin-top: 24px; }
  .jstep p { margin-top: 3px; }
}
@media (max-width: 900px) {
  .journey__track { height: calc(var(--pin-h, 100svh) + 5 * 60svh); }
  .journey__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .journey__text { order: -1; }
  .journey__lead, .journey__text .cta-btn { display: none; }
  .journey__text h2 { font-size: clamp(1.75rem, 7.4vw, 2.25rem); }
  .journey__steps { --gap: 8px; --node: 32px; margin-top: 18px; }
  .jstep { gap: 12px; }
  .jstep__node { font-size: 11px; }
  .jstep__body { padding-top: 6px; }
  .jstep h3 { gap: 8px; font-size: 1rem; }
  .jstep__icon { width: 18px; height: 18px; }
  .jstep p { padding-left: 26px; }
  .jstep p { display: none; }
  .jstep.is-on p { display: block; }
  .journey__meter { margin-top: 14px; gap: 8px; }
  .laptop__lid { border-radius: 12px 12px 6px 6px; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .journey__text h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
  .journey__steps { --node: 38px; --gap: clamp(10px, 2.2vh, 18px); margin-top: 20px; }
  .jstep__body { padding-top: 8px; }
  .jstep h3 { font-size: 1.0625rem; }
  .jstep p { margin-top: 2px; font-size: .9375rem; }
  .journey__text .cta-btn { margin-top: 20px; }
  .laptop { max-width: 520px; }
}
@media (max-width: 900px) and (max-height: 740px) {
  .journey__grid { gap: 12px; }
  .journey__text h2 { font-size: 1.5rem; }
  .journey__steps { --gap: 4px; --node: 28px; margin-top: 12px; }
  .jstep h3 { font-size: .9375rem; }
  .jstep p { font-size: .875rem; }
  .laptop { max-width: 300px; }
  .journey__meter { margin-top: 10px; }
  .journey__meter p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .journey *, .journey *::before, .journey *::after { transition: none !important; animation: none !important; }
}

/* ───────── Reveal ───────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 900px) {
  .project { top: calc(84px + var(--i) * 10px); }
  .project__card { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .project__info { padding-bottom: 0; }
  .project__media { order: -1; height: auto; min-height: 0; }
  .project__info h3 { margin-top: 14px; }
  .project__desc { font-size: .9375rem; }
  .gallery--more { grid-template-columns: 1fr 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; padding-top: 0; padding-left: 48px; }
  .steps__track { left: 11px; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
  .steps__fill { transform-origin: top; transform: scaleY(var(--p)); }
  .step__node { top: 0; left: -48px; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 460px; }
  .hero__row { grid-template-columns: 1fr 1fr; }
  .statement__foot,   .statement__foot p,   .svc { grid-template-columns: 2rem 1fr; }
  .svc__desc { grid-column: 2; }
  .voice__body { grid-template-columns: 1fr; }
  .voice__mark { line-height: .5; }
  .shot--7, .shot--5, .shot--4 { grid-column: span 6; }
  .shot--7 .shot__media, .shot--5 .shot__media { height: auto; aspect-ratio: 1088 / 800; }
}
@media (max-width: 640px) {
  .voice blockquote p { font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.015em; }
  .gallery--more { grid-template-columns: 1fr; }
  .faq__item p { padding-right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .signature { grid-column: 1 / -1; max-width: 9.5rem; margin-top: 4px; }
  .nav a:not(.status):not(.nav__cta) { display: none; }
  .hero { padding: 6px; }
  .hero__frame { border-radius: 16px; }
  .hero__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot, .shot--7, .shot--5, .shot--4, .shot--12 { grid-column: auto; }
  .shot--12 .shot__media { aspect-ratio: 1088 / 800; }
  .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact { text-align: left; }
  .contact p { margin-left: 0; }
  .cta-btn--hero { justify-self: start; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.35rem; }
  .nav .status { font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .project { position: static; margin-bottom: 32px; }
  .project__gap { display: none; }
  .project__card { transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .fade { opacity: 1; transform: none; }
  .line > span { transform: none; }
}

