/* =============================================================
   ROOTegra — the Academy guide (/guide and /guide/*)
   Loaded after styles.css on guide pages only.
   The Salon After Hours, with the lights on the station:
   antique brass foil, brushed chrome from sage and ivory,
   pearl from parchment, dusty blue, and sage.
   ============================================================= */

.gd {
  --clay-ink: #8A5C43;          /* clay that passes AA on parchment */
  --moss-ink: #46523F;
  --dusty-ink: #46637F;
  --pearl-0: #FBF6EF;
  --card: #FFFCF7;

  /* antique brass foil */
  --foil: linear-gradient(100deg, #8C7442 0%, #E8D9AE 18%, #C4A766 34%, #F6EED4 50%, #A98C4E 66%, #E2D09E 82%, #8C7442 100%);
  /* deep foil for numerals on parchment */
  --foil-deep: linear-gradient(100deg, #6B5527 0%, #B89A5A 26%, #7C6430 48%, #C9AE72 70%, #6B5527 100%);
  /* foil that stays dark enough to carry ink-colored text */
  --foil-soft: linear-gradient(100deg, #E2D3A6 0%, #F6EFD8 30%, #DCCB98 55%, #F2E8CC 78%, #DFCF9F 100%);
  /* brushed chrome, mixed from sage and ivory */
  --chrome: linear-gradient(150deg, #F6F3EC 0%, #CDD0C6 22%, #949D8F 42%, #EDEAE2 58%, #A7AE9F 78%, #F3F0E9 100%);
  /* pearl: parchment with a wash of blue and sage */
  --pearl: radial-gradient(120% 90% at 85% 0%, rgba(143,166,194,0.22), transparent 55%),
           radial-gradient(90% 80% at 0% 100%, rgba(140,152,136,0.20), transparent 60%),
           radial-gradient(70% 60% at 30% 20%, rgba(140,152,136,0.14), transparent 60%),
           #FBF6EF;
  /* the holographic band that sweeps across on hover */
  --holo: linear-gradient(115deg, transparent 28%, rgba(246,238,212,0.0) 34%, rgba(246,238,212,0.55) 42%, rgba(186,205,226,0.45) 49%, rgba(205,216,196,0.40) 55%, rgba(246,238,212,0.0) 64%, transparent 70%);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

:where(.gd) svg { width: 1.15em; height: 1.15em; flex: none; }
.gd main { overflow-x: clip; }
.gd .g-body :focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 3px; }
.gd .g-panel :focus-visible, .gd .g-quiz :focus-visible, .gd .g-most :focus-visible, .gd .flip-back :focus-visible { outline-color: var(--clay); }
html:has(body.gd) { scroll-padding-top: 84px; interpolate-size: allow-keywords; }

/* ------------------------------------------------------------
   Foil type: one accent word per page head
   ------------------------------------------------------------ */
.foil-text {
  color: #E2D3A6;
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: foil-drift 9s var(--ease-io) infinite alternate;
  padding-right: 0.06em;
}
@keyframes foil-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ------------------------------------------------------------
   Page head
   ------------------------------------------------------------ */
.g-head {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(201,165,142,0.10), transparent 60%),
    radial-gradient(50% 60% at 6% 100%, rgba(143,166,194,0.07), transparent 60%),
    var(--night);
}
.g-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.g-head h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.g-head h1 em { font-style: italic; }
.g-head .doc-intro { font-size: 1.1rem; line-height: 1.6; color: var(--ivory-80); max-width: 52ch; }
.g-head .hand { margin-top: 22px; color: var(--dusty); font-size: 1.35rem; }
.g-head-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.g-chip-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--rule-strong);
  color: var(--ivory); font-size: 0.95rem; font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.g-chip-link:hover { color: var(--ivory); border-color: var(--clay); background: rgba(201,165,142,0.08); }
.g-chip-link svg { width: 18px; height: 18px; color: var(--clay); }

/* ------------------------------------------------------------
   The mirror stage: arched salon mirror, phones in front
   ------------------------------------------------------------ */
.g-stage {
  position: relative;
  min-height: 580px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 28px;
  isolation: isolate;
}
.g-mirror {
  position: absolute; z-index: -1;
  left: 50%; bottom: 0;
  width: min(86%, 420px); aspect-ratio: 3 / 4;
  transform: translateX(-50%);
  border-radius: 999px 999px 18px 18px;
  padding: 7px;
  background: var(--chrome);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.65), inset 0 0 0 1px rgba(255,255,255,0.35);
}
.g-mirror-glass {
  position: relative; height: 100%;
  border-radius: 999px 999px 12px 12px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 32%),
    radial-gradient(120% 80% at 70% 10%, rgba(143,166,194,0.35), transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(201,165,142,0.40), transparent 65%),
    #E7E0D6;
}
.g-mirror-glass picture, .g-mirror-glass img { width: 100%; height: 100%; object-fit: cover; }
.g-mirror-glass .g-orn {
  position: absolute; left: 22%; top: 7%; width: 56%; height: auto; aspect-ratio: 200 / 160;
  color: rgba(70,82,63,0.38);
}
.g-mirror-glass::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.35) 48%, transparent 56%);
  pointer-events: none;
}
.g-stage .phone { position: relative; }
.g-stage .phone:nth-child(2) { --w: 172px; transform: rotate(-8deg) translate(34px, 6px); z-index: 1; }
.g-stage .phone:nth-child(3) { --w: 206px; transform: translateY(-6px); z-index: 2; }
.g-stage .phone:nth-child(4) { --w: 172px; transform: rotate(7deg) translate(-34px, 10px); z-index: 1; }
.g-stage.n1 .phone:nth-child(2) { --w: 236px; transform: rotate(-3deg) translateY(-6px); }
.g-stage .g-note {
  position: absolute; z-index: 3; right: -6px; top: -4px;
  font-family: var(--script); color: var(--dusty); font-size: 1.3rem; line-height: 1.15;
  transform: rotate(-4deg); text-align: right; max-width: 11ch;
}
.g-stage .g-note svg { display: block; margin: 4px 0 0 auto; width: 46px; height: 30px; color: var(--dusty); }
.g-stage .spark { position: absolute; z-index: 3; color: #F3E2D3; }
.g-stage .spark.s1 { left: 9%; top: 9%; width: 22px; }
.g-stage .spark.s2 { left: 16%; top: 3%; width: 11px; opacity: .8; }
.g-stage .spark.s3 { right: 3%; top: 38%; width: 15px; }
.spark { animation: twinkle 3.6s var(--ease-io) infinite; }
.spark.s2 { animation-delay: 1.1s; } .spark.s3 { animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* ------------------------------------------------------------
   Phone frame: titanium edge, glass, a sheen that follows hover
   ------------------------------------------------------------ */
.phone {
  --w: 240px;
  width: var(--w); max-width: 100%;
  flex: none;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(145deg, #7C8476 0%, #3A4135 18%, #262B23 40%, #59614F 52%, #2B3027 66%, #20241C 84%, #6E7668 100%);
  box-shadow:
    inset 0 0 0 1px rgba(233,207,187,0.55),
    inset 0 0 0 2px rgba(0,0,0,0.5),
    inset 0 1px 1px 2px rgba(255,255,255,0.18),
    0 1px 0 rgba(255,255,255,0.4),
    0 28px 50px -26px rgba(28,33,26,0.65),
    0 10px 20px -12px rgba(28,33,26,0.35);
  position: relative;
  margin: 0;
}
.phone::before { /* side buttons */
  content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 12%;
  border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #3A4135, #7C8476);
}
.phone-screen {
  position: relative; overflow: hidden;
  border-radius: calc(var(--w) * 0.145);
  background: #F8F5F0;
  aspect-ratio: 1206 / 2622;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-screen::after { /* glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.04) 26%, transparent 40%);
}
.phone.is-crop .phone-screen { aspect-ratio: var(--ar, 1206 / 1400); }
.phone.is-crop { border-bottom-left-radius: calc(var(--w) * 0.05); border-bottom-right-radius: calc(var(--w) * 0.05); }
.phone.is-crop .phone-screen { border-bottom-left-radius: calc(var(--w) * 0.025); border-bottom-right-radius: calc(var(--w) * 0.025); }

/* sheen: a holographic band that crosses on hover or focus */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 2;
  background: var(--holo);
  transform: translateX(-75%);
  transition: transform 1.1s var(--ease-out);
  mix-blend-mode: soft-light;
}
.sheen:hover::after, .sheen:focus-within::after, .sheen.is-lit::after { transform: translateX(75%); }
.phone.sheen { overflow: visible; }
.phone.sheen::after { display: none; }
.phone.sheen .phone-screen::before {
  content: ""; position: absolute; inset: -10%; z-index: 2; pointer-events: none;
  background: var(--holo); transform: translateX(-80%); transition: transform 1.2s var(--ease-out);
  mix-blend-mode: soft-light;
}
.phone.sheen:hover .phone-screen::before, figure:hover > .phone.sheen .phone-screen::before { transform: translateX(80%); }

/* numbered annotation pins on a screenshot */
.pin {
  position: absolute; z-index: 3;
  left: var(--x); top: var(--y);
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 600 13px/1 var(--sans); color: #2A2420;
  background: var(--foil-soft);
  box-shadow: 0 0 0 2px #FFFCF7, 0 4px 10px rgba(28,33,26,0.35);
}
.pin::after { /* soft pulse ring */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(201,165,142,0.8);
  animation: pin-pulse 2.6s var(--ease-out) infinite;
}
@keyframes pin-pulse { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.pin-ring { /* outline drawn around the control being described */
  position: absolute; z-index: 2;
  left: var(--x); top: var(--y); width: var(--rw); height: var(--rh);
  border-radius: 12px; border: 2px solid #C9A58E;
  box-shadow: 0 0 0 4px rgba(201,165,142,0.25);
}

/* ------------------------------------------------------------
   Section switch and the contents list
   ------------------------------------------------------------ */
.gd .guide-tabs { position: sticky; top: 63px; z-index: 40; background: rgba(28,33,26,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gd .guide-tabs ul { gap: 4px; }
.gd .guide-tabs a { position: relative; min-height: 48px; display: flex; align-items: center; border-bottom: 0; }
.gd .guide-tabs a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--foil); background-size: 200% 100%; opacity: 0; transform: scaleX(.4);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.gd .guide-tabs a:hover::after { opacity: .5; transform: scaleX(.8); }
.gd .guide-tabs a[aria-current="page"]::after { opacity: 1; transform: none; }

.g-body { background: var(--parchment); color: var(--ink); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.g-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.g-layout.is-wide { grid-template-columns: minmax(0, 1fr); }
.gd .toc { top: 128px; max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.gd .toc a { padding: 7px 0 7px 12px; position: relative; color: var(--ink-70); }
.gd .toc a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  transform: rotate(45deg) scale(0); background: var(--clay); transition: transform .25s var(--ease-out);
}
.gd .toc a.is-here { color: var(--ink); font-weight: 600; }
.gd .toc a.is-here::before { transform: rotate(45deg) scale(1); }
.gd .toc ol ol a { padding-left: 22px; }
.gd .toc ol ol a::before { left: 10px; }
.gd .toc summary { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); }

/* ------------------------------------------------------------
   Prose
   ------------------------------------------------------------ */
.g-prose { max-width: 900px; min-width: 0; }
.g-prose > p, .g-prose > ul:not([class]), .g-prose > ol.g-steps, .g-prose > .g-lede, .g-prose > .co, .g-prose > .g-check { max-width: 700px; }
.g-prose > p, .g-prose li, .g-text p, .g-text li { color: var(--ink-80); font-size: 1.02rem; line-height: 1.68; }
.g-prose p { margin: 0 0 1em; }
.g-prose strong { color: var(--ink); font-weight: 600; }
.g-prose a:not([class]) { color: var(--clay-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.g-prose a:not([class]):hover { color: #6E4632; }
.g-prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.g-prose ul li { margin-bottom: 0.55em; }
.g-prose ul li::marker { color: var(--clay); }
.g-prose .path {
  display: inline-block; font-family: var(--sans); font-size: 0.86em; font-weight: 600;
  padding: 1px 9px 2px; border-radius: 6px; white-space: nowrap;
  background: linear-gradient(180deg, #F1EEE7, #E3E5DD); color: var(--moss-ink);
  box-shadow: inset 0 0 0 1px rgba(70,82,63,0.16);
}

/* section heads: big italic numeral in foil + title */
.g-h2 {
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 16px;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.02; letter-spacing: -0.005em;
  margin: clamp(56px, 8vw, 96px) 0 18px; color: var(--ink); text-wrap: balance;
  scroll-margin-top: 130px;
}
.g-prose > .g-h2:first-child, .g-prose > :first-child .g-h2 { margin-top: 0; }
.g-h2 .num {
  font-style: italic; font-size: 1.5em; line-height: .8;
  background: var(--foil-deep); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: var(--clay-ink);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6));
}
.g-h2 .num::after { content: ""; }
.g-kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay-ink); margin: 0 0 8px; display: flex; align-items: center; gap: 8px;
}
.g-kicker svg { width: 16px; height: 16px; }
.g-lede { font-family: var(--serif-editorial); font-size: clamp(1.15rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--ink-80); margin: 0 0 1.2em; max-width: 60ch; }
.g-h3 {
  font-family: var(--sans); font-weight: 600; font-size: 1.38rem; line-height: 1.25; letter-spacing: -0.005em;
  margin: 0 0 12px; color: var(--ink); scroll-margin-top: 130px;
}

/* ------------------------------------------------------------
   Step list: foil medallions
   ------------------------------------------------------------ */
.g-steps { list-style: none; margin: 0 0 1.3em; padding: 0; counter-reset: s; }
.g-steps > li {
  counter-increment: s; position: relative;
  padding: 0 0 18px 50px; margin: 0;
}
.g-steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 14px/1 var(--sans); color: #2A2420;
  background: var(--foil-soft);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 2px 6px rgba(138,92,67,0.25);
}
.g-steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(138,92,67,0.35) 0 3px, transparent 3px 7px);
}
.g-steps > li:last-child { padding-bottom: 4px; }
.g-steps strong { color: var(--ink); }

/* ------------------------------------------------------------
   Task: text + framed screen, side by side
   ------------------------------------------------------------ */
.g-task {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--rule-ink);
}
.g-task:first-of-type { border-top: 0; }
.g-task > .g-text { min-width: 0; }
.g-task > figure { margin: 0; position: sticky; top: 140px; }
.g-task > figure .phone { --w: 230px; }
.g-task figcaption, .g-reel figcaption {
  font-family: var(--serif-editorial); font-style: italic; font-size: 0.95rem; color: var(--ink-70);
  text-align: center; margin-top: 12px; max-width: 230px;
}
.g-task.is-flip { grid-template-columns: auto minmax(0, 1fr); }
.g-task.is-flip > figure { order: -1; }

/* ------------------------------------------------------------
   Reel: swipeable, snapping row of framed screens
   ------------------------------------------------------------ */
.g-reel { position: relative; margin: 8px 0 1.6em; }
.g-reel-track {
  display: flex; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 4px;
  padding: 18px 4px 22px; margin: 0;
  list-style: none; scrollbar-width: none;
}
.g-reel-track::-webkit-scrollbar { display: none; }
.g-reel-track > li { scroll-snap-align: start; flex: none; display: flex; flex-direction: column; align-items: center; }
.g-reel-track .phone { --w: 200px; }
.g-reel-track figcaption { max-width: 200px; }
.g-reel-track figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.g-reel-nav { display: none; gap: 8px; justify-content: flex-end; align-items: center; margin-top: -4px; }
.js .g-reel-nav { display: flex; }
.g-reel-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-60); margin-right: auto; }
.g-round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-ink-strong);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, transform .2s var(--ease-out);
}
.g-round:hover { border-color: var(--clay-ink); transform: translateY(-1px); }
.g-round:disabled { opacity: .35; cursor: default; transform: none; }
.g-round svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------
   Callouts: six kinds, each with its own drawn mark
   No side rules; full-surface tints, a corner tab, a ribbon.
   ------------------------------------------------------------ */
.co {
  position: relative; isolation: isolate;
  margin: 22px 0 1.4em; padding: 34px 20px 18px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule-ink);
  font-size: 0.98rem;
}
.co > p:last-child, .co > ul:last-child { margin-bottom: 0; }
.co p, .co li { font-size: 0.98rem !important; }
.co-tab {
  position: absolute; left: 16px; top: -13px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px 0 9px; border-radius: 8px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: #2A2420;
}
.co-tab svg { width: 17px; height: 17px; flex: none; }
.co-title { font-weight: 600; color: var(--ink); margin: 0 0 6px !important; }

/* tip — pearl, foil tab, shears */
.co-tip { background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.35); }
.co-tip .co-tab { background: var(--foil-soft); box-shadow: 0 2px 6px rgba(138,92,67,0.22); }

/* heads-up — amber wash, dark tab, folded corner */
.co-heads { background: linear-gradient(180deg, #FBEBD3, #F7E2C2); box-shadow: inset 0 0 0 1px rgba(168,140,78,0.38); }
.co-heads .co-tab { background: #3A302A; color: #F6EFD8; }
.co-heads::after {
  content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; border-radius: 0 16px 0 10px;
  background: linear-gradient(225deg, var(--parchment) 50%, #DCCB98 50%);
  box-shadow: -2px 2px 4px rgba(138,92,67,0.15);
}

/* from the board — stamped parchment */
.co-board { background: #F8F3EA; box-shadow: inset 0 0 0 1px var(--rule-ink); padding-right: 92px; }
.co-board .co-tab { background: transparent; color: var(--ink-70); padding-left: 0; left: 20px; top: 14px; height: auto; }
.co-board .co-tab svg { display: none; }
.co-board { padding-top: 40px; }
.co-board .co-seal {
  position: absolute; right: 16px; top: 16px; width: 64px; height: 64px; color: var(--moss-ink);
  transform: rotate(-12deg); opacity: .85;
}

/* in the app — brushed chrome ribbon */
.co-app { background: linear-gradient(180deg, #F2F1EC, #E9EAE3); box-shadow: inset 0 0 0 1px rgba(70,82,63,0.18); }
.co-app .co-tab { background: linear-gradient(180deg, #FBFAF6 0%, #E1E3DB 52%, #C7CCC0 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 2px 6px rgba(28,33,26,0.18); }

/* for Hawaii / for California — monogram corner */
.co-hi, .co-ca { padding-right: 70px; }
.co-hi { background: linear-gradient(180deg, #EEF0E8, #E6EADF); box-shadow: inset 0 0 0 1px rgba(94,107,85,0.28); }
.co-ca { background: linear-gradient(180deg, #ECF0F4, #E3E9EF); box-shadow: inset 0 0 0 1px rgba(82,112,143,0.28); }
.co-hi .co-tab { background: #46523F; color: #F0EAE0; }
.co-ca .co-tab { background: #3F5A74; color: #F0EAE0; }
.co-mono {
  position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 15px/1 var(--serif-display); letter-spacing: 0.04em; font-style: italic; color: #2A2420;
  background: var(--foil-soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 3px 8px rgba(28,33,26,0.18);
}

/* good to know — ivory card, dusty-blue tab and a sprig */
.co-know { background: #FDFBF7; box-shadow: inset 0 0 0 1px rgba(82,112,143,0.25); }
.co-know .co-tab { background: #DCE5EE; color: #2E4458; }

/* ------------------------------------------------------------
   Pick your chair (hub)
   ------------------------------------------------------------ */
.g-chairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 18px; }
.g-chair {
  position: relative; display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden; text-decoration: none !important;
  background: var(--card); color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px var(--rule-ink), 0 18px 34px -28px rgba(28,33,26,0.5);
  transition: transform .35s var(--ease-out), box-shadow .3s;
  min-height: 44px; text-align: left; font: inherit; cursor: pointer; border: 0; padding: 0;
}
.g-chair:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(176,135,110,0.55), 0 24px 40px -26px rgba(28,33,26,0.55); }
.g-chair-art { position: relative; aspect-ratio: 5 / 4; background: var(--pearl); overflow: hidden; }
.g-chair-art picture, .g-chair-art img { width: 100%; height: 100%; object-fit: cover; }
.g-chair-art .g-orn { position: absolute; inset: 6% 8%; width: 84%; height: 88%; color: rgba(70,82,63,0.62); }
.g-chair-body { padding: 16px 18px 18px; }
.g-chair-tag { font: 500 11px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-ink); margin: 0 0 8px; }
.g-chair h3 { font-family: var(--serif-display); font-weight: 500; font-size: 1.5rem; line-height: 1.08; margin: 0 0 8px; }
.g-chair p { font-size: 0.95rem !important; color: var(--ink-70) !important; margin: 0 0 12px !important; line-height: 1.5 !important; }
.g-chair-go { font-weight: 600; font-size: 0.95rem; color: var(--clay-ink); display: inline-flex; gap: 6px; align-items: center; }
.g-chair[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #C9A58E, 0 24px 40px -26px rgba(28,33,26,0.55);
}
.g-chair[aria-pressed="true"]::before {
  content: "Your chair"; position: absolute; z-index: 3; top: 12px; right: 12px;
  font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 6px; background: var(--foil-soft); color: #2A2420;
  box-shadow: 0 2px 8px rgba(28,33,26,0.2);
}
.g-chair-panel { display: none; }
.js .g-chair-panel.is-on { display: block; animation: rise .5s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.g-panel {
  border-radius: 20px; padding: clamp(20px, 3vw, 30px);
  background: var(--night); color: var(--ivory);
  box-shadow: 0 30px 60px -40px rgba(28,33,26,0.8);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: start;
  margin: 0 0 1.4em;
}
.g-panel h3 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.2rem); line-height: 1.05; margin: 0 0 6px; color: var(--ivory); }
.g-panel p, .g-panel li { color: var(--ivory-80) !important; }
.g-panel a.g-btn { margin-top: 6px; }
.g-panel .phone { --w: 170px; }
.g-panel-faq { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.g-panel-faq li { border-bottom: 1px solid var(--rule); margin: 0 !important; }
.g-panel-faq a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--ivory) !important; text-decoration: none !important; font-size: 0.97rem; }
.g-panel-faq a:hover { color: var(--clay) !important; }
.g-panel-faq a span { color: var(--clay); }

.g-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 10px; font-weight: 600; font-size: 0.97rem; text-decoration: none !important;
  color: #2A2420 !important; background: var(--foil-soft); background-size: 200% 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65), 0 6px 16px -8px rgba(138,92,67,0.6);
  transition: background-position .8s var(--ease-out), transform .2s var(--ease-out);
  border: 0; cursor: pointer; font-family: var(--sans);
}
.g-btn:hover { background-position: 100% 0; transform: translateY(-1px); }

/* ------------------------------------------------------------
   Checklist that remembers (localStorage)
   ------------------------------------------------------------ */
.g-check { margin: 14px 0 0; }
.g-check-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.g-check-head .g-kicker { margin: 0; }
.g-check-count { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: inherit; opacity: .75; }
.g-meter { height: 6px; border-radius: 6px; background: rgba(240,234,224,0.12); overflow: hidden; margin: 0 0 6px; }
.g-meter i { display: block; height: 100%; width: var(--p, 0%); background: var(--foil); background-size: 200% 100%; border-radius: inherit; transition: width .6s var(--ease-out); }
.g-check ul { list-style: none; margin: 0; padding: 0; }
.g-check li { margin: 0 !important; border-bottom: 1px solid var(--rule); }
.g-check label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; min-height: 44px; font-size: 0.98rem; line-height: 1.45; }
.g-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-check .box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px rgba(240,234,224,0.45);
  display: grid; place-items: center; transition: background .25s, box-shadow .25s;
}
.g-check .box svg { width: 14px; height: 14px; color: #2A2420; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease-out); }
.g-check input:checked + .box { background: var(--foil-soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.g-check input:checked + .box svg { opacity: 1; transform: none; }
.g-check input:checked ~ .txt { color: var(--ivory-50); text-decoration: line-through; text-decoration-color: rgba(201,165,142,0.7); }
.g-check input:focus-visible + .box { outline: 2px solid var(--clay); outline-offset: 3px; }
.g-check-done { display: none; font-family: var(--script); color: var(--dusty); font-size: 1.35rem; margin: 10px 0 0 !important; transform: rotate(-2deg); }
.g-check.is-done .g-check-done { display: block; }
.g-check-reset { background: none; border: 0; color: var(--ivory-50); font: 500 12px/1 var(--mono); letter-spacing: 0.08em; cursor: pointer; padding: 10px 0; min-height: 44px; }
.g-check-reset:hover { color: var(--clay); }
/* checklist on cream */
.g-check.on-cream li { border-color: var(--rule-ink); }
.g-check.on-cream .box { box-shadow: inset 0 0 0 1.5px rgba(38,34,31,0.35); }
.g-check.on-cream input:checked ~ .txt { color: var(--ink-50); }
.g-check.on-cream .g-meter { background: rgba(38,34,31,0.08); }
.g-check.on-cream .g-check-reset { color: var(--ink-60); }

/* ------------------------------------------------------------
   Is / is not
   ------------------------------------------------------------ */
.g-isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 1.4em; }
.g-isnot > div { border-radius: 18px; padding: 22px 22px 8px; }
.g-is { background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.35); }
.g-not { background: #EFEAE1; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.g-isnot h3 { font-family: var(--serif-display); font-weight: 500; font-size: 1.45rem; margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
.g-isnot h3 svg { width: 26px; height: 26px; color: var(--clay-ink); }
.g-not h3 svg { color: var(--ink-60); }
.g-isnot ul { list-style: none; padding: 0; margin: 0; }
.g-isnot li { position: relative; padding: 0 0 12px 26px; margin: 0 !important; font-size: 0.97rem !important; }
.g-is li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 12px; background: currentColor; color: var(--clay); -webkit-mask: var(--m-spark) center / contain no-repeat; mask: var(--m-spark) center / contain no-repeat; }
.g-not li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 10px; height: 1.5px; background: var(--ink-50); }
.gd { --m-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.2 5.8 11.2 12 12-6.2.8-11.2 5.8-12 12-.8-6.2-5.8-11.2-12-12C6.2 11.2 11.2 6.2 12 0z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------
   The five-step ladder (hub)
   ------------------------------------------------------------ */
.g-ladder { list-style: none; padding: 0; margin: 10px 0 1.4em; display: grid; gap: 12px; counter-reset: l; }
.g-ladder > li {
  counter-increment: l; position: relative; margin: 0 !important;
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-ink);
}
.g-ladder > li::before {
  content: counter(l, decimal-leading-zero);
  font-family: var(--serif-display); font-style: italic; font-size: 2.6rem; line-height: .9;
  background: var(--foil-deep); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--clay-ink);
}
.g-ladder strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.g-ladder span { color: var(--ink-80); font-size: 0.98rem; line-height: 1.55; }

/* ------------------------------------------------------------
   Guide index (hub): editorial list with art
   ------------------------------------------------------------ */
.g-index { list-style: none; padding: 0; margin: 8px 0 1.2em; border-top: 1px solid var(--rule-ink); }
.g-index li { margin: 0 !important; border-bottom: 1px solid var(--rule-ink); }
.g-index a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  padding: 16px 0; text-decoration: none !important; color: var(--ink) !important;
}
.g-index .ix-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.4); display: grid; place-items: center; color: var(--moss-ink); overflow: hidden; }
.g-index .ix-ico svg { width: 30px; height: 30px; }
.g-index b { display: block; font-family: var(--serif-display); font-weight: 500; font-size: 1.4rem; line-height: 1.1; }
.g-index small { display: block; color: var(--ink-70); font-size: 0.93rem; line-height: 1.45; margin-top: 3px; }
.g-index .ix-go { color: var(--clay-ink); transition: transform .3s var(--ease-out); }
.g-index a:hover .ix-go { transform: translateX(4px); }
.g-index a:hover b { color: var(--clay-ink); }

/* ------------------------------------------------------------
   Flip cards: what a mentor / apprentice takes on
   ------------------------------------------------------------ */
.g-flips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 1.4em; list-style: none; padding: 0; }
.g-flips > li { margin: 0 !important; }
.flip { position: relative; height: 100%; perspective: 1400px; }
.flip-inner { display: grid; height: 100%; transition: transform .7s var(--ease-out); transform-style: preserve-3d; }
.flip-face {
  grid-area: 1 / 1; border-radius: 18px; padding: 20px 20px 18px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; min-height: 220px;
}
.flip-front { background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.4); }
.flip-back { background: var(--night); color: var(--ivory); transform: rotateY(180deg); box-shadow: 0 20px 40px -30px rgba(28,33,26,0.8); }
.flip-front .ico { width: 40px; height: 40px; color: var(--moss-ink); margin-bottom: 14px; }
.flip h3 { font-family: var(--serif-display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; margin: 0 0 8px; color: var(--ink); scroll-margin-top: 130px; }
.flip-front p { color: var(--ink-80) !important; font-size: 0.97rem !important; margin: 0 0 14px !important; }
.flip-back p { color: var(--ivory-80) !important; font-size: 0.95rem !important; line-height: 1.6 !important; margin: 0 0 10px !important; }
.flip-back .flip-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin: 0 0 10px !important; }
.flip-turn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid rgba(138,92,67,0.45); background: rgba(255,252,247,0.7);
  font: 600 0.9rem/1 var(--sans); color: var(--clay-ink); cursor: pointer;
}
.flip-turn svg { width: 16px; height: 16px; }
.flip-back .flip-turn { border-color: var(--rule-strong); background: transparent; color: var(--ivory); }
.flip.is-turned .flip-inner { transform: rotateY(180deg); }
/* without the script, or with reduced motion: both sides, stacked */
html:not(.js) .flip-inner { display: block; }
html:not(.js) .flip-back { transform: none; margin-top: 8px; min-height: 0; }
html:not(.js) .flip-front { min-height: 0; }
html:not(.js) .flip-turn { display: none; }

/* ------------------------------------------------------------
   What would you do? — the case quiz
   ------------------------------------------------------------ */
.g-quiz { margin: 14px 0 1.6em; border-radius: 22px; background: var(--night); color: var(--ivory); padding: clamp(20px, 3.4vw, 34px); position: relative; overflow: hidden; }
.g-quiz::before { /* faint foil wash */
  content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(201,165,142,0.16), transparent); pointer-events: none;
}
.g-quiz-top { position: absolute; z-index: 1; right: clamp(20px, 3.4vw, 34px); top: clamp(24px, 3.8vw, 38px); }
.g-quiz-top .g-kicker { color: var(--clay); margin: 0; }
.g-dots { display: flex; gap: 6px; }
.g-dots i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ivory-30); transition: background .3s; }
.g-dots i.is-now { box-shadow: inset 0 0 0 1.5px var(--clay); }
.g-dots i.is-strong { background: var(--foil-soft); box-shadow: none; }
.g-dots i.is-done { background: var(--ivory-50); box-shadow: none; }
.case { position: relative; }
.js .case { display: none; }
.js .case.is-on { display: block; animation: rise .45s var(--ease-out); }
html:not(.js) .case + .case { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.case h3 { font-family: var(--serif-display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.05; margin: 0 0 10px; color: var(--ivory); }
.case .situation { color: var(--ivory-80) !important; font-size: 1.02rem !important; margin: 0 0 12px !important; max-width: 60ch; }
.case .question { font-family: var(--serif-editorial); font-style: italic; font-size: 1.12rem !important; color: var(--ivory) !important; margin: 0 0 14px !important; }
.opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.opts li { margin: 0 !important; }
.opt {
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--ivory);
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rule-mid);
  background: rgba(240,234,224,0.04);
  transition: border-color .2s, background .2s, transform .2s var(--ease-out);
  min-height: 44px; font-size: 0.99rem; line-height: 1.45;
}
.opt:hover { border-color: var(--rule-clay); background: rgba(240,234,224,0.07); }
.opt .ltr { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--sans); box-shadow: inset 0 0 0 1.5px var(--ivory-30); color: var(--ivory-80); }
.opt .verdict { display: none; }
.opt .fb { display: none; color: var(--ivory-80); font-size: 0.94rem; margin-top: 8px; }
.case.is-answered .opt { cursor: default; }
.case.is-answered .opt .verdict { display: inline-block; }
.case.is-answered .opt.is-picked .fb { display: block; }
.case.is-answered .opt.is-picked { border-color: var(--clay); background: rgba(201,165,142,0.10); }
.case.is-answered .opt:not(.is-picked) { opacity: .78; }
.verdict { font: 600 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.v-strong { background: var(--foil-soft); color: #2A2420; }
.v-workable { background: rgba(143,166,194,0.22); color: #CFDBE8; }
.v-weak { background: rgba(240,234,224,0.12); color: var(--ivory-80); }
.case.is-answered .opt.is-strong .ltr { background: var(--foil-soft); color: #2A2420; box-shadow: none; }
.takeaway { display: none; margin: 16px 0 0 !important; padding: 14px 16px; border-radius: 12px; background: rgba(240,234,224,0.06); font-family: var(--script); font-size: 1.3rem !important; line-height: 1.3 !important; color: #B9CBE0 !important; }
.case.is-answered .takeaway { display: block; }
html:not(.js) .opt .verdict, html:not(.js) .opt .fb, html:not(.js) .takeaway { display: block; }
html:not(.js) .opt .verdict { display: inline-block; }
.g-quiz-nav { display: none; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; position: relative; }
.js .g-quiz-nav { display: flex; }
.g-quiz-nav .g-round { background: transparent; color: var(--ivory); border-color: var(--rule-strong); }
.g-quiz-score { font-family: var(--script); font-size: 1.3rem; color: var(--dusty); }

/* ------------------------------------------------------------
   Plans: the picker and three metal cards
   ------------------------------------------------------------ */
.g-picker { margin: 6px 0 18px; }
.g-picker-q { font-family: var(--serif-display); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.1; margin: 0 0 12px; color: var(--ink); }
.g-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.g-seg button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule-ink-strong); background: var(--card); color: var(--ink);
  font: 600 0.95rem/1 var(--sans); transition: background .25s, border-color .25s, color .25s;
}
.g-seg button:hover { border-color: var(--clay-ink); }
.g-seg button[aria-pressed="true"] { background: var(--night); color: var(--ivory); border-color: var(--night); }
.g-pick-note { min-height: 1.6em; margin: 12px 0 0 !important; color: var(--ink-80); font-family: var(--serif-editorial); font-style: italic; font-size: 1.05rem !important; }
.g-plans { list-style: none; padding: 0; margin: 10px 0 1.4em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-plans li { margin: 0 !important; }
.plan {
  position: relative; height: 100%; border-radius: 18px; padding: 22px 20px 20px; overflow: hidden;
  color: var(--ink);
  transition: transform .45s var(--ease-out), box-shadow .3s, opacity .3s;
}
.plan-academy { background: var(--foil-soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 20px 36px -26px rgba(138,92,67,0.7); }
.plan-plus { background: linear-gradient(135deg, #2E352A 0%, #3E4838 40%, #262C22 100%); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.45), 0 20px 36px -24px rgba(28,33,26,0.8); }
.plan-study { background: var(--chrome); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65), 0 20px 36px -26px rgba(28,33,26,0.55); }
.plan::before { /* engraved guilloche lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background: repeating-radial-gradient(circle at 110% -10%, transparent 0 10px, rgba(255,255,255,0.7) 10px 11px);
}
.plan-plus::before { opacity: .08; }
.plan-chip { width: 38px; height: 28px; border-radius: 6px; margin-bottom: 18px; background: linear-gradient(135deg, #F6EED4, #C4A766 45%, #EADBB0 70%, #A98C4E); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); position: relative; }
.plan-chip::after { content: ""; position: absolute; inset: 8px 6px; border: 1px solid rgba(90,60,45,0.35); border-radius: 3px; }
.plan h3 { font-family: var(--serif-display); font-weight: 500; font-size: 1.8rem; line-height: 1; margin: 0 0 4px; position: relative; color: inherit; }
.plan .who { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: .8; margin: 0 0 14px !important; position: relative; color: inherit !important; }
.plan p { position: relative; color: inherit !important; font-size: 0.97rem !important; margin: 0 0 6px !important; line-height: 1.5 !important; }
.plan-plus .who { color: var(--clay) !important; opacity: 1; }
.plan .seats { display: flex; gap: 6px; margin: 16px 0 0; position: relative; }
.plan .seats svg { width: 26px; height: 26px; }
.plan-fit {
  position: absolute; top: 16px; right: -34px; transform: rotate(35deg);
  width: 130px; text-align: center; padding: 5px 0;
  font: 600 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--night); color: var(--clay); opacity: 0; transition: opacity .3s;
}
.plan-plus .plan-fit { background: var(--foil-soft); color: #2A2420; }
.g-plans[data-pick] .plan { opacity: .82; transform: scale(.975); filter: saturate(.8); }
.g-plans[data-pick] .plan.is-picked { opacity: 1; transform: translateY(-4px); }
.g-plans[data-pick] .plan.is-picked .plan-fit { opacity: 1; }
.g-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 1.4em; }
.g-split > div { border-radius: 16px; padding: 20px 20px 8px; }
.g-split h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.g-split h3 svg { width: 20px; height: 20px; }
.g-free { background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-ink); }
.g-paid { background: var(--foil-soft); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.g-split ul { padding-left: 1.1em; }
.g-rows { list-style: none; padding: 0; margin: 8px 0 1.4em; border-top: 1px solid var(--rule-ink); }
.g-rows li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule-ink); margin: 0 !important; }
.g-rows .ri { width: 44px; height: 44px; border-radius: 12px; background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.4); display: grid; place-items: center; color: var(--moss-ink); }
.g-rows .ri svg { width: 24px; height: 24px; }
.g-rows b { display: block; color: var(--ink); margin-bottom: 2px; }

/* ------------------------------------------------------------
   States: side-by-side at a glance
   ------------------------------------------------------------ */
.g-glance { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 1.4em; }
.g-glance > section { border-radius: 18px; padding: 22px 20px 10px; position: relative; overflow: hidden; }
.g-glance .hi { background: linear-gradient(180deg, #EEF0E8, #E4E9DC); box-shadow: inset 0 0 0 1px rgba(94,107,85,0.28); }
.g-glance .ca { background: linear-gradient(180deg, #ECF0F4, #E1E8EF); box-shadow: inset 0 0 0 1px rgba(82,112,143,0.28); }
.g-glance h3 { font-family: var(--serif-display); font-weight: 500; font-size: 1.8rem; margin: 0 0 4px; display: flex; align-items: center; gap: 12px; }
.g-glance h3 .co-mono { position: static; width: 40px; height: 40px; font-size: 14px; }
.g-glance dl { margin: 12px 0 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.g-glance dt, .g-glance dd { padding: 9px 0; border-top: 1px solid rgba(38,34,31,0.1); margin: 0; font-size: 0.93rem; line-height: 1.4; }
.g-glance dt { font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-70); padding-right: 10px; padding-top: 11px; }
.g-glance dd { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------
   Questions
   ------------------------------------------------------------ */
.g-faqbar { position: relative; margin: 0 0 22px; }
.g-search {
  position: relative; display: flex; align-items: center;
  border-radius: 16px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule-ink-strong), 0 16px 30px -24px rgba(28,33,26,0.5);
}
.g-search:focus-within { box-shadow: inset 0 0 0 2px #B0876E, 0 16px 30px -24px rgba(28,33,26,0.5); }
.g-search svg { position: absolute; left: 16px; width: 22px; height: 22px; color: var(--clay-ink); pointer-events: none; }
.g-search input {
  width: 100%; min-height: 58px; border: 0; background: transparent; border-radius: 16px;
  padding: 0 16px 0 50px; font: 400 1.05rem/1.2 var(--sans); color: var(--ink);
}
.g-search input:focus { outline: none; }
.g-search input::placeholder { color: var(--ink-50); }
.g-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 2px 4px; margin: 0 -2px; }
.g-chips::-webkit-scrollbar { display: none; }
.g-chips button {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule-ink-strong); background: transparent; color: var(--ink-80);
  font: 500 0.9rem/1 var(--sans); white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.g-chips button:hover { border-color: var(--clay-ink); color: var(--ink); }
.g-chips button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--ivory); }
.g-chips button .n { font-family: var(--mono); font-size: 11px; opacity: .65; margin-left: 6px; }
.g-faq-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 0; flex-wrap: wrap; }
.g-faq-meta .faq-count { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-60); }
.g-faq-meta .g-textbtn { display: none; }
.js .g-faq-meta .g-textbtn { display: inline-flex; }
.g-textbtn { background: none; border: 0; padding: 0 2px; min-height: 40px; align-items: center; color: var(--clay-ink); font: 600 0.88rem/1 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.g-most { margin: 0 0 30px; padding: 18px 18px 8px; border-radius: 18px; background: var(--night); color: var(--ivory); }
.g-most .g-kicker { color: var(--clay); }
.g-most ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.g-most li { counter-increment: m; border-top: 1px solid var(--rule); margin: 0 !important; }
.g-most a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 11px 0; color: var(--ivory) !important; text-decoration: none !important; font-size: 0.98rem; line-height: 1.4; }
.g-most a::before { content: counter(m); font-family: var(--serif-display); font-style: italic; font-size: 1.35rem; line-height: 1; color: var(--clay); }
.g-most a:hover { color: var(--clay-bright) !important; }

.faq-group { margin-top: 10px; }
.faq-group .g-h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 40px 0 10px; }
.faq-group:first-of-type .g-h2 { margin-top: 10px; }
.faq-group .g-h2 .num { font-size: 1.3em; }
details.faq {
  border-radius: 14px; margin: 0 0 8px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule-ink);
  transition: box-shadow .3s, background .3s;
  border-top: 0; border-bottom: 0;
}
details.faq[open] { background: #FFFDFA; box-shadow: inset 0 0 0 1px rgba(176,135,110,0.55), 0 18px 34px -28px rgba(28,33,26,0.45); }
details.faq > summary {
  list-style: none; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 1fr 30px; gap: 12px; align-items: center;
  padding: 16px 16px 16px 18px; min-height: 56px;
  font: 600 1.02rem/1.4 var(--sans); color: var(--ink);
  border-radius: 14px;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary:hover { color: var(--clay-ink); }
details.faq > summary:focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 2px; }
.faq-x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #F2ECE3; color: var(--clay-ink); transition: transform .35s var(--ease-out), background .3s; }
.faq-x svg { width: 14px; height: 14px; }
details.faq[open] .faq-x { transform: rotate(45deg); background: var(--foil-soft); color: #2A2420; }
details.faq::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
details.faq[open]::details-content { block-size: auto; }
details.faq .faq-a { padding: 0 18px 4px; }
.faq-a p { font-size: 1rem !important; margin: 0 0 0.9em !important; }
.faq-foot { display: flex; justify-content: flex-end; padding: 0 12px 10px; }
.faq-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 8px;
  font: 500 0.84rem/1 var(--sans); color: var(--ink-60) !important; text-decoration: none !important;
  background: none; border: 0; cursor: pointer;
}
.faq-link:hover { color: var(--clay-ink) !important; background: rgba(201,165,142,0.12); }
.faq-link svg { width: 15px; height: 15px; }
.faq-link.is-copied { color: var(--moss-ink) !important; }
.gd .faq-group[hidden], .gd details.faq[hidden] { display: none; }
.g-empty { display: none; text-align: center; padding: 28px 18px 30px; border-radius: 20px; background: var(--pearl); box-shadow: inset 0 0 0 1px rgba(201,165,142,0.35); margin: 0 0 24px; }
.g-empty.on { display: block; }
.g-empty .g-orn, .g-empty picture, .g-empty img { width: 132px; height: 132px; margin: 0 auto 8px; color: var(--moss-ink); border-radius: 50%; object-fit: cover; }
.g-empty h2 { font-family: var(--serif-display); font-weight: 400; font-size: 1.9rem; margin: 0 0 6px; }
.g-empty p { color: var(--ink-80) !important; max-width: 44ch; margin: 0 auto 12px !important; }
.g-empty .g-chips { justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------
   Art slots, dividers, pager
   ------------------------------------------------------------ */
.g-art { position: relative; overflow: hidden; border-radius: 20px; background: var(--pearl); }
.g-art img { width: 100%; height: 100%; object-fit: cover; }
.g-divider { margin: clamp(48px, 7vw, 80px) 0 0; display: flex; justify-content: center; align-items: center; gap: 16px; color: var(--clay-ink); }
.g-divider::before, .g-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(138,92,67,0.4)); }
.g-divider::after { background: linear-gradient(270deg, transparent, rgba(138,92,67,0.4)); }
.g-divider svg { width: 120px; height: 34px; flex: none; }
.g-divider.has-art { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 1; }
.g-divider.has-art::before, .g-divider.has-art::after { display: none; }
.g-divider.has-art img { width: 100%; height: 100%; object-fit: cover; }

.g-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: clamp(48px, 7vw, 80px) 0 0; }
.g-pager a {
  display: block; padding: 18px 20px; border-radius: 16px; text-decoration: none !important;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--rule-ink); color: var(--ink) !important;
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.g-pager a:hover { box-shadow: inset 0 0 0 1px rgba(176,135,110,0.6); transform: translateY(-2px); }
.g-pager small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 4px; }
.g-pager b { font-family: var(--serif-display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.g-pager .next { text-align: right; grid-column: 2; }
.g-help { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--night); color: var(--ivory-80); display: flex; gap: 14px; align-items: center; }
.g-help svg { width: 34px; height: 34px; color: var(--clay); flex: none; }
.g-help p { margin: 0 !important; color: var(--ivory-80) !important; font-size: 0.98rem !important; }
.g-help a { color: var(--clay) !important; }

/* sparkle burst (made by guide.js) */
.burst { position: fixed; z-index: 90; pointer-events: none; width: 0; height: 0; }
.burst i {
  position: absolute; left: 0; top: 0; width: var(--s, 12px); height: var(--s, 12px); margin: calc(var(--s, 12px) / -2);
  background: var(--c, #E9CFBB);
  -webkit-mask: var(--m-spark) center / contain no-repeat; mask: var(--m-spark) center / contain no-repeat;
  animation: burst .85s var(--ease-out) forwards;
}
@keyframes burst {
  0% { transform: translate(0, 0) scale(.2) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); opacity: 0; }
}
.g-toast {
  position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 12px; background: var(--night); color: var(--ivory); font-size: 0.95rem;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5); transition: opacity .25s, transform .35s var(--ease-out); pointer-events: none;
}
.g-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll (only when the script is running) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .g-layout { grid-template-columns: minmax(0, 1fr); }
  .gd .toc { position: static; max-height: none; }
  .g-head-grid { grid-template-columns: minmax(0, 1fr); }
  .g-stage { min-height: 420px; max-width: 520px; margin: 4px auto 0; width: 100%; }
}
@media (max-width: 760px) {
  .g-chairs { grid-template-columns: minmax(0, 1fr); }
  .g-chair-art { aspect-ratio: 5 / 2; }
  .g-chair-body { padding: 14px 16px 14px; }
  .g-chair h3 { font-size: 1.3rem; }
  .g-chair p { font-size: 0.92rem !important; }
  .g-chair[aria-pressed="true"]::before { top: auto; bottom: 10px; right: 10px; }
  .g-panel { grid-template-columns: minmax(0, 1fr); }
  .g-panel .phone { display: none; }
  .g-isnot, .g-split, .g-glance { grid-template-columns: minmax(0, 1fr); }
  .g-flips { grid-template-columns: minmax(0, 1fr); }
  .flip-face { min-height: 0; }
  .g-plans { grid-template-columns: minmax(0, 1fr); }
  .g-task, .g-task.is-flip { grid-template-columns: minmax(0, 1fr); }
  .g-task > figure { position: static; order: 2; justify-self: center; display: flex; flex-direction: column; align-items: center; }
  .g-task.is-flip > figure { order: 2; }
  .g-task > figure .phone { --w: 212px; }
  .g-ladder > li { grid-template-columns: 48px 1fr; padding: 16px; gap: 12px; }
  .g-ladder > li::before { font-size: 2.1rem; }
  .g-pager { grid-template-columns: 1fr; }
  .g-pager .next { grid-column: 1; }
  .g-stage { min-height: 440px; padding-bottom: 18px; }
  .g-mirror { width: min(80%, 320px); }
  .g-stage .phone:nth-child(2), .g-stage .phone:nth-child(4) { --w: 128px; }
  .g-stage .phone:nth-child(3) { --w: 156px; }
  .g-stage.n1 .phone:nth-child(2) { --w: 180px; }
  .g-stage .g-note { font-size: 1.1rem; top: 0; }
  .co { padding: 32px 16px 16px; }
  .co-board { padding-right: 16px; padding-top: 84px; }
  .co-board .co-seal { width: 54px; height: 54px; }
  .g-head { padding-top: 28px; }
  .g-head-grid { gap: 6px; }
  .g-head .hand { margin-top: 12px; }
  .g-head-ctas { margin-top: 16px; }
  .g-head .crumbs { margin-bottom: 16px; }
  .g-h2 { gap: 0 12px; }
}
@media (max-width: 400px) {
  .g-stage .phone:nth-child(2), .g-stage .phone:nth-child(4) { --w: 118px; }
  .g-stage .phone:nth-child(3) { --w: 146px; }
}

/* ------------------------------------------------------------
   Reduced motion: keep the finish, lose the movement
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .gd *, .gd *::before, .gd *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .sheen::after, .phone.sheen .phone-screen::before { display: none; }
  .flip-inner { transform: none !important; }
  .flip.is-turned .flip-front { visibility: hidden; }
  .flip:not(.is-turned) .flip-back { visibility: hidden; }
  .flip-back { transform: none; }
  .js .rv { opacity: 1; transform: none; }
  .burst { display: none; }
  details.faq::details-content { transition: none; }
}

/* ------------------------------------------------------------
   Print: plain and complete
   ------------------------------------------------------------ */
@media print {
  .g-stage, .g-reel-nav, .g-quiz-nav, .g-faqbar, .g-most, .g-pager, .g-help, .g-divider, .flip-turn, .faq-foot, .g-chair-art, .g-seg, .g-check-reset, .g-empty, .g-dots, .pin, .pin-ring, .g-toast { display: none !important; }
  .g-head { background: #fff !important; padding: 12px 0 !important; }
  .g-head h1, .g-head .doc-intro { color: #000 !important; }
  .foil-text, .g-h2 .num, .g-ladder > li::before { -webkit-text-fill-color: #000; color: #000; background: none; }
  .g-body { background: #fff; padding: 0; }
  .g-layout { display: block; }
  .phone { --w: 150px !important; box-shadow: none; border: 1px solid #999; background: #eee; break-inside: avoid; }
  .g-reel-track { flex-wrap: wrap; overflow: visible; }
  .g-task > figure { position: static; }
  .flip-inner { display: block; transform: none !important; }
  .flip-back { transform: none; background: #fff; color: #000; box-shadow: inset 0 0 0 1px #ccc; margin-top: 6px; }
  .flip-back p, .flip-back .flip-title { color: #000 !important; }
  .g-quiz, .g-panel, .g-most { background: #fff !important; color: #000 !important; box-shadow: inset 0 0 0 1px #ccc; }
  .g-quiz *, .g-panel * { color: #000 !important; }
  .js .case, .case { display: block !important; }
  .opt .verdict, .opt .fb, .takeaway { display: block !important; }
  .js .g-chair-panel { display: block; }
  .co, .plan, details.faq, .flip, .g-task { break-inside: avoid; }
  details.faq::details-content { block-size: auto; content-visibility: visible; }
  .js .rv { opacity: 1; transform: none; }
}

/* without the script, search and topic chips cannot work: show the plain list */
html:not(.js) .g-faqbar .g-search, html:not(.js) .g-faqbar .g-chips, html:not(.js) .g-faqbar label { display: none; }

/* questions: sticky finder beside the list on wide screens */
.gd-faq .g-prose { max-width: none; }
.g-faqgrid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.g-faqside { position: sticky; top: 124px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: none; padding: 4px 4px 8px; margin: -4px; }
.g-faqside .g-chips { flex-wrap: wrap; overflow: visible; }
.g-faqside .g-most { margin-bottom: 0; }
.g-faqlist { min-width: 0; max-width: 760px; }
.g-faqlist .faq-group:first-of-type .g-h2, .g-faqlist > .g-empty + .faq-group .g-h2 { margin-top: 0; }
@media (max-width: 1024px) {
  .g-faqgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .g-faqside { position: static; max-height: none; overflow: visible; margin: 0 0 8px; padding: 0; }
  .g-faqside .g-chips { flex-wrap: nowrap; overflow-x: auto; }
  .g-faqside .g-most { margin-bottom: 30px; }
}

/* a close crop inside the text column */
.g-text figure, .g-prose > figure { margin: 18px 0 22px; display: flex; flex-direction: column; align-items: flex-start; }
.g-text figure figcaption { text-align: left; max-width: none; }

/* filmstrip: a step, its screen, its words */
.g-film .g-reel-track { gap: 26px; padding-top: 10px; }
.g-film .g-reel-track > li { width: 236px; align-items: flex-start; }
.g-film figure { align-items: flex-start; }
.film-txt { margin: 16px 0 0 !important; font-size: 0.95rem !important; line-height: 1.55 !important; color: var(--ink-80); }
.film-txt .n {
  display: block; margin-bottom: 6px;
  font-family: var(--serif-display); font-style: italic; font-size: 2.3rem; line-height: 1;
  background: var(--foil-deep); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--clay-ink);
}
.film-txt strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }

/* long tools (shears, tail comb) sit on the diagonal inside square tiles */
.g-index .ix-ico svg.wide { width: 46px; height: 46px; transform: rotate(-38deg); }
.g-chip-link svg.wide { width: 24px; height: 24px; transform: rotate(-30deg); }

/* the checklist on parchment sits on its own card */
.g-check.on-cream { background: var(--pearl); padding: 18px 20px 4px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(201,165,142,0.4), 0 18px 34px -30px rgba(28,33,26,0.5); margin: 8px 0 1.4em; }
.g-check.on-cream li:last-child { border-bottom: 0; }
.g-check.on-cream .g-check-count { color: var(--clay-ink); opacity: 1; }
.g-check.on-cream .g-check-done { color: var(--dusty-ink); }
.g-divider svg { width: 150px; height: 42px; }

/* a close-up from the middle of a screen: a loupe card, not a phone */
.phone.is-zoom { border-radius: 20px; padding: 6px; }
.phone.is-zoom .phone-screen { border-radius: 14px; }
.phone.is-zoom::before { display: none; }
.co-tip .co-tab svg, .co-tab svg.wide { width: 26px; }
.g-prose ul[class], .g-prose ol[class] { padding-left: 0; }
.flip-front .ico.wide { width: 66px; height: 40px; }

.is-searching .g-most { display: none; }
.g-empty h2 { line-height: 1.12; text-wrap: balance; }

/* numerals sit on the first line of a wrapping title */
.g-h2 { align-items: baseline; }

/* phones: a card swaps faces at its natural height instead of flipping in 3D */
@media (max-width: 760px) {
  .js .flip-inner { display: block; transform: none !important; }
  .js .flip-back { display: none; transform: none; }
  .js .flip.is-turned .flip-front { display: none; }
  .js .flip.is-turned .flip-back { display: flex; animation: rise .4s var(--ease-out); }
  .flip-face { min-height: 0; }
}

/* ------------------------------------------------------------
   Mirror with a picture in it: the mirror rises so the picture
   reads whole, and the phones stand along its lower edge.
   ------------------------------------------------------------ */
.g-stage:has(.g-mirror-glass img) { min-height: 724px; padding-bottom: 0; }
.g-stage:has(.g-mirror-glass img) .g-mirror { bottom: 150px; }
.g-stage:has(.g-mirror-glass img) .g-mirror-glass { background: #F5EDE1; }
.g-stage:has(.g-mirror-glass img) .g-mirror-glass img { object-position: top center; }
.g-stage:has(.g-mirror-glass img) .g-mirror-glass::after { background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.22) 48%, transparent 54%); }
.g-stage:has(.g-mirror-glass img) .phone:nth-child(2) { --w: 134px; transform: rotate(-8deg) translate(22px, 4px); }
.g-stage:has(.g-mirror-glass img) .phone:nth-child(3) { --w: 160px; transform: none; }
.g-stage:has(.g-mirror-glass img) .phone:nth-child(4) { --w: 134px; transform: rotate(7deg) translate(-22px, 6px); }
.g-stage.n1:has(.g-mirror-glass img) .phone:nth-child(2) { --w: 168px; transform: rotate(-3deg); }
.g-stage:has(.g-mirror-glass img) .g-note { top: 8px; }
@media (max-width: 720px) {
  .g-stage:has(.g-mirror-glass img) { min-height: 548px; }
  .g-stage:has(.g-mirror-glass img) .g-mirror { bottom: 110px; }
  .g-stage:has(.g-mirror-glass img) .phone:nth-child(2), .g-stage:has(.g-mirror-glass img) .phone:nth-child(4) { --w: 100px; }
  .g-stage:has(.g-mirror-glass img) .phone:nth-child(3) { --w: 122px; }
  .g-stage.n1:has(.g-mirror-glass img) .phone:nth-child(2) { --w: 128px; }
}
