/* Qi Studio homepage
   Palette is the client's (non-negotiable). Type per the Figma note:
   Cormorant Garamond headlines, Adamina body, Inter for small UI labels. */

:root {
  --wine: #62303c;
  --wine-2: #532632;
  --wine-deep: #3a1b23;
  --wine-soft: rgba(98, 48, 60, .26);   /* unread words before the scroll highlight */
  --cream: #fff7ee;
  --cream-2: #f6ece2;
  --peach: #f8d3a6;
  --peach-2: #efc08e;
  --lilac: #9e82bf;
  --lilac-2: #b9a2d2;
  --ochre: #c98a2e;
  --ink-on-peach: #5b1042;

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Adamina", Georgia, serif;
  --f-ui: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 6px, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, blockquote { margin: 0; }
strong { font-weight: 400; color: var(--wine); }
em { font-style: italic; }
::selection { background: var(--peach); color: var(--wine); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--cream); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.label {
  font-family: var(--f-ui); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); opacity: .85; margin-bottom: 18px;
}
.label--light { color: var(--cream); opacity: .7; }

/* Qi mark: the logo's alpha as a mask, so one file paints cream or wine */
.qi-mark {
  display: block; aspect-ratio: 548 / 436; background: currentColor;
  -webkit-mask: url(../assets/brand/qi-mark.png) center / contain no-repeat;
          mask: url(../assets/brand/qi-mark.png) center / contain no-repeat;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-ui); font-weight: 500; font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; padding: 14px 24px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--peach { background: var(--peach); color: var(--ink-on-peach); }
.btn--peach:hover { background: var(--cream); box-shadow: 0 8px 30px -10px rgba(248, 211, 166, .8); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-deep); box-shadow: 0 14px 30px -14px rgba(58, 27, 35, .8); }

.link-underline {
  font-family: var(--f-ui); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-underline--light { color: var(--cream); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  color: var(--cream);
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.nav[data-theme="light"] {
  color: var(--wine);
  background: rgba(255, 247, 238, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(98, 48, 60, .08);
}
.nav.is-hidden { transform: translateY(-110%); }
/* over the hero the burst runs up under the links; a soft shade keeps them readable */
.nav[data-theme="dark"] { background: linear-gradient(180deg, rgba(46, 20, 27, .72), rgba(46, 20, 27, 0)); }
.nav__logo { width: 76px; color: inherit; flex: none; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 44px); margin-left: auto; }
.nav__links a {
  font-family: var(--f-ui); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 20px; font-size: 13px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--wine-deep); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-size: clamp(38px, 10vw, 60px); line-height: 1.15; text-decoration: none; }
.menu .btn { align-self: flex-start; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--wine-deep); color: var(--cream); }
.hero__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background: linear-gradient(180deg, #5f2c38 0%, #4d232d 48%, #3a1b23 100%);
  isolation: isolate;
}
/* soft moving light so the burgundy never reads as a flat fill */
.hero__glow { position: absolute; inset: -20%; z-index: -1; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero__glow i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hero__glow i:nth-child(1) { width: 46vw; height: 46vw; left: 8%; top: 6%; background: radial-gradient(circle, rgba(158, 130, 191, .55), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.hero__glow i:nth-child(2) { width: 40vw; height: 40vw; right: 6%; bottom: 4%; background: radial-gradient(circle, rgba(201, 138, 46, .40), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.hero__glow i:nth-child(3) { width: 30vw; height: 30vw; left: 42%; top: 38%; background: radial-gradient(circle, rgba(248, 211, 166, .28), transparent 65%); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -10vh) scale(.9); } }
.hero__pin::after { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

.hero__collage { position: absolute; inset: 0; z-index: 1; perspective: 1200px; }
.tile {
  position: absolute; left: 50%; top: 50%; margin: 0; overflow: hidden; border-radius: 4px;
  background: #2c141a; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  will-change: transform, opacity; opacity: 0;
}
.tile { opacity: 1; overflow: visible; background: none; box-shadow: none; }
.tile__in { width: 100%; height: 100%; overflow: hidden; border-radius: 4px; background: #2c141a; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--qi .tile__in { background: var(--wine); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); border-radius: 6px; }
.tile--qi .qi-mark { width: 62%; color: var(--cream); }

.hero__copy { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; }
/* one primary line, centred; the collage appears around it */
.hero__title {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 100px); line-height: 1.02; letter-spacing: -.01em;
  text-shadow: 0 2px 40px rgba(40, 14, 22, .55);
}
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line__in { display: inline-block; }
.hero__cue {
  position: absolute; z-index: 2; left: 0; right: 0; margin-inline: auto; width: max-content; bottom: clamp(22px, 5vh, 56px);
  display: flex; align-items: center; gap: 14px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7;
}
.hero__cue i { width: 60px; height: 1px; background: currentColor; transform-origin: left; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------------------------------------------------------------- second fold */
.statement {
  display: grid; place-items: center; min-height: 78vh; padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(140px, 24vh, 260px);
  background: linear-gradient(180deg, #3a1b23 0%, #472029 100%); color: var(--cream);
}
.statement__text { max-width: 24ch; text-align: center; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.3vw, 58px); line-height: 1.22; }
.js .statement [data-highlight] .w, .js .statement__text .w { color: rgba(255, 247, 238, .2); }

/* ---------------------------------------------------------------- qi effect */
/* the Qi Effect is a sheet that rides up over the bottom of the hero, rounded like a card */
.effect {
  position: relative; z-index: 2; padding: clamp(90px, 14vh, 170px) var(--gutter); overflow: hidden;
  margin-top: -9vh; border-radius: clamp(22px, 3vw, 44px) clamp(22px, 3vw, 44px) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(20, 6, 10, .6);
}
.effect__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(158, 130, 191, .75), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(248, 211, 166, .95), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(255, 238, 222, .9), transparent 70%),
    linear-gradient(120deg, #cdb8dc, #fbf1ea 55%, #fff7ee);
}
.stamp {
  --r: 11px;
  position: relative; width: min(1000px, 100%); margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 7vw, 110px);
  background: rgba(255, 250, 245, .86); text-align: center;
  -webkit-mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
          mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  filter: drop-shadow(0 30px 50px rgba(98, 48, 60, .12));
}
.postmark {
  position: absolute; width: clamp(110px, 13vw, 170px); top: clamp(14px, 3vw, 36px); right: clamp(10px, 4vw, 56px);
  color: rgba(98, 48, 60, .55); transform: rotate(-14deg); pointer-events: none; overflow: visible;
}
.effect__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 86px); line-height: 1.04; margin-bottom: clamp(26px, 3.5vw, 44px); }
.effect__title em { font-weight: 400; }
.effect__body { max-width: 760px; margin-inline: auto; text-align: left; font-size: clamp(17px, 1.2vw + 6px, 26px); line-height: 1.55; }
.effect__body p + p { margin-top: 1.1em; }

/* scroll highlight: every word starts light and darkens as it's read */
.js [data-highlight] .w { color: rgba(98, 48, 60, .3); transition: none; }
[data-highlight] .w { display: inline; }

/* ---------------------------------------------------------------- transformation */
.work { background: var(--wine); color: var(--cream); }
.work__pin { display: flex; align-items: stretch; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 34px); padding: clamp(76px, 11vh, 110px) 10px clamp(24px, 5vh, 50px); }
.work__head { text-align: center; }
.work__head .label { margin-bottom: 8px; }
.work__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5.4vw, 96px); line-height: 1; }
.ba {
  position: relative; width: min(100vw - 20px, calc((100svh - 190px) * 1.75)); margin-inline: auto; aspect-ratio: 1920 / 1097;
  border-radius: clamp(12px, 1.6vw, 26px); overflow: hidden; background: #1c0c11;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); touch-action: pan-y; cursor: ew-resize; user-select: none;
  --pos: 88%;
}
.ba__case { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); transform: scale(1.03); }
.ba__case.is-on { opacity: 1; transform: none; }
.ba__case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 0; pointer-events: none; }
.ba__handle i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--cream); box-shadow: 0 0 20px rgba(0, 0, 0, .35); }
.ba__handle span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--wine); font-family: var(--f-ui); font-size: 16px; letter-spacing: .12em;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5);
}
.ba__tag {
  position: absolute; top: 16px; z-index: 4; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(58, 27, 35, .7); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s;
}
.ba__tag--before { left: 16px; } .ba__tag--after { right: 16px; }
.work__foot { width: min(100vw - 20px, calc((100svh - 190px) * 1.75)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.work__client { font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 30px); display: flex; align-items: baseline; gap: 14px; min-width: 240px; }
.work__count { font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; opacity: .7; }
.work__dots { display: flex; gap: 10px; }
.work__dots button { width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 247, 238, .35); transition: width .5s var(--ease), background .4s; }
.work__dots button[aria-selected="true"] { width: 34px; background: var(--cream); }

.ba__hint {
  position: absolute; left: 50%; bottom: 16px; z-index: 5; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 999px; background: rgba(58, 27, 35, .78); color: var(--cream);
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .4s; pointer-events: none;
}
.ba.is-engaged .ba__hint { opacity: 0; }
.work__arrows { display: flex; gap: 10px; }
.work__arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 247, 238, .4); color: var(--cream); transition: background .3s, color .3s; }
.work__arrows button:hover { background: var(--cream); color: var(--wine); }

/* ---------------------------------------------------------------- path */
.path {
  position: relative; padding: clamp(100px, 14vh, 170px) 0 clamp(90px, 12vh, 150px);
  background: linear-gradient(180deg, #fff7ee 0%, #fbeee6 40%, #efe2ee 100%);
}
.path__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 96px); line-height: 1.04; max-width: 21ch; }
.path__stages { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 90px); margin-top: clamp(30px, 4.5vw, 65px); }
.path__line { position: absolute; left: 0; right: 0; top: clamp(90px, 10vw, 150px); width: 100%; height: 120px; color: var(--wine); opacity: .45; z-index: 0; pointer-events: none; }
.stage { position: relative; z-index: 1; }
.stage__art { position: relative; width: min(100%, 330px); aspect-ratio: 742 / 776; }
.stage__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.stage__loop { opacity: 0; }
.stage.is-live .stage__loop { opacity: 1; }
.stage.is-live .stage__still { opacity: 0; }
.stage__no { font-family: var(--f-ui); font-size: 12px; letter-spacing: .2em; margin-top: 26px; opacity: .6; }
.stage__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.3vw, 62px); line-height: 1.05; margin: 6px 0 10px; }
.stage__text { max-width: 30ch; }
/* hover extras: a warm glow for the idea, a typing line for the build, a pop for the bubble */
.stage__glow { position: absolute; left: 52.8%; top: 31%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 150, .9), rgba(255, 226, 150, 0) 65%); opacity: 0; transition: opacity .5s, transform .8s var(--ease); z-index: -1; pointer-events: none; }
.stage.is-live .stage__glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage__type { position: absolute; left: 6%; bottom: -8px; font-family: var(--f-ui); font-size: 13px; letter-spacing: .06em; color: var(--wine); white-space: nowrap; }
.stage__type::after { content: "▍"; margin-left: 1px; opacity: 0; }
.stage.is-live .stage__type::after { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 1; } }
.stage__pop { position: absolute; left: 21%; top: 47%; width: 0; height: 0; pointer-events: none; }
.stage__pop i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #f2c7b5; opacity: 0; }
.stage.is-pop .stage__pop i { animation: pop .8s var(--ease) forwards; }
.stage__pop i:nth-child(1) { --dx: -46px; --dy: -30px; } .stage__pop i:nth-child(2) { --dx: -54px; --dy: 12px; }
.stage__pop i:nth-child(3) { --dx: -20px; --dy: -52px; } .stage__pop i:nth-child(4) { --dx: -30px; --dy: 44px; }
.stage__pop i:nth-child(5) { --dx: 8px; --dy: -46px; } .stage__pop i:nth-child(6) { --dx: 4px; --dy: 40px; }
@keyframes pop { 0% { opacity: 1; transform: translate(0, 0) scale(1.4); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }

/* ---------------------------------------------------------------- founder */
.founder { overflow: clip; padding: clamp(40px, 8vh, 110px) var(--gutter) clamp(90px, 14vh, 170px); background: linear-gradient(160deg, #efe2ee 0%, #f3d9cb 55%, #cdb3d9 100%); }
.founder__card {
  position: relative; width: min(1180px, 100%); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fff7ee 0%, #fbeee6 50%, #d9c6e3 100%);
  box-shadow: 0 50px 90px -60px rgba(98, 48, 60, .55);
}
.founder__quote { padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.founder__quote p { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.1vw, 56px); line-height: 1.16; }
.founder__quote footer { font-family: var(--f-ui); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.founder__stack { position: relative; min-height: clamp(380px, 42vw, 620px); }
/* the deck sits a little inside its column so the cards underneath can stick out at the sides */
.founder__stack img, .founder__stack video {
  position: absolute; inset: 6% 9%; width: 82%; height: 88%; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(58, 27, 35, .55); transform-origin: 50% 60%; border: 6px solid #fff7ee;
}
.founder__stack img:last-child { object-position: 55% 50%; }
.founder__sq { position: absolute; z-index: 2; border-radius: 6px; }
.founder__sq--a { width: 46px; height: 46px; left: -22px; bottom: -22px; background: rgba(158, 130, 191, .85); }
.founder__sq--b { width: 22px; height: 22px; left: 36px; bottom: -40px; background: var(--peach-2); }

/* ---------------------------------------------------------------- clients */
.clients { padding: clamp(90px, 13vh, 150px) 0 clamp(70px, 10vh, 120px); background: var(--cream); overflow: hidden; }
.clients__head { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.clients__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 5.4vw, 100px); line-height: 1; }
.clients__sub { max-width: 44ch; margin: 18px auto 0; }
.stats { display: inline-flex; align-items: center; gap: clamp(22px, 4vw, 60px); margin-top: 38px; padding: 18px clamp(24px, 4vw, 48px); border-radius: 16px; background: var(--lilac); color: var(--cream); }
.stats p { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; column-gap: 4px; }
.stats__n { font-family: var(--f-display); font-size: clamp(40px, 4vw, 64px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stats__plus { font-family: var(--f-display); font-size: clamp(30px, 3vw, 46px); }
.stats__l { width: 100%; text-align: center; font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.stats i { width: 1px; align-self: stretch; background: rgba(255, 247, 238, .5); }
.belt { display: flex; width: max-content; border-block: 1px solid rgba(98, 48, 60, .1); background: #fff; }
.belt + .belt { border-top: 0; }
.belt__set { display: flex; }
.belt__cell { width: clamp(150px, 13vw, 210px); height: clamp(96px, 8vw, 124px); display: grid; place-items: center; border-right: 1px solid rgba(98, 48, 60, .12); }
.belt__cell img { max-width: 64%; max-height: 56%; object-fit: contain; transition: transform .5s var(--ease), filter .5s; filter: saturate(.9); }
.belt__cell:hover img { transform: scale(1.08); filter: none; }

/* ---------------------------------------------------------------- voices */
.voices { padding: clamp(100px, 14vh, 170px) 0; background: linear-gradient(180deg, #fff7ee 0%, #f7e7e3 45%, #e7d6e7 100%); }
.voices__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(52px, 6.6vw, 128px); line-height: .98; }
.voices__sub { margin-top: 14px; font-size: clamp(17px, 1.1vw + 6px, 22px); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); align-items: center; }
.quotes__media { position: relative; aspect-ratio: 23 / 20; border-radius: var(--radius); overflow: hidden; background: #e6d3d7; }
.quotes__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); transform: scale(1.08); }
.quotes__media img.is-on { clip-path: inset(0 0 0 0); transform: none; }
.quotes__text { position: relative; display: grid; align-content: center; }
.q { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .6s; }
.q.is-on { opacity: 1; pointer-events: auto; }
.q blockquote { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 34px); line-height: 1.32; }
.q .line { padding-bottom: .04em; }
.q .line__in { transform: translateY(105%); transition: transform .9s var(--ease); }
.q.is-on .line__in { transform: none; }
.q__who { font-family: var(--f-display); font-size: clamp(30px, 2.8vw, 48px); line-height: 1.05; }
.q__role { font-family: var(--f-ui); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.q__link { align-self: flex-start; }
.quotes__nav { grid-column: 1; display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: -8px; }
.quotes__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(98, 48, 60, .3); font-size: 18px; transition: background .3s, color .3s; }
.quotes__arrow:hover { background: var(--wine); color: var(--cream); }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(98, 48, 60, .3); transition: width .5s var(--ease), background .3s; }
.quotes__dots button[aria-selected="true"] { width: 28px; background: var(--wine); }

/* ---------------------------------------------------------------- start */
.start { padding: clamp(40px, 8vh, 90px) var(--gutter) clamp(90px, 14vh, 150px); background: linear-gradient(180deg, #e7d6e7 0%, #e9c8b8 100%); }
.start__card {
  position: relative; width: min(1180px, 100%); margin-inline: auto; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 60px);
  padding: clamp(36px, 5vw, 76px) clamp(28px, 5vw, 80px); border-radius: var(--radius);
  background: url(../assets/textures/paper.webp) center / cover, #f4efe6;
  box-shadow: 0 40px 80px -50px rgba(98, 48, 60, .55);
}
.start__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 4.8vw, 92px); line-height: 1; }
.start__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 380px; }
.start__clock { position: relative; width: clamp(84px, 8vw, 120px); aspect-ratio: 1; }
.start__clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.start__clock circle { fill: none; stroke-width: 6; }
.start__track { stroke: rgba(98, 48, 60, .12); }
.start__fill { stroke: var(--ochre); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 163.4; }
.start__clock span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.start__clock b { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: 0; display: block; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--wine); color: var(--cream); }
.foot__top {
  width: min(100% - 2 * var(--gutter), 1100px); margin-inline: auto; padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.foot__logo { width: clamp(92px, 7vw, 124px); color: var(--cream); }
.foot__line { font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; }
.foot__line span { opacity: .75; }
.foot__nav, .foot__connect { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 2.4vw, 34px); }
.foot__nav a, .foot__connect a { font-family: var(--f-ui); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.foot__nav a:hover, .foot__connect a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__connect a:first-child { color: var(--peach); text-transform: none; letter-spacing: .02em; font-size: 15px; }
.foot__base { text-align: center; font-family: var(--f-ui); font-size: 13px; letter-spacing: .06em; padding: 16px; background: linear-gradient(90deg, #b59ac9, #e7bda0); color: var(--wine); }


/* ---------------------------------------------------------------- phone layout (html.phone, set in js) */
.work__list { display: none; }
.phone .ba, .phone .work__dots, .phone .work__client { display: none; }
.phone .work__pin { min-height: 0; justify-content: flex-start; gap: 28px; padding-top: clamp(80px, 12vh, 110px); padding-bottom: 60px; }
.phone .work__list { display: grid; gap: 38px; width: min(100%, 760px); margin-inline: auto; }
.phone .work__foot { justify-content: center; }
.bam { margin: 0; }
.bam__wipe {
  --pos: 90%; position: relative; aspect-ratio: 1920 / 1097; border-radius: 12px; overflow: hidden;
  background: #1c0c11; touch-action: pan-y; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
}
.bam__wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bam__wipe .ba__handle span { width: 40px; height: 40px; font-size: 12px; }
.bam figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; font-family: var(--f-display); font-size: 22px; color: var(--cream); }
/* cheaper paint on phones: no animated blur, no full-screen blend layer, no filter on the masked card */
.phone .hero__glow { filter: blur(50px); }
.phone .hero__glow i { animation: none; }
.phone .hero__pin::after { display: none; }
.phone .tile { box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .7); }
.phone .stamp { filter: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
}
@media (max-width: 820px) {
  .nav { gap: 12px; padding: 10px var(--gutter); }
  .nav__logo { width: 58px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .path__stages { grid-template-columns: 1fr; gap: 64px; }
  .path__line { display: none; }
  .stage__art { width: min(78%, 320px); }
  .founder__card { grid-template-columns: 1fr; }
  .founder__stack { order: -1; min-height: 0; aspect-ratio: 4 / 4.2; margin: 18px 18px 0; }
  .quotes { grid-template-columns: 1fr; }
  .quotes__nav { grid-column: auto; }
  .start__card { grid-template-columns: 1fr; text-align: left; }
  .stats { gap: 18px; }
  .hero__title { font-size: clamp(34px, 9.6vw, 56px); }
  /* more room for copy on phones */
  .effect { padding-inline: 12px; }
  .stamp { padding: 104px 32px 60px; }
  .postmark { width: 78px; top: 14px; right: 14px; }
  .effect__title { margin-bottom: 26px; }
  .effect__body { font-size: 16.5px; line-height: 1.72; }
  .effect__body p + p { margin-top: 1.2em; }
  .quotes { gap: 28px; }
  .quotes__text { align-content: start; }
  .q { justify-content: flex-start; gap: 20px; }
  .q blockquote { font-size: 21px; line-height: 1.42; }
  .founder__quote { padding: 34px 26px 40px; gap: 26px; }
  .stage__text, .start__side p { line-height: 1.7; }
  .statement__text { font-size: clamp(26px, 7vw, 40px); max-width: 20ch; }
  /* phone footer: the logo sits level with the last line of copy */
  .foot__top { display: grid; grid-template-columns: auto 1fr; align-items: end; text-align: left; column-gap: 18px; row-gap: 20px; }
  .foot__logo { width: 84px; grid-row: 1; }
  .foot__line { grid-row: 1; font-size: 20px; }
  .foot__line span { display: block; }
  .foot__nav, .foot__connect { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .ba__handle span { width: 42px; height: 42px; font-size: 13px; }
  .work__foot { justify-content: center; text-align: center; }
  .work__client { justify-content: center; min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow i, .hero__cue i { animation: none; }
  .js [data-highlight] .w { color: inherit; }
}

/* ---------------------------------------------------------------- final copy (2026-09-25) */
.effect__pull { font-family: var(--f-display); font-size: 1.55em; line-height: 1.22; margin-top: 1.1em !important; padding-top: .9em; border-top: 1px solid rgba(98, 48, 60, .18); }
.founder__quotes { display: grid; }
.founder__quotes p {
  grid-area: 1 / 1; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.1vw, 56px); line-height: 1.16;
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none;
}
.founder__quotes p.is-on { opacity: 1; transform: none; pointer-events: auto; }
.start__card { grid-template-columns: 1.2fr 1fr; }
.start__title { font-size: clamp(34px, 3.6vw, 64px); line-height: 1.08; max-width: 21ch; text-wrap: balance; }
@media (max-width: 820px) {
  .start__card { grid-template-columns: 1fr; }
  .founder__quotes p { font-size: clamp(26px, 7vw, 36px); }
}

/* the postmark sits in the bottom corner now that the heading is a full sentence */
.postmark { top: auto; bottom: clamp(14px, 2.6vw, 34px); right: clamp(12px, 3vw, 44px); }
.effect__title { text-wrap: balance; }
@media (max-width: 820px) { .postmark { top: 14px; bottom: auto; } }

/* ---------------------------------------------------------------- round 7 (2026-10-01) */
/* hero: a ring of the work seen from inside; the headline sits above the band */
.hero__copy { place-items: start center; padding-top: clamp(104px, 15vh, 168px); }
.hero__title { font-size: clamp(38px, 5vw, 92px); }
.hero__collage { perspective: 400px; }
.ring { position: absolute; left: 50%; top: 61%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.card {
  position: absolute; margin: 0; overflow: hidden; border-radius: 10px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.card img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: opacity, transform; }
.card { transition: opacity .45s ease; }
.card.is-wait { opacity: 0; transition: none; }
@media (max-width: 820px) { .hero__copy { padding-top: clamp(96px, 14vh, 140px); } }

/* before/after: the boards are solid rectangles now (build_ba.py fills their baked corners), so the
   frame alone draws one clean curve. The outgoing case stays solid under the next one as it fades in. */
.ba, .bam__wipe { background: transparent; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.ba__case { transition: opacity .7s var(--ease) .7s, transform .9s var(--ease); }
.ba__case.is-on { z-index: 1; transition: opacity .7s var(--ease), transform .9s var(--ease); }

/* voices: the kicker sits above, the main line carries the size */
.voices__title { display: flex; flex-direction: column; }
.voices__kicker { font-size: .42em; line-height: 1.1; margin-bottom: .18em; font-style: italic; }
.voices__main { line-height: .98; }

/* client logos: a fixed box per logo, contained and centred, so tall marks can't spill out of the belt */
.belt__cell { position: relative; }
.belt__cell img { position: absolute; left: 18%; top: 22%; width: 64%; height: 56%; max-width: none; max-height: none; object-fit: contain; }

/* copy wraps evenly where the browser supports it; the script also joins the last two words */
p, blockquote, figcaption, .stage__text { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
/* phone footer: the email takes its own line, the two social links stay together */
@media (max-width: 820px) { .foot__connect a:first-child { flex-basis: 100%; } }

/* hero option B: the headline stays readable in the middle; the pictures pass around it */
.hero-b .hero__copy { place-items: center; padding-top: 0; }
.hero-b .hero__title { font-size: clamp(36px, 4.6vw, 86px); white-space: nowrap; }
.hero-b .line { overflow: visible; }
.hero-b .ch { display: inline-block; will-change: transform; }
.hero-b .tile__in { border-radius: 2px; box-shadow: none; }
@media (max-width: 600px) { .hero-b .hero__title { font-size: min(8.4vw, 40px); } }

/* Priyasha's film: a tall portrait card on top of the deck, centred; the photos stick out behind it */
.founder__stack .founder__film {
  left: 0; right: 0; margin-inline: auto; width: auto; height: 88%; aspect-ratio: 9 / 16;
  object-fit: cover; background: #2b1419;
}
.founder__stack { position: relative; }
.founder__sound {
  position: absolute; z-index: 30; left: 50%; bottom: 6%; transform: translate(-50%, 60%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
  background: rgba(58, 27, 35, .82); color: var(--cream); font-family: var(--f-ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease);
}
.founder__sound.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 50%); }
.founder__sound[aria-pressed="true"] { background: var(--wine); }


/* before/after: flat, no shadow halo around the board, no zoom while the cases swap */
.ba, .bam__wipe { box-shadow: none; }
.ba__case, .ba__case.is-on { transform: none; }

/* ---------------------------------------------------------------- round 8 (2026-10-05) */
/* hero option A: the corridor, built to the reference */
.hero__collage { perspective: none; }
.tunnel { position: absolute; left: 50%; top: 58.5%; width: 0; height: 0; }
.tunnel .card { transition: none; will-change: transform, opacity; border-radius: 8px; }
.tunnel .card.is-wait img { visibility: hidden; }
@media (max-width: 820px) { .hero__copy { padding-top: 21vh; padding-top: 21svh; } }
.tunnel__strip { position: absolute; z-index: 40; display: flex; gap: 3px; padding: 3px; border-radius: 6px; background: #1c0c11;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.tunnel__strip i { flex: 1; overflow: hidden; border-radius: 3px; background: #2b1419; }
.tunnel__strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* voices: one heading, tighter spacing all round */
.clients { padding-bottom: clamp(36px, 5vh, 60px); }
.voices { padding: clamp(50px, 7vh, 90px) 0 clamp(70px, 10vh, 120px); }
.voices__title { display: block; }
.voices__sub { margin-top: 10px; }
.quotes { margin-top: clamp(26px, 3.6vw, 52px); }
.quotes__text { transition: height .5s var(--ease); }
.q { justify-content: flex-start; }

/* before/after: one viewer on phones too, cycling on its own (no stack of five boards) */
.work__list { display: none !important; }
.phone .ba { display: block; }
.phone .work__dots, .phone .work__client { display: flex; }
.phone .work__pin { gap: 18px; padding-bottom: 44px; }

/* how we work: half the gaps, slightly smaller type */
.path { padding: clamp(70px, 10vh, 130px) 0 clamp(60px, 9vh, 120px); }
.path__title { font-size: clamp(36px, 4.2vw, 80px); }
.stage__no { margin-top: 14px; }
.stage__title { font-size: clamp(28px, 2.6vw, 48px); margin: 4px 0 8px; }
.stage__text { font-size: .94em; line-height: 1.55; }

/* founder: a neat carousel, the same tall frame for the film and the photos */
.founder__stack.fc { position: relative; min-height: clamp(460px, 46vw, 660px); touch-action: pan-y; user-select: none; }
.fc__slide {
  position: absolute; left: 50%; top: 3%; height: 82%; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  border: 6px solid #fff7ee; box-shadow: 0 24px 50px -24px rgba(58, 27, 35, .55); background: #2b1419; cursor: pointer;
}
.fc__slide.is-on { cursor: default; }
.fc__slide img, .fc__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.fc__nav { position: absolute; left: 50%; bottom: 1%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; z-index: 5; }
.fc__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(98, 48, 60, .3); color: var(--wine); background: rgba(255, 247, 238, .6); transition: background .3s, color .3s; }
.fc__arrow:hover { background: var(--wine); color: var(--cream); }
.fc__dots { display: flex; gap: 7px; }
.fc__dots button { width: 8px; height: 8px; border-radius: 8px; background: rgba(98, 48, 60, .3); transition: width .4s var(--ease), background .3s; }
.fc__dots button[aria-selected="true"] { width: 24px; background: var(--wine); }
.fc__slide .founder__sound { bottom: 12px; transform: translateX(-50%); }
.fc__slide.is-on .founder__sound { opacity: 1; pointer-events: auto; transform: translateX(-50%); }

@media (max-width: 820px) {
  .founder__stack.fc { order: -1; min-height: 0; aspect-ratio: auto; height: min(132vw, 600px); margin: 14px 0 0; }
  .path__stages { gap: 30px; }
  .path__title { font-size: clamp(30px, 8.4vw, 44px); }
  .stage__title { font-size: clamp(26px, 7vw, 34px); }
  .stage__text { line-height: 1.55; }
  .voices__title { font-size: clamp(40px, 11vw, 60px); }
  .quotes { gap: 18px; }
  .quotes__nav { margin-top: 4px; }
  /* phone: the small Inter labels about 30% smaller */
  .label { font-size: 10px; margin-bottom: 12px; }
  .btn { font-size: 11px; padding: 12px 18px; }
  .link-underline { font-size: 11px; }
  .stats__l { font-size: 9.5px; }
  .foot__nav a, .foot__connect a { font-size: 10.5px; }
  .foot__connect a:first-child { font-size: 12px; }
  .foot__base { font-size: 10.5px; padding: 12px; }
  .q__role { font-size: 10px; }
  .founder__quote footer { font-size: 10.5px; }
  .work__count { font-size: 10px; }
  .ba__hint { font-size: 9.5px; padding: 6px 10px; }
  .hero__cue { font-size: 10px; }
  .stage__no { font-size: 10px; }
  .founder__sound { font-size: 9.5px; }
  .work__arrows button { width: 36px; height: 36px; }
  /* phone footer: centred, the same as on laptops */
  .foot__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .foot__logo { width: 80px; }
  .foot__line { font-size: 19px; }
  .foot__line span { display: block; }
  .foot__nav, .foot__connect { justify-content: center; }
  .foot__connect a:first-child { flex-basis: 100%; }
}
.q { align-self: start; }
@media (min-width: 821px) { .fc__slide { height: 76%; top: 5%; } }

/* option A, to the reference: smaller headline in the upper fifth, the band level across the middle */
html:not(.hero-b) .hero__copy { padding-top: 18vh; padding-top: 18svh; }
html:not(.hero-b) .hero__title { font-size: clamp(30px, 3.6vw, 66px); line-height: 1.06; }
.tunnel .card { border-radius: 4px; }
.tunnel__strip { overflow: hidden; padding: 3px; border-radius: 4px; }
.tunnel__reel { display: flex; gap: 3px; height: 100%; width: max-content; }
.tunnel__reel i { flex: none; height: 100%; aspect-ratio: 1.25; overflow: hidden; border-radius: 2px; background: #2b1419; }
.tunnel__reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  html:not(.hero-b) .hero__copy { padding-top: 21vh; padding-top: 21svh; }
  html:not(.hero-b) .hero__title { font-size: clamp(28px, 7.8vw, 42px); }
}

/* option B, to the "Capture One" reference: a small, widely spaced uppercase line; pictures sit over it */
.hero-b .hero__copy { place-items: center; padding-top: 0; z-index: 1; }
.hero-b .hero__collage { z-index: 2; pointer-events: none; }
.hero-b .hero__title, .ticker { font-family: var(--f-ui); font-weight: 500; text-transform: uppercase; font-size: clamp(13px, 1.15vw, 20px); }
.hero-b .hero__title { flex-direction: row; gap: .9em; letter-spacing: .3em; white-space: nowrap; text-shadow: none; line-height: 1.4; }
.hero-b .line { overflow: visible; padding: 0; }
.hero-b .ch { display: inline-block; will-change: transform; }
.ticker { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; letter-spacing: .3em; }
.ch--ghost { position: absolute; left: 0; top: 0; white-space: pre; color: var(--cream); }
.hero-b .tile__in { border-radius: 0; box-shadow: none; background: none; }
@media (max-width: 600px) {
  .hero-b .hero__title { flex-direction: column; align-items: center; gap: .55em; font-size: 12px; letter-spacing: .24em; }
  .ticker { font-size: 12px; letter-spacing: .24em; }
}
.hero-b .tile { box-shadow: none; }

/* option B keeps Qi's type: the headline and its sliding repeats are in Cormorant, like the rest of the site */
.hero-b .hero__title, .ticker { font-family: var(--f-display); font-weight: 400; text-transform: none; font-size: clamp(30px, 3.6vw, 66px); }
.hero-b .hero__title { flex-direction: column; gap: 0; letter-spacing: -.005em; line-height: 1.06; }
.ticker { letter-spacing: 0; }
@media (max-width: 600px) {
  .hero-b .hero__title, .ticker { font-size: clamp(28px, 7.8vw, 42px); letter-spacing: 0; }
  .hero-b .hero__title { gap: 0; }
}

/* option A: the centre picture, the headline at eye level */
.tunnel .card--centre { z-index: 5; }   /* at the back: the stream passes in front of it */
.card--centre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--centre img + img { opacity: 0; }
html:not(.hero-b) .hero__copy { padding-top: 27vh; padding-top: 27svh; }
@media (max-width: 820px) { html:not(.hero-b) .hero__copy { padding-top: 31vh; padding-top: 31svh; } }

/* arrow buttons: the same quiet circle everywhere; no hover fill that sticks after a tap on phones */
.quotes__arrow, .fc__arrow, .work__arrows button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: transparent; }
.quotes__arrow svg, .fc__arrow svg, .work__arrows button svg { display: block; }
@media (hover: none) {
  .quotes__arrow:hover, .fc__arrow:hover { background: transparent; color: var(--wine); }
  .work__arrows button:hover { background: transparent; color: var(--cream); }
}
.quotes__dots button { width: 7px; height: 7px; }
.quotes__dots button[aria-selected="true"] { width: 22px; }
@media (max-width: 820px) {
  .quotes__arrow, .fc__arrow, .work__arrows button { width: 36px; height: 36px; }
  /* before/after: less empty wine above the label */
  .phone .work__pin { padding-top: 46px; }
}

/* founder carousel: the arrows and dots sit halfway between the bottom of the film and the bottom of the card */
.fc__nav { top: calc((3% + 82% + 100%) / 2); bottom: auto; transform: translate(-50%, -50%); }
@media (min-width: 821px) { .fc__nav { top: calc((5% + 76% + 100%) / 2); } }

/* the moving cards sit in front of the centre picture: a soft shadow carries the depth */
.tunnel .card:not(.card--centre) { box-shadow: 0 34px 70px -26px rgba(18, 5, 9, .75); }

/* ---------------------------------------------------------------- round 15 (2026-10-14) */
/* option A, the corridor exactly as the reference: a dark strip in the middle where each picture is
   born; the cards turn to face the middle as they travel out. No shadows, no centre picture. */
.tunnel .card, .tunnel .card:not(.card--centre) { box-shadow: none; border-radius: 14px; background: #2b1419; }
.tunnel__plate { position: absolute; left: 0; top: 0; z-index: 5; background: #1c0c11; }


/* ---------------------------------------------------------------- round 18 (2026-10-22) */
/* hero: the plate is sized by the script to the picture being born; nothing else of it ever shows */
.tunnel__plate { box-shadow: none; padding: 0; left: 0; top: 0; }

/* before/after: the arrows, dots, name and link hold their places whichever brand is showing */
.work__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); align-items: center; column-gap: 22px; row-gap: 14px; flex-wrap: nowrap; }
.work__client { grid-column: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.work__client .work__count { margin-right: 12px; }
.work__dots { grid-column: 2; justify-self: center; }
.work__arrows { grid-column: 3; justify-self: center; }
.work__foot .link-underline { grid-column: 4; justify-self: end; }
@media (max-width: 820px) {
  .work__foot, .phone .work__foot { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); justify-content: stretch; text-align: left; }
  .work__client, .phone .work__client { grid-column: 1 / -1; justify-self: start; text-align: left; width: auto; max-width: 100%; display: block; }
  .work__dots, .phone .work__dots { grid-column: 1; grid-row: 2; justify-self: start; }
  .work__arrows { grid-column: 2; grid-row: 2; }
  .work__foot .link-underline { grid-column: 3; grid-row: 2; justify-self: end; }
}
.work__foot .work__count { font-variant-numeric: tabular-nums; display: inline-block; min-width: 4.6em; }


/* ---------------------------------------------------------------- round 19 (2026-10-22) */
/* the brand's card-paper texture on every section, laid large so its pattern does not repeat in view */
.statement { background: url(../assets/textures/paper-fine.jpg) center / 768px auto, linear-gradient(180deg, #3a1b23 0%, #472029 100%); background-blend-mode: soft-light, normal; }
.work { background: var(--wine) url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; }
.path { background: url(../assets/textures/paper-fine.jpg) center / 768px auto, linear-gradient(180deg, #fff7ee 0%, #fbeee6 40%, #efe2ee 100%); background-blend-mode: soft-light, normal; }
.founder { background: url(../assets/textures/paper-fine.jpg) center / 768px auto, linear-gradient(160deg, #efe2ee 0%, #f3d9cb 55%, #cdb3d9 100%); background-blend-mode: soft-light, normal; }
.clients { background: var(--cream) url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; }
.voices { background: url(../assets/textures/paper-fine.jpg) center / 768px auto, linear-gradient(180deg, #fff7ee 0%, #f7e7e3 45%, #e7d6e7 100%); background-blend-mode: soft-light, normal; }
.start { background: url(../assets/textures/paper-fine.jpg) center / 768px auto, linear-gradient(180deg, #e7d6e7 0%, #e9c8b8 100%); background-blend-mode: soft-light, normal; }
.start__card { background: #f4efe6 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; }

/* footer: the Creative Direction page's (the client's pick), so both pages close the same way */
.foot { background: #4a222c url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; color: var(--cream); padding: clamp(60px, 10vh, 100px) var(--gutter) 28px; text-align: center; }
.foot .foot__top, .foot__top { display: grid; justify-items: center; text-align: center; gap: 22px; grid-template-columns: none; }
.foot__logo { width: auto; grid-row: auto; color: var(--cream); }
.foot__logo .qi-mark { width: 74px; }
.foot__line { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; max-width: 30ch; grid-row: auto; }
.foot__line span { display: block; font-style: italic; color: var(--peach); opacity: 1; }
.foot__nav, .foot__connect { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; grid-column: auto; }
.foot__nav a, .foot__connect a, .foot__connect a:first-child { font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; opacity: .85; color: var(--cream); flex-basis: auto; }
.foot__base { background: none; color: var(--cream); font-family: var(--f-ui); font-size: 11px; letter-spacing: .06em; opacity: .55; padding: 0; margin-top: 18px; }
@media (max-width: 820px) { .foot__line { font-size: 22px; } }

/* footer: the studio's positioning line (Rajvi, 2026-11-03) */
.foot__tag { font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(254, 237, 219, .72); text-align: center; line-height: 1.8; }
@media (max-width: 820px) { .foot__tag { font-size: 10px; letter-spacing: .22em; } }

/* six nav links now (Workshops added): keep each on one line, and hand over to the menu button sooner */
.nav__links a { white-space: nowrap; }
@media (max-width: 1240px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } .nav__burger { display: block; margin-left: 0; } }
@media (max-width: 820px) { .nav__burger { margin-left: auto; } }

/* r19: each phone case links to its own case study */
.bam__link { margin-left: auto; white-space: nowrap; }

/* r22: initials card for founders whose photo is still to come; same reveal as the photos */
.quotes__media .q-mono { position: absolute; inset: 0; display: grid; place-items: center; clip-path: inset(0 0 0 100%); transform: scale(1.08); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); }
.quotes__media .q-mono.is-on { clip-path: inset(0 0 0 0); transform: none; }
.q-mono span { font-family: var(--f-display); font-size: clamp(72px, 9vw, 150px); line-height: 1; letter-spacing: .02em; color: var(--wine); opacity: .85; }
/* r22 */
