/* ============================================================
   /speaking, /book and /about.
   Loaded after /site.css, which supplies the shared components
   (the ws- classes). Only what is particular to these three
   pages lives here, and every class starts with in-.

   Colour rules, as on every page built on the tokens:
     - Ember carries type only at 24px and up, and only on
       Midnight or the raised surface. Never on Ash.
     - Small secondary text uses --ia-text-muted.
     - Glows stay faint wherever Ember type can sit on them.

   Motion only answers the visitor. Any state that waits for a
   scroll or a pointer is scoped to a class /site/js/inner.js
   adds (is-armed), so with no script, or with reduced motion,
   every rule below simply shows the finished page.
   ============================================================ */

/* A heading that reads as the small label, for sections whose big type is a quote. */
.in-kicker { font-weight: 400; }

/* ---------- hero: copy beside a cutout of Ian that stands on the fold ---------- */
.in-hero { position: relative; overflow: clip; padding-top: calc(var(--ia-nav-h) + clamp(2.25rem, 6vw, 4.5rem)); border-bottom: 1px solid var(--ia-line); }
.in-hero__grid { display: grid; gap: 1.5rem; }
.in-hero__copy { display: grid; gap: 1.4rem; justify-items: start; align-content: center; }
.in-hero__title { font-family: var(--ia-font-display); font-size: clamp(4rem, 13vw, 8.75rem); font-weight: 400; line-height: 0.86; letter-spacing: 0.004em; text-transform: uppercase; text-wrap: balance; }
.in-hero__sub { max-width: 34rem; font-size: var(--ia-fs-lead); line-height: 1.5; color: var(--ia-bone-soft); }
.in-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.in-hero__figure { position: relative; isolation: isolate; justify-self: center; width: min(74vw, 21rem); margin-top: 0.5rem; }
.in-hero__img { position: relative; z-index: 2; width: 100%; -webkit-mask-image: linear-gradient(#000 72%, transparent 99%); mask-image: linear-gradient(#000 72%, transparent 99%); }
/* A stage light from above and its pool on the floor. The blur sits on the
   parent because a filter is applied before a clip path, never after. */
.in-hero__beam { position: absolute; z-index: 1; inset: -14% -42% 0; pointer-events: none; filter: blur(22px); }
.in-hero__beam::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(217, 169, 75, 0.3), rgba(217, 169, 75, 0.1) 58%, transparent 92%); clip-path: polygon(43% 0, 57% 0, 96% 100%, 4% 100%); }
.in-hero__beam::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3%; height: 20%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(217, 169, 75, 0.34), rgba(201, 75, 26, 0.16) 55%, transparent 72%); }
@media (min-width: 900px) {
  .in-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 4rem); min-height: min(calc(100svh - var(--ia-nav-h) - 3rem), 46rem); }
  .in-hero__copy { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
  .in-hero__figure { align-self: end; width: min(100%, 27rem); margin-top: 0; }
}

/* ---------- speaking: who is talking, in three numbers ---------- */
.in-proof { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--ia-line); background: var(--ia-surface); }
.in-proof__grid { display: grid; gap: 2rem; align-items: center; }
.in-proof__lead { max-width: 34rem; font-size: var(--ia-fs-lead); font-weight: 500; line-height: 1.45; }
.in-proof .ws-why__facts { padding-top: 0; border-top: 0; }
@media (min-width: 900px) { .in-proof__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); } }

/* ---------- speaking: the three keynotes ----------
   --mx and --my are the pointer's place inside the card, set by inner.js.
   Without a script the light simply sits at the top edge on hover. */
.in-talks { display: grid; gap: 1.25rem; }
.in-talk { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.6rem, 3vw, 2.1rem) clamp(1.4rem, 2.6vw, 1.9rem) clamp(1.5rem, 2.6vw, 1.9rem); border-top: 4px solid var(--ia-accent); border-radius: 0 0 var(--ia-radius) var(--ia-radius); background: var(--ia-surface); transition: transform var(--ia-dur-fast) var(--ia-ease); }
.in-talk::before { content: ""; position: absolute; inset: -4px 0 0; z-index: -1; border-radius: inherit; background: radial-gradient(24rem circle at var(--mx) var(--my), rgba(217, 169, 75, 0.07), transparent 62%); opacity: 0; transition: opacity var(--ia-dur-fast) linear; pointer-events: none; }
/* The lit edge: a ring one pixel wide that glows nearest the pointer. */
.in-talk::after { content: ""; position: absolute; inset: -4px 0 0; border-radius: inherit; padding: 4px 1px 1px; background: radial-gradient(20rem circle at var(--mx) var(--my), var(--ia-whiskey), transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; transition: opacity var(--ia-dur-fast) linear; pointer-events: none; }
.in-talk:hover::before, .in-talk:hover::after, .in-talk:focus-within::before, .in-talk:focus-within::after { opacity: 1; }
.in-talk:hover { transform: translateY(-4px); }
.in-talk__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.in-talk__no { font-family: var(--ia-font-display); font-size: clamp(4.5rem, 7vw, 6.25rem); line-height: 0.8; color: var(--ia-accent); }
.in-talk__tag { max-width: 9em; font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.08em; line-height: 1.1; text-align: right; text-transform: uppercase; color: var(--ia-text-muted); }
.in-talk__name { font-family: var(--ia-font-display); font-size: clamp(2.4rem, 3.5vw, 3.1rem); font-weight: 400; line-height: 0.95; text-transform: uppercase; }
.in-talk__copy { font-size: 1.125rem; line-height: 1.55; color: var(--ia-bone-soft); }
.in-talk__line p { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
.in-talk__cta { align-self: flex-start; margin-top: auto; }
.in-talk__line + .in-talk__cta { margin-top: auto; }
.in-talk__line { margin-bottom: 0.6rem; }
.in-talk.is-picked .in-talk__cta { border-color: var(--ia-accent); background: var(--ia-accent); color: var(--ia-on-accent); }
/* Where there is a pointer to answer, the numeral waits as an outline and fills when the card is asked about. */
@media (hover: hover) and (pointer: fine) {
  .in-talk__no { color: transparent; -webkit-text-stroke: 2px var(--ia-smoke); transition: color var(--ia-dur-fast) linear, -webkit-text-stroke-color var(--ia-dur-fast) linear; }
  .in-talk:hover .in-talk__no, .in-talk:focus-within .in-talk__no, .in-talk.is-picked .in-talk__no { color: var(--ia-accent); -webkit-text-stroke-color: var(--ia-accent); }
}
@media (min-width: 960px) { .in-talks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.in-formats { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid var(--ia-line); }
.in-formats__label { font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.09em; line-height: 1.1; text-transform: uppercase; color: var(--ia-text-muted); }
.in-formats__list { display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.25rem, 3vw, 2.5rem); }
.in-formats__list li { display: flex; align-items: center; gap: 0.75rem; font-family: var(--ia-font-display); font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.05; text-transform: uppercase; }
.in-formats__list li::before { content: ""; flex: none; width: 0.42em; height: 0.42em; margin-top: -0.08em; background: var(--ia-accent); }

/* ---------- speaking: PALS in four tiles ---------- */
.in-pals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.in-pals li { display: flex; }
.in-pals__step { display: flex; flex-direction: column; gap: 0.7rem; width: 100%; padding: 1.2rem 0.9rem 1.3rem; border-top: 4px solid var(--ia-line-strong); border-radius: 0 0 var(--ia-radius-sm) var(--ia-radius-sm); background: var(--ia-bg); text-decoration: none; transition: border-color var(--ia-dur-fast) linear; }
.in-pals__step:hover, .in-pals__step:focus-visible { border-top-color: var(--ia-accent); }
.in-pals__letter { font-family: var(--ia-font-display); font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: 0.8; color: var(--ia-accent); }
.in-pals__name { font-family: var(--ia-font-display); font-size: clamp(1.4rem, 2.6vw, 2.25rem); line-height: 1; text-transform: uppercase; }
.in-pals__more { margin-top: 2rem; }
/* The smallest phones: DISAPPEARANCE has to fit a half width tile. */
@media (max-width: 359px) {
  .in-pals__step { padding-inline: 0.7rem; }
  .in-pals__name { font-size: 1.25rem; }
}
@media (hover: hover) and (pointer: fine) {
  .in-pals__letter { color: transparent; -webkit-text-stroke: 2px var(--ia-smoke); transition: color var(--ia-dur-fast) linear, -webkit-text-stroke-color var(--ia-dur-fast) linear; }
  .in-pals__step:hover .in-pals__letter, .in-pals__step:focus-visible .in-pals__letter { color: var(--ia-accent); -webkit-text-stroke-color: var(--ia-accent); }
}
@media (min-width: 900px) {
  .in-pals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .in-pals__step { padding: 1.4rem 1.3rem 1.6rem; }
}

/* ---------- speaking: the reel. A still image until the visitor presses play. ---------- */
.in-reel { position: relative; display: block; isolation: isolate; overflow: hidden; border: 1px solid var(--ia-line-strong); border-radius: var(--ia-radius); background: #000; color: var(--ia-bone); text-decoration: none; cursor: pointer; transition: border-color var(--ia-dur-fast) linear; }
.in-reel:hover { border-color: var(--ia-accent); }
.in-reel__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--ia-dur) var(--ia-ease); }
.in-reel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 14, 14, 0.84) 0%, rgba(14, 14, 14, 0.4) 44%, rgba(14, 14, 14, 0) 68%), linear-gradient(0deg, rgba(14, 14, 14, 0.72) 0%, rgba(14, 14, 14, 0) 46%); pointer-events: none; }
.in-reel__ui { position: absolute; z-index: 2; left: clamp(1rem, 4vw, 3rem); bottom: clamp(1rem, 4vw, 3rem); display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.4rem); }
.in-reel__play { display: grid; place-items: center; flex: none; width: clamp(4rem, 9vw, 6.5rem); height: clamp(4rem, 9vw, 6.5rem); border-radius: 50%; background: var(--ia-accent); color: var(--ia-bone); transition: transform var(--ia-dur-fast) var(--ia-ease); }
.in-reel__play svg { width: 42%; height: 42%; margin-left: 7%; }
.in-reel__label { font-family: var(--ia-font-display); font-size: clamp(1.75rem, 4.8vw, 3.75rem); line-height: 0.95; text-transform: uppercase; }
.in-reel:hover .in-reel__play { transform: scale(1.08); }
.in-reel:hover .in-reel__img { transform: scale(1.02); }
.in-reel__note { margin-top: 0.9rem; font-size: var(--ia-fs-small); color: var(--ia-text-muted); }

.in-film { width: min(92vw, 64rem); width: min(92vw, 64rem, calc((100dvh - 9rem) * 16 / 9)); padding: 0; border: 0; border-radius: var(--ia-radius-sm); background: #000; color: var(--ia-bone); overflow: visible; }
.in-film::backdrop { background: rgba(0, 0, 0, 0.88); }
.in-film__frame { aspect-ratio: 16 / 9; }
.in-film__frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--ia-radius-sm); }
.in-film__close { position: absolute; top: -3.6rem; right: 0; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ia-bone); border-radius: 50%; background: var(--ia-midnight); color: var(--ia-bone); cursor: pointer; }
.in-film__close svg { width: 22px; height: 22px; }

/* ---------- praise: someone else's words, so the body face, not the voice face ---------- */
.in-praise__fig { display: grid; gap: 1.5rem; max-width: 60rem; margin-top: 1.5rem; }
.in-praise__quote { position: relative; padding-top: clamp(3.4rem, 7.5vw, 5.4rem); }
.in-praise__quote::before { content: "\201C"; position: absolute; left: -0.03em; top: 0; font-family: var(--ia-font-display); font-size: clamp(7rem, 15vw, 11.5rem); line-height: 0.82; color: var(--ia-accent); }
.in-praise__quote p { font-size: clamp(1.6rem, 3.6vw, 2.75rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.012em; text-wrap: balance; }
.in-praise__by { display: flex; align-items: center; gap: 0.8rem; font-family: var(--ia-font-display); font-size: 1.5rem; letter-spacing: 0.06em; line-height: 1.1; text-transform: uppercase; }
.in-praise__by::before { content: ""; flex: none; width: 2.25rem; height: 3px; background: var(--ia-accent); }

.in-package { display: grid; gap: 1.25rem; align-items: center; margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--ia-line-strong); border-radius: var(--ia-radius); background: var(--ia-bg); }
.in-package__title { font-family: var(--ia-font-display); font-size: var(--ia-fs-h3); font-weight: 400; line-height: 1; text-transform: uppercase; }
.in-package__lead { max-width: 34rem; margin-top: 0.5rem; color: var(--ia-bone-soft); }
@media (min-width: 760px) { .in-package { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; } }

/* ---------- speaking: the availability form (the ws- form, plus two small things) ---------- */
.in-span { grid-column: 1 / -1; }
.in-contact { display: grid; gap: 0.7rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ia-line); }
.in-contact__label { font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.09em; line-height: 1.1; text-transform: uppercase; color: var(--ia-text-muted); }
.in-contact ul { display: grid; gap: 0.55rem; font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .in-talk, .in-talk::before, .in-talk::after, .in-talk__no, .in-pals__letter, .in-reel__img, .in-reel__play { transition: none; }
  .in-talk:hover, .in-reel:hover .in-reel__img, .in-reel:hover .in-reel__play { transform: none; }
}

/* ============================================================
   /book
   ============================================================ */

/* ---------- book: the cover, which turns toward the pointer ----------
   --rx, --ry, --gx and --gy are set by inner.js while the pointer is over
   the hero. Without them the cover simply faces the reader. */
.in-hero--book { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.in-hero--book .in-hero__title { font-size: clamp(3.75rem, 12vw, 8rem); }
.in-hero__subtitle { font-family: var(--ia-font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: 0.04em; line-height: 1.1; text-transform: uppercase; color: var(--ia-bone-soft); }
.in-hero--book .hm-retailers { margin-top: 0; }
.in-cover-stage { order: -1; width: min(46vw, 13rem); margin-top: 0; perspective: 1100px; }
.in-cover__glow { position: absolute; z-index: 0; inset: -22% -70% -14%; background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(201, 75, 26, 0.3), rgba(217, 169, 75, 0.09) 46%, transparent 70%); pointer-events: none; }
.in-cover { --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; position: relative; z-index: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.6s var(--ia-ease); }
.in-cover.is-tilting { transition: transform 0.1s linear; }
.in-cover__img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8)); }
.in-cover__glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.55), transparent 46%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.3s linear; pointer-events: none; -webkit-mask: url("/site/img/in-book-cover.webp") center / 100% 100% no-repeat; mask: url("/site/img/in-book-cover.webp") center / 100% 100% no-repeat; }
.in-cover.is-tilting .in-cover__glare { opacity: 1; }
.in-cover__hint { position: relative; z-index: 1; margin-top: 1.4rem; text-align: center; font-size: var(--ia-fs-small); font-weight: 600; color: var(--ia-text-muted); }
.in-cover__hint[hidden] { display: none; }
@media (min-width: 900px) {
  .in-hero--book .in-hero__copy { padding-bottom: 0; }
  .in-cover-stage { order: 0; align-self: center; justify-self: center; width: min(100%, 21rem); }
}

/* ---------- book: the table of contents ----------
   Each row lights as the visitor reaches it, and the rail fills beside it.
   The waiting state exists only under is-armed, which inner.js adds. */
.in-toc { --read: 1; max-width: 56rem; }
.in-toc__body { position: relative; display: grid; gap: clamp(2rem, 5vw, 3rem); padding-left: clamp(1.25rem, 4vw, 2.5rem); }
.in-toc__rail { position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: 3px; background: var(--ia-line); }
.in-toc__rail i { position: absolute; inset: 0; background: var(--ia-accent); transform-origin: top; transform: scaleY(var(--read)); }
.in-toc__opening { font-family: var(--ia-font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1; text-transform: uppercase; }
.in-toc__openinglabel { display: block; margin-bottom: 0.35rem; font-size: 1.25rem; letter-spacing: 0.09em; color: var(--ia-text-muted); }
.in-toc__part { display: grid; gap: 0.75rem; }
.in-toc__parthead { display: grid; gap: 0.45rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--ia-line-strong); }
.in-toc__partlabel { font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.09em; line-height: 1.1; text-transform: uppercase; color: var(--ia-text-muted); }
.in-toc__parttitle { font-family: var(--ia-font-display); font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 400; line-height: 0.92; text-transform: uppercase; color: var(--ia-accent); }
.in-toc__partnote { max-width: 36rem; font-size: 1.125rem; color: var(--ia-bone-soft); }
.in-toc__list { display: grid; }
.in-toc__row { display: grid; grid-template-columns: clamp(3rem, 8vw, 5rem) minmax(0, 1fr); gap: 0.5rem clamp(0.75rem, 2vw, 1.5rem); align-items: start; padding-block: 1.15rem 1.05rem; border-bottom: 1px solid var(--ia-line); }
.in-toc__no { font-family: var(--ia-font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--ia-accent); }
.in-toc__title { padding-top: 0.2rem; font-family: var(--ia-font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 400; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.in-toc__line { margin-top: 0.6rem; }
.in-toc__line p { font-family: var(--ia-font-voice); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; }
.in-toc__note { margin-top: 0.6rem; font-size: 1.0625rem; color: var(--ia-bone-soft); }
.in-toc__after { display: grid; gap: 1rem; justify-items: start; margin-top: clamp(2rem, 5vw, 3rem); padding-left: clamp(1.25rem, 4vw, 2.5rem); }
.in-toc__after p { font-size: 1.125rem; font-weight: 600; }
/* A row that has not been reached: its number is an outline and its words sit back a little.
   The words never drop below 4.5 to 1 against the surface, so a waiting row is still readable. */
.in-toc.is-armed [data-contents-row] :is(.in-toc__title, .in-toc__line) { opacity: 0.6; transition: opacity 0.5s var(--ia-ease); }
.in-toc.is-armed [data-contents-row] .in-toc__note { opacity: 0.72; transition: opacity 0.5s var(--ia-ease); }
.in-toc.is-armed [data-contents-row].is-in :is(.in-toc__title, .in-toc__line, .in-toc__note) { opacity: 1; }
.in-toc.is-armed .in-toc__no { color: transparent; -webkit-text-stroke: 1.5px var(--ia-smoke); transition: color 0.4s linear, -webkit-text-stroke-color 0.4s linear; }
.in-toc.is-armed .is-in > .in-toc__no { color: var(--ia-accent); -webkit-text-stroke-color: var(--ia-accent); }

/* ---------- book: the portal and the two cards, borrowed from the homepage ---------- */
.in-portal { margin-top: 0; }
.hm-mini h3 { margin: 0 0 0.4rem; font-family: var(--ia-font-display); font-size: 1.9rem; font-weight: 400; line-height: 1; text-transform: uppercase; }

/* ---------- book: the close ---------- */
.in-close { position: relative; padding-block: clamp(4.5rem, 11vw, 8rem); overflow: clip; }
.in-close__inner { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.in-close__copy { display: grid; gap: 1.6rem; justify-items: start; }
.in-close .ws-final__title { font-size: clamp(2.6rem, 8.4vw, 5.25rem); line-height: 0.9; }
@media (min-width: 900px) { .in-close__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); } }

/* ============================================================
   /about
   ============================================================ */

/* ---------- about: the story in five parts ----------
   The strip names the parts and marks the one in view. The line beside the
   parts fills as the visitor scrolls. Both waiting states sit under is-armed. */
.in-story { --walked: 1; position: relative; padding-block: 0 var(--ia-section); }
.in-story__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.in-story__strip { position: sticky; top: var(--ia-nav-h); z-index: 5; margin-inline: calc(var(--ia-pad) * -1); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ia-line); background: var(--ia-bg); }
.in-story__strip::-webkit-scrollbar { display: none; }
.in-story__strip ol { display: flex; width: max-content; padding-inline: calc(var(--ia-pad) - 0.9rem); }
.in-story__strip a { display: flex; align-items: center; gap: 0.5rem; min-height: 52px; padding: 0.25rem 0.9rem 0; border-bottom: 3px solid transparent; font-family: var(--ia-font-display); font-size: 1.35rem; letter-spacing: 0.06em; line-height: 1; text-decoration: none; text-transform: uppercase; white-space: nowrap; color: var(--ia-text-muted); transition: color var(--ia-dur-fast) linear, border-color var(--ia-dur-fast) linear; }
.in-story__strip a:hover { color: var(--ia-bone); }
.in-story__strip a[aria-current] { border-bottom-color: var(--ia-accent); color: var(--ia-bone); }
.in-story__stripno { font-variant-numeric: tabular-nums; }
.in-story__track { position: relative; display: grid; gap: clamp(4rem, 10vw, 7.5rem); padding-left: clamp(1.75rem, 5vw, 3.5rem); }
.in-story__line { position: absolute; left: 5px; top: 0.6rem; bottom: 0; width: 3px; background: var(--ia-line); }
.in-story__line i { position: absolute; inset: 0; background: var(--ia-accent); transform-origin: top; transform: scaleY(var(--walked)); }
.in-chapter { position: relative; display: grid; gap: 1.1rem; scroll-margin-top: calc(var(--ia-nav-h) + 76px); }
.in-chapter__dot { position: absolute; left: calc(clamp(1.75rem, 5vw, 3.5rem) * -1); top: 0.45rem; width: 13px; height: 13px; border: 3px solid var(--ia-accent); border-radius: 50%; background: var(--ia-accent); transition: background-color var(--ia-dur-fast) linear, border-color var(--ia-dur-fast) linear; }
.in-story.is-armed .in-chapter:not(.is-reached) .in-chapter__dot { border-color: var(--ia-smoke); background: var(--ia-bg); }
.in-chapter__no { font-family: var(--ia-font-display); font-size: 1.5rem; letter-spacing: 0.08em; line-height: 1; color: var(--ia-text-muted); }
.in-chapter__title { max-width: 16ch; font-family: var(--ia-font-display); font-size: clamp(3rem, 8.2vw, 6rem); font-weight: 400; line-height: 0.9; text-transform: uppercase; text-wrap: balance; }
.in-chapter__body { display: grid; gap: 1.5rem; max-width: 46rem; }
.in-chapter__body > p { font-size: var(--ia-fs-lead); line-height: 1.5; color: var(--ia-bone-soft); }
.in-chapter__body > .in-chapter__big { font-family: var(--ia-font-display); font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1; text-transform: uppercase; color: var(--ia-bone); }
.in-chapter__facts { max-width: 40rem; padding-top: 0; border-top: 0; }
/* Four facts sit two by two: 40,000+ is wider than a quarter, or a third, of the column. */
.in-chapter__facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
/* Phones: a number such as 1,600 is wider than a third of the screen, so the facts stack, number beside label. */
@media (max-width: 559px) {
  .in-chapter__facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .in-chapter__facts li { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: center; gap: 1rem; }
  .in-chapter__facts--4 li { grid-template-columns: 9.2rem minmax(0, 1fr); }   /* room for 40,000+ */
  .in-chapter__facts span { margin-top: 0; }
}
.in-chapter__links { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; font-size: 1.2rem; }

/* What went off for the year. Shown switched off; under is-armed each one starts on and goes off in turn. */
.in-off { display: grid; gap: 1.75rem; align-items: start; }
.in-off__photo img { width: 100%; border-radius: var(--ia-radius); }
.in-off__title { margin-bottom: 0.4rem; font-family: var(--ia-font-display); font-size: var(--ia-fs-h3); font-weight: 400; line-height: 1; text-transform: uppercase; }
.in-off__source { margin-top: 0.9rem; font-size: var(--ia-fs-small); color: var(--ia-text-muted); }
.in-switches { display: grid; }
.in-switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.1rem 1rem; align-items: center; padding-block: 0.85rem; border-bottom: 1px solid var(--ia-line); }
.in-switch__glyph { grid-row: 1 / span 2; position: relative; width: 46px; height: 26px; border: 2px solid var(--ia-smoke); border-radius: 13px; background: transparent; transition: background-color 0.35s var(--ia-ease), border-color 0.35s var(--ia-ease); transition-delay: calc(var(--i) * 0.16s); }
.in-switch__glyph i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ia-smoke); transition: transform 0.35s var(--ia-ease), background-color 0.35s var(--ia-ease); transition-delay: calc(var(--i) * 0.16s); }
.in-switch__name { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.in-switch__state { font-size: 1rem; line-height: 1.35; color: var(--ia-bone-soft); transition: opacity 0.35s linear; transition-delay: calc(var(--i) * 0.16s + 0.1s); }
.in-switches.is-armed:not(.is-off) .in-switch__glyph { border-color: var(--ia-accent); background: var(--ia-accent); }
.in-switches.is-armed:not(.is-off) .in-switch__glyph i { transform: translateX(20px); background: var(--ia-bone); }
.in-switches.is-armed:not(.is-off) .in-switch__state { opacity: 0; }
@media (min-width: 760px) { .in-off { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3rem); } }

@media (min-width: 1000px) {
  .in-story { padding-top: clamp(3.5rem, 7vw, 6rem); }
  .in-story__grid { grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .in-story__strip { top: calc(var(--ia-nav-h) + 2.5rem); margin-inline: 0; overflow: visible; border-bottom: 0; background: none; }
  .in-story__strip ol { display: grid; width: auto; padding: 0; }
  .in-story__strip a { min-height: 48px; padding: 0.2rem 0 0 1rem; border-bottom: 0; border-left: 3px solid var(--ia-line); font-size: 1.5rem; }
  .in-story__strip a[aria-current] { border-left-color: var(--ia-accent); }
  .in-chapter { scroll-margin-top: calc(var(--ia-nav-h) + 2.5rem); }
}

/* ---------- about: the blue chair ---------- */
.in-chairband { --lit: 1; overflow: clip; }
.in-chairband__grid { display: grid; gap: 3rem; align-items: center; }
.in-chairband__scene { width: min(58vw, 16rem); }
.in-chairband__copy { display: grid; gap: 1.2rem; justify-items: start; }
.in-chairband__voice { max-width: 30rem; font-family: var(--ia-font-voice); font-style: italic; font-weight: 500; font-size: var(--ia-fs-quote); line-height: 1.25; }
@media (min-width: 820px) {
  .in-chairband__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); }
  .in-chairband__scene { width: min(100%, 19rem); }
}

@media (prefers-reduced-motion: reduce) {
  .in-cover, .in-cover__glare, .in-toc__no, .in-toc__title, .in-toc__line, .in-toc__note, .in-chapter__dot, .in-switch__glyph, .in-switch__glyph i, .in-switch__state, .in-story__strip a { transition: none; }
}
