/* Qi Studio · About. Built from Rajvi's About us design (16 Nov 2026), on her 1920-wide grid.
   Fonts: Cormorant Garamond for headings and serif lines, Inter for all body text (her call, 12 Nov).
   Nav, menu, closing card and footer follow the shared Qi pages. */
:root {
  --wine: #62303c;
  --wine-deep: #4a222c;
  --cream: #fff7ee;
  --peach: #fdd09c;
  --peach-nav: #f8d3a6;
  --lav: #c7afcb;
  --purple: #9e80b9;
  --caramel: #c3812a;
  --ink-on-peach: #5b1042;
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --px: min(1px, 100vw / 1920);            /* one pixel of her 1920 design, never larger */
  --ease: cubic-bezier(.16, 1, .3, 1);      /* ease-out expo */
  --radius: 18px;
  --paper: url(../assets/img/paper-fine.jpg) center / 768px auto;
}

*, *::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-weight: 400; font-size: max(16px, calc(23 * var(--px))); line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-variant-numeric: lining-nums;
}
img, 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, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--peach); color: var(--wine); }
:focus-visible { outline: 2px solid var(--caramel); 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; }

/* her content column runs from 187 to 1730 of 1920 */
.wrap { width: min(calc(100% - 40px), max(calc(1543 * var(--px)), 0px)); margin-inline: auto; }
@media (max-width: 1000px) { .wrap { width: calc(100% - 2 * clamp(20px, 5vw, 48px)); } }

.eyebrow { font-family: var(--f-body); font-size: max(12px, calc(17 * var(--px))); letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; margin-bottom: max(10px, calc(14 * var(--px))); }
.eyebrow--peach { color: var(--peach); }
.eyebrow__sep { opacity: .6; margin: 0 .35em; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: max(40px, calc(86 * var(--px))); line-height: 1; letter-spacing: -.01em; }
.h2--light { color: var(--cream); }

/* ---------------------------------------------------------------- shared: Qi mark, buttons */
.qi-mark {
  display: block; aspect-ratio: 548 / 436; background: currentColor;
  -webkit-mask: url(../assets/img/qi-mark.png) center / contain no-repeat;
          mask: url(../assets/img/qi-mark.png) center / contain no-repeat;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-body); font-weight: 500; font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; padding: 14px 24px; border-radius: 999px; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--peach { background: var(--peach-nav); color: var(--ink-on-peach); }
.btn--peach:hover { background: var(--cream); box-shadow: 0 8px 30px -10px rgba(248, 211, 166, .9); }
.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); }

/* ---------------------------------------------------------------- shared: nav + menu */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 64px); color: var(--wine);
  transition: transform .5s var(--ease), background .4s var(--ease), box-shadow .4s;
}
.nav.is-solid { background: rgba(255, 247, 238, .82); -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-dark { color: var(--cream); }
.nav.is-dark.is-solid { background: rgba(74, 34, 44, .82); box-shadow: 0 1px 0 rgba(255, 247, 238, .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-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; white-space: nowrap; }
.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; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.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 clamp(20px, 5vw, 48px) 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; }
.menu-open .nav { color: var(--cream); background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 1240px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } .nav__burger { display: block; } }
@media (max-width: 620px) { .nav__cta { display: none; } .nav__burger { margin-left: auto; } }

/* ---------------------------------------------------------------- 1 · why we started */
.why {
  position: relative; overflow: hidden;
  padding: max(110px, calc(300 * var(--px))) 0 max(80px, calc(110 * var(--px)));
  background: var(--paper),
    radial-gradient(120% 70% at 0% 100%, #fcd3a2 0%, rgba(252, 211, 162, 0) 60%),
    linear-gradient(200deg, #fffaf4 0%, #fff3e6 45%, #fde3c4 100%);
  background-blend-mode: soft-light, normal, normal;
}
.why .eyebrow { margin-left: calc(7 * var(--px)); margin-bottom: max(14px, calc(30 * var(--px))); }
.why__title { font-family: var(--f-display); font-weight: 400; font-size: max(34px, calc(108 * var(--px))); line-height: 1; letter-spacing: -.012em; max-width: calc(1490 * var(--px) + 40px); }
.why__title .ln { display: block; }
.why__last { font-weight: 600; font-size: .89em; margin-top: .02em; }
.pill {
  display: inline-block; vertical-align: -.06em; position: relative;
  width: 3.72em; height: .84em; margin: 0 .07em; border-radius: 999px; overflow: hidden;
  background: var(--peach); isolation: isolate; transform-origin: 50% 60%;
  transition: width .9s var(--ease), box-shadow .6s var(--ease);
}
.pill--look { width: 3.72em; }
.pill--hand { width: 3.25em; height: .94em; vertical-align: -.1em; }
.pill img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pill:hover { box-shadow: 0 18px 40px -22px rgba(98, 48, 60, .55); }
.pill:hover img { transform: scale(1.06); }

/* three cards: the middle one sits a little proud of the other two */
.pillars { display: grid; grid-template-columns: 452fr 552fr 460fr; gap: calc(30 * var(--px)); align-items: center; margin-top: max(70px, calc(282 * var(--px))); perspective: 1200px; }
.pillar {
  border-radius: var(--radius); padding: max(30px, calc(70 * var(--px))) max(26px, calc(52 * var(--px))) max(36px, calc(92 * var(--px)));
  min-height: max(260px, calc(398 * var(--px))); transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .6s var(--ease);
}
.pillar h2 { font-family: var(--f-display); font-weight: 400; font-size: max(30px, calc(52 * var(--px))); line-height: 1.05; margin-bottom: max(14px, calc(26 * var(--px))); }
.pillar p { font-size: max(16px, calc(23 * var(--px))); line-height: 1.4; max-width: 19em; }
.pillar--lav { background: var(--lav); }
.pillar--peach { background: var(--peach); }
.pillar--wine { background: var(--wine); color: var(--cream); min-height: max(300px, calc(446 * var(--px))); padding-top: max(36px, calc(56 * var(--px))); }
/* r20b A2: the middle card used to run at 30px of her grid against 25px beside it; it now matches its neighbours */
.pillar:hover { box-shadow: 0 40px 60px -40px rgba(98, 48, 60, .55); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 14px; margin-top: 56px; }
  .pillar, .pillar--wine { min-height: 0; }
}

/* ---------------------------------------------------------------- 2 · Qi, the life force (burgundy) */
.force { background: var(--wine) var(--paper); background-blend-mode: soft-light; color: var(--cream); padding: max(80px, calc(200 * var(--px))) 0 max(70px, calc(120 * var(--px))); overflow: hidden; }
.force__grid { display: grid; grid-template-columns: 1fr calc(490 * var(--px) + 30px); gap: calc(120 * var(--px)); align-items: start; }
.force__title { font-family: var(--f-display); font-weight: 400; font-size: max(40px, calc(80 * var(--px))); line-height: 1.07; }
@media (max-width: 760px) { .br-d { display: none; } }
.force__text { padding-top: calc(38 * var(--px)); display: grid; gap: 1.3em; font-size: max(16px, calc(23 * var(--px))); line-height: 1.5; }
.eq { display: flex; align-items: flex-start; gap: max(8px, calc(22 * var(--px))); margin-top: max(48px, calc(150 * var(--px))); flex-wrap: wrap; }
.eq__term { width: max(70px, calc(118 * var(--px))); }
.eq__term--brush { width: max(80px, calc(165 * var(--px))); }
.eq__term img { height: max(56px, calc(98 * var(--px))); width: auto; max-width: none; }
.eq__term figcaption { font-size: max(13px, calc(20 * var(--px))); line-height: 1.38; margin-top: max(10px, calc(24 * var(--px))); width: 6.4em; }
.eq__op { font-family: var(--f-body); font-weight: 300; font-size: max(30px, calc(56 * var(--px))); line-height: max(56px, calc(98 * var(--px))); }
.eq__op--eq { margin-left: calc(10 * var(--px)); }
.eq__res { display: inline-flex; align-items: flex-start; gap: max(8px, calc(22 * var(--px))); }
@media (max-width: 420px) { .eq { gap: 6px; } .eq__term { width: 62px; } .eq__term--brush { width: 74px; } .eq__term img { height: 46px; } .eq__op { font-size: 24px; line-height: 46px; } .eq__term figcaption { font-size: 11.5px; width: auto; } .eq__res { flex-basis: 100%; margin-top: 8px; } }
.eq__qi { display: block; width: max(96px, calc(200 * var(--px))); aspect-ratio: 547 / 329; background: var(--cream); margin-top: max(-4px, calc(-8 * var(--px)));
  -webkit-mask: url(../assets/img/qi-mark-only.png) center / contain no-repeat; mask: url(../assets/img/qi-mark-only.png) center / contain no-repeat; }
@media (max-width: 900px) {
  .force__grid { grid-template-columns: 1fr; gap: 40px; }
  .force__text { padding-top: 0; }
}

/* the mark, part by part */
.concept { position: relative; width: min(calc(100% - 40px), max(calc(1416 * var(--px)), 700px)); margin: max(70px, calc(170 * var(--px))) auto 0; }
.concept__stage { position: relative; aspect-ratio: 1416 / 958; }
.concept__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cl { stroke: rgba(255, 247, 238, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: stroke .5s var(--ease); }
.cd { fill: var(--caramel); transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.concept__mark { position: absolute; left: calc(450 / 1416 * 100%); top: calc(281 / 958 * 100%); width: calc(520 / 1416 * 100%); color: #f3e7d3; overflow: visible; }
.qm-g { transition: opacity .6s var(--ease), filter .6s var(--ease); }
.qm-dotg { transform-box: fill-box; transform-origin: center; }
.qm-word { transform-box: fill-box; transform-origin: 50% 100%; }
.concept__labels { position: absolute; inset: 0; pointer-events: none; }
.cpt {
  position: absolute; pointer-events: auto; font-family: var(--f-body); font-weight: 500; text-transform: uppercase;
  font-size: max(10px, calc(17 * var(--px))); letter-spacing: .24em; color: rgba(255, 247, 238, .82); white-space: nowrap; padding: 6px 4px;
  transition: color .4s var(--ease);
}
.cpt:hover, .cpt.is-on { color: var(--peach); }
.cpt--circle { left: 50%; top: calc(78 / 958 * 100%); transform: translate(-50%, -50%); margin-left: calc(-32 / 1416 * 100%); }
.cpt--stroke { left: calc(50 / 1416 * 100%); top: calc(412 / 958 * 100%); transform: translateY(-50%); }
.cpt--point { right: calc(58 / 1416 * 100%); top: calc(397 / 958 * 100%); transform: translateY(-50%); }
.cpt--word { left: calc(704 / 1416 * 100%); top: calc(905 / 958 * 100%); transform: translate(-50%, -50%); }
.concept[data-on] .qm-g { opacity: .22; }
.concept[data-on="circle"] .qm-g--circle, .concept[data-on="stroke"] .qm-g--stroke,
.concept[data-on="point"] .qm-g--point, .concept[data-on="word"] .qm-g--word { opacity: 1; filter: drop-shadow(0 0 6px rgba(253, 208, 156, .55)); }
.concept[data-on="circle"] .cl--circle, .concept[data-on="stroke"] .cl--stroke,
.concept[data-on="point"] .cl--point, .concept[data-on="word"] .cl--word { stroke: var(--peach); }
.concept[data-on="circle"] .cd--circle, .concept[data-on="stroke"] .cd--stroke,
.concept[data-on="point"] .cd--point, .concept[data-on="word"] .cd--word { transform: scale(1.7); }
@media (max-width: 760px) {
  .concept { width: calc(100% - 40px); }
  .concept__lines .cl, .concept__lines .cd--circle, .concept__lines .cd--stroke, .concept__lines .cd--word { display: none; }
  .concept__stage { aspect-ratio: 1416 / 760; }
  .concept__mark { left: 50%; top: 4%; width: 62%; transform: translateX(-50%); }
  .concept__lines { display: none; }
  .concept__labels { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 20px; }
  .cpt, .cpt--circle, .cpt--stroke, .cpt--point, .cpt--word { left: auto; right: auto; top: auto; transform: none; margin: 0; }
  .cpt { transform: none; margin: 0; white-space: normal; text-align: left; letter-spacing: .16em; font-size: 10.5px; line-height: 1.5; padding: 8px 0 8px 16px; border-top: 1px solid rgba(255, 247, 238, .18); position: relative; }
  .cpt::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--caramel); }
}

/* ---------------------------------------------------------------- 3 · our ideology */
.ideology, .people {
  background: var(--paper), linear-gradient(180deg, #fff8f1 0%, #fdeee2 40%, #f5e4e6 100%);
  background-blend-mode: soft-light, normal;
}
.ideology { padding: max(80px, calc(170 * var(--px))) 0 max(60px, calc(110 * var(--px))); }
.ideology .h2 { margin-bottom: max(26px, calc(42 * var(--px))); }
.rows { display: grid; }
.row { display: grid; grid-template-columns: calc(209 * var(--px) + 20px) 1fr; min-height: max(110px, calc(186 * var(--px))); }
.row__ic { display: grid; place-items: center; border-radius: var(--radius); }
.row__ic .ic { width: 50%; height: auto; overflow: visible; }
.row__bar {
  display: grid; grid-template-columns: 1fr minmax(0, calc(470 * var(--px) + 30px)); align-items: center; gap: 24px;
  border-radius: var(--radius); padding: 0 max(24px, calc(64 * var(--px))) 0 max(24px, calc(48 * var(--px)));
  transition: padding .7s var(--ease), box-shadow .7s var(--ease);
}
.row__bar h3 { font-family: var(--f-display); font-weight: 400; font-size: max(34px, calc(74 * var(--px))); line-height: 1; transition: transform .7s var(--ease); }
.row__bar p { font-size: max(15px, calc(21.5 * var(--px))); line-height: 1.42; }
.row--empathy .row__ic { background: var(--caramel); } .row--empathy .row__bar { background: var(--peach); }
.row--clarity .row__ic { background: var(--lav); } .row--clarity .row__bar { background: var(--purple); color: #fff; }
.row--collab .row__ic { background: var(--peach); } .row--collab .row__bar { background: var(--caramel); color: #fff; }
.row--intent .row__ic { background: var(--purple); } .row--intent .row__bar { background: var(--lav); }
.row:hover .row__bar { padding-left: max(34px, calc(78 * var(--px))); box-shadow: 0 24px 40px -34px rgba(98, 48, 60, .6); }
.row:hover .row__bar h3 { transform: translateX(4px); }
.ic-q__sq { mix-blend-mode: multiply; }
@media (max-width: 760px) {
  .row { grid-template-columns: 84px 1fr; }
  .row__bar { grid-template-columns: 1fr; gap: 6px; padding: 20px 20px; }
  .row:hover .row__bar { padding-left: 20px; }
  .row__bar h3 { font-size: 32px; }
}

/* the icons keep moving gently on their own; hover speeds them up (js) */
@media (prefers-reduced-motion: no-preference) {
  .ic * { transform-box: fill-box; }
  .ic-heart__l { transform-origin: 100% 100%; animation: heartL 3.6s var(--ease) infinite; }
  .ic-heart__r { transform-origin: 0% 100%; animation: heartR 3.6s var(--ease) infinite; }
  .ic-heart__c { transform-origin: 50% 0%; animation: heartC 3.6s var(--ease) infinite; }
  .ic-pencil__p { transform-origin: 0% 100%; animation: pencil 3.6s var(--ease) infinite; }
  .ic-pencil__dot { transform-origin: 0% 100%; animation: dotPop 3.6s var(--ease) infinite; }
  .ic-mug__a { transform-origin: 100% 100%; animation: mugA 3.6s var(--ease) infinite; }
  .ic-mug__b { transform-origin: 0% 100%; animation: mugB 3.6s var(--ease) infinite; }
  .ic-q__arc { transform-origin: 0% 100%; animation: quarter 3.6s var(--ease) infinite; }
  .ic-q__sq { animation: sq 3.6s var(--ease) infinite; }
}
@keyframes heartL { 0%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(-4px, -4px); } }
@keyframes heartR { 0%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(4px, -4px); } }
@keyframes heartC { 0%, 100% { transform: scale(1); } 40%, 60% { transform: scale(1.08); } }
@keyframes pencil { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 50% { transform: rotate(4deg) translate(2px, 0); } 75% { transform: rotate(-3deg); } }
@keyframes dotPop { 0%, 30%, 100% { transform: scale(1); } 55% { transform: scale(1.18); } }
@keyframes mugA { 0%, 100% { transform: rotate(0); } 35%, 55% { transform: rotate(9deg); } }
@keyframes mugB { 0%, 100% { transform: rotate(0); } 35%, 55% { transform: rotate(-9deg) translate(-3px, 0); } }
@keyframes quarter { 0%, 100% { transform: rotate(0); } 45%, 60% { transform: rotate(-12deg); } }
@keyframes sq { 0%, 100% { transform: translate(0, 0); } 45%, 60% { transform: translate(6px, -6px); } }

/* ---------------------------------------------------------------- 4 · the people (collage on her grid) */
.people { padding: max(30px, calc(60 * var(--px))) 0 max(80px, calc(120 * var(--px))); background: var(--paper), linear-gradient(180deg, #f5e4e6 0%, #ecd7e3 55%, #d7c0dd 100%); background-blend-mode: soft-light, normal; }
.people .h2 { margin-bottom: max(26px, calc(50 * var(--px))); }
.collage { position: relative; container-type: inline-size; aspect-ratio: 1528 / 1042; }
.ph { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
.ph__img { position: absolute; inset: 0; border-radius: max(8px, calc(14 * var(--px))); overflow: hidden; box-shadow: 0 30px 50px -40px rgba(74, 34, 44, .7); }
.ph__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover { z-index: 3; }
.sq { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); z-index: 2; pointer-events: none; }
.sq--caramel { background: var(--caramel); } .sq--peach { background: var(--peach); } .sq--lav { background: var(--purple); }
.who { position: absolute; left: var(--cx); top: var(--cy); white-space: nowrap; z-index: 2; }
.who__name { display: block; font-family: var(--f-display); font-weight: 400; font-size: 3.14cqw; line-height: 1; }
.who__role { display: block; font-size: max(10px, 1.31cqw); letter-spacing: .02em; text-transform: uppercase; line-height: 1.4; margin-top: .45em; }
.arrow { position: absolute; left: var(--ax); top: var(--ay); width: var(--aw); color: var(--wine); z-index: 2; pointer-events: none; }
.arrow svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 760px) {
  .collage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; container-type: normal; }
  .ph { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .ph__img { position: relative; display: block; aspect-ratio: var(--ar); }
  .ph--cosmos-friends { grid-column: 1 / -1; }
  .who { position: static; white-space: normal; margin-top: 10px; }
  .who__name { font-size: 26px; }
  .who__role { font-size: 11px; }
  .arrow, .sq { display: none; }
  .ph--table { order: 1; } .ph--nupur { order: 2; } .ph--cosmos { order: 3; } .ph--rajvi { order: 4; }
  .ph--cosmos-friends { order: 5; } .ph--ghela { order: 6; } .ph--prajakta { order: 7; } .ph--jenga { order: 8; } .ph--beach { order: 9; }
}

/* ---------------------------------------------------------------- 3b · our story (burgundy, Rajvi 17 Nov) */
.story { background: var(--wine) var(--paper); background-blend-mode: soft-light; color: var(--cream); padding: max(80px, calc(160 * var(--px))) 0 max(70px, calc(140 * var(--px))); overflow: hidden; }
.story__head { display: grid; grid-template-columns: 1fr calc(560 * var(--px) + 30px); gap: calc(80 * var(--px)); align-items: center; }
.story__title { font-size: max(40px, calc(84 * var(--px))); line-height: 1.04; }
.story__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.story__title .ln > span { display: block; }
.story__intro { font-size: max(16px, calc(23 * var(--px))); line-height: 1.55; color: rgba(255, 247, 238, .9); max-width: 21em; }
.story__track { position: relative; margin-top: max(56px, calc(150 * var(--px))); }
.story { --sic: max(34px, calc(58 * var(--px))); }
.story__line { position: absolute; left: 0; right: 0; top: calc(var(--sic) / 2); height: 1px; }
.story__line i { display: block; height: 100%; background: rgba(255, 247, 238, .32); transform-origin: 0 50%; }
.story__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(72 * var(--px)); list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: calc(var(--sic) + max(24px, calc(40 * var(--px)))); }
/* r20b A3: a small brand icon sits on the line at each step; its paper patch breaks the line around it */
.step__sq { position: absolute; left: -12px; top: 0; padding: 0 12px; box-sizing: content-box; width: var(--sic); height: var(--sic);
  background: var(--wine) var(--paper); background-blend-mode: soft-light; }
.step__sq .sic { width: 100%; height: 100%; overflow: visible; }
.step__k { font-size: max(12px, calc(17 * var(--px))); letter-spacing: .1em; text-transform: uppercase; color: var(--peach); margin-bottom: max(12px, calc(18 * var(--px))); }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: max(27px, calc(46 * var(--px))); line-height: 1.1; margin-bottom: max(14px, calc(22 * var(--px))); max-width: 9em; }
.step p:not(.step__k) { font-size: max(15px, calc(22 * var(--px))); line-height: 1.6; color: rgba(255, 247, 238, .86); }
.story__close { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: max(56px, calc(140 * var(--px))); padding-top: max(36px, calc(70 * var(--px))); border-top: 1px solid rgba(255, 247, 238, .26); }
.story__sum { font-family: var(--f-display); font-weight: 400; font-size: max(30px, calc(60 * var(--px))); line-height: 1.12; }
.story__warm { color: var(--peach); }
.story__cta { display: flex; flex-direction: column; align-items: flex-end; gap: max(14px, calc(22 * var(--px))); }
.story__cta p { font-size: max(16px, calc(23 * var(--px))); }
.btn--lg { font-size: max(14px, calc(19 * var(--px))); padding: max(16px, calc(26 * var(--px))) max(28px, calc(44 * var(--px))); letter-spacing: .12em; }
@media (max-width: 900px) {
  .story__head { grid-template-columns: 1fr; gap: 24px; }
  .story__steps { grid-template-columns: 1fr; gap: 44px; }
  /* the timeline runs down the left edge */
  .story { --sic: 34px; }
  .story__line { left: calc(var(--sic) / 2); right: auto; top: 8px; bottom: 0; width: 1px; height: auto; }
  .story__line i { width: 100%; height: 100%; transform-origin: 50% 0; }
  .step { padding: 2px 0 0 calc(var(--sic) + 20px); }
  .step__sq { left: 0; top: -8px; padding: 8px 0; }
  .story__cta { align-items: flex-start; }
}

/* ---------------------------------------------------------------- 5 · collaboration (burgundy) */
.collab { background: var(--wine) var(--paper); background-blend-mode: soft-light; color: var(--cream); padding: max(80px, calc(170 * var(--px))) 0 max(70px, calc(130 * var(--px))); }
.collab__grid { display: grid; grid-template-columns: 1fr calc(760 * var(--px) + 40px); gap: calc(80 * var(--px)); align-items: start; }
.collab__copy .h2 { margin-bottom: max(28px, calc(70 * var(--px))); max-width: 6.4em; }
.collab__copy p:not(.eyebrow) { color: #f7c17e; font-size: max(16px, calc(23 * var(--px))); line-height: 1.5; max-width: 27em; }
.collab__copy p + p { margin-top: 1.4em; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: max(40px, calc(80 * var(--px))) calc(40 * var(--px)); padding-top: calc(28 * var(--px)); }
.partner { display: flex; flex-direction: column; align-items: center; gap: max(18px, calc(34 * var(--px))); text-align: center; }
.partner__role { font-size: max(11px, calc(17 * var(--px))); letter-spacing: .06em; text-transform: uppercase; }
.partner__logo { display: grid; place-items: center; height: max(46px, calc(100 * var(--px))); width: auto; transition: transform .6s var(--ease); }
.partner__logo svg { height: 100%; width: auto; color: #fff; }
.partner__logo--cove { height: max(46px, calc(93 * var(--px))); }
.partner__logo--oa { height: max(26px, calc(50 * var(--px))); margin-block: max(10px, calc(25 * var(--px))); }
.partner__logo--jig { height: max(36px, calc(70 * var(--px))); margin-block: max(5px, calc(15 * var(--px))); }
.partner__logo--pc { height: max(46px, calc(94 * var(--px))); }
.partner:hover .partner__logo { transform: translateY(-4px) scale(1.04); }
@media (max-width: 900px) {
  .collab__grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------------------------------------------------------------- shared: closing card */
.start { padding: 0 0 max(56px, calc(110 * var(--px))); background: var(--wine) var(--paper); background-blend-mode: soft-light; }
.start__card {
  width: min(calc(100% - 40px), max(calc(1530 * var(--px)), 0px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px);
  padding: max(40px, calc(120 * var(--px))) max(28px, calc(86 * var(--px)));
  border-radius: max(12px, var(--radius)); color: var(--wine);
  background: var(--paper), linear-gradient(100deg, #f1ece4 0%, #faf7f3 50%, #ede5dc 100%); background-blend-mode: soft-light, normal;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .5);
}
.start__title { font-family: var(--f-display); font-weight: 400; font-size: max(40px, calc(96 * var(--px))); line-height: 1; white-space: nowrap; }
@media (max-width: 420px) { .start__title { white-space: normal; } }
.start__side { display: flex; flex-direction: column; gap: max(16px, calc(26 * var(--px))); align-items: flex-start; }
.start__side p { font-size: max(16px, calc(24 * var(--px))); line-height: 1.38; }
@media (max-width: 760px) { .start__card { grid-template-columns: 1fr; } .start__card { width: calc(100% - 32px); } }
@media (max-width: 420px) { .start .btn { white-space: normal; text-align: center; } }

/* ---------------------------------------------------------------- shared: footer */
.foot { background: var(--wine-deep) var(--paper); background-blend-mode: soft-light; color: var(--cream); padding: clamp(60px, 10vh, 100px) clamp(16px, 4vw, 64px) 28px; text-align: center; }
.foot__top { display: grid; justify-items: center; gap: 22px; }
.foot__logo { 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; }
.foot__line span { display: block; font-style: italic; color: var(--peach-nav); }
.foot__nav, .foot__connect { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.foot__nav a, .foot__connect a { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.foot__nav a:hover, .foot__connect a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__tag { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(254, 237, 219, .72); line-height: 1.8; margin-top: 22px; }
.foot__base { font-size: 11px; letter-spacing: .06em; opacity: .55; margin-top: 18px; }
@media (max-width: 820px) { .foot__line { font-size: 22px; } .foot__tag { font-size: 10px; letter-spacing: .22em; } .foot__connect a:first-child { flex-basis: 100%; } }

/* ---------------------------------------------------------------- phones: the hero lines run free */
@media (max-width: 760px) {
  .why__title { font-size: clamp(34px, 9.6vw, 52px); line-height: 1.06; }
  .why__title .ln { display: inline; }
  .why__last { display: block !important; margin-top: .3em; }
  .pill { width: 2.6em; } .pill--hand { width: 2.4em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* r19 arrows: once drawn, each arrow nudges gently toward its name */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  .arrow svg { animation: arrowNudge 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .arrow--from-right svg { animation-name: arrowNudgeL; }
}
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes arrowNudgeL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
/* r19 arrows */

/* r20 pills: always open, click to pop */
.pill { cursor: pointer; }
/* r20 pills */

/* r20b story icons: each one breathes slowly on its own (sine, 6 s); nothing on reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .sic * { transform-box: fill-box; }
  .sic-ask__dot { transform-origin: 50% 100%; animation: sicDot 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-ask__b { transform-origin: 0% 100%; animation: sicBub 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-lens__l { animation: sicL 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-lens__r { animation: sicR 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-lens__m { transform-origin: 50% 50%; animation: sicM 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-grid__a { animation: sicA 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-grid__b { animation: sicB 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-grid__c { animation: sicC 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .sic-grid__d { animation: sicD 6s cubic-bezier(.45, 0, .55, 1) infinite; }
}
@keyframes sicDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes sicBub { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes sicL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-2px); } }
@keyframes sicR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes sicM { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.78); opacity: .85; } }
@keyframes sicA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-1.5px, -1.5px); } }
@keyframes sicB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1.5px, -1.5px); } }
@keyframes sicC { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-1.5px, 1.5px); } }
@keyframes sicD { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(1.5px, 1.5px); } }
/* r20b story icons */

/* r22 (19 Nov): the three cards: equal height, text centred in the box, one paragraph size and weight */
@media (min-width: 901px) {
  .pillars { align-items: stretch; }
  .pillar, .pillar--wine { display: flex; flex-direction: column; justify-content: center; min-height: max(280px, calc(400 * var(--px)));
    padding: max(32px, calc(56 * var(--px))) max(28px, calc(52 * var(--px))); }
  .pillar p { max-width: 17em; }
}
.pillar p { font-size: max(16px, calc(23 * var(--px))); font-weight: 400; line-height: 1.45; text-wrap: pretty; }
.pillar--wine p { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.pillar h2 { margin-bottom: max(12px, calc(20 * var(--px))); }
/* r22: Our story: the line stops at the last icon */
@media (min-width: 901px) { .story__line { right: calc((100% - 2 * (72 * var(--px))) / 3 - var(--sic) / 2); } }
/* r22: the collage stays exactly as laid out; hover no longer restacks photos over the squares */
.ph:hover { z-index: auto; }
/* r22: The people we build with: room between the two lines */
.collab__copy .h2 { line-height: 1.14; }
/* r22 */

/* r23 (19 Nov): smaller cards that fit the smaller text */
@media (min-width: 901px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: max(18px, calc(28 * var(--px))); max-width: max(860px, calc(1320 * var(--px))); margin-left: auto; margin-right: auto; }
  .pillar, .pillar--wine { min-height: 0; justify-content: flex-start; padding: max(28px, calc(44 * var(--px))) max(26px, calc(42 * var(--px))); }
  .pillar p { max-width: none; }
  .pillar h2 { font-size: max(28px, calc(46 * var(--px))); }
}
@media (max-width: 900px) {
  .pillar, .pillar--wine { padding: 26px 24px; }
}
/* r23 */

/* r24 (19 Nov): her final collage, desktop and phone versions; names and arrows stay on top on desktop */
.collage.collage--image { position: relative; aspect-ratio: auto; display: block; container-type: inline-size; }
.collage--image picture, .collage--image picture img { display: block; width: 100%; height: auto; }
.collage--image .ph { pointer-events: none; }
@media (max-width: 760px) {
  .collage.collage--image { display: block; max-width: 520px; margin: 0 auto; container-type: normal; }
  .collage--image .ph { display: none; }
}
/* r24 */

/* r25 (19 Nov): photos only, no corner squares; phones follow her phone layout */
.sq { display: none; }
@media (max-width: 760px) {
  .collage { display: block; position: relative; aspect-ratio: 1826 / 3342; max-width: 520px; margin: 0 auto; gap: 0; container-type: inline-size; }
  .ph { position: absolute; left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); order: 0; }
  .ph__img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 8px; }
  .who, .arrow { display: none; }
}
/* r25 */
