/* ============================================================
   QWEEN — editorial case study
   A premium, typography-led case study built on top of the shared
   base.css (nav, footer, fonts, tokens). Everything here is scoped
   to `body.qw` so it can't leak into the rest of the portfolio.

   Architecture mirrors the price-genie editorial system; the
   palette and voice are QWEEN's own — ivory paper, charcoal ink,
   a single gilt accent used sparingly. Serif carries every major
   statement; the sans carries body, labels and annotation.
   ============================================================ */

body.qw {
  /* ---- tokens ---- */
  --bg: #EAEAEA;            /* site grey — matches the homepage --cream */
  --bg-panel: #E1E1E1;      /* deeper grey for quiet panels */
  --bg-ink: #0F0F11;        /* neutral near-black ink (dark bands, hero) */
  --bg-ink-2: #16161A;
  --text: #1C1C1C;
  --text-2: #333333;
  --muted: #6E6E6E;
  --faint: #A6A6A6;
  --line: rgba(28, 28, 28, 0.13);
  --line-2: rgba(28, 28, 28, 0.26);
  --accent: #1E2A9E;        /* brand blue — matches the homepage accent, legible on ivory */
  --gilt: #9AA6E8;          /* soft blue for hairlines / decoration on dark bands + hero */
  --accent-ink: #ffffff;    /* text on accent / ink */

  --content: 1460px;
  --measure: 660px;
  --gutter: clamp(22px, 6vw, 96px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.74s;

  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', system-ui, sans-serif;

  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}
body.qw ::selection { background: var(--accent); color: var(--accent-ink); }

/* Nav sits on ivory once scrolled (base.css defaults to the site cream). */
body.qw nav.scrolled { background: rgba(234, 234, 234, 0.9); box-shadow: 0 1px 0 var(--line); }
body.qw nav.scrolled .nav-links a { color: var(--text); }
body.qw nav.scrolled .nav-book-btn { background: var(--accent); border-color: var(--accent); }
body.qw nav.scrolled .nav-book-btn:hover { background: var(--brand-blue-hover); }

/* ---------- LAYOUT PRIMITIVES ---------- */
.qw-wrap { max-width: var(--content); margin: 0 auto; padding-inline: var(--gutter); }
.qw-section { padding-block: clamp(64px, 8.5vw, 128px); position: relative; }
.qw-section--tight { padding-block: clamp(44px, 5.5vw, 80px); }
.qw-measure { max-width: var(--measure); }
.qw-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 3vw, 44px); }
.qw-rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- TYPE ---------- */
.qw-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.qw-eyebrow .n { color: var(--accent); }

.qw-display {
  font-family: var(--font-serif); font-weight: 400; font-style: normal;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.03; letter-spacing: -0.01em;
}
.qw-h {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -0.005em;
}
.qw-statement {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2rem, 3.9vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 20ch;
}
.qw-lead { font-size: clamp(1.05rem, 1.3vw, 1.24rem); line-height: 1.55; color: var(--text); font-weight: 400; max-width: 42ch; }
.qw-body { font-size: 1.0625rem; line-height: 1.72; color: var(--text-2); font-weight: 400; }
.qw-body + .qw-body { margin-top: 1.1em; }
.qw-body strong { font-weight: 600; color: var(--text); }
.qw-body em { font-style: italic; }
.qw-small { font-size: 0.82rem; letter-spacing: 0.02em; color: var(--muted); line-height: 1.6; }
.qw-ul { list-style: none; margin: 1.2em 0 0; padding: 0; max-width: var(--measure); }
.qw-ul li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.6; color: var(--text-2); }
.qw-ul li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 8px; height: 1px; background: var(--accent); }
.qw-ul li strong { color: var(--text); font-weight: 600; }

/* Editorial pull statement (italic serif) */
.qw-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.18; letter-spacing: -0.01em;
  color: var(--text);
}
.qw-quote--accent { color: var(--accent); }
.qw-bigline { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; }

.qw-chaptertag { margin-bottom: clamp(28px, 4vw, 46px); }

/* concept flag — used only where content is unbuilt / exploratory */
.qw-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--line-2); padding: 8px 14px; margin-bottom: 26px;
}
.qw-flag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- MOTION ----------
   All initial-hidden states are gated on body.qw-anim, which qween.js adds
   only once it is confirmed running. No JS → no gate → content stays visible. */
body.qw-anim [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
body.qw-anim [data-reveal="scale"] { transform: translateY(26px) scale(0.978); }
body.qw-anim [data-reveal="fade"] { transform: none; }
body.qw-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* SVG path draw (paths use pathLength="1") */
.qw-svg path, .qw-svg line, .qw-svg polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.95s var(--ease); transition-delay: calc(var(--d,0) * 120ms); }
.qw-svg.is-in path, .qw-svg.is-in line, .qw-svg.is-in polyline { stroke-dashoffset: 0; }

/* ---------- PROGRESS INDEX ---------- */
.qw-progress {
  position: fixed; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 13px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.qw-progress.is-visible { opacity: 1; pointer-events: auto; }
.qw-progress a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; }
.qw-progress .bar {
  display: block; width: 22px; height: 1.5px; background: var(--line-2); opacity: 0.55;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s ease, opacity 0.35s ease;
}
.qw-progress a:hover .bar { opacity: 1; }
.qw-progress a.is-active .bar { width: 38px; height: 2px; background: var(--accent); opacity: 1; }
.qw-progress .lbl {
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transform: translateX(6px); transition: opacity 0.3s ease, transform 0.3s var(--ease); white-space: nowrap;
}
.qw-progress a:hover .lbl { opacity: 0.8; transform: none; }
.qw-progress a.is-active .lbl { opacity: 0.9; transform: none; color: var(--text); }
@media (max-width: 1180px) { .qw-progress { display: none; } }

/* ============================================================
   IMAGE / PLATE TREATMENTS
   Every visual is a designed placeholder ("plate") built to be
   swapped for a real screenshot: drop an <img> inside .qw-plate
   and the label/frame styling still frames it correctly.
   ============================================================ */
.qw-plate {
  position: relative; background: var(--bg-panel);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.qw-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qw-plate-note {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: clamp(26px, 5vw, 56px); max-width: 42ch;
}
.qw-plate-kind { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.qw-plate-desc { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.25; color: var(--muted); }
.qw-plate-swap { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
/* hairline corner ticks — quiet "this is an image slot" cue */
.qw-plate::before, .qw-plate::after {
  content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--line-2); pointer-events: none;
}
.qw-plate::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.qw-plate::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.qw-plate--tall { aspect-ratio: 4 / 5; }
.qw-plate--wide { aspect-ratio: 16 / 9; }
.qw-plate--pano { aspect-ratio: 21 / 8; }
.qw-plate--phone { aspect-ratio: 420 / 860; max-width: 340px; margin-inline: auto; border-radius: 22px; }
.qw-plate--square { aspect-ratio: 1 / 1; }

.qw-cap { margin-top: 14px; font-size: 0.82rem; color: var(--muted); line-height: 1.55; max-width: 48ch; }
.qw-figure { margin: 0; }
.qw-figure img, .qw-plate img { transition: transform 0.6s var(--ease); }
.qw-hoverable:hover img { transform: scale(1.02); }

/* full-bleed break-out (guarded by body overflow-x:hidden in base.css) */
.qw-bleed-media { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

/* ============================================================
   01 — HERO
   ============================================================ */
.qw-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--bg-ink); }
.qw-hero-bg { position: absolute; inset: 0; z-index: 0; }
.qw-hero-bg .qw-plate { width: 100%; height: 100%; border: 0; background: #14120d; align-items: flex-end; justify-content: flex-end; }
.qw-hero-bg .qw-plate-note { align-items: flex-end; text-align: right; padding: clamp(40px, 7vw, 96px); }
.qw-hero-bg .qw-plate::before, .qw-hero-bg .qw-plate::after { border-color: rgba(255,255,255,0.16); }
.qw-hero-bg .qw-plate-kind { color: var(--gilt); }
.qw-hero-bg .qw-plate-desc { color: rgba(255,255,255,0.4); }
.qw-hero-bg .qw-plate-swap { color: rgba(255,255,255,0.28); }
.qw-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,6,0.95) 0%, rgba(8,8,6,0.84) 40%, rgba(8,8,6,0.42) 66%, rgba(8,8,6,0.06) 100%),
    linear-gradient(to top, rgba(8,8,6,0.92) 0%, rgba(8,8,6,0.12) 56%);
}
.qw-hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
.qw-hero-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 26px; }
.qw-hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1.0; letter-spacing: -0.015em; color: #fff;
  max-width: 16ch; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}
.qw-hero-desc { margin-top: 30px; max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.62; color: rgba(255,255,255,0.82); }
.qw-hero-meta { margin-top: 44px; display: grid; grid-template-columns: repeat(4, auto); gap: 30px 46px; justify-content: start; }
.qw-hero-meta dt { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gilt); margin-bottom: 8px; }
.qw-hero-meta dd { font-size: 0.9rem; line-height: 1.45; color: rgba(255,255,255,0.9); }

.qw-hero-scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 72px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qw-hero-scroll span { writing-mode: vertical-rl; font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.qw-hero-scroll::after { content: ''; width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: qwScroll 2.4s var(--ease) infinite; }
@keyframes qwScroll { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero load choreography */
body.qw.qw-anim .qw-hero [data-hero] { opacity: 0; transform: translateY(30px); }
body.qw.hero-ready .qw-hero [data-hero] { opacity: 1; transform: none; transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); transition-delay: calc(var(--hd, 0) * 120ms); }

/* ============================================================
   STORYBOARD — three surfaces, layered (under hero)
   ============================================================ */
.qw-storyboard { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.qw-storyboard .qw-plate {
  margin: 0; width: clamp(150px, 18vw, 232px); aspect-ratio: 420 / 860;
  border-radius: 18px; background: var(--bg-panel);
  box-shadow: 0 34px 70px -30px rgba(20, 18, 12, 0.5);
}
.qw-storyboard .s1 { width: clamp(168px, 21vw, 264px); z-index: 3; transform: translateY(-4%) rotate(-1deg); }
.qw-storyboard .s2 { z-index: 2; margin-right: -5%; transform: rotate(-2deg); }
.qw-storyboard .s3 { z-index: 1; margin-left: -5%; transform: rotate(2deg); }

/* ============================================================
   01 — CONFIDENCE GAP: SHOWROOM vs ECOMMERCE (editorial, no cards)
   ============================================================ */
.qw-versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 5vw, 90px); align-items: start; margin-block: clamp(52px, 8vw, 100px); }
.qw-versus-col h3 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.qw-versus-col.now h3 { color: var(--accent); }
.qw-versus-step { font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.75rem); line-height: 1; letter-spacing: -0.01em; padding-block: 13px; border-top: 1px solid var(--line); }
.qw-versus-col.muted .qw-versus-step { color: var(--faint); }
.qw-versus-col.now .qw-versus-step { color: var(--text); }
.qw-versus-mid { align-self: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.9rem); color: var(--faint); }
@media (max-width: 820px) { .qw-versus { grid-template-columns: 1fr; gap: 30px; } .qw-versus-mid { transform: none; justify-self: start; } }

/* ============================================================
   HORIZONTAL SEQUENCE  A → B → C  (confidence moments, ecosystem)
   ============================================================ */
.qw-seq { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(8px, 1.4vw, 20px); margin-block: clamp(46px, 7vw, 84px); }
.qw-seq-node {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.75rem); line-height: 1; letter-spacing: -0.01em; color: var(--text);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--d,0) * 130ms);
}
body.qw-anim .qw-seq-node { opacity: 0; transform: translateY(14px); }
.qw-seq-node .idx { font-size: 0.62em; color: var(--accent); vertical-align: 0.35em; margin-right: 0.35em; letter-spacing: 0; }
.qw-seq.is-in .qw-seq-node { opacity: 1; transform: none; }
.qw-seq-link { flex: 1 1 16px; min-width: 18px; height: 1px; background: var(--line-2); transform-origin: left; transition: transform 0.5s var(--ease); transition-delay: calc((var(--d,0) * 130ms) - 40ms); }
body.qw-anim .qw-seq-link { transform: scaleX(0); }
.qw-seq.is-in .qw-seq-link { transform: scaleX(1); }
.qw-seq--quiet .qw-seq-node { font-size: clamp(0.95rem, 1.5vw, 1.35rem); color: var(--text-2); }

/* ============================================================
   03 — DESIGN PRINCIPLES (vertical, alternating text/plate)
   ============================================================ */
.qw-principles { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.qw-principle {
  display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-block: clamp(40px, 6vw, 78px); border-bottom: 1px solid var(--line);
}
.qw-principle:nth-child(even) .qw-principle-media { order: -1; }
.qw-principle-idx { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--faint); line-height: 1; }
.qw-principle-name { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -0.01em; margin: 14px 0 16px; }
.qw-principle-copy { max-width: 46ch; }
@media (max-width: 860px) {
  .qw-principle { grid-template-columns: 1fr; gap: 24px; }
  .qw-principle:nth-child(even) .qw-principle-media { order: 0; }
}

/* ============================================================
   04 — THE SHIFT (scroll-controlled transformation)
   ============================================================ */
.qw-shift-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.qw-shift-aside { position: sticky; top: 22vh; }
.qw-shift-statement { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.14; letter-spacing: -0.01em; margin-top: 18px; max-width: 18ch; }
.qw-shift-track { position: relative; }
.qw-shift-viewport { position: sticky; top: 18vh; height: 62vh; }
.qw-shift-frame { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: scale(0.985) translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.qw-shift-frame.is-on { opacity: 1; transform: none; }
.qw-shift-phase { height: 88vh; }
.qw-shift-flowlabel { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.qw-shift-frame.now .qw-shift-flowlabel { color: var(--accent); }
.qw-shift-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.qw-shift-node { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--text); }
.qw-shift-node.lead { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.qw-shift-node.dim { color: var(--faint); }
.qw-shift-sep { color: var(--faint); font-size: 0.9em; }
.qw-shift-q { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.16; color: var(--text); max-width: 18ch; }
.qw-shift-note { margin-top: 22px; font-size: 0.95rem; color: var(--muted); max-width: 34ch; line-height: 1.55; }
/* No-JS fallback: without the qw-anim gate, present the shift as a static
   stack rather than absolutely-positioned frames that would overlap. */
body.qw:not(.qw-anim) .qw-shift-viewport { position: static; height: auto; }
body.qw:not(.qw-anim) .qw-shift-frame { position: static; opacity: 1; transform: none; padding: 30px 0; border-top: 1px solid var(--line); }
body.qw:not(.qw-anim) .qw-shift-phase { display: none; }
body.qw:not(.qw-anim) .qw-stick-stage { display: none; }
body.qw:not(.qw-anim) .qw-stick-steps { padding-block: 0; }
body.qw:not(.qw-anim) .qw-stick-step { min-height: 0; opacity: 1; padding-block: 40px; border-bottom: 1px solid var(--line); }
body.qw:not(.qw-anim) .qw-stick-step .mobile-plate { display: block; width: 74%; max-width: 300px; margin-bottom: 22px; }

@media (max-width: 900px) {
  .qw-shift-layout { grid-template-columns: 1fr; }
  .qw-shift-aside { position: static; }
  .qw-shift-viewport { position: static; height: auto; }
  .qw-shift-frame { position: static; opacity: 1; transform: none; padding: 34px 0; border-top: 1px solid var(--line); }
  .qw-shift-phase { display: none; }
}

/* ============================================================
   05 — THE PDP (hero object + sticky experience + annotated understand)
   ============================================================ */
.qw-pdp-hero { margin-block: clamp(40px, 6vw, 80px); }
.qw-pdp-hero .qw-plate { border: 1px solid var(--line); background: var(--bg-panel); }

.qw-subchapter { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 3vw, 34px); }
.qw-subchapter .num { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--accent); }
.qw-subchapter .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* split: sticky visual left, narrative right (or reversed) */
.qw-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.qw-split--rev .qw-split-media { order: 2; }
.qw-split-sticky { position: sticky; top: 96px; }
.qw-split-copy > * + * { margin-top: 1.1em; }
@media (max-width: 960px) {
  .qw-split { grid-template-columns: 1fr; gap: 26px; }
  .qw-split--rev .qw-split-media { order: 0; }
  .qw-split-sticky { position: static; }
}

/* sticky experience — cross-fading plates + scrolling steps */
.qw-stick { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.qw-stick-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; }
.qw-stick-viewport { position: relative; width: 100%; max-width: 460px; aspect-ratio: 4 / 5; }
.qw-stick-plate { position: absolute; inset: 0; opacity: 0; transform: scale(0.99); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.qw-stick-plate.is-active { opacity: 1; transform: none; }
.qw-stick-steps { padding-block: 16vh; }
.qw-stick-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.4; transition: opacity 0.4s var(--ease); }
.qw-stick-step.is-active { opacity: 1; }
.qw-stick-step .n { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 0.9; color: var(--faint); transition: color 0.4s var(--ease); }
.qw-stick-step.is-active .n { color: var(--accent); }
.qw-stick-step h4 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.06; margin-top: 10px; color: var(--faint); transition: color 0.4s var(--ease); }
.qw-stick-step.is-active h4 { color: var(--text); }
.qw-stick-step p { margin-top: 12px; max-width: 42ch; }
.qw-stick-step .mobile-plate { display: none; }
@media (max-width: 860px) {
  .qw-stick { grid-template-columns: 1fr; }
  .qw-stick-stage { display: none; }
  .qw-stick-steps { padding-block: 0; }
  .qw-stick-step { min-height: 0; padding-block: 40px; border-bottom: 1px solid var(--line); opacity: 1; }
  .qw-stick-step:last-child { border-bottom: 0; }
  .qw-stick-step h4, .qw-stick-step.is-active h4 { color: var(--text); }
  .qw-stick-step .n, .qw-stick-step.is-active .n { color: var(--accent); }
  .qw-stick-step .mobile-plate { display: block; width: 74%; max-width: 300px; margin-bottom: 22px; }
}

/* annotated crop (understand) */
.qw-annot { position: relative; }
.qw-annot-tags { display: flex; flex-direction: column; gap: 0; margin-top: 22px; }
.qw-annot-tag {
  display: grid; grid-template-columns: minmax(120px, 0.3fr) 1fr; gap: clamp(14px, 3vw, 40px);
  padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.qw-annot-tag .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.qw-annot-tag .v { font-size: 1rem; line-height: 1.55; color: var(--text-2); }

/* ============================================================
   06 — TRUST (layered composition: large plate + detail crops)
   ============================================================ */
.qw-trust { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; margin-block: clamp(44px, 6vw, 80px); }
.qw-trust-details { display: grid; grid-template-rows: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.qw-trust-list { border-top: 1px solid var(--line-2); margin-top: clamp(36px, 5vw, 60px); }
.qw-trust-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding-block: clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--line); }
.qw-trust-item h4 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.05; letter-spacing: -0.005em; }
.qw-trust-item p { margin-top: 6px; font-size: 0.95rem; color: var(--muted); line-height: 1.5; max-width: 52ch; }
.qw-trust-item .mk { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 860px) {
  .qw-trust { grid-template-columns: 1fr; }
  .qw-trust-details { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .qw-trust-details { grid-template-columns: 1fr; } }

/* ============================================================
   07 — HUMAN + DIGITAL (concierge) : vertical flow + split
   ============================================================ */
.qw-flow { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-block: clamp(40px, 6vw, 72px); }
.qw-flow-step { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -0.01em; padding-block: 6px; }
.qw-flow-step.hl { color: var(--accent); }
.qw-flow-link { width: 1px; height: clamp(22px, 3vw, 34px); background: var(--line-2); margin: 8px 0 8px 2px; }

/* ============================================================
   08 — OWNERSHIP (lifecycle) — reuses .qw-seq
   09 — BROADER EXPERIENCE — reuses .qw-seq--quiet
   ============================================================ */

/* ============================================================
   10 — OUTCOME (before / after)
   ============================================================ */
.qw-outcome { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; margin-block: clamp(48px, 7vw, 96px); }
.qw-outcome-col h3 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.qw-outcome-col .sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--faint); margin-bottom: 26px; }
.qw-outcome-col.now h3 { color: var(--accent); }
.qw-outcome-col.now .sub { color: var(--accent); }
.qw-outcome-step { font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1; letter-spacing: -0.01em; padding-block: 12px; border-top: 1px solid var(--line); }
.qw-outcome-col.was .qw-outcome-step { color: var(--faint); }
.qw-outcome-mid { align-self: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.9rem); color: var(--faint); }
@media (max-width: 820px) { .qw-outcome { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   DARK BAND (research / trust emphasis, hero-adjacent)
   ============================================================ */
.qw-band { background: var(--bg-ink); color: #fff; }
.qw-band .qw-eyebrow { color: rgba(255,255,255,0.55); }
.qw-band .qw-eyebrow .n { color: var(--gilt); }
.qw-band .qw-statement, .qw-band .qw-display, .qw-band .qw-h { color: #fff; }
.qw-band .qw-body { color: rgba(255,255,255,0.78); }
.qw-band .qw-quote { color: #fff; }
.qw-band .qw-quote--accent { color: var(--gilt); }
.qw-band .qw-flag { color: var(--gilt); border-color: rgba(255,255,255,0.24); }
.qw-band .qw-flag::before { background: var(--gilt); }
.qw-band .qw-trust-list, .qw-band .qw-trust-item { border-color: rgba(255,255,255,0.16); }
.qw-band .qw-trust-item .mk { color: var(--gilt); }
.qw-band .qw-trust-item p { color: rgba(255,255,255,0.6); }
.qw-band .qw-plate { background: #1a1811; border-color: rgba(255,255,255,0.14); }
.qw-band .qw-plate::before, .qw-band .qw-plate::after { border-color: rgba(255,255,255,0.2); }
.qw-band .qw-plate-desc { color: rgba(255,255,255,0.4); }
.qw-band .qw-cap, .qw-band .qw-small { color: rgba(255,255,255,0.5); }

/* ---------- CTA ---------- */
.qw-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding-block: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.qw-cta-note { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qw-cta a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 15px 30px; text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s ease; }
.qw-cta a:hover { transform: translateY(-1px); background: var(--brand-blue-hover); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .qw-hero-meta { grid-template-columns: repeat(4, auto); gap: 26px 34px; }
}
@media (max-width: 860px) {
  .qw-hero-meta { grid-template-columns: repeat(2, auto); gap: 24px 40px; }
  .qw-storyboard .qw-plate { width: clamp(120px, 30vw, 180px); }
}
@media (max-width: 560px) {
  .qw-seq { gap: 8px 10px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  body.qw * { animation: none !important; }
  [data-reveal], .qw-seq-node, .qw-seq-link,
  body.qw .qw-hero [data-hero], .qw-stick-plate.is-active {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .qw-svg path, .qw-svg line, .qw-svg polyline { stroke-dashoffset: 0 !important; }
  .qw-hero-scroll::after { display: none; }
  .qw-shift-viewport { position: static !important; height: auto !important; }
  .qw-shift-frame { position: static !important; opacity: 1 !important; transform: none !important; }
  .qw-shift-phase { display: none !important; }
  .qw-stick-stage { position: static !important; height: auto !important; }
}
