/* Charlotte Ririe portfolio, homepage
   A deck, not a newspaper: one idea per slide, oversized serif statements, product screens at gallery width,
   ballpoint-blue ink as the only accent. Loads on index.html only. */

:root {
  /* Palette, from the swatches Charlotte picked: Deep Sea navy, Pastel Dreams periwinkle,
     Soft Lavender, and the peach and cream from Summer Sunset. One warm paper, one ink,
     periwinkle as the pen, peach for the warm frames, a single coral for the status dot. */
  --ground: #F7F5F0;
  --paper: #FFFFFF;
  --ink: #121A2C;
  --ink-2: #39415A;
  --ink-3: #6E7893;
  --line: #DAD9E3;
  --night: #1B2240;
  --pen: #4B51D6;
  --pen-ink: #383EB8;
  --pen-soft: #E4E6FA;
  --pen-pale: #F3F2FC;
  --lavender: #E9E6FA;
  --peach: #F4DFC8;
  --cream: #F3EFDF;
  --coral: #EC7549;
  --fig-eo: #DCE2FA;
  --fig-warm: #F4DFC8;
  --fig-gs: #DEE4EF;
  --todo-bg: #FDE2E1;
  --todo-ink: #B42318;

  --serif: 'Newsreader', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;

  --col: 1200px;
  --wide: 1520px;
  --gutter: 32px;
  --mast-h: 96px;
}

html { background: var(--ground); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
p, ul, ol { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pen-ink); }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; font-family: var(--sans); font-size: 0.85em; }

.col { max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }
/* Full-bleed visuals: the tinted ground runs edge to edge, the screens inside stay within --wide */
.bleed { max-width: none; padding-inline: 0; }
.bleed .fig-frame { border-radius: 0; padding-inline: max(var(--gutter), calc(50vw - var(--wide) / 2)); }
.bleed .fig-caption { max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Masthead ---------- */
.mast { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--mast-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 58px; height: auto; color: var(--pen); flex: none; }
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.mast-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--sans); font-size: 16px; }
.mast-nav a { color: var(--ink-2); text-decoration: none; }
.mast-nav a:hover { color: var(--pen); }
.mast-nav a.is-cta { color: var(--pen); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .brand-mark { animation: mark-ink 1.1s cubic-bezier(.4, 0, .2, 1) .15s both; }
  @keyframes mark-ink { from { clip-path: inset(0 100% 0 0); opacity: .3; } 60% { opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
}

/* ---------- Slides ---------- */
.slide { padding-block: clamp(72px, 12vh, 140px); }
.slide + .slide { border-top: 1px solid var(--line); }

/* Running header on a slide: label left, context right */
.bar { display: flex; justify-content: space-between; gap: 24px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.bar span:first-child { color: var(--pen); }
.bar span:last-child { text-align: right; }

/* ---------- 1. Title ---------- */
.slide--title { padding-block: 0; }
.slide--title .slide-inner { min-height: calc(100svh - var(--mast-h)); display: flex; flex-direction: column; padding-bottom: 56px; }
.display { font-size: clamp(50px, 8.4vw, 120px); line-height: 1.0; letter-spacing: -0.03em; margin-block: auto 0; padding-top: 6vh; font-variation-settings: "opsz" 72; }
.title-foot { margin-top: auto; padding-top: clamp(48px, 8vh, 96px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.note { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 36em; }
.note--status { color: var(--ink-3); }
.note--status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 10px; vertical-align: 1px; }
.title-foot .actions { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin: 0; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; font-family: var(--sans); font-size: 17px; }
.actions a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.actions a:not(.btn):hover { color: var(--pen); }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-family: var(--sans); font-size: 17px; line-height: 1.2; }
.btn:hover { background: var(--pen); color: var(--paper); }

/* ---------- 2. Picture ---------- */
.slide--picture { padding-block: 0 clamp(72px, 12vh, 140px); border-top: 0 !important; }

/* ---------- Figures ---------- */
.fig { margin: 0; }
.fig-frame { background: var(--pen-soft); border-radius: 8px; padding: clamp(20px, 4vw, 64px); display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 40px); overflow: hidden; }
.fig-frame--eo { background: var(--fig-eo); }
.fig-frame--warm { background: var(--fig-warm); }
.fig-frame--gs { background: var(--fig-gs); }
.fig-frame--ink { background: var(--night); }
.fig-frame--ink .shot--browser { border-top-color: #2E3657; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08), 0 -40px 80px -30px rgba(0, 0, 0, 0.6); }
.fig-frame--tall { align-items: center; }
.fig-frame--rise { padding-bottom: 0; }
.fig-caption { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: 16px; display: flex; justify-content: space-between; gap: 32px; }
.fig-caption span:first-child { max-width: 64ch; }
.fig-caption span:last-child { flex: none; text-align: right; }
.shot { width: 100%; height: auto; background: var(--paper); border-radius: 8px; box-shadow: 0 1px 0 rgba(20, 28, 46, 0.08), 0 24px 48px -24px rgba(20, 28, 46, 0.35); }
.shot--browser { border-top: 18px solid #E6E9F1; }
.shot--phone { width: 32%; max-width: 230px; border-radius: 10px; border: 1px solid rgba(20, 28, 46, 0.18); background: var(--paper); }
.shot--phone.is-back { margin-bottom: 44px; }
.fig-frame--rise .shot--browser { border-radius: 10px 10px 0 0; box-shadow: 0 -1px 0 rgba(20, 28, 46, 0.06), 0 -30px 60px -30px rgba(20, 28, 46, 0.35); }
.fig-frame--pair { position: relative; }
.fig-frame--pair .shot--browser { width: 84%; margin-right: auto; }
.fig-frame--pair .shot--phone-over { position: absolute; right: clamp(16px, 4vw, 72px); bottom: 0; width: 19%; max-width: 300px; border-radius: 10px 10px 0 0; border-bottom: 0; box-shadow: 0 -20px 50px -20px rgba(20, 28, 46, 0.45); }
.fig-frame--one .shot--browser { width: 88%; }
.fig-frame--trio .shot--phone { width: 24%; max-width: 360px; border-radius: 10px 10px 0 0; border-bottom: 0; margin-bottom: 0; box-shadow: 0 -20px 50px -20px rgba(20, 28, 46, 0.35); }
.fig-frame--trio .shot--phone.is-up { margin-bottom: clamp(24px, 4vw, 72px); border-radius: 10px; border-bottom: 1px solid rgba(20, 28, 46, 0.18); }

/* ---------- 3. Statement ---------- */
.statement { font-size: clamp(38px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.025em; max-width: 14ch; font-variation-settings: "opsz" 72; }
.stats { margin: clamp(48px, 8vh, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stats div { border-top: 2px solid var(--ink); padding-top: 18px; }
.stats dt { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
.stats dd { margin: 14px 0 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.meta { margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 14px; font-family: var(--sans); }
.meta dt { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.meta dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.meta--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }

/* ---------- 4 to 6. Work ---------- */
.title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.024em; max-width: 18ch; font-variation-settings: "opsz" 72; }
.title a { color: var(--ink); text-decoration: none; }
.title a:hover { color: var(--pen); }
.dek { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); max-width: 34em; margin-top: 28px; }
.slide--work .bleed { margin-top: clamp(48px, 8vh, 96px); }
.contents { list-style: none; padding: 0; margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: c; }
.contents li { border-top: 1px solid var(--line); counter-increment: c; }
.contents a { display: block; padding-top: 14px; color: var(--ink); text-decoration: none; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.contents a::before { content: counter(c, decimal-leading-zero); font-family: var(--sans); font-size: 13px; color: var(--pen); margin-right: 10px; }
.contents a:hover { color: var(--pen); }
.contents .kind { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 6px; padding-left: 26px; }
.more { margin-top: 36px; display: flex; align-items: center; gap: 18px; font-family: var(--sans); font-size: 15px; color: var(--ink-3); }
.more a:not(.btn) { font-size: 17px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.more a:not(.btn):hover { color: var(--pen); }

/* Pair slide */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.half .fig-frame { aspect-ratio: 4 / 3; padding: clamp(16px, 2.5vw, 36px); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.half:hover .fig-frame { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(20, 28, 46, 0.35); }
.half:hover .title a { color: var(--pen); }
.kicker { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pen); margin-top: 28px; }
.title--sm { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.018em; margin-top: 12px; max-width: none; font-variation-settings: "opsz" 48; }
.dek--sm { font-size: 19px; margin-top: 14px; max-width: 30em; }
.half .more { margin-top: 20px; }
.bm-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.bm-row img { flex: 1 1 0; min-width: 0; border-radius: 6px; }
.bm-row .is-fail { opacity: .4; }
.bm-row .bm-sep { font-family: var(--sans); color: var(--ink-3); font-size: 18px; flex: none; }
.fig-frame--tall .shot--phone { width: 30%; max-width: 190px; }
.also { margin-top: clamp(56px, 8vh, 88px); border-top: 1px solid var(--line); padding-top: 20px; font-family: var(--sans); font-size: 15.5px; line-height: 1.55; color: var(--ink-3); max-width: 78ch; }
.also strong { font-weight: 500; color: var(--ink); }
.also a { color: var(--ink-2); }

/* ---------- 7. About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 72px; align-items: start; }
.about-photo { width: 200px; aspect-ratio: 4 / 5; background: var(--peach); border-radius: 8px; display: grid; place-items: center; font-family: var(--sans); font-size: 13px; color: var(--ink-3); text-align: center; padding: 8px; }
.connect { border: 1px solid var(--line); border-radius: 12px; padding: clamp(28px, 3vw, 44px); background: var(--lavender); }
.connect-title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.connect-sub { font-family: var(--sans); font-size: 16px; color: var(--ink-2); margin-top: 12px; }
.btn--big { display: block; text-align: center; margin-top: 28px; padding: 16px 24px; font-size: 18px; }
.connect-links { list-style: none; padding: 0; margin: 22px 0 0; font-family: var(--sans); font-size: 16px; }
.connect-links li { border-top: 1px solid var(--line); }
.connect-links a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; }
.connect-links a:hover { color: var(--pen); }
.statement--about { font-size: clamp(30px, 3.4vw, 50px); max-width: 17ch; margin-top: 32px; }
.about-text p:not(.actions) { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.about-text h2 + p { margin-top: clamp(28px, 4vh, 44px); }
.about-text p + p { margin-top: 18px; }
.about-text .actions { margin-top: 36px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 28px 48px; font-family: var(--sans); font-size: 15px; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--pen); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  :root { --mast-h: 80px; }
  .slide { padding-block: 64px; }
  .slide--title .slide-inner { min-height: auto; padding-top: 24px; padding-bottom: 48px; }
  .display { padding-top: 0; }
  .title-foot { grid-template-columns: 1fr; gap: 16px; padding-top: 40px; }
  .title-foot .actions { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .bar { margin-bottom: 20px; }
  .contents, .pair, .about { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 40px; }
  .meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contents { gap: 0; margin-top: 36px; }
  .contents li:last-child { border-bottom: 1px solid var(--line); }
  .contents a { padding: 12px 0; font-size: 19px; }
  .slide--picture { padding-top: 0; }
  .pair { gap: 48px; }
  .about { gap: 32px; }
  .about-photo { width: 160px; }
  .fig-frame--pair .shot--browser { width: 100%; }
  .fig-frame--pair .shot--phone-over { display: none; }
  .fig-frame--one .shot--browser { width: 100%; }
  .fig-caption { flex-direction: column; gap: 4px; }
  .fig-caption span:last-child { text-align: left; }
  .slide--work .bleed { margin-top: 40px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .slide { padding-block: 48px; }
  .display { font-size: clamp(34px, 11.7vw, 54px); } /* "Products Patients" on one line, three lines total (Oct 27) */
  .statement { font-size: clamp(34px, 10vw, 44px); }
  .stats { grid-template-columns: 1fr; }
  .stats dt { font-size: 34px; }
  .title { font-size: clamp(30px, 8.5vw, 40px); }
  .dek { font-size: 19px; margin-top: 18px; }
  .shot--phone { width: 44%; }
  .fig-frame--trio .shot--phone { width: 31%; }
  .shot--phone.is-back { margin-bottom: 28px; }
  .mast { flex-wrap: wrap; height: auto; padding-block: 18px; }
  .brand-mark { width: 48px; }
  .bar { flex-direction: column; gap: 2px; }
  .bar span:last-child { text-align: left; }
  .fig-frame--tall .shot--phone { width: 38%; }
}

/* ---------- Horizontal screen strips (Oct 19) ---------- */
.fig-frame--strip { display: block; position: relative; padding: clamp(36px, 5vw, 72px) 0; }
.strip { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(var(--gutter), calc(50vw - var(--col) / 2)); scroll-padding-inline: max(var(--gutter), calc(50vw - var(--col) / 2)); scrollbar-width: none; cursor: grab; outline: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip .shot { flex: none; scroll-snap-align: start; margin: 0; }
.strip .shot--phone { width: clamp(200px, 20vw, 290px); max-width: none; border-radius: 10px; border-bottom: 1px solid rgba(20, 28, 46, 0.18); }
.strip .shot--browser { width: clamp(320px, 52vw, 780px); border-radius: 6px; border-top-width: 14px; }
.fig-frame--ink .strip .shot--browser { border-top-color: #2E3657; }
.strip::after { content: ""; flex: 0 0 1px; }
.strip-ctl { position: absolute; right: max(var(--gutter), calc(50vw - var(--col) / 2)); bottom: 16px; display: flex; gap: 8px; }
.strip-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(20, 28, 46, 0.2); background: var(--paper); color: var(--ink); font-size: 17px; cursor: pointer; }
.strip-ctl button:hover:not(:disabled) { color: var(--pen); border-color: var(--pen); }
.strip-ctl button:disabled { opacity: 0.35; cursor: default; }
.fig-frame--ink .strip-ctl button { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.strip-hint { color: var(--pen); }
.fig-frame--strip { padding-bottom: 72px; }
@media (max-width: 560px) { .strip .shot--phone { width: 62vw; } .strip .shot--browser { width: 86vw; } .strip-ctl { display: none; } .fig-frame--strip { padding-bottom: 36px; } }

/* ---------- Nav rules (Oct 19) ----------
   One bar, always reachable: sticky; clear over the title, solid with a hairline once scrolled;
   slides away while reading down, comes back on any scroll up or keyboard focus. */
.mast-bar { position: sticky; top: 0; z-index: 50; transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .2s, box-shadow .2s; }
.mast-bar.is-solid { background: rgba(247, 245, 240, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.mast-bar.is-solid .mast { height: 68px; }
.mast-bar.is-solid .brand-mark { width: 44px; }
.mast { transition: height .2s; }
.brand-mark { transition: width .2s; }
.mast-bar.is-hidden { transform: translateY(-100%); }
.mast-nav a.is-current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pen); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.slide[id] { scroll-margin-top: 72px; }
.slide--title .slide-inner { min-height: calc(100svh - var(--mast-h)); }
@media (prefers-reduced-motion: reduce) { .mast-bar { transition: none; } }

/* Strip progress bar: where you are in the sequence */
.strip-track { position: absolute; left: max(var(--gutter), calc(50vw - var(--col) / 2)); right: calc(max(var(--gutter), calc(50vw - var(--col) / 2)) + 104px); bottom: 35px; height: 3px; border-radius: 3px; background: rgba(18, 26, 44, 0.12); overflow: hidden; }
.strip-track i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: var(--pen); transition: left .08s linear; }
.fig-frame--ink .strip-track { background: rgba(255, 255, 255, 0.18); }
.fig-frame--ink .strip-track i { background: #fff; }
@media (max-width: 560px) { .strip-track { right: var(--gutter); bottom: 16px; } }

/* Number badges: dark circle, light numeral (Oct 19) */
.n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; flex: none; text-transform: none; margin-right: 10px; vertical-align: middle; }
.n + .n { margin-left: -4px; }
.bar span:first-child, .kicker { display: inline-flex; align-items: center; }
.contents a { display: flex; align-items: flex-start; flex-wrap: wrap; }
.contents a::before { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; flex: none; text-transform: none; margin: 0 12px 0 0; position: relative; top: 1px; }
.contents .kind { flex-basis: 100%; padding-left: 36px; }

/* ---------- Badge system, cleaned up (Oct 19) ----------
   One size (20px), sits on the text's center line, fixed 10px gap, never stacks above a title. */
.n { width: 20px; height: 20px; font-size: 9.5px; margin-right: 10px; vertical-align: 0; }
.n + .n { margin-left: -6px; box-shadow: 0 0 0 2px var(--ground); }
.bar span:first-child, .kicker { display: inline-flex; align-items: center; gap: 0; }
.dek strong { font-weight: 500; color: var(--ink); }
.contents a { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; padding-top: 16px; }
.contents a::before { width: 20px; height: 20px; font-size: 9.5px; margin: 0; top: 3px; grid-row: 1 / span 2; }
.contents .kind { grid-column: 2; flex-basis: auto; padding-left: 0; margin-top: 6px; }

/* ---------- Light grounds: no dark-ground shadows ---------- */
html:not([data-bg="deepsea"]):not([data-bg="crimson"]):not([data-bg="default"]) .fig-frame--ink .shot--browser { border-top-color: #E6E9F1; }
html:not([data-bg="deepsea"]):not([data-bg="crimson"]):not([data-bg="default"]) .fig-frame--ink .strip-ctl button { background: var(--paper); color: var(--ink); border-color: rgba(18, 26, 44, 0.2); }
html:not([data-bg="deepsea"]):not([data-bg="crimson"]):not([data-bg="default"]) .fig-frame--ink .strip-track { background: rgba(18, 26, 44, 0.12); }
html:not([data-bg="deepsea"]):not([data-bg="crimson"]):not([data-bg="default"]) .fig-frame--ink .strip-track i { background: var(--pen); }
.strip .shot, .strip .shot--browser, .fig-frame--ink .strip .shot--browser { box-shadow: 0 1px 2px rgba(18, 26, 44, 0.08), 0 18px 36px -22px rgba(18, 26, 44, 0.28); }
html[data-bg="deepsea"] .strip .shot, html[data-bg="crimson"] .strip .shot, html[data-bg="default"] .fig-frame--ink .strip .shot { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55); }
.fig-frame--rise .shot--browser { box-shadow: 0 -1px 0 rgba(18, 26, 44, 0.06), 0 -10px 30px -20px rgba(18, 26, 44, 0.22); }
.fig-frame--pair .shot--phone-over { box-shadow: 0 -10px 30px -18px rgba(18, 26, 44, 0.3); }

/* ---------- The path: one line down the left margin, a stop at each slide, a dot that travels with you ---------- */
.deck { position: relative; }
.bleed { position: relative; z-index: 1; }
.path { position: absolute; top: 0; bottom: 0; left: var(--path-x, 40px); width: 0; z-index: 0; pointer-events: none; }
.path-line, .path-fill { position: absolute; left: -1px; width: 2px; border-radius: 2px; }
.path-line { background: var(--line); }
.path-fill { background: var(--ink); height: 0; }
.path-stop { position: absolute; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ground); border: 2px solid var(--line); transition: background .25s, border-color .25s; }
.path-stop.is-past { background: var(--ink); border-color: var(--ink); }
.path-dot { position: absolute; left: -8px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--pen); box-shadow: 0 0 0 5px rgba(75, 81, 214, 0.18); }
@media (prefers-reduced-motion: no-preference) { .path-dot { transition: top .12s linear; } }
@media (max-width: 1279px) { .path { display: none; } }

/* Badges in the title blue (Oct 19) */
.n, .contents a::before { background: var(--pen); color: #fff; }
.path-stop.is-past { background: var(--pen); border-color: var(--pen); }
.path-fill { background: var(--pen); }

/* Path at 70% opacity (Oct 19) */
.path { opacity: 0.7; }

/* Badges 30% larger (Oct 19) */
.n { width: 26px; height: 26px; font-size: 12px; margin-right: 12px; }
.n + .n { margin-left: -8px; }
.contents a { grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; }
.contents a::before { width: 26px; height: 26px; font-size: 12px; top: 0; }

/* Secondary highlight: crimson, from the Crimson Hues swatch. Used only for outcomes and evidence,
   so blue means "go here" and crimson means "this happened". */
:root { --crimson: #9E3437; --crimson-deep: #5C1A1B; --crimson-ink: #34090F; }
.stats div { border-top-color: var(--crimson); }
.stats dt { color: var(--crimson); }

/* Path: dot at full strength, line and stops quieter (Oct 19) */
.path { opacity: 1; }
.path-line, .path-fill, .path-stop { opacity: 0.4; }
.path-dot { opacity: 1; }

/* Selected impact: a highlight slide, cream with a whisper of crimson (Oct 19) */
.slide--statement { background: linear-gradient(rgba(158, 52, 55, 0.055), rgba(158, 52, 55, 0.055)), var(--ground); }

/* Desktop: the CR mark sits on the path, the name lines up with the content column */
@media (min-width: 1280px) {
  .brand { position: relative; }
  .brand-mark { position: absolute; left: -69px; top: 50%; transform: translateY(-50%); }
  .mast-bar.is-solid .brand-mark { left: -62px; }
  .brand-name { margin-left: 0; }
}

/* Hairlines on the crimson scale: a step darker than the impact panel (Oct 19) */
:root { --line: #E2D2CD; }

/* ---------- Mobile audit (Oct 19) ---------- */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .mast { padding-block: 14px 6px; }
  .slide--title .slide-inner { padding-top: 40px; padding-bottom: 40px; }
  .title-foot { padding-top: 32px; }
  .slide { padding-block: 56px; }
  .bar { margin-bottom: 18px; }
  .more { flex-wrap: wrap; gap: 12px 18px; }
  .more .btn { white-space: nowrap; }
  .more a:not(.btn) { white-space: nowrap; padding-block: 8px; }
  .stats { gap: 24px; }
  .stats dt { font-size: 32px; }
  .meta { gap: 14px 16px; }
  .about-text .actions a:not(.btn), .actions a:not(.btn) { padding-block: 8px; }
  .connect { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .slide--title .slide-inner { padding-top: 28px; }
  .slide--title .display { margin: 0; padding-top: 0; }
  .slide--title .title-foot { margin-top: 0; padding-top: 28px; }
}

/* Mobile header: one row (mark + links), never a fixed height, so nothing spills over the page (Oct 19) */
@media (max-width: 560px) {
  .mast, .mast-bar.is-solid .mast { flex-wrap: nowrap; height: auto; min-height: 56px; padding-block: 8px; gap: 12px; }
  .brand-name { display: none; }
  .brand-mark, .mast-bar.is-solid .brand-mark { width: 40px; }
  .mast-nav { flex-wrap: nowrap; gap: 0 16px; font-size: 15px; }
  .mast-nav a { padding-block: 10px; white-space: nowrap; }
  .mast-nav a.is-current { text-underline-offset: 4px; }
}
.byline { display: none; }
@media (max-width: 560px) {
  .mast-bar.is-solid { background: var(--ground); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .byline { display: block; margin: 0 0 14px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
}

/* Title slide fills the screen only on desktop; on tablets and phones it is as tall as its content (Oct 19) */
@media (max-width: 900px) {
  .slide--title .slide-inner { min-height: 0; padding-bottom: 40px; }
  .slide--title .title-foot { margin-top: 0; padding-top: 32px; }
  .slide--title .display { margin: 0; }
  .slide.slide--picture { padding-top: 0; }
}
@media (max-width: 900px) { .slide.slide--title { padding-block: 0; } }

/* Hierarchical numbers (Oct 19): projects are 1 to 4, their parts 1.1, 1.2, 1.3. Badges grow into pills to fit. */
.n, .contents a::before { width: auto; min-width: 26px; padding: 0 8px; border-radius: 999px; }
.contents { counter-reset: c; }
.contents[data-p="1"] a::before { content: "1." counter(c); }
.contents[data-p="2"] a::before { content: "2." counter(c); }
.contents a { grid-template-columns: 34px minmax(0, 1fr); }

/* ---------- Readable screens on phones (Oct 19) ----------
   Browser screens show at about twice the width of the phone so the type is legible; you swipe across them.
   Tap any screen to open it full size, and on a wide screen you can pan around inside the zoom. */
.is-zoomable { cursor: zoom-in; }
.strip.is-drag .is-zoomable { cursor: grabbing; }
@media (max-width: 560px) {
  .fig-frame--strip { padding-block: 28px 44px; }
  .strip { align-items: flex-end; gap: 14px; }
  .strip .shot--browser { width: 165vw; max-width: none; border-top-width: 10px; }
  .strip .shot--phone { width: 68vw; }
  .fig-frame--pair .shot--browser { width: 165vw; max-width: none; }
  .fig-frame--pair { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
}
.zoom { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; display: none; }
.zoom[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.zoom::backdrop { background: rgba(18, 26, 44, 0.9); }
.zoom-scroll { max-width: 96vw; max-height: 82vh; overflow: auto; border-radius: 10px; }
.zoom-scroll img { display: block; max-height: 82vh; width: auto; max-width: 96vw; }
@media (max-width: 760px) { .zoom.is-wide .zoom-scroll img { max-width: none; max-height: none; width: 230vw; } }
.zoom-cap { margin: 12px 20px 0; max-width: 70ch; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); text-align: center; }
.zoom-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 26px; cursor: pointer; }

/* Mobile hero: both sides in one frame. The clinician view bleeds off the right edge, the patient's phone sits in front of it (Oct 19) */
@media (max-width: 560px) {
  .fig-frame--pair { overflow: hidden; padding: 24px 0 0 20px; display: block; }
  .fig-frame--pair .shot--browser { width: 150vw; max-width: none; margin: 0; }
  .fig-frame--pair .shot--phone-over { display: block; position: absolute; right: 16px; bottom: 0; width: 44vw; max-width: 200px; border-radius: 10px 10px 0 0; border-bottom: 0; box-shadow: 0 -12px 32px -12px rgba(18, 26, 44, 0.45); }
}

/* Methodiq: no screens under NDA, so the slide is type-led with one quiet panel (Oct 19) */
.slide--nda .bleed { margin-top: clamp(40px, 6vh, 72px); }
.nda-panel { background: linear-gradient(rgba(158, 52, 55, 0.055), rgba(158, 52, 55, 0.055)), var(--ground); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) max(var(--gutter), calc(50vw - var(--col) / 2 + var(--gutter))); }
.nda-inner { max-width: 760px; }
.nda-tag { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson); margin: 0 0 14px; }
.nda-line { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.nda-sub { font-family: var(--sans); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }
.slide--nda .bleed { max-width: none; padding-inline: 0; }

/* Icebreakers inside About (Oct 21) */
.ice { margin-top: clamp(32px, 5vh, 48px); }
.ice-label { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pen); margin: 0 0 6px; }
.ice-list { list-style: none; padding: 0; margin: 0; counter-reset: ice; max-width: 34em; }
.ice-list li { counter-increment: ice; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.45; color: var(--ink); }
.ice-list li:last-child { border-bottom: 1px solid var(--line); }
.ice-list li::before { content: counter(ice); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pen); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 500; position: relative; top: 5px; }
@media (max-width: 560px) { .ice-list li { font-size: 17px; } }

/* Off the clock: deliberately not the portfolio system. Loose notes pinned on a warm board,
   italic serif, no badges or rules, a slight tilt each (Oct 21) */
.ice { display: none; }
.offclock { margin-top: clamp(56px, 9vh, 104px); padding: clamp(28px, 4vw, 48px); background: #F2E3D3; border-radius: 18px; }
.offclock-label { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--crimson); }
.offclock-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.offclock-notes li { background: #FFFBF4; border-radius: 4px; padding: 18px 18px 22px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--ink); box-shadow: 0 1px 1px rgba(18, 26, 44, 0.06), 0 14px 24px -16px rgba(92, 26, 27, 0.35); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.offclock-notes .note-a { transform: rotate(-1.6deg); }
.offclock-notes .note-b { transform: rotate(1.2deg) translateY(6px); }
.offclock-notes .note-c { transform: rotate(-0.8deg) translateY(-4px); }
.offclock-notes .note-d { transform: rotate(1.8deg) translateY(4px); }
.offclock-notes li:hover { transform: rotate(0) translateY(-3px); }
.note-tag { display: block; margin-bottom: 10px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--crimson); }
@media (max-width: 900px) { .offclock-notes { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 560px) { .offclock { padding: 22px 16px; border-radius: 14px; } .offclock-notes li { font-size: 16px; padding: 14px 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .offclock-notes li { transition: none; } }

/* Strip hint reads as a tip, not a link: muted color, a small lightbulb, no arrow (Oct 21) */
.strip-hint { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); cursor: default; }
.hint-icon { width: 15px; height: 15px; flex: none; color: var(--ink-3); }

.strip-hint { font-weight: 600; }

/* Corner radius scale, one system site-wide (Oct 21):
   6px  small things: browser screens, thumbnails, ads, notes, quotes, chips
   10px phone screens and media inside cards
   14px containers: panels, cards, figure frames, decision cards, callouts */
:root { --r-sm: 6px; --r-md: 10px; --r-lg: 14px; }
.fig-frame, .half .fig-frame, .connect, .offclock { border-radius: var(--r-lg); }
.bleed .fig-frame { border-radius: 0; }
.offclock-notes li { border-radius: var(--r-sm); }
.shot, .shot--browser, .fig-frame--rise .shot--browser, .bm-row img, .zoom-scroll { border-radius: var(--r-sm); }
.fig-frame--rise .shot--browser { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.shot--phone, .strip .shot--phone, .fig-frame--trio .shot--phone.is-up { border-radius: var(--r-md); }
.fig-frame--trio .shot--phone, .fig-frame--pair .shot--phone-over { border-radius: var(--r-md) var(--r-md) 0 0; }
@media (max-width: 560px) { .offclock { border-radius: var(--r-lg); } }

/* Off the clock, inverted: no board, the notes carry the peach (Oct 21) */
.offclock, .offclock { background: none; padding: 0; border-radius: 0; }
.offclock-notes li { background: #F2E3D3; box-shadow: 0 1px 1px rgba(92, 26, 27, 0.05), 0 12px 22px -16px rgba(92, 26, 27, 0.35); }
@media (max-width: 560px) { .offclock { padding: 0; } }

/* Footer: one colophon line, then links left and a small sign-off right (Oct 21) */
.foot, .site-footer .wrap { display: block; }
.foot-line { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 40em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; font-family: var(--sans); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; padding-block: 6px; }
.foot-links a:hover { color: var(--pen); }
.foot-sign { font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }

/* Pair frames: content sits centered; fixed shape only when the two sit side by side (Oct 21) */
.half .fig-frame { align-items: center; justify-content: center; }
.half .fig-frame--warm { padding: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) { .half .fig-frame { aspect-ratio: auto; } .half .fig-frame--tall { min-height: 0; padding-block: 28px; } }

/* Best Mate frame: the photo and its three portraits as a 2x2 grid that fills the frame (Oct 21) */
.half .bm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: auto; height: 100%; aspect-ratio: 1; max-width: 100%; }
.half .bm-row .bm-sep { display: none; }
.half .bm-row img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 900px) { .half .bm-row { height: auto; width: min(100%, 420px); } }

/* Best Mate frame in the style of the Field Notes storybook: input, arrow with a step note,
   four outputs with pass and fail marks and their real verifier scores (Oct 21) */
.bm-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.6fr); align-items: center; gap: 14px; width: 100%; }
.bm-flow figure { margin: 0; }
.bm-in img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); box-shadow: 0 10px 22px -14px rgba(18, 26, 44, 0.4); transform: rotate(-2deg); background: #fff; padding: 5px; }
.bm-in figcaption, .bm-r figcaption { font-family: var(--sans); font-size: 12px; line-height: 1.35; color: var(--ink-2); margin-top: 8px; }
.bm-step { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson); margin-bottom: 2px; }
.bm-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); text-align: center; line-height: 1.3; }
.bm-arrow i { position: relative; width: 100%; height: 1px; background: var(--ink-3); }
.bm-arrow i::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--ink-3); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.bm-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; }
.bm-r { position: relative; }
.bm-r img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); display: block; }
.bm-r.is-fail img { opacity: 0.42; filter: grayscale(0.4); }
.bm-r.is-fail figcaption { color: var(--crimson); }
.bm-mark { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; line-height: 1; color: #fff; background: var(--ink); font-family: var(--sans); }
.bm-r.is-fail .bm-mark { background: var(--crimson); }
.bm-r figcaption { margin-top: 5px; font-size: 11.5px; }
.half .fig-frame--warm { padding: clamp(18px, 2.4vw, 32px); }
@media (max-width: 560px) {
  .bm-flow { grid-template-columns: 1fr; gap: 10px; }
  .bm-in { width: 46%; }
  .bm-arrow { flex-direction: row; width: auto; justify-content: flex-start; }
  .bm-arrow i { width: 40px; transform: rotate(90deg); transform-origin: center; }
  .bm-out { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* 2026-10-21: GigSky cluster. Cut-out UI pieces instead of two screens. */
.half .fig-frame--cluster { display: block; position: relative; padding: 0; aspect-ratio: 4 / 3; }
.cluster { position: absolute; inset: 0; }
.cl { position: absolute; display: block; height: auto; border-radius: var(--r-sm); background: #fff; box-shadow: 0 1px 1px rgba(18, 26, 44, 0.06), 0 18px 32px -18px rgba(18, 26, 44, 0.5); transform: rotate(var(--r, 0deg)); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.cl-loved  { --r: -2.5deg; left: 4%;  top: 6%;  width: 40%; }
.cl-visa   { --r: 2deg;    left: 56%; top: 7%;  width: 38%; }
.cl-ready  { --r: 4deg;    left: 44%; top: 21%; width: 13%; z-index: 2; }
.cl-slider { --r: -1.5deg; left: 23%; top: 46%; width: 27%; z-index: 1; }
.cl-plan   { --r: -1.5deg; left: 57%; top: 42%; width: 37%; }
.cl-chips  { --r: 1.5deg;  left: 3%;  top: 58%; width: 44%; }
.cl-badges { --r: -2deg;   left: 55%; top: 66%; width: 40%; }
.cl-buy    { --r: 1deg;    left: 24%; top: 86%; width: 40%; z-index: 2; }
.half:hover .cl-loved  { transform: rotate(-3.5deg) translate(-4px, -3px); }
.half:hover .cl-visa   { transform: rotate(3deg) translate(4px, -3px); }
.half:hover .cl-ready  { transform: rotate(6deg) translate(2px, -2px); }
.half:hover .cl-plan   { transform: rotate(-2.5deg) translate(4px, 0); }
.half:hover .cl-chips  { transform: rotate(2.5deg) translate(-4px, 2px); }
.half:hover .cl-badges { transform: rotate(-3deg) translate(3px, 3px); }
.half:hover .cl-buy    { transform: rotate(0deg) translate(0, 3px); }
@media (max-width: 560px) { .cl-ready, .cl-slider { display: none; } }

/* 2026-10-27: slimmer homepage. Credibility strip, three-card more-work row, no off-the-clock. */
.slide--cred { min-height: 0; }
.cred { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: 0; }
.cred dt { font-family: var(--sans); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); margin: 0 0 10px; }
.cred dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.cred dd b { font-weight: 500; color: var(--ink); }
@media (max-width: 900px) { .cred { grid-template-columns: 1fr; gap: 20px; } }
.pair--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 1000px) { .pair--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pair--3 { grid-template-columns: 1fr; } }
.half .fig-frame--nda { display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: clamp(20px, 3vw, 32px); }
.nda-inner--card { max-width: none; }
.nda-inner--card .nda-tag { margin-bottom: 10px; }
.nda-inner--card .nda-line { font-size: 19px; line-height: 1.35; margin: 0; }
.pair--3 .bm-flow { gap: 10px; }
.pair--3 .bm-arrow span { display: none; }

.cred { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; }
@media (max-width: 1000px) { .cred { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cred { grid-template-columns: 1fr; } }
.bar .bar-tag { margin-left: 14px; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--crimson); background: rgba(158, 52, 55, 0.08); border-radius: 999px; padding: 5px 10px; vertical-align: middle; }

@media (max-width: 560px) { .bar:has(.bar-tag) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; } .bar .bar-tag { margin-left: 0; width: auto; align-self: center; } }

/* More-work frames are links to their case (Oct 27): the whole frame is the tap target, the hover it already had now means something */
.fig-link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-lg, 14px); cursor: pointer; }
.fig-link:focus-visible { outline: 2px solid var(--pen); outline-offset: 4px; }
.fig-link .fig-frame { cursor: pointer; }

/* Methodiq card, Oct 30: the live assessment fading through its screens, and my checkout scrolling. */
.half .fig-frame--mq { position: relative; aspect-ratio: 4 / 3; padding: clamp(16px, 2.4vw, 28px); background: #FFFCA8; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.mq-mark { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(16px, 2.4vw, 28px); width: 26%; max-width: 120px; height: auto; }
.mq-phones { display: flex; gap: 6%; width: 78%; height: 84%; align-items: flex-end; justify-content: center; }
.mq-phone { position: relative; flex: 0 0 42%; height: 100%; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 18px 36px -18px rgba(20, 28, 46, .45), 0 0 0 1px rgba(20, 28, 46, .08); }
.mq-phone img { display: block; width: 100%; height: auto; }
.mq-fade img { position: absolute; inset: 0; opacity: 0; animation: mqFade 12s infinite; }
.mq-fade img:nth-child(1) { animation-delay: 0s; } .mq-fade img:nth-child(2) { animation-delay: 3s; }
.mq-fade img:nth-child(3) { animation-delay: 6s; } .mq-fade img:nth-child(4) { animation-delay: 9s; }
@keyframes mqFade { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
.mq-scroll img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; animation: mqScroll 16s ease-in-out infinite alternate; }
@keyframes mqScroll { 0%, 8% { object-position: 50% 0%; } 92%, 100% { object-position: 50% 100%; } }
@media (prefers-reduced-motion: reduce) { .mq-fade img, .mq-scroll img { animation: none; } .mq-fade img:first-child { opacity: 1; } }
.pair .half .fig-frame.fig-frame--mq { background: #FFFFA5 !important; aspect-ratio: 4 / 3 !important; align-items: flex-end; }

/* The reel (Nov 2): snippets of real UI and diagrams, scrolling slowly. Pauses on hover; static and swipeable for reduced motion. */
.slide--reel { padding-block: 0 clamp(64px, 10vh, 120px); border-top: 0 !important; }
.reel { position: relative; z-index: 1; overflow: hidden; margin-left: max(var(--gutter), calc((100vw - var(--col)) / 2 + var(--gutter))); -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 94%, transparent); }
@media (max-width: 760px) { .reel { margin-left: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); } }
.reel-track { display: flex; width: max-content; animation: reelScroll 110s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-set { display: flex; gap: 12px; padding-right: 12px; }
.reel-set img { height: clamp(132px, 16vw, 200px); width: auto; border-radius: 6px; border: 1px solid rgba(20, 28, 46, 0.14); background: var(--paper); display: block; }
@keyframes reelScroll { to { transform: translateX(-50%); } }
.reel-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 16px auto 0; padding-inline: var(--gutter); max-width: var(--col); font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .reel-track { animation: none; } .reel-set[aria-hidden] { display: none; } }
@media (max-width: 640px) { .reel-set { gap: 8px; padding-right: 8px; } .reel-set img { border-radius: 4px; } }

/* Brand cards, Oct 30: each More-work card gets its brand color and logo in the corner, like Methodiq. */
.card-mark { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(16px, 2.4vw, 28px); height: auto; z-index: 3; pointer-events: none; }
.card-mark--bm { width: 20%; max-width: 88px; }
.card-mark--gs { width: 22%; max-width: 96px; }
.pair .half .fig-frame.fig-frame--bm { position: relative; background: #F1E2CB !important; padding-top: clamp(56px, 7vw, 80px); }
@media (max-width: 900px) { .pair .half .fig-frame.fig-frame--bm, .pair .half .fig-frame.fig-frame--gs { aspect-ratio: 4 / 3; } }

/* Best Mate card, Oct 30 (d): one idea. Her photo becomes four portraits; the verifier scores them and hides the miss.
   12s loop: photo lands, arrow draws, portraits bloom in one by one, the scores stamp on, the miss fades out, then a soft reset. */
.pair .half .fig-frame.fig-frame--bm { display: flex; align-items: center; justify-content: center; padding: clamp(50px, 6vw, 66px) clamp(18px, 2.6vw, 30px) clamp(14px, 2vw, 22px); }
.bmv { display: grid; grid-template-columns: minmax(0, .85fr) 30px minmax(0, 1.2fr); align-items: center; gap: 12px; width: 100%; max-width: 400px; }
.bmv-photo { margin: 0; text-align: center; }
.bmv-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #fff; padding: 5px; box-shadow: 0 14px 28px -16px rgba(74, 44, 26, .55); transform: rotate(-2deg); }
.bmv-photo figcaption { font-family: var(--sans); font-size: 11.5px; letter-spacing: .02em; color: #6B4B35; margin-top: 12px; }
.bmv-arrow { display: block; width: 100%; height: 1.5px; background: #4A2C1A; position: relative; transform-origin: left center; }
.bmv-arrow i { position: absolute; right: -1px; top: -4px; border-left: 7px solid #4A2C1A; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.bmv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 8px; }
.bmv-r { position: relative; margin: 0; }
.bmv-r img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 85%; border-radius: 4px; }
.bmv-r figcaption { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; color: #4A2C1A; white-space: nowrap; transform-origin: left center; }
.bmv-r figcaption b { flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #4A2C1A; color: #fff; font-weight: 500; font-size: 9px; line-height: 1; }
.bmv-r.is-fail figcaption { color: var(--crimson); }
.bmv-r.is-fail figcaption b { background: var(--crimson); }
.bmv-r.is-fail img { opacity: .38; filter: grayscale(.5); }
.bmv-photo img { animation: bmIn 12s infinite both; }
.bmv-arrow { animation: bmArrow 12s infinite both; }
.bmv-r img { animation: bmRender 12s infinite both; }
.bmv-r.is-fail img { animation-name: bmRenderFail; }
.bmv-r:nth-child(2) img { animation-delay: .3s; } .bmv-r:nth-child(3) img { animation-delay: .6s; } .bmv-r:nth-child(4) img { animation-delay: .9s; }
.bmv-r figcaption { animation: bmScore 12s infinite both; }
.bmv-r:nth-child(2) figcaption { animation-delay: .3s; } .bmv-r:nth-child(3) figcaption { animation-delay: .6s; } .bmv-r:nth-child(4) figcaption { animation-delay: .9s; }
@keyframes bmIn { 0% { opacity: 0; transform: rotate(-7deg) translateY(12px); } 5% { opacity: 1; transform: rotate(-2deg) translateY(0); } 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bmArrow { 0%, 7% { transform: scaleX(0); } 13%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes bmRender { 0%, 16% { opacity: 0; transform: scale(.94); filter: blur(8px); } 26% { opacity: 1; transform: scale(1); filter: blur(0); } 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bmRenderFail { 0%, 16% { opacity: 0; transform: scale(.94); filter: blur(8px); } 26% { opacity: 1; transform: scale(1); filter: blur(0); } 54% { opacity: 1; filter: grayscale(0); } 62%, 94% { opacity: .38; filter: grayscale(.5); } 100% { opacity: 0; } }
@keyframes bmScore { 0%, 40% { opacity: 0; transform: scale(.6); } 44% { opacity: 1; transform: scale(1.1); } 47%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@media (max-width: 560px) { .bmv { gap: 10px; grid-template-columns: minmax(0, .9fr) 24px minmax(0, 1.2fr); } .bmv-r figcaption { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) { .bmv-photo img, .bmv-arrow, .bmv-r img, .bmv-r figcaption { animation: none; } }

/* Pinpoint Fiber card, Oct 30: the live site in a browser, four pages fading through. Pinpoint red. */
.card-mark--pf { width: 26%; max-width: 118px; }
.pair .half .fig-frame.fig-frame--pf { position: relative; background: #CE352F !important; display: flex; align-items: flex-end; justify-content: center; padding: clamp(72px, 8.5vw, 92px) clamp(16px, 2.4vw, 26px) 0; overflow: hidden; }
.pf-browser { width: 100%; border-radius: 8px 8px 0 0; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .12); }
.pf-chrome { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: #ECECEC; border-bottom: 1px solid #D8D8D8; }
.pf-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #C9C9C9; }
.pf-chrome span { margin-left: 10px; flex: 1; height: 12px; border-radius: 6px; background: #fff; font-family: var(--sans); font-size: 8px; line-height: 12px; color: #777; padding-left: 8px; }
.pf-pages { position: relative; aspect-ratio: 1428 / 700; }
.pf-pages img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: pfFade 14s infinite; }
.pf-pages img:nth-child(2) { animation-delay: 3.5s; } .pf-pages img:nth-child(3) { animation-delay: 7s; } .pf-pages img:nth-child(4) { animation-delay: 10.5s; }
@keyframes pfFade { 0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }

/* BOOMROOM card, Oct 30: midnight purple, neon and the gradient B submark from the team style guide. The notice slides in,
   the three plan cards (cropped from the Figma render) fan in behind each other, Pro lands in front, and a finger chooses it. 11s loop. */
.card-mark--br { width: 34%; max-width: 150px; }
.pair .half .fig-frame.fig-frame--br { position: relative; background: #141B38 !important; display: block; padding: 0; overflow: hidden; }
.br-submark { position: absolute; right: -6%; top: -4%; width: 38%; height: auto; opacity: .9; transform: rotate(8deg); animation: brMark 11s infinite both; }
.br-stage { position: absolute; left: clamp(16px, 2.4vw, 26px); right: clamp(16px, 2.4vw, 26px); top: clamp(48px, 6vw, 62px); bottom: 0; }
.br-alert { position: absolute; z-index: 3; left: 0; right: auto; top: 0; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 11px 5px 9px; border-radius: 5px; background: #E4FE8D; color: #141B38; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: brBanner 11s infinite both; }
.br-alert i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #141B38; }
.br-plans { position: absolute; inset: 0; }
.br-plan { position: absolute; top: 10%; width: 40%; height: auto; border-radius: 8px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: brDrop 11s infinite both; }
.br-plan--left { left: 4%; transform: rotate(-4deg); animation-name: brDropL; }
.br-plan--right { right: 4%; transform: rotate(4deg); animation-name: brDropR; animation-delay: .25s; }
.br-plan--pro { left: 50%; top: 8%; width: 44%; z-index: 2; animation-name: brDropPro; animation-delay: .5s; }
.br-finger { position: absolute; z-index: 4; left: 50%; top: 80%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(204, 255, 0, .35); border: 1.5px solid rgba(204, 255, 0, .9); opacity: 0; animation: brFinger 11s infinite both; }
.br-finger::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(204, 255, 0, .8); animation: brTap 11s infinite both; }
@keyframes brMark { 0% { opacity: 0; transform: rotate(14deg) translateY(10px); } 6%, 94% { opacity: .9; transform: rotate(8deg) translateY(0); } 100% { opacity: 0; } }
@keyframes brBanner { 0%, 3% { opacity: 0; transform: translateY(-8px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes brDropL { 0%, 8% { opacity: 0; transform: rotate(-4deg) translateY(-18px); } 15%, 92% { opacity: 1; transform: rotate(-4deg); } 100% { opacity: 0; } }
@keyframes brDropR { 0%, 8% { opacity: 0; transform: rotate(4deg) translateY(-18px); } 15%, 92% { opacity: 1; transform: rotate(4deg); } 100% { opacity: 0; } }
@keyframes brDropPro { 0%, 8% { opacity: 0; transform: translate(-50%, -18px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); } 15%, 48% { opacity: 1; transform: translate(-50%, 0); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); } 54%, 92% { opacity: 1; transform: translate(-50%, -6px) scale(1.03); box-shadow: 0 0 0 2.5px #CCFF00, 0 26px 48px -18px rgba(0, 0, 0, .8); } 100% { opacity: 0; } }
@keyframes brFinger { 0%, 38% { opacity: 0; transform: translateY(14px); } 44% { opacity: 1; transform: none; } 50% { opacity: 1; transform: scale(.85); } 60%, 100% { opacity: 0; } }
@keyframes brTap { 0%, 49% { transform: scale(.6); opacity: 0; } 50% { opacity: 1; } 58%, 100% { transform: scale(2.2); opacity: 0; } }
/* Every More-work tile is the same shape at every width. */
.pair--3 .half .fig-frame { aspect-ratio: 4 / 3 !important; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .pf-pages img, .br-alert, .br-submark, .br-plan, .br-finger, .br-finger::after { animation: none; } .pf-pages img:first-child, .br-alert, .br-plan { opacity: 1; } .br-submark { opacity: .9; } .br-plan--pro { transform: translate(-50%, 0); } }

/* GigSky card, Oct 30: the Visa claim flow on a phone, built in HTML with the tokens from my widget prototype
   (unlimited-plan-widget-redesign.html: #2B5CE6, #1A2B4A, #1B5176, #1B9E5A, #E87840, #EEF0F5, 20px cards). A finger saves the
   card, it's eligible, taps Redeem, and the plan picker lands. The Visa tile and the 3 GB row float in beside it. 12s loop.
   Everything inside the phone is sized in em off a container-query font-size, so it scales with the tile. */
.pair .half .fig-frame.fig-frame--gs { position: relative; background: #2F6FE4 !important; display: block; padding: 0; overflow: hidden; }
.gs-stage { position: absolute; left: clamp(16px, 2.4vw, 26px); right: clamp(16px, 2.4vw, 26px); top: clamp(50px, 6vw, 62px); bottom: 0; }
.gs-phone { position: absolute; left: 5%; top: 0; bottom: -2px; aspect-ratio: 375 / 560; border-radius: 10px 10px 0 0; overflow: hidden; background: #EEF0F5; box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .1); container-type: inline-size; animation: gsPhone 12s infinite both; }
.gs-screen { position: absolute; inset: 0; font-size: calc(100cqw / 37.5); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1A2B4A; line-height: 1.3; opacity: 0; overflow: hidden; }
.gs-s1 { animation: gsS1 12s infinite both; background: #F7F8FB; } .gs-s2 { animation: gsS2 12s infinite both; background: #fff; } .gs-s3 { animation: gsS3 12s infinite both; background: #EEF0F5; padding: 1.2em 1.4em; }
.gs-screen *, .gs-piece * { box-sizing: border-box; margin: 0; }
.gsv-hdr { display: flex; align-items: center; gap: 1em; height: 2.5em; padding: 0 1em; font-size: 1.7em; font-weight: 700; background: #fff; }
.gsv-hdr i { width: .55em; height: .55em; border-left: .15em solid currentColor; border-bottom: .15em solid currentColor; transform: rotate(45deg); }
.gsv-hdr--blue { background: #2B5CE6; color: #fff; height: 2.6em; }
.gsv-body { padding: .6em 1.6em 1.2em; }
.gsv-body label { display: block; font-size: 1.05em; color: #4A5568; margin: .75em 0 .35em; }
.gsv-accepted { display: flex; gap: .6em; }
.gsv-accepted span { display: inline-flex; align-items: center; justify-content: center; width: 3.4em; height: 2.2em; border: .1em solid #1A2B4A; border-radius: .4em; font-size: 1em; font-weight: 800; font-style: italic; letter-spacing: .02em; background: #fff; }
.gsv-visa { color: #1434CB; } .gsv-amex { color: #006FCF; font-style: normal !important; font-size: .85em !important; }
.gsv-mc { gap: 0; } .gsv-mc i { width: 1.1em; height: 1.1em; border-radius: 50%; background: #EB001B; } .gsv-mc i + i { background: #F79E1B; margin-left: -.4em; opacity: .95; }
.gsv-field { position: relative; height: 3em; border: .1em solid #D1D8E8; border-radius: 1.5em; padding: 0 1.3em; display: flex; align-items: center; font-size: 1.15em; color: #1A2B4A; background: #fff; }
.gsv-field--filled { background: #EEF0F5; border-color: #EEF0F5; letter-spacing: .05em; }
.gsv-tag { position: absolute; right: 1em; top: 50%; transform: translateY(-50%); font-size: .7em; font-weight: 800; font-style: italic; color: #fff; background: #1434CB; padding: .2em .5em; border-radius: .3em; }
.gsv-field--select::after { content: ""; position: absolute; right: 1.3em; top: 42%; width: .6em; height: .6em; border-right: .15em solid #1A2B4A; border-bottom: .15em solid #1A2B4A; transform: rotate(45deg); }
.gsv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.gsv-pci { display: flex; gap: .8em; align-items: flex-start; margin-top: 1.2em; padding: .9em 1em; border-radius: .9em; background: #E8EDF7; font-size: .95em; line-height: 1.3; color: #4A5568; }
.gsv-pci i { flex: none; width: 1.8em; height: 1.8em; border-radius: .4em; background: #1B5176; margin-top: .1em; }
.gsv-btn { display: block; width: 100%; border: 0; border-radius: .9em; background: #2B5CE6; color: #fff; font: 700 1.5em/1 inherit; font-family: inherit; padding: 1em; box-shadow: 0 .3em 1em rgba(43, 92, 230, .3); transition: transform .15s; }
.gsv-btn--save { margin-top: 1.1em; font-size: 1.4em; padding: .9em; }
.gsv-band { background: #2B5CE6; padding: 1.2em 1.6em 2.4em; }
.gsv-card { display: flex; gap: 1.2em; background: #fff; border-radius: 1.2em; padding: 1.2em; box-shadow: 0 .4em 1.6em rgba(0, 0, 0, .12); }
.gsv-plastic { position: relative; flex: none; width: 18.5em; aspect-ratio: 1.6; border-radius: .8em; background: linear-gradient(135deg, #1434CB, #2B5CE6 60%, #4B7BEF); color: #fff; overflow: hidden; }
.gsv-plastic b { position: absolute; left: 1.2em; bottom: .8em; font-size: 1.2em; font-style: italic; font-weight: 800; letter-spacing: .02em; }
.gsv-plastic span { position: absolute; right: .35em; top: .05em; font-size: 3.4em; line-height: 1; font-style: italic; font-weight: 900; letter-spacing: -.02em; opacity: .25; }
.gsv-nfc { position: absolute; left: 1.2em; top: 1em; width: 1.1em; height: 1.1em; border-radius: 50%; border: .18em solid rgba(255, 255, 255, .85); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.gsv-nfc::after { content: ""; position: absolute; inset: .25em; border-radius: 50%; border: .18em solid rgba(255, 255, 255, .85); border-left-color: transparent; border-bottom-color: transparent; }
.gsv-meta { display: flex; flex-direction: column; gap: .2em; font-size: 1.1em; color: #4A5568; line-height: 1.3; }
.gsv-meta small { font-size: .9em; } .gsv-meta strong { font-size: 1.25em; color: #1A2B4A; } .gsv-meta em { font-style: normal; margin-top: .3em; } .gsv-meta u { color: #1A2B4A; font-weight: 600; text-underline-offset: .15em; margin-top: .3em; }
.gsv-sheet { position: relative; margin-top: -1.4em; background: #fff; border-radius: 1.6em 1.6em 0 0; padding: 1.6em 1.6em 0; }
.gsv-sheet h4 { font-size: 1.9em; font-weight: 800; text-align: center; margin-bottom: .6em; }
.gsv-ok { display: flex; gap: .8em; align-items: flex-start; background: #EBF7F1; color: #1B6E42; border-radius: .8em; padding: .9em 1.1em; font-size: 1.15em; font-weight: 600; line-height: 1.3; margin-bottom: 1.2em; }
.gsv-ok i { flex: none; width: 1.2em; height: 1.2em; border-radius: .25em; background: #1B9E5A; margin-top: .1em; }
.gsv-row { background: #F7F8FB; border-radius: 1.2em; padding: 1.1em 1.3em; box-shadow: 0 .2em 1em rgba(0, 0, 0, .06); }
.gsv-row + .gsv-row { margin-top: 1em; }
.gsv-row-top { display: flex; align-items: center; gap: .7em; font-size: 1.25em; font-weight: 700; color: #4A5568; }
.gsv-globe { width: 1.1em; height: 1.1em; border-radius: 50%; border: .14em solid #2B5CE6; position: relative; }
.gsv-globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border-left: .14em solid #2B5CE6; border-right: .14em solid #2B5CE6; transform: scaleX(.5); }
.gsv-row-mid { display: flex; justify-content: space-between; align-items: flex-end; margin: .8em 0 .9em; }
.gsv-row-mid strong { display: block; font-size: 1.6em; font-weight: 800; } .gsv-row-mid small { font-size: 1.05em; color: #6B7FA8; } .gsv-row-mid em { font-style: normal; font-size: 1.45em; font-weight: 700; color: #4A5568; }
.gsv-row-bot { display: flex; justify-content: space-between; align-items: center; border-top: .1em solid #E8EBF2; padding-top: .9em; }
.gsv-row-bot u { font-size: 1.1em; font-weight: 600; color: #2B5CE6; text-underline-offset: .15em; }
.gsv-btn--redeem { width: auto; padding: .7em 1.8em; font-size: 1.2em; border-radius: .7em; }
.gsv-row--next { opacity: .55; }
/* the widget, from the prototype's own rules */
.gsw-features { display: flex; justify-content: space-around; background: #fff; border-radius: 1.6em; padding: 1em .6em; margin-bottom: 1.2em; }
.gsw-features div { display: flex; flex-direction: column; align-items: center; gap: .4em; font-size: 1.1em; color: #4A5568; font-weight: 500; }
.gsw-ic { width: 3em; height: 3em; border-radius: 50%; background: #EEF0F5; position: relative; }
.gsw-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.2em; height: 1.2em; transform: translate(-50%, -50%); border-radius: .2em; background: #2B5CE6; }
.gsw-ic--wifi::after { border-radius: 50% 50% 0 0; } .gsw-ic--hot::after { border-radius: 50%; background: transparent; border: .22em solid #2B5CE6; }
.gsw-toggle { display: flex; gap: .8em; margin-bottom: 1.4em; }
.gsw-toggle span { flex: 1; text-align: center; padding: 1em 0; border-radius: 3em; font-size: 1.4em; font-weight: 600; border: .15em solid #D1D8E8; background: #fff; color: #1A2B4A; }
.gsw-toggle span.is-on { background: #2B5CE6; border-color: #2B5CE6; color: #fff; }
.gsw-section { margin-bottom: 1.4em; }
.gsw-title { font-size: 1.5em; font-weight: 700; color: #1B5176; margin-bottom: .8em; }
.gsw-card { background: #fff; border-radius: 2em; padding: 1.6em; box-shadow: 0 .2em 1em rgba(0, 0, 0, .06); }
.gsw-chips { display: flex; gap: .8em; margin-bottom: 1.4em; }
.gsw-chips span { position: relative; flex: 1; text-align: center; padding: .8em .4em; border-radius: 1.2em; font-size: 1.2em; font-weight: 700; border: .15em solid #E2E6ED; background: #F7F8FB; color: #5A6278; line-height: 1.1; }
.gsw-chips small { display: block; font-size: .7em; font-weight: 500; }
.gsw-chips .is-best { border-color: #E87840; } .gsw-chips .is-sel { background: #2B5CE6; border-color: #2B5CE6; color: #fff; }
.gsw-chips b { position: absolute; top: -.95em; left: 50%; transform: translateX(-50%); background: #E87840; color: #fff; font-size: .7em; line-height: 1; font-weight: 800; letter-spacing: .04em; padding: .32em .55em; border-radius: .5em; white-space: nowrap; }
.gsw-stepper { display: flex; align-items: center; background: #F0F2F7; border-radius: 1.4em; padding: .4em; }
.gsw-stepper i { width: 4.4em; height: 4.4em; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 1em; font-size: 1em; font-style: normal; font-weight: 300; color: #2B5CE6; }
.gsw-stepper i:first-child, .gsw-stepper i:last-child { font-size: 1em; }
.gsw-stepper > i { font-size: 2.2em; width: 2em; height: 2em; }
.gsw-stepper div { flex: 1; text-align: center; }
.gsw-stepper strong { display: block; font-size: 2em; font-weight: 800; line-height: 1; } .gsw-stepper small { font-size: 1em; color: #9BA3B0; font-weight: 500; }
.gsw-plan-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1em; }
.gsw-plan-name { font-size: 1.6em; font-weight: 800; line-height: 1.2; }
.gsw-price { text-align: right; } .gsw-price strong { display: block; font-size: 2.6em; font-weight: 800; color: #1B9E5A; line-height: 1; } .gsw-price s { font-size: 1.3em; color: #B0B8C8; font-weight: 500; }
.gsw-badges { display: flex; gap: .8em; margin-bottom: 1.4em; }
.gsw-save { background: #E87840; color: #fff; font-size: 1.2em; font-weight: 700; padding: .5em 1em; border-radius: 2em; } .gsw-perday { background: #EBF7F1; color: #1B9E5A; font-size: 1.2em; font-weight: 700; padding: .5em 1em; border-radius: 2em; }
.gsw-bar-label { display: flex; justify-content: space-between; font-size: 1.1em; color: #9BA3B0; font-weight: 500; margin-bottom: .5em; } .gsw-bar-label span:last-child { color: #1B9E5A; font-weight: 700; }
.gsw-bar { height: .5em; background: #E8EBF2; border-radius: 1em; overflow: hidden; margin-bottom: 1.4em; } .gsw-bar i { display: block; width: 20%; height: 100%; background: linear-gradient(90deg, #1B9E5A, #34C97A); }
.gsw-actions { display: flex; gap: 1em; align-items: center; }
.gsv-btn--buy { font-size: 1.4em; padding: .95em; border-radius: 1em; }
.gsw-actions u { font-size: 1.3em; font-weight: 600; color: #6B7FA8; text-underline-offset: .15em; white-space: nowrap; }
/* pieces beside the phone */
.gs-piece { position: absolute; right: 0; width: 46%; container-type: inline-size; border-radius: 8px; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .65); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1A2B4A; line-height: 1.3; }
.gs-piece > * { font-size: calc(100cqw / 33.5); }
.gs-piece--visa { top: 6%; transform: rotate(5deg); animation: gsVisa 12s infinite both; }
.gs-piece--plan { top: 54%; transform: rotate(-3deg); animation: gsPlan 12s infinite both; }
.gs-piece .gsv-row { background: #fff; }
.gs-finger { position: absolute; z-index: 3; left: 50%; top: 88%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(18, 26, 44, .22); border: 1.5px solid rgba(18, 26, 44, .55); opacity: 0; animation: gsFinger 12s infinite both; }
.gs-finger::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(18, 26, 44, .5); opacity: 0; animation: gsTap 12s infinite both; }
@keyframes gsPhone { 0% { opacity: 0; transform: translateY(14px); } 4%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes gsS1 { 0%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes gsS2 { 0%, 22% { opacity: 0; } 25%, 46% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes gsS3 { 0%, 46% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes gsFinger { 0%, 12% { opacity: 0; left: 50%; top: 88%; } 15% { opacity: 1; left: 50%; top: 88%; } 19% { transform: scale(.85); left: 50%; top: 88%; } 23% { opacity: 1; left: 50%; top: 88%; } 26% { opacity: 0; left: 50%; top: 88%; } 33% { opacity: 0; left: 82%; top: 76%; } 37% { opacity: 1; left: 82%; top: 76%; } 41% { transform: scale(.85); left: 82%; top: 76%; } 45% { opacity: 1; left: 82%; top: 76%; } 48%, 100% { opacity: 0; left: 82%; top: 76%; } }
@keyframes gsTap { 0%, 18% { transform: scale(.6); opacity: 0; } 19% { opacity: 1; } 24% { transform: scale(2.2); opacity: 0; } 40% { transform: scale(.6); opacity: 0; } 41% { opacity: 1; } 46%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes gsVisa { 0%, 25% { opacity: 0; transform: rotate(9deg) translateY(-16px); } 31%, 93% { opacity: 1; transform: rotate(5deg) translateY(0); } 100% { opacity: 0; } }
@keyframes gsPlan { 0%, 44% { opacity: 0; transform: rotate(-6deg) translateY(-16px); } 50%, 93% { opacity: 1; transform: rotate(-3deg) translateY(0); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gs-phone, .gs-screen, .gs-finger, .gs-finger::after, .gs-piece { animation: none; } .gs-phone, .gs-piece, .gs-s2 { opacity: 1; } }

/* Nov 2: the proof points as one typeset statement on the page ground, no block, no numerals. */
.slide--cred { background: var(--ink); color: var(--ground); border-top: 0; }
.slide--cred .kicker--cred { color: #AAB4F5; }
.slide--cred .statement--cred { color: var(--ground); }
.slide--cred .cred-line { color: rgba(247, 245, 240, 0.62); }
.slide--cred .cred-line a { color: rgba(247, 245, 240, 0.85); text-decoration-color: rgba(247, 245, 240, 0.35); }
.slide--cred .cred-line a:hover { color: #fff; text-decoration-color: #fff; }
.kicker--cred { display: flex; margin: 0 0 22px; }
.statement--cred { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; margin: 0; }
.cred-line { margin: 26px 0 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--ink-3); max-width: 40em; }
.cred-line a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.cred-line a:hover { color: var(--pen); text-decoration-color: currentColor; }
@media (max-width: 640px) { .statement--cred { font-size: clamp(26px, 7.4vw, 32px); max-width: none; } .cred-line { font-size: 16px; } }
.title-foot { grid-template-columns: 1fr; gap: 14px; }
.note--lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 30em; color: var(--ink); }
.title-foot .actions { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 14px; }
.invite { border-top: 2px solid var(--ink); padding-top: 20px; }
.invite-line { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.invite-mail { margin: 24px 0 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.invite-mail a { color: var(--pen); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--pen) 45%, transparent); }
.invite-mail a:hover { text-decoration-color: var(--pen); }
.invite-links { margin: 22px 0 0; display: flex; gap: 24px; font-family: var(--sans); font-size: 16px; }
.invite-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.invite-links a:hover { color: var(--pen); }

/* Nov 2: the page closes dark. About and the footer share the ink of the statement band. */
.slide--about { background: var(--ink); color: var(--ground); }
.slide--about .bar { color: rgba(247, 245, 240, 0.55); }
.slide--about .bar span:first-child { color: #AAB4F5; }
.slide--about .statement--about { color: var(--ground); }
.slide--about .about-text p:not(.actions) { color: rgba(247, 245, 240, 0.78); }
.slide--about .about-text a { color: var(--ground); text-decoration-color: rgba(247, 245, 240, 0.4); }
.slide--about .about-text a:hover { color: #fff; text-decoration-color: #fff; }
.slide--about .invite { border-top-color: rgba(247, 245, 240, 0.4); }
.slide--about .invite-line { color: var(--ground); }
.slide--about .invite-mail a { color: #AAB4F5; text-decoration-color: rgba(170, 180, 245, 0.45); }
.slide--about .invite-mail a:hover { color: #fff; text-decoration-color: #fff; }
.slide--about .invite-links a { color: rgba(247, 245, 240, 0.85); }
.slide--about .invite-links a:hover { color: #fff; }
.foot-band { background: var(--ink); color: rgba(247, 245, 240, 0.7); }
.foot-band .foot { border-top-color: rgba(247, 245, 240, 0.18); color: rgba(247, 245, 240, 0.6); }
.foot-band .foot-line { color: rgba(247, 245, 240, 0.7); }
.foot-band .foot-links a { color: rgba(247, 245, 240, 0.85); }
.foot-band .foot-links a:hover { color: #fff; }
.foot-band .foot-sign { color: rgba(247, 245, 240, 0.5); }
@media (max-width: 1000px) { .kicker--cred { margin-bottom: 20px; } }
@media (max-width: 640px) { .kicker--cred { margin-bottom: 18px; } }

/* Nov 2: no decorative numbering on the homepage. Labels carry the hierarchy; the category line sits under each headline. */
.cat { margin: 18px 0 0; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-3); }
.cat + .dek { margin-top: 22px; }
.bar span:last-child:not(:first-child) { color: var(--ink-3); font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
@media (max-width: 640px) { .cat { font-size: 13px; margin-top: 14px; } .bar span:last-child:not(:first-child) { display: none; } }

/* Nov 2: one vertical rhythm at every width. The reel's bottom and the statement band follow .slide's padding exactly. */
.slide--reel { padding-block: 0 clamp(72px, 12vh, 140px); }
@media (max-width: 900px) { .slide--reel { padding-block: 0 64px; } }
@media (max-width: 560px) { .slide--reel { padding-block: 0 56px; } }
/* Nov 3: the sticky bar changes height when it goes solid; stop Chrome's scroll anchoring from shifting the page and re-triggering it. */
html, body { overflow-anchor: none; }
/* Nov 3: in-situ frames in the reel are photos, so no paper ground or hairline. */
.reel-set img.is-situ { border: 0; background: none; }
/* Nov 3: on phones the strip mixes tall phone screens and short desktop screens; top-align so the desktop shots do not float mid-frame. */
@media (max-width: 760px) { .strip { align-items: flex-start; } }
