/* Qi Studio, Creative Direction (v3).
   The homepage's type (Cormorant Garamond, Adamina, Inter) on burgundy paper whose hue shifts from
   section to section. The banner opens as a split page and becomes a band with a card as you scroll;
   the four levels of transformation are real files in a cabinet, each one brought to the front. */

:root {
  --accent: #7d5ea5;
  --wine: #62303c;
  --wine-deep: #3a141c;
  --cream: #fff7ee;
  --paper-cream: #f6ede1;
  --peach: #f8d3a6;
  --lilac: #9e82bf;
  --ochre: #c98a2e;
  --rust: #a5492a;
  --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;

  --g: clamp(18px, 4.4vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-nav: 50; --z-menu: 49;
}

*, *::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(15px, .45vw + 9.5px, 17px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-variant-numeric: lining-nums; }
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, h4, p, blockquote, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
p, blockquote, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
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); color: var(--wine); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.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; }

/* burgundy paper: the cream paper scan multiplied over each section's own hue */
.paper { background-color: var(--paper, #fbf2e7); background-image: url(../assets/textures/paper-fine.jpg); background-size: 640px auto; background-blend-mode: soft-light; color: var(--wine); }

.label { font-family: var(--f-ui); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-ui); font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 15px 26px; border-radius: 999px; white-space: nowrap; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.btn--peach { background: var(--peach); color: var(--ink-on-peach); }
.btn--line { border: 1px solid currentColor; padding: 11px 18px; font-size: 11.5px; }
.btn--glass { border: 1px solid rgba(255, 247, 238, .75); color: var(--cream); padding: 12px 20px; font-size: 11.5px; border-radius: 6px; }
@media (hover: hover) {
  .btn--peach:hover { background: var(--cream); }
  .btn--glass:hover { background: var(--cream); color: var(--wine-deep); }
  .btn--line:hover { background: currentColor; }
  .btn--line:hover { color: inherit; }
}

.arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(98, 48, 60, .35); color: var(--wine); transition: background .35s, color .35s; }
@media (hover: hover) { .arrow:hover { background: var(--wine); color: var(--cream); } }
.dots { display: flex; gap: 8px; align-items: center; }
.dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(98, 48, 60, .35); transition: width .5s var(--ease), background .4s; }
.dots button[aria-selected="true"] { width: 24px; background: var(--wine); }

/* ---------------------------------------------------------------- nav (the homepage's, unchanged) */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); display: flex; align-items: center; gap: 28px; padding: 14px var(--g); color: var(--wine);
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s; }
.nav.is-solid { 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%); }
.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, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 20px; font-size: 13px; letter-spacing: .09em; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; color: inherit; }
.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"] { color: var(--cream); }
.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: var(--z-menu); background: var(--wine-deep); color: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px var(--g) 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; color: var(--cream); }
.menu .btn { align-self: flex-start; }
@media (max-width: 1100px) { .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(--g); } .nav__logo { width: 58px; } .nav__cta { display: none; } .nav__burger { margin-left: auto; } }

/* ---------------------------------------------------------------- landing (the live page's, made to move) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding: clamp(110px, 16vh, 160px) 0 clamp(70px, 12vh, 120px); overflow: hidden; color: var(--wine);
  background: linear-gradient(135deg, #f9eedc 0%, #f7e7d3 46%, #f2dcd2 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url(../assets/textures/paper-fine.jpg) center / 640px auto; mix-blend-mode: soft-light; opacity: .7; pointer-events: none; }
.hero__inner { position: relative; padding: 0 var(--g); }
.hero__kicker { font-family: var(--f-ui); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: clamp(14px, 2.4vh, 26px); }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 7.4vw, 124px); line-height: 1.02; letter-spacing: -.012em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__in { display: block; will-change: transform; }
.pills { position: relative; display: grid; gap: clamp(10px, 1.6vh, 16px); margin-top: clamp(18px, 3.4vh, 34px); }
.pills__row { overflow: visible; }
.pills__track { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; will-change: transform; }
.pill { flex: none; font-family: var(--f-ui); font-size: clamp(14px, 1.18vw, 18px); line-height: 1.2; padding: .5em 1.3em; border-radius: 999px; white-space: nowrap; cursor: default;
  box-shadow: 0 0 0 rgba(74, 32, 42, 0); transition: box-shadow .4s var(--ease); will-change: transform; }
.pill--lilac { background: #a98bc4; color: #fff; }
.pill--peach { background: #ffc98d; color: #4a2b2b; }
.pill--ochre { background: #c88422; color: #fff; }
.pill.is-up { box-shadow: 0 14px 28px -12px rgba(74, 32, 42, .45); }
.hero__cue { position: absolute; left: var(--g); bottom: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(98, 48, 60, .7); }
.hero__cue i { width: 46px; height: 1px; background: currentColor; transform-origin: 0 50%; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 820px) { .hero { padding-top: 120px; } .hero__kicker { font-size: 12px; } .pill { font-size: 14px; } }

/* ---------------------------------------------------------------- founder */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: clamp(90px, 16vh, 170px) var(--g); }
.founder__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.founder__photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.founder__quote { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.1vw, 52px); line-height: 1.14; letter-spacing: -.005em; }
.founder__quote .w { color: rgba(98, 48, 60, .26); }
.no-motion .founder__quote .w { color: inherit; }
.founder__by { margin-top: clamp(26px, 4vh, 44px); }
.founder__name { font-family: var(--f-display); font-size: clamp(24px, 2vw, 32px); font-style: italic; }
.founder__role { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.founder__bio { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(22px, 3.4vh, 36px); color: rgba(98, 48, 60, .84); font-size: .94em; }
.founder__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: clamp(28px, 4.6vh, 48px); padding-top: 24px; border-top: 1px solid rgba(98, 48, 60, .2); }
.stat { display: flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-size: 26px; }
.stat b { font-weight: 400; font-size: clamp(40px, 3.4vw, 56px); line-height: 1; }
.stat small { font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(98, 48, 60, .7); margin-left: 6px; }
@media (max-width: 820px) {
  .founder { grid-template-columns: 1fr; padding-top: 80px; }
  .founder__photo { aspect-ratio: 4 / 4.4; }
  .founder__bio { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------------------------------------------------------------- where we come in: the deck
   Left: the question and an index of the six problems. Right: one deck. As you scroll, the top card
   turns over to show where we come in, then is dealt away and the next card moves up. */
.come__pin { --hgap: clamp(22px, 4vh, 40px); min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 110px);
  padding: clamp(90px, 13vh, 130px) var(--g) clamp(40px, 7vh, 80px); }
.come__head { display: grid; gap: var(--hgap); align-content: center; }
.come__title { font-family: var(--f-display); font-size: clamp(30px, 2.75vw, 50px); line-height: 1.08; max-width: 30ch; text-wrap: balance; }
.come__index { display: grid; border-top: 1px solid rgba(98, 48, 60, .16); max-width: 560px; }
.come__index li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(98, 48, 60, .16);
  font-family: var(--f-display); font-size: clamp(17px, 1.25vw, 21px); line-height: 1.25; color: rgba(98, 48, 60, .38); transition: color .5s var(--ease); }
.come__index li span { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .12em; }
.come__index li.is-on { color: var(--wine); }
.come__index li.is-on span { color: var(--accent); }
.come__count { margin-top: calc(18px - var(--hgap)); font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; color: rgba(98, 48, 60, .6); }
.deck { position: relative; justify-self: center; width: min(440px, 100%, 54vh); aspect-ratio: 4 / 5; perspective: 1800px; }
.pc { position: absolute; inset: 0; cursor: pointer; transform-origin: 50% 100%; will-change: transform; }
.pc__tap, .pc__in { position: absolute; inset: 0; transform-style: preserve-3d; }
.pc__in { will-change: transform; }
.pc__face { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(22px, 2.2vw, 36px); border-radius: 8px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.pc__front { background: #fffaf3 url(../assets/textures/paper-fine.jpg) center / 640px auto; color: var(--wine); box-shadow: 0 40px 70px -40px rgba(74, 32, 42, .32); }
.pc__back { transform: rotateY(180deg); background: #2f0f16 url(../assets/textures/paper-fine.jpg) center / 640px auto; color: var(--cream); border: 1px solid rgba(248, 211, 166, .3);
  box-shadow: 0 40px 70px -40px rgba(74, 32, 42, .32); }
.pc__no { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pc__no i { font-style: normal; padding: 5px 10px; border-radius: 99px; background: var(--k); color: var(--cream); letter-spacing: .1em; font-size: 10px; }
.pc__q { align-self: center; font-family: var(--f-display); font-size: clamp(28px, 2.5vw, 42px); line-height: 1.1; }
.pc__turn { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.pc__help { font-family: var(--f-display); font-size: clamp(24px, 2vw, 34px); line-height: 1.15; margin-top: 14px; }
.pc__impact { font-size: clamp(14px, 1vw, 16px); line-height: 1.55; padding-top: 16px; border-top: 1px solid rgba(255, 247, 238, .22); color: rgba(255, 247, 238, .88); }
.pc__impact .label { display: block; margin-bottom: 8px; }
@media (max-width: 820px) {
  .come__pin { grid-template-columns: 1fr; padding-top: 80px; }
  .come__index, .come__count { display: none; }
  .deck { position: static; width: 100%; aspect-ratio: auto; display: grid; gap: 16px; }
  .pc { position: relative; inset: auto; height: 340px; }
  .pc__q { font-size: 30px; }
  .pc__help { font-size: 25px; }
}

/* ---------------------------------------------------------------- the impact: founder films */
.impact { padding: clamp(90px, 14vh, 150px) var(--g) clamp(120px, 19vh, 190px); }
.impact { --hgap: clamp(26px, 4.6vh, 46px); }
.impact__head { display: grid; justify-items: start; gap: var(--hgap); margin-bottom: var(--hgap); }
.impact__title, .impact__head p { line-height: 1; }
.impact__title { font-family: var(--f-display); font-size: clamp(44px, 5.4vw, 90px); line-height: .95; }
.impact__head p { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 1.7vw, 28px); color: var(--peach); }
.reel { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(220px, 3.2fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); align-items: center; visibility: hidden; }
.slide.is-on { visibility: visible; }
.film { position: relative; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; cursor: pointer; background: #24090e; max-height: 74vh; }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity .5s; }
.film.is-playing video, .film.is-preview video { opacity: 1; }
.film__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 247, 238, .9); color: var(--wine); transition: opacity .4s, scale .5s var(--ease); }
.film.is-playing .film__play { opacity: 0; scale: .7; }
.film__sound { position: absolute; left: 12px; top: 12px; font-family: var(--f-ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 99px; background: rgba(30, 8, 12, .55); color: var(--cream); }
.film.is-playing .film__sound { opacity: 0; }
.slide__name { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 74px); line-height: .96; }
.slide__eng { font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }
.slide__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(20px, 3.4vh, 36px); color: rgba(98, 48, 60, .86); font-size: .95em; }
.slide__prob { font-family: var(--f-display); font-style: italic; font-size: clamp(19px, 1.45vw, 24px); line-height: 1.3; color: var(--wine); }
.slide__prob b { display: block; font-family: var(--f-ui); font-style: normal; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.slide__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); margin-top: clamp(26px, 4.6vh, 50px); }
.slide__stats li { padding-top: 16px; border-top: 1px solid rgba(98, 48, 60, .25); }
.slide__stats i { font-style: normal; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.slide__stats strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); line-height: 1; margin: 10px 0 10px; }
.slide__stats span { display: block; font-size: .88em; color: rgba(98, 48, 60, .8); line-height: 1.5; }
.impact { position: relative; }
.slide { align-items: end; }
.film { justify-self: start; width: 100%; }
.slide__text { align-self: center; }
.reel__nav { position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; align-items: center; gap: 18px; }
@media (max-width: 820px) {
  .slide { grid-template-columns: 1fr; }
  .film { width: min(64vw, 280px); }
  .slide__grid, .slide__stats { grid-template-columns: 1fr; }
  .slide__text { padding-top: 96px; }
}

/* ---------------------------------------------------------------- four levels: the cabinet of files */
.levels__pin { display: grid; padding: clamp(90px, 14vh, 150px) var(--g) clamp(80px, 12vh, 130px); gap: clamp(70px, 13vh, 140px); }
.levels__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; }
.levels__title { font-family: var(--f-display); font-size: clamp(38px, 4.4vw, 74px); line-height: 1; }
.levels__title em { color: var(--accent); }
.levels__hint { font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(98, 48, 60, .66); }
.cabinet { position: relative; width: 100%; height: var(--cab-h, min(640px, 74vh)); }
.file { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: drop-shadow(0 -2px 0 rgba(30, 8, 12, .16)) drop-shadow(0 28px 34px rgba(74, 32, 42, .28)); will-change: transform; }
.file__paper { position: absolute; inset: 0; background-color: var(--fc); background-image: url(../assets/textures/paper-fine.jpg); background-size: 640px auto; background-blend-mode: soft-light; color: var(--ft); }
.file__tab { position: absolute; top: 0; height: var(--th); display: flex; align-items: center; gap: 10px; padding: 0 22px; font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ft); cursor: pointer; z-index: 2; }
.file__tab b { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 19px; letter-spacing: 0; text-transform: none; opacity: .7; }
.file[aria-current="true"] .file__tab { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.file__body { position: absolute; left: 0; right: 0; bottom: 0; top: var(--th); display: grid; grid-template-rows: auto 1fr; color: var(--ft); }
.file__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) auto; border-bottom: 1px solid var(--rule); }
.file__top > * { padding: clamp(18px, 2.4vh, 30px) clamp(18px, 2vw, 34px); }
.file__top > * + * { border-left: 1px solid var(--rule); }
.file__name { font-family: var(--f-display); line-height: .95; }
.file__name small { display: block; font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.file__name span { font-size: clamp(44px, 4.6vw, 80px); }
.file__lead { font-family: var(--f-display); font-style: italic; font-size: clamp(19px, 1.55vw, 26px); line-height: 1.28; align-self: center; }
.file__no { display: grid; justify-items: center; align-content: space-between; gap: 10px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .12em; }
.file__no .qi-mark { width: clamp(38px, 3.4vw, 56px); }
.file__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); min-height: 0; }
.file__photo { position: relative; overflow: hidden; margin: clamp(14px, 1.6vw, 24px); border-radius: 3px; }
.file__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.file__points { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--rule); counter-reset: pt; }
.file__points li { counter-increment: pt; padding: clamp(14px, 2vh, 26px) clamp(16px, 1.8vw, 30px); display: grid; align-content: start; gap: 6px; }
.file__points li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
.file__points li:nth-child(even) { border-left: 1px solid var(--rule); }
.file__points li::before { content: counter(pt, lower-roman) "."; font-family: var(--f-display); font-style: italic; font-size: 18px; opacity: .6; }
.file__points h3 { font-family: var(--f-display); font-size: clamp(22px, 1.75vw, 30px); line-height: 1.05; }
.file__points p { font-family: var(--f-ui); font-size: 13.5px; line-height: 1.5; opacity: .82; }
@media (max-width: 820px) {
  .file__tab { padding: 0 10px; font-size: 10px; letter-spacing: .08em; gap: 4px; }
  .file__tab b { display: none; }
  .file__tab { font-size: 9.5px; letter-spacing: .06em; }
  .file__top { grid-template-columns: 1fr; }
  .file__top > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .file__no { display: none; }
  .file__bottom { grid-template-columns: 1fr; }
  .file__photo { aspect-ratio: 16 / 10; }
  .file__points { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid var(--rule); }
  .file__points li:nth-child(even) { border-left: 0; }
  .file__points li + li { border-top: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- case studies: a stack of cards */
.cases { padding: clamp(90px, 14vh, 150px) var(--g) clamp(70px, 10vh, 110px); }
.cases__head { margin-bottom: clamp(30px, 6vh, 60px); display: grid; gap: 10px; }
.cases__title { font-family: var(--f-display); font-size: clamp(40px, 4.8vw, 80px); line-height: 1; }
.stack { display: grid; gap: 4vh; }
.case { position: sticky; top: calc(11vh + var(--i) * 16px); height: min(76vh, 720px); display: grid; grid-template-columns: calc(min(76vh, 720px) * .573) minmax(0, 1fr); border-radius: 8px; overflow: hidden;
  background: #fffaf3 url(../assets/textures/paper-fine.jpg) center / 640px auto; color: var(--wine); box-shadow: 0 -20px 50px -30px rgba(74, 32, 42, .28), 0 0 0 1px rgba(98, 48, 60, .08); transform-origin: 50% 0; will-change: transform; }
.case__img { position: relative; overflow: hidden; background: #e9dccb; }
.case__img img { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; transition: opacity .6s var(--ease); }
.case__img img:not(.is-on) { opacity: 0; }
.case__text { display: grid; grid-template-rows: auto auto 1fr auto; padding: clamp(22px, 3vw, 50px); gap: clamp(14px, 2.4vh, 24px); min-height: 0; }
.case__no { font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.case__name { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 76px); line-height: .95; }
.case__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.case__tabs button { font-family: var(--f-ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(98, 48, 60, .35); transition: background .35s, color .35s; }
.case__tabs button[aria-selected="true"] { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.case__list { position: relative; min-height: 0; }
.case__list ul { display: grid; gap: 0; }
.case__list li { padding: 10px 0; border-bottom: 1px solid rgba(98, 48, 60, .16); font-size: .95em; line-height: 1.45; display: grid; grid-template-columns: 26px 1fr; }
.case__list li::before { content: "—"; opacity: .5; }
.case__more { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 6px; justify-self: start; }
@media (max-width: 820px) {
  .stack { gap: 18px; }
  .case { position: relative; top: auto; height: auto; grid-template-columns: 1fr; }
  .case__img { aspect-ratio: 4 / 5; }
  .case__img img { object-position: 50% 16%; }
}

/* ---------------------------------------------------------------- voices */
.voices { padding: clamp(90px, 14vh, 150px) 0 clamp(80px, 12vh, 130px); overflow: hidden; }
.voices { --hgap: clamp(26px, 4.6vh, 46px); }
.voices__head { padding: 0 var(--g); margin-bottom: var(--hgap); }
.voices__title { font-family: var(--f-display); font-size: clamp(38px, 4.4vw, 74px); line-height: 1; display: grid; justify-items: start; gap: var(--hgap); }
.vt1, .vt2 { display: block; width: max-content; max-width: 100%; }
.voices__title em { color: var(--accent); line-height: 1; white-space: nowrap; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 34px); padding: 0 var(--g) 30px; align-items: start; }
.note { width: 100%; padding: clamp(22px, 2vw, 32px); border-radius: 4px; background: var(--nc) url(../assets/textures/paper-fine.jpg) center / 640px auto; background-blend-mode: multiply; color: var(--wine);
  rotate: var(--r); box-shadow: 0 30px 50px -34px rgba(74, 32, 42, .32); }
.note blockquote { font-family: var(--f-display); font-size: clamp(19px, 1.45vw, 24px); line-height: 1.28; }
.note footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(98, 48, 60, .2); }
.note img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.note b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 500; line-height: 1.1; }
.note small { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
@media (max-width: 820px) {
  .notes { display: flex; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .notes::-webkit-scrollbar { display: none; }
  .note { flex: none; width: 82vw; scroll-snap-align: center; rotate: 0deg; }
}

/* ---------------------------------------------------------------- how it works */
.how { padding: clamp(90px, 14vh, 150px) var(--g) clamp(80px, 12vh, 130px); position: relative; }
@media (min-width: 821px) {
  .how { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-top: clamp(80px, 11vh, 120px); padding-bottom: clamp(40px, 7vh, 80px); }
  .how__title { margin-bottom: clamp(28px, 5vh, 56px); }
  .step figure { aspect-ratio: 337 / 360; width: min(100%, 34vh * .936); }
}
.how__title { font-family: var(--f-display); font-size: clamp(40px, 4.8vw, 80px); line-height: 1; margin-bottom: clamp(36px, 7vh, 72px); }
.how__line { height: 1px; background: rgba(98, 48, 60, .18); margin-bottom: -1px; position: relative; }
.how__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; }
.how__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.step { padding-top: 0; }
.step__n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; background: var(--cream); border: 1px solid var(--accent); color: var(--accent); margin: -19px 0 22px; position: relative; transition: background .5s, color .5s; }
.step.is-on .step__n { background: var(--accent); color: var(--cream); }
.step figure { aspect-ratio: 337 / 360; overflow: hidden; border-radius: 4px; margin-bottom: 18px; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-family: var(--f-display); font-size: clamp(26px, 2.1vw, 34px); margin-bottom: 8px; }
.step p:not(.step__n) { color: rgba(98, 48, 60, .82); font-size: .94em; }
@media (max-width: 820px) {
  .how__line { display: none; }
  .how__steps { grid-template-columns: 1fr; gap: 44px; }
  .step__n { margin: 0 0 14px; }
}

/* ---------------------------------------------------------------- start */
.start { padding: clamp(90px, 14vh, 150px) var(--g); }
.start__card { position: relative; max-width: 940px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 20px; padding: clamp(56px, 10vh, 100px) clamp(24px, 6vw, 90px); border-radius: 6px; color: var(--wine);
  background: var(--peach) url(../assets/textures/paper-fine.jpg) center / 640px auto; box-shadow: 0 50px 90px -50px rgba(74, 32, 42, .32); will-change: transform; }
.start__mark { width: 54px; color: var(--wine); margin-bottom: 6px; }
.start__title { font-family: var(--f-display); font-size: clamp(46px, 6vw, 96px); line-height: .95; }
.start__card p { max-width: 44ch; color: rgba(98, 48, 60, .9); }
.btn--wine { background: var(--wine); color: var(--cream); }
@media (hover: hover) { .btn--wine:hover { background: var(--wine-deep); } }

/* ---------------------------------------------------------------- footer */
.foot { padding: clamp(60px, 10vh, 100px) var(--g) 28px; display: grid; justify-items: center; text-align: center; gap: 22px; }
.foot__logo { color: var(--cream); }
.foot__logo .qi-mark { width: 74px; }
.foot__line { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.25; max-width: 30ch; }
.foot__line span { display: block; font-style: italic; color: var(--peach); }
.foot__nav, .foot__connect { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.foot__nav a, .foot__connect a { text-decoration: none; opacity: .85; }
.foot__base { font-family: var(--f-ui); font-size: 11px; opacity: .55; margin-top: 18px; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.file { pointer-events: none; }
.file__tab, .file__body { pointer-events: auto; }
.file__shade { position: absolute; inset: 0; background: #12040a; opacity: 0; pointer-events: none; z-index: 3; }

/* paper everywhere: a seamless grain laid over each surface's own colour */
.paper, .hero__stage, .pc__front, .pc__back, .case, .start, .start__card, .note, .file__paper, .hero__card, .nav.is-solid { background-blend-mode: soft-light; }
.hero__photo, .hero__mark, .hero__title, .hero__slots { pointer-events: none; }

@media (min-width: 821px) and (max-width: 1100px) { .notes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 821px) { .note:nth-child(3n + 2) { margin-top: 48px; } .note:nth-child(3n) { margin-top: 18px; } }

/* testimonials: tilted by the script on laptops so hover can straighten them; the hovered note comes forward */
@media (min-width: 821px) { .note { rotate: 0deg; cursor: default; will-change: transform; } .notes.is-hover .note:not(.is-up) { filter: brightness(.72) saturate(.8); } .note { transition: filter .45s var(--ease), box-shadow .45s var(--ease); } .note.is-up { box-shadow: 0 50px 80px -34px rgba(74, 32, 42, .32); z-index: 2; } }
.note { position: relative; }
/* files: everything on a file sits in one layer, so it can be laid over the file in front */
.file__in { position: absolute; inset: 0; }

/* footer: wine, like the homepage */
.foot { color: var(--cream); }
.foot .foot__logo { color: var(--cream); }
.foot__line span { color: var(--peach); }
.foot__nav a, .foot__connect a, .foot__base { color: var(--cream); }


/* ================================================================ Qi Studio brand guidelines (Edition 01, October 2026)
   Colour: burgundy and cream carry the brand; lavender, peach and caramel are the working colours
   (pills, buttons, cards) and never the background of a whole page. Type: Cormorant Garamond speaks
   (Medium/SemiBold only, never tighter than -2%), Inter labels and carries body text on screen
   (17-19px, 1.65), Adamina is for paper. Eyebrows are Cormorant in caramel, numbered in parentheses.
   Actions are Inter Medium in a lavender pill. Priyasha's page sits on the peach glow. */
:root {
  --wine: #4a222c; --wine-deep: #3a1a22; --cream: #feeddb;
  --lavender: #9e80b9; --peach: #fdd09c; --caramel: #c3812a;
  --mauve: #c7afcb; --violet: #624086; --rose: #cc9c87;
  --accent: #624086; --ink-on-peach: #4a222c;
}
body { font-family: var(--f-ui); font-size: clamp(16px, .25vw + 13.6px, 18px); line-height: 1.65; color: var(--wine); background: #fff6ec; }
.hero__title, .founder__quote, .founder__name, .come__title, .come__index li, .pc__q, .pc__help, .impact__title, .impact__head p,
.slide__name, .slide__prob, .slide__stats strong, .levels__title, .file__name span, .file__lead, .file__points h3, .file__tab b,
.case__name, .voices__title, .note blockquote, .note b, .how__title, .step h3, .start__title, .foot__line, .stat, .menu nav a { font-weight: 500; }
.hero__title, .come__title, .impact__title, .levels__title, .cases__title, .voices__title, .how__title, .start__title { letter-spacing: -.015em; }

.eyebrow { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.55vw, 27px); line-height: 1.2; color: var(--caramel); letter-spacing: 0; text-transform: none; }
.hero__kicker.eyebrow { font-size: clamp(20px, 1.55vw, 27px); letter-spacing: 0; text-transform: none; }
.founder__text > .eyebrow, .cases__head .eyebrow, .voices__head .eyebrow, .how .eyebrow, .levels__head .eyebrow { margin-bottom: 14px; }
.eyebrow--grid { margin-bottom: calc(14px - var(--hgap)); }
.come__head .eyebrow { margin-bottom: 0; }

.btn--lavender { background: var(--lavender); color: var(--cream); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: none; padding: 14px 26px; }
@media (hover: hover) { .btn--lavender:hover { background: var(--violet); } }

/* landing: the peach glow, the pills in the working colours */
.hero { background: linear-gradient(to bottom left, #f7ce99 0%, #fbe9d3 48%, #ffffff 100%); }
.pill--lilac { background: var(--lavender); color: var(--cream); }
.pill--peach { background: var(--peach); color: var(--wine); }
.pill--ochre { background: var(--caramel); color: var(--cream); }
.pill { font-weight: 500; }

/* founder: her portrait from the guidelines (her page is the only place it leads) */
.founder__photo { aspect-ratio: 2 / 3; border-radius: 10px; }
.founder__photo img { object-position: 50% 30%; }
.founder__role, .slide__eng, .slide__prob b, .slide__stats i { color: var(--caramel); }
.stat small { color: rgba(74, 34, 44, .7); }

/* files: the four in the brand's own fills, each with its allowed type colour */
.file__paper { background-blend-mode: soft-light; }

/* how it works: the engagement-stage icons from the guidelines, on burgundy tiles */
.step__n { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; padding: 0; margin: -32px 0 22px; border: 0; background: var(--wine); opacity: .55; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step__n img { width: 100%; height: 100%; display: block; }
.step.is-on .step__n { opacity: 1; background: var(--wine); transform: translateY(-2px); }
.how__line i { background: var(--caramel); }
@media (max-width: 820px) { .step__n { margin: 0 0 16px; opacity: 1; } }

/* start: a lavender-light banner, one collage breaking out of its top edge */
.start { padding: clamp(110px, 16vh, 170px) var(--g) clamp(80px, 12vh, 130px); background: #fff6ec url(../assets/textures/paper-fine.jpg) center / 640px auto; background-blend-mode: soft-light; }
.start__band { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: clamp(24px, 4vw, 70px);
  padding: 0 clamp(24px, 4vw, 64px) clamp(40px, 7vh, 72px); border-radius: 12px; color: var(--wine);
  background: linear-gradient(148deg, #936ebb 0%, #e2dcf4 34%, #fffffd 62%, #f7cc94 100%); box-shadow: 0 40px 80px -50px rgba(74, 34, 44, .35); }
.start__collage { width: 100%; max-width: 380px; height: auto; margin-top: clamp(-90px, -9vh, -50px); align-self: start; justify-self: center; }
.start__text { display: grid; justify-items: start; gap: 18px; padding-top: clamp(40px, 7vh, 72px); }
.start__title { font-family: var(--f-display); font-size: clamp(46px, 5.4vw, 90px); line-height: .98; }
.start__text p:not(.eyebrow) { max-width: 40ch; color: var(--wine); }
@media (max-width: 820px) {
  .start__band { grid-template-columns: 1fr; padding-bottom: 36px; }
  .start__collage { max-width: 220px; margin-top: -60px; }
  .start__text { padding-top: 0; }
}

/* footer: burgundy, labels in Inter caps tracked wide */
.foot { background-color: var(--wine); }
.foot__nav, .foot__connect { font-size: 11px; letter-spacing: .3em; }


/* ================================================================ round 8 (2026-10-22): client review
   Priyasha holds the left of the landing; the right is the live page's opening at the homepage's banner
   size. No numbered eyebrows. Where we come in second, her film third. Cases as a flipbook, voices as a
   bento of straight cards, How It Works with plain numbers, the homepage's closing banner. */

/* type: one title scale, taken from the homepage */
.hero__title { font-size: clamp(30px, 3.6vw, 66px); line-height: 1.06; letter-spacing: -.01em; }
.come__title, .impact__title, .levels__title, .cases__title, .voices__title, .how__title { font-size: clamp(34px, 3.6vw, 64px); line-height: 1.04; }
.come__title { font-size: clamp(30px, 2.75vw, 50px); }
.label { font-family: var(--f-ui); font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); opacity: .85; }
.eyebrow { display: none; }

/* texture: the same card paper, laid larger so its pattern does not repeat in view */
.paper, .hero__main, .pc__front, .pc__back, .note, .file__paper, .start, .foot { background-size: 768px auto; }

/* ---------------------------------------------------------------- landing */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; align-content: stretch; background: none; min-height: 100vh; min-height: 100svh; }
.hero::before { display: none; }
.hero__photo { position: relative; margin: 0; overflow: hidden; background: #3a1a22; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 40%; will-change: transform; }
.hero__main { position: relative; overflow: hidden; display: grid; align-content: center; padding: clamp(110px, 15vh, 150px) 0 clamp(80px, 12vh, 120px);
  background: linear-gradient(135deg, #f9eedc 0%, #f7e7d3 46%, #f2dcd2 100%); }
.hero__main::before { content: ""; position: absolute; inset: 0; background: url(../assets/textures/paper-fine.jpg) center / 768px auto; mix-blend-mode: soft-light; opacity: .7; pointer-events: none; }
.hero__inner { position: relative; padding: 0 clamp(28px, 4.4vw, 72px); }
.hero__kicker, .hero__kicker.eyebrow { display: block; font-family: var(--f-ui); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); opacity: .85; margin-bottom: clamp(14px, 2.2vh, 24px); }
.pills { position: relative; gap: clamp(9px, 1.4vh, 14px); margin-top: clamp(22px, 3.6vh, 36px); }
.hero__cue { left: calc(50% + clamp(28px, 4.4vw, 72px)); }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 50svh auto; }
  .hero__photo img { object-position: 52% 36%; }
  .hero__main { padding: 30px 0 70px; align-content: start; }
  .hero__inner { padding: 0 var(--g); }
  .hero__cue { left: var(--g); }
}

/* ---------------------------------------------------------------- deck: depth and readable backs */
.pc__front { background-color: #fff8ef; background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(160deg, #fffaf3 0%, #fde9cf 100%); background-blend-mode: soft-light, normal; }
.pc__back { background-color: #4a222c; background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(160deg, #6a3442 0%, #4a222c 55%, #3a1a22 100%); background-blend-mode: soft-light, normal; border-color: rgba(253, 208, 156, .3); }
.pc__back .pc__where { color: var(--mauve); opacity: 1; }
.pc__back .pc__lbl { color: var(--peach); opacity: 1; }
.pc__back .pc__help { color: #fff6ec; }
.come__index li span, .pc__no, .come__count { font-family: var(--f-ui); font-variant-numeric: tabular-nums lining-nums; }

/* ---------------------------------------------------------------- founder: her film, a burgundy fade at its foot */
.founder { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.founder__film { position: relative; margin: 0; aspect-ratio: 9 / 16; max-height: 82vh; justify-self: center; width: 100%; max-width: 460px; border-radius: 12px; overflow: hidden; background: #3a1a22; }
.founder__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__film::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(74, 34, 44, 0), rgba(74, 34, 44, .85)); pointer-events: none; }
.founder__sound { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 9px 14px; border-radius: 99px; background: rgba(254, 237, 219, .92); color: var(--wine);
  font-family: var(--f-ui); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s; }
.founder__film.is-sound .founder__sound { background: var(--lavender); color: var(--cream); }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder__film { max-width: 340px; } }

/* ---------------------------------------------------------------- files: a gentler shadow, a lift in the fill, numbers in Inter */
.file { filter: drop-shadow(0 -1px 0 rgba(98, 48, 60, .1)) drop-shadow(0 18px 22px rgba(74, 32, 42, .16)); }
.file__paper { background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(170deg, var(--fc2, var(--fc)) 0%, var(--fc) 70%); background-blend-mode: soft-light, normal; }
.file__tab b { font-family: var(--f-ui); font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .08em; opacity: .7; font-variant-numeric: tabular-nums lining-nums; }
.file__no span:last-child { font-variant-numeric: tabular-nums lining-nums; }
.file__points li::before { content: counter(pt) "."; font-family: var(--f-ui); font-style: normal; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }

/* ---------------------------------------------------------------- case studies: the flipbook */
.cases__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin-bottom: clamp(26px, 5vh, 50px); }
.cases__head .label { margin-bottom: 10px; display: block; }
.book__nav { display: flex; align-items: center; gap: 12px; }
.book__count { font-family: var(--f-ui); font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; margin-right: 8px; opacity: .8; }
.cases .arrow, .impact .arrow { border-color: rgba(74, 34, 44, .3); color: var(--wine); }
.book { position: relative; perspective: 2400px; outline: none; }
.page { position: absolute; inset: 0 0 auto 0; visibility: hidden; background: #fffaf3 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light;
  border-radius: 12px; padding: clamp(20px, 2.6vw, 40px); box-shadow: 0 30px 60px -40px rgba(74, 32, 42, .35), 0 0 0 1px rgba(74, 34, 44, .06); backface-visibility: hidden; will-change: transform; }
.page.is-on { visibility: visible; }
.page__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: clamp(18px, 3vh, 30px); }
.page__no { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-variant-numeric: tabular-nums; }
.page__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3vw, 52px); line-height: 1; }
.page__more { margin-left: auto; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 6px; }
.page__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.page__col figure { margin: 0 0 16px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #efe2d2; }
.page__col img { width: 106%; height: 106%; margin: -3%; object-fit: cover; object-position: 50% 20%; display: block; }
.page__col h4 { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.6vw, 26px); margin: 0 0 8px; }
.page__col h4 em { color: var(--violet); }
.page__col ul { display: grid; }
.page__col li { font-size: 14.5px; line-height: 1.5; padding: 7px 0; border-top: 1px solid rgba(74, 34, 44, .12); }
.book__dots { justify-content: center; margin-top: 22px; }
.book__dots button { background: rgba(74, 34, 44, .25); }
.book__dots button[aria-selected="true"] { background: var(--wine); }
@media (max-width: 820px) {
  .page__cols { grid-template-columns: 1fr; }
  .page__col figure { aspect-ratio: 16 / 10; }
  .page__more { margin-left: 0; }
}

/* ---------------------------------------------------------------- voices: a bento of straight cards */
.voices__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; padding: 0 var(--g); margin-bottom: clamp(24px, 4.4vh, 44px); }
.voices__title { display: block; white-space: normal; }
.voices__head .label { white-space: nowrap; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 10px; padding: 0 var(--g); }
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(16px, 2vw, 28px); align-items: start; width: auto; rotate: 0deg !important; margin: 0 !important;
  padding: clamp(18px, 2vw, 28px); border-radius: 10px; background-color: var(--nc); background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%);
  background-blend-mode: soft-light, normal; color: var(--wine); box-shadow: 0 20px 40px -32px rgba(74, 32, 42, .4); }
.note--tall { grid-row: span 2; }
.note__who { display: grid; gap: 6px; align-content: start; }
.note__who img { width: 100%; aspect-ratio: 1; height: auto; border-radius: 8px; object-fit: cover; margin-bottom: 6px; }
.note__who b { font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.1; }
.note__who small { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; line-height: 1.35; }
.note blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 1.45vw, 24px); line-height: 1.3; }
.note footer { display: none; }
@media (min-width: 821px) { .notes.is-hover .note:not(.is-up), .bento.is-hover .note:not(.is-up) { filter: brightness(.94) saturate(.85); } }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .note--tall { grid-row: auto; }
  .note { width: auto; flex: initial; }
}

/* ---------------------------------------------------------------- how it works: plain numbers; the line ends at four */
.how { --sg: clamp(16px, 2.4vw, 40px); }
.how__steps { gap: var(--sg); }
.step__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: visible; padding: 0; margin: -20px 0 22px; opacity: 1; transform: none;
  font-family: var(--f-ui); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; background: #fff6ec; border: 1px solid var(--caramel); color: var(--caramel); }
.step__n img { display: none; }
.step.is-on .step__n { background: var(--caramel); color: #fffaf3; transform: none; }
.how__line { margin-left: 20px; width: calc(75% + .75 * var(--sg)); }
@media (max-width: 820px) { .step__n { margin: 0 0 14px; } }

/* ---------------------------------------------------------------- start: the homepage's closing banner */
.start { padding: clamp(40px, 8vh, 90px) var(--g) clamp(90px, 14vh, 150px); background: linear-gradient(180deg, #e7d6e7 0%, #e9c8b8 100%); }
.start__card { position: relative; width: min(1180px, 100%); max-width: none; margin-inline: auto; overflow: hidden; text-align: left; justify-items: stretch;
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(36px, 5vw, 76px) clamp(28px, 5vw, 80px); border-radius: 18px;
  background: #f4efe6 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; color: var(--wine); box-shadow: 0 40px 80px -50px rgba(98, 48, 60, .55); }
.start__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 3.6vw, 64px); line-height: 1.08; max-width: 21ch; text-wrap: balance; }
.start__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 380px; }
.start__side p { color: var(--wine); line-height: 1.7; }
.btn--wine { background: var(--wine); color: var(--cream); }
@media (max-width: 820px) { .start__card { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .note { grid-template-columns: 1fr; gap: 14px; }
  .note__who { grid-template-columns: 56px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
  .note__who img { grid-row: span 2; margin: 0; }
}

/* ---------------------------------------------------------------- round 9 (2026-11-02) */
/* where we come in: each card in its own brand colour, front and back */
.pc { --pc-ink: var(--wine); --pc-soft: rgba(74, 34, 44, .82); --pc-rule: rgba(74, 34, 44, .2); --pc-where: var(--violet, #624086); --pc-lbl: var(--wine); }
.pc[data-tone="lavender"] { --pc-bg: linear-gradient(160deg, #b7a0cd 0%, #9e80b9 52%, #8b6ca8 100%); --pc-ink: #fffaf3; --pc-soft: rgba(255, 250, 243, .9); --pc-rule: rgba(255, 250, 243, .32); --pc-where: #fffaf3; --pc-lbl: #feeddb; }
.pc[data-tone="wine"] { --pc-bg: linear-gradient(160deg, #6a3442 0%, #4a222c 55%, #3a1a22 100%); --pc-ink: #feeddb; --pc-soft: rgba(255, 247, 238, .88); --pc-rule: rgba(253, 208, 156, .26); --pc-where: var(--mauve); --pc-lbl: var(--peach); }
.pc[data-tone="cream"] { --pc-bg: linear-gradient(160deg, #fff4e6 0%, #feeddb 55%, #f6dec1 100%); --pc-where: #624086; --pc-lbl: #8a5a1c; }
.pc[data-tone="peach"] { --pc-bg: linear-gradient(160deg, #fde3c0 0%, #fdd09c 58%, #f3c084 100%); --pc-where: #624086; --pc-lbl: var(--wine); }
.pc[data-tone] .pc__front, .pc[data-tone] .pc__back { background-color: transparent; background-image: url(../assets/textures/paper-fine.jpg), var(--pc-bg); background-size: 768px auto, cover; background-position: center; background-blend-mode: soft-light, normal; color: var(--pc-ink); border: 0; }
.pc[data-tone] .pc__front { box-shadow: 0 40px 70px -40px rgba(74, 32, 42, .38); }
.pc[data-tone] .pc__no i { background: transparent; border: 1px solid currentColor; color: inherit; }
.pc[data-tone] .pc__back .pc__where { color: var(--pc-where); }
.pc[data-tone] .pc__back .pc__lbl { color: var(--pc-lbl); }
.pc[data-tone] .pc__back .pc__help { color: var(--pc-ink); }
.pc[data-tone] .pc__impact { color: var(--pc-soft); border-top-color: var(--pc-rule); }
.pc[data-tone] .pc__turn { opacity: .7; }

/* voices: the founder's face takes a third of each card, the words the rest */
.bento { gap: clamp(12px, 1.2vw, 18px); }
.note { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(22px, 2.6vw, 44px); align-items: center; padding: clamp(22px, 2.4vw, 38px); }
.note__face { margin: 0; align-self: center; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: rgba(74, 34, 44, .08);
  box-shadow: 0 0 0 6px rgba(255, 250, 243, .55), 0 24px 40px -28px rgba(74, 32, 42, .5); }
.note__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note__body { display: grid; gap: clamp(18px, 2.4vh, 26px); align-content: center; }
.note blockquote { font-size: clamp(19px, 1.5vw, 26px); line-height: 1.3; }
.note__by { display: grid; gap: 4px; padding-top: clamp(14px, 2vh, 20px); border-top: 1px solid rgba(74, 34, 44, .18); }
.note__by b { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.05; }
.note__by span { font-family: var(--f-ui); font-size: clamp(13px, .95vw, 15px); letter-spacing: .02em; color: rgba(74, 34, 44, .78); }
@media (max-width: 820px) {
  .note { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; padding: 20px; }
  .note blockquote { font-size: 18px; }
  .note__by b { font-size: 24px; }
}

/* landing: three belts run edge to edge across the right-hand panel; the panel clips them at the photo's edge */
.pills { display: grid; gap: clamp(10px, 1.4vh, 14px); width: 100%; box-sizing: border-box; justify-self: stretch; padding: 16px 0 0; margin: clamp(14px, 2.6vh, 28px) 0 0; }
.pills__row { min-width: 0; overflow: visible; }
.pills__track { display: flex; gap: clamp(10px, 1vw, 14px); width: max-content; will-change: transform; }
.pw { flex: none; display: inline-flex; will-change: transform; }
@media (max-width: 820px) { .pills { padding-inline: 0; } }

/* cards: the light ones get their paper too (soft-light vanishes on cream, so a lifted multiply layer) */
.pc[data-tone="cream"] .pc__face::before, .pc[data-tone="peach"] .pc__face::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: url(../assets/textures/paper-fine.jpg) center / 768px auto; filter: brightness(1.97); mix-blend-mode: multiply; opacity: .5; }
.pc[data-tone="cream"] .pc__face > *, .pc[data-tone="peach"] .pc__face > * { position: relative; }

/* voices: the founder's photo fills the left third of the card */
.note { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0; align-items: stretch; padding: 0; overflow: hidden; }
.note__face { position: relative; align-self: stretch; width: auto; height: auto; min-height: clamp(260px, 22vw, 340px); aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #e9dccd; }
.note__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 0; }
.note__lowq { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(74, 34, 44, .88); color: var(--cream);
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.note__body { padding: clamp(24px, 2.6vw, 40px); }
@media (max-width: 820px) {
  .note { gap: 0; padding: 0; align-items: stretch; }
  .note__face { min-height: 220px; }
  .note__body { padding: 20px 18px; }
  .note__lowq { left: 8px; top: 8px; font-size: 9px; padding: 4px 7px; }
}

/* 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; } }

/* ---------------------------------------------------------------- round 10 (2026-11-03) */
/* nav: ONE look from the top of the page down, the frosted bar; no pill turning into a bar on scroll */
.nav, .nav.is-solid { background: rgba(255, 247, 238, .8); -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); }
/* section labels a size up, so they are noticed; the "where we come in" list too */
.label { font-size: 15px; letter-spacing: .15em; }
.come__index li { font-size: clamp(19px, 1.45vw, 24px); }
.come__index li span { font-size: 12px; }
/* the label sits a clear step above its heading, as in "where we come in" */
.levels__head .label, .cases__head .label { display: block; margin-bottom: clamp(22px, 3.8vh, 36px); }
/* the impact tagline in burgundy, readable */
.impact__head p { color: var(--wine); }
/* case studies: every case by name, plus arrows under the page and click-to-turn on the page */
.book__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(20px, 3.4vh, 32px); }
.book__tab { font-family: var(--f-ui); font-size: 14px; letter-spacing: .03em; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(74, 34, 44, .28); color: var(--wine); background: rgba(255, 250, 243, .6); cursor: pointer; }
.book__tab:hover { border-color: var(--wine); }
.book__tab[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.book[data-side="next"] { cursor: e-resize; } .book[data-side="prev"] { cursor: w-resize; }
.book__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(20px, 3vh, 30px); }
.book__foot .book__count { margin: 0; }
@media (max-width: 820px) { .book__tab { font-size: 13px; padding: 8px 14px; } .book__tabs { gap: 8px; } }
/* each case fits on one screen: shorter photos (faces kept in frame) */
@media (min-width: 821px) { .page__col figure { aspect-ratio: auto; height: clamp(200px, 27vh, 290px); } .page__col li { padding: 5px 0; font-size: 14px; } .page__col img { object-position: 50% 18%; } }
.page__col img { max-width: none; }   /* the global img max-width left a strip on the right of every case photo */
/* case studies: the arrows sit exactly halfway between the bottom of the book and the end of the section */
.cases { padding-bottom: 0; }
.book__foot { margin: 0; height: clamp(120px, 16vh, 170px); }
/* impact: optical left edge; Cormorant's T and the italic R carry side bearing, so pull them onto the film card's edge */
.impact__title { margin-left: -.03em; } .impact__head p { margin-left: -.14em; }

/* ---------------------------------------------------------------- round 12 (2026-11-05, Rajvi's voice note) */
/* the folder's shadow, 70% lighter: one soft layer, no grain around it */
.file { filter: drop-shadow(0 14px 18px rgba(74, 32, 42, .05)); }

/* THE IMPACT: the original page's format */
.impact { position: relative; padding: clamp(64px, 8vw, 104px) var(--g); text-align: center; background: linear-gradient(120deg, #f6d6b6 0%, #f0e2da 38%, #e0cae6 72%, #bb9bd8 100%); }
.impact__head { display: block; margin: 0 0 clamp(28px, 3.6vw, 44px); justify-items: unset; }
.impact__title { margin: 0 !important; font-size: clamp(34px, 3.6vw, 64px); }
.impact__head p { margin: 12px 0 0 !important; font-family: var(--f-ui); font-style: normal; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.4; color: var(--wine); }
.reel { max-width: 1140px; margin: 0 auto; text-align: left; }
.slide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: stretch; border-radius: 14px; overflow: hidden; background: #fff7ee; box-shadow: 0 30px 60px -44px rgba(74, 34, 44, .5); }
.slide__text { align-self: stretch; padding: clamp(28px, 3.8vw, 56px) clamp(24px, 3.8vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(22px, 3vw, 40px);
  background: radial-gradient(90% 62% at 0% 100%, rgba(158, 128, 185, .62) 0%, rgba(158, 128, 185, .18) 46%, rgba(158, 128, 185, 0) 72%), #fff7ee; }
.slide__name { font-size: clamp(38px, 3.8vw, 60px); }
.slide__eng { margin-top: 8px; font-size: 13px; letter-spacing: .04em; color: var(--wine); }
.slide__grid { grid-template-columns: 1fr 2fr; gap: clamp(18px, 2.2vw, 34px); margin: 0; font-size: 15px; line-height: 1.6; color: var(--wine); }
.slide__desc { font-weight: 500; }
.slide__prob { font-family: var(--f-ui); font-style: normal; font-size: 15px; line-height: 1.6; }
.slide__prob b { display: block; margin: 0; font-weight: 400; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--wine); }
.slide__stats { margin: 0; gap: clamp(16px, 2.2vw, 34px); }
.slide__stats li { padding: 0; border: 0; }
.pill-k { display: inline-block; padding: 5px 11px; border-radius: 99px; font-style: normal; font-family: var(--f-ui); font-size: 11.5px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; color: #fffaf3 !important; white-space: nowrap; }
.pill-k--founder { background: var(--wine); } .pill-k--business { background: var(--lavender); } .pill-k--brand { background: var(--caramel); }
.slide__stats strong { font-weight: 500; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.1; margin: 14px 0 10px; }
.slide__stats span { font-size: 14px; line-height: 1.55; color: var(--wine); text-wrap: pretty; }
.slide__side { display: grid; place-items: center; padding: clamp(24px, 3vw, 40px); background: #ffe3d1; }
/* the portrait card keeps its own proportions, so the curves meet the photo exactly */
.film { justify-self: center; width: min(100%, 320px); max-height: none; aspect-ratio: 338 / 633; border-radius: 12% / 6.4%; background: #ffe3d1; }
.film img { object-fit: cover; }
.film video { object-fit: cover; }
.film__play { color: #fffaf3; background: rgba(255, 250, 243, .14); border: 1.5px solid rgba(255, 250, 243, .9); }
.reel__nav { display: none; }
@media (max-width: 820px) {
  .slide { grid-template-columns: 1fr; }
  .slide__side { order: -1; }
  .film { width: min(62vw, 260px); }
  .slide__grid, .slide__stats { grid-template-columns: 1fr; }
  .slide__text { padding-top: 26px; }
}

/* MY LIFE MISSION: the original page's portrait set inside the quote */
.founder { display: block; padding: clamp(64px, 8vw, 110px) var(--g); text-align: center; color: var(--wine); background: linear-gradient(135deg, #f8e4c8 0%, #f3e1d6 46%, #e9dde0 100%); }
.founder__quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.5vw, 58px); line-height: 1.16; letter-spacing: -.01em; margin: 0 auto; }
.founder__quote .ln { display: block; white-space: nowrap; }
.founder__quote .ln--gap { display: flex; justify-content: center; align-items: baseline; }
.founder__gap { display: inline-block; width: calc(clamp(210px, 19vw, 280px) + 44px); }
.founder__body { position: relative; width: min(520px, 100%); margin: calc(-1.16 * clamp(30px, 3.5vw, 58px) + 2px) auto 0; text-align: left; }
.founder__film { position: relative; display: block; width: clamp(210px, 19vw, 280px); aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #3a1a22; cursor: pointer; max-height: none; max-width: none; }
.founder__film::after { display: none; }
.founder__film img, .founder__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__film video { opacity: 0; transition: opacity .5s var(--ease); }
.founder__film.is-playing video { opacity: 1; }
.founder__sound { position: absolute; z-index: 2; left: auto; right: 10px; top: 10px; bottom: auto; padding: 6px 11px; border-radius: 99px; background: rgba(254, 237, 219, .92); color: var(--wine); font-family: var(--f-ui); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .35s var(--ease); }
.founder__film:hover .founder__sound, .founder__film.is-playing .founder__sound, .founder__film.is-sound .founder__sound { opacity: 1; }
.film__sub { position: absolute; z-index: 3; left: 6%; right: 6%; bottom: 12px; margin: 0 auto; width: fit-content; max-width: 88%; padding: 5px 10px; border-radius: 7px; background: rgba(43, 18, 24, .78); color: var(--cream); font-family: var(--f-ui); font-size: 12px; line-height: 1.35; font-weight: 500; text-align: center; text-wrap: balance; pointer-events: none; }
.film__sub:empty { display: none; }
.founder__stats { position: relative; z-index: 2; display: flex; width: fit-content; margin: -30px 0 0 auto; margin-right: calc(50% - clamp(210px, 19vw, 280px) / 2 - 106px); border-radius: 10px; padding: 12px 22px; gap: 22px; background: var(--lavender); color: #fffaf3; font-family: var(--f-display); font-size: clamp(26px, 2.2vw, 34px); line-height: 1; font-weight: 500; font-variant-numeric: lining-nums; }
.founder__stats span { display: block; }
.founder__stats span + span { padding-left: 22px; border-left: 1px solid rgba(255, 250, 243, .55); }
.founder__stats b { font-weight: 500; }
.founder__stats small { display: block; margin-top: 5px; font-family: var(--f-ui); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.founder__text { margin-top: 18px; padding: 0; border: 0; }
.founder__name { font-family: var(--f-display); font-style: normal; font-weight: 500; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }
.founder__role { margin-top: 8px; font-size: 12px; letter-spacing: .04em; color: var(--wine); }
.founder__bio { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--wine); }
.founder__btn { margin-top: 22px; }
@media (max-width: 820px) {
  .founder__quote { font-size: clamp(26px, 7vw, 34px); }
  .founder__quote .ln { white-space: normal; }
  .founder__quote .ln--gap { display: block; }
  .founder__gap { display: none; }
  .founder__body { margin-top: 22px; }
  .founder__stats { margin: -26px auto 0; }
}

/* CASE STUDIES: the original page's structure, three even photos over three lists */
.cases__head { display: block; margin-bottom: clamp(22px, 3vw, 34px); }
.cases__head .label { margin-bottom: 14px; }
.cpick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 99px; background: rgba(74, 34, 44, .08); margin-bottom: clamp(30px, 3.4vw, 46px); }
.ctab { height: 46px; border-radius: 99px; font-family: var(--f-ui); font-size: 14.5px; font-weight: 500; color: var(--wine); transition: background .3s, color .3s; }
@media (hover: hover) { .ctab:not([aria-selected="true"]):hover { background: rgba(74, 34, 44, .08); } }
.ctab[aria-selected="true"] { background: #4a222c; color: #feeddb; }
.cpanel { display: none; }
.cpanel.is-on { display: block; }
.cpanel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(20px, 2.2vw, 30px); }
.cpanel__head h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3vw, 48px); line-height: 1; }
.cpanel__more { font-family: var(--f-ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 5px; color: var(--wine); }
.cpanel__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.ccol__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #f3dfc6; }
.ccol__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ccol--founder .ccol__photo img { object-position: 50% 22%; }
.ccol__label { margin: clamp(18px, 1.8vw, 24px) 0 clamp(14px, 1.3vw, 18px); padding-bottom: 12px; border-bottom: 2px solid #4a222c; font-family: var(--f-display); font-weight: 500; font-size: clamp(23px, 1.9vw, 29px); line-height: 1.1; color: #4a222c; }
.ccol--business .ccol__label { border-color: var(--lavender); } .ccol--brand .ccol__label { border-color: var(--caramel); }
.ccol ul { display: grid; gap: 14px; }
.ccol li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.55; color: var(--wine); text-wrap: pretty; }
.ccol li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
@media (max-width: 820px) {
  .cpick { grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 26px; }
  .ctab { grid-column: span 2; }
  .ctab:nth-child(n + 4) { grid-column: span 3; }
  .cpanel__cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* TESTIMONIALS: every founder's name sits in exactly the same place, at the foot of the card */
.bento { grid-auto-rows: 1fr; }
.note { align-items: stretch; }
.note__body { display: grid; grid-template-rows: 1fr auto; align-content: stretch; height: 100%; gap: 18px; }
.note blockquote { align-self: start; }
.note__by { align-self: end; }

/* FOOTER: the same burgundy paper as the Branding Therapy page */
.foot::before { display: none; }
@media (min-width: 821px) {
  .founder__quote .ln--gap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; }
  .founder__quote .ln--gap > span:first-child { justify-self: end; }
  .founder__quote .ln--gap > span:last-child { justify-self: start; }
}
.cases { padding-bottom: clamp(64px, 8vw, 104px); }

/* ---------------------------------------------------------------- round 13 (2026-11-05) */
/* four levels: the gradient layer was being tiled at the texture's 768px, which drew a light/dark seam down the file.
   One soft shadow under the cabinet replaces a stacked drop-shadow on every file, which ringed the folder. */
.file { filter: none; }
.file__paper { background-size: 768px auto, 100% 100%; }
.cabinet::before { content: ""; position: absolute; inset: var(--th, 58px) 0 0; border-radius: 12px; box-shadow: 0 30px 46px -34px rgba(74, 34, 44, .34); pointer-events: none; }
@media (hover: hover) { .file__tab:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; } }
@media (min-width: 821px) {
  /* the rule in the top row lines up with the rule below it, top to bottom */
  .file__top { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .file__lead { align-self: stretch; display: flex; align-items: center; padding-right: clamp(96px, 9vw, 130px); }
  .file__no { position: absolute; top: 0; right: 0; bottom: 0; border: 0 !important; }
}

/* the impact: every founder by name, one click away */
.reel__bar { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 0 auto clamp(20px, 2.4vw, 30px); }
.reel__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255, 250, 243, .62); }
.reel__tab { height: 42px; padding: 0 clamp(16px, 1.8vw, 26px); border-radius: 99px; font-family: var(--f-ui); font-size: 14.5px; font-weight: 500; color: #4a222c; white-space: nowrap; transition: background .3s, color .3s; }
@media (hover: hover) { .reel__tab:not([aria-selected="true"]):hover { background: rgba(74, 34, 44, .08); } }
.reel__tab[aria-selected="true"] { background: #4a222c; color: #feeddb; }
.reel__bar .arrow { flex: none; background: rgba(255, 250, 243, .62); border-color: rgba(74, 34, 44, .28); color: #4a222c; }
@media (hover: hover) { .reel__bar .arrow:hover { background: #4a222c; color: #feeddb; } }
.reel__tab:focus-visible, .ctab:focus-visible, .reel__bar .arrow:focus-visible { outline: 2px solid #4a222c; outline-offset: 2px; }
@media (max-width: 620px) {
  .reel__bar { flex-wrap: wrap; gap: 10px; }
  .reel__tabs { order: -1; width: 100%; }
  .reel__tab { flex: 1 1 0; padding: 0 4px; font-size: 12.5px; }
}

/* texture: the same paper as the Branding Therapy page on every surface that had lost it */
.impact { background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(120deg, #f6d6b6 0%, #f0e2da 38%, #e0cae6 72%, #bb9bd8 100%); background-size: 768px auto, 100% 100%; background-blend-mode: soft-light, normal; }
.founder { background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(135deg, #f8e4c8 0%, #f3e1d6 46%, #e9dde0 100%); background-size: 768px auto, 100% 100%; background-blend-mode: soft-light, normal; }
.start { background-image: url(../assets/textures/paper-fine.jpg), linear-gradient(180deg, #e7d6e7 0%, #e9c8b8 100%); background-size: 768px auto, 100% 100%; background-blend-mode: soft-light, normal; }
.foot { background-color: #4a222c; background-image: url(../assets/textures/paper-fine.jpg); background-size: 768px auto; background-blend-mode: soft-light; }

/* ---------------------------------------------------------------- round 14 (2026-11-05): case studies */
/* one case fits one screen; photos are shown whole on a tinted mat; bar, heading, photos, titles and points share one grid */
.cases { padding-top: clamp(48px, 6.4vh, 72px); padding-bottom: clamp(48px, 6.4vh, 72px); }
.cases__head { margin-bottom: clamp(14px, 2vh, 20px); }
.cases__head .label { margin-bottom: 6px; }
.cases .cases__title { font-size: clamp(32px, 3vw, 48px); line-height: 1.04; }
.cpick { margin-bottom: clamp(14px, 2vh, 22px); }
.ctab { height: 40px; }
/* the open case is named by its tab; its link sits on the title's line, on the same right edge */
.cpanel__head { display: flex; justify-content: flex-end; height: 0; margin: 0; }
.cpanel__more { position: relative; top: calc(-1 * (clamp(14px, 2vh, 22px) * 2 + 40px + 8px + 24px)); height: fit-content; }
.cpanel__head h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cpanel__cols { --mat: clamp(240px, 34vh, 340px); grid-template-rows: auto auto; column-gap: clamp(24px, 3vw, 44px); row-gap: 0; }
.ccol { display: grid; grid-row: span var(--rows, 7); grid-template-rows: subgrid; min-width: 0; }
.ccol ul { display: contents; }
.ccol__photo { display: flex; justify-content: center; align-items: center; height: var(--mat); padding: 10px; aspect-ratio: auto; border-radius: 16px; background: #f4dfc4 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; }
.ccol--business .ccol__photo { background-color: #e9dce9; }
.ccol--brand .ccol__photo { background-color: #f6d9b0; }
.ccol__photo img, .ccol--founder .ccol__photo img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: 50% 50%; border-radius: 13.5% / 7.8%; }
.ccol__label { margin: clamp(12px, 1.6vh, 18px) 0 clamp(8px, 1.1vh, 12px); padding-bottom: 8px; font-size: clamp(21px, 1.7vw, 26px); }
.ccol li { padding-left: 16px; padding-bottom: clamp(7px, 1vh, 11px); font-size: 15px; line-height: 1.42; }
.ccol li::before { top: .58em; }
@media (max-width: 820px) {
  .cases { padding-top: 56px; padding-bottom: 56px; }
  .cpanel__head { justify-content: flex-start; height: auto; margin: 0 0 16px; }
  .cpanel__more { top: auto; }
  .cpanel__cols { display: flex; flex-direction: column; gap: 34px; }
  .ccol { display: block; }
  .ccol ul { display: grid; gap: 10px; }
  .ccol li { padding-bottom: 0; font-size: 15.5px; }
  .ccol__photo { height: min(112vw, 430px); }
}
.ccol__photo img, .ccol--founder .ccol__photo img { clip-path: inset(.7% round 13.5% / 7.8%); }

/* ---------------------------------------------------------------- round 15 (2026-11-06): Rajvi's 5 Nov voice note, re-checked */
/* four levels: the folder's shadow at least 70% under the version she reviewed */
.cabinet::before { box-shadow: 0 30px 46px -34px rgba(74, 34, 44, .24); }
/* testimonials: every founder's name on the same line, even where a role runs to two lines */
.note__by span { display: block; line-height: 1.4; min-height: 2.8em; }
/* case studies: the folder from Branding Therapy, the coloured column rules from Workshops */
.cases { --cp: clamp(16px, 1.6vw, 24px); --tab-h: 46px; padding-top: clamp(40px, 5.4vh, 60px); padding-bottom: clamp(40px, 5.4vh, 60px); }
.cpick { gap: 4px; padding: 0 var(--cp); margin: 0; background: none; border-radius: 0; }
.ctab { position: relative; z-index: 0; height: calc(var(--tab-h) + 12px); margin-bottom: -12px; padding: 0 10px 12px; border-radius: 14px 14px 0 0; font-family: var(--f-display); font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; color: var(--wine); transform: translateY(4px); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ctab:nth-child(1) { background: #fdd09c; }
.ctab:nth-child(2) { background: #9e80b9; color: #fff8f1; }
.ctab:nth-child(3) { background: #c7afcb; }
.ctab:nth-child(4) { background: #c3812a; color: #fff8f1; }
.ctab:nth-child(5) { background: #d8cce3; }
@media (hover: hover) { .ctab:not([aria-selected="true"]):hover { transform: translateY(-3px); } .ctab:nth-child(n):not([aria-selected="true"]):hover { filter: brightness(1.02); } }
.ctab:nth-child(n)[aria-selected="true"] { z-index: 2; background: #fff8f1 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; color: var(--wine); transform: none; }
.cfile { position: relative; z-index: 1; padding: var(--cp); border-radius: 18px; background: #fff8f1 url(../assets/textures/paper-fine.jpg) center / 768px auto; background-blend-mode: soft-light; box-shadow: 0 24px 46px -36px rgba(74, 34, 44, .3); }
.cpanel__cols { --mat: clamp(220px, 31vh, 310px); }
.cpanel__more { top: calc(-1 * (var(--cp) + var(--tab-h) + clamp(14px, 2vh, 20px) + 26px)); right: 0; }
.ccol__label { padding-bottom: 7px; border-bottom-width: 3px; }
@media (max-width: 820px) {
  .cpick { display: flex; gap: 4px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
  .cpick::-webkit-scrollbar { display: none; }
  .ctab { flex: 0 0 auto; grid-column: auto; height: 46px; margin: 0; padding: 0 16px; font-size: 17px; transform: none; }
  .cpanel__more { top: auto; right: auto; }
}
/* the play mark stays readable on a white shirt */
.film__play { background: rgba(74, 34, 44, .42); }

/* r18: each case ends with a link to that company's work on Our Work */
.cpanel__foot { display: flex; justify-content: flex-end; margin-top: clamp(22px, 2.4vw, 34px); padding-top: clamp(14px, 1.4vw, 20px); border-top: 1px solid rgba(98, 48, 60, .16); }
.cpanel__work { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline; }
.cpanel__work span { display: inline-block; transition: transform .5s var(--ease); text-decoration: none; }
@media (hover: hover) { .cpanel__work:hover span { transform: translateX(5px); } }
@media (max-width: 820px) { .cpanel__foot { justify-content: flex-start; } }
.cpanel__foot .cpanel__more { top: auto; position: static; }
