/* ══════════════════════════════════════════════════════════════════════════
   MINEERS 2.0 — TREATMENT PAGE SYSTEM
   Used only by treatment pages that carry body.tx (first: veneers.html).
   Loaded after styles.css + site.css; the shared header, navigation and
   footer are left exactly as they are. Everything here is scoped to .tx so
   no other page can be affected.

   Palette: warm ivory, cream, soft beige, charcoal, deep espresso and a
   restrained champagne. The photography stays the only saturated colour.
   Motion: slow reveals, gentle parallax, one pinned scan strip and one
   opening window at the end. Calm, precise, never flashy.

   Contents
     · tokens + primitives (labels, headings, buttons, links, captions)
     · reveals
     · chapter navigation (desktop bar / mobile dock)
     · hero · in brief · 01 discover · 02 analyze (scan strip)
     · 03 design · 04 create · 05 experience · questions
     · final moment · booking drawer · film dialog
     · mobile · reduced motion
   ══════════════════════════════════════════════════════════════════════════ */

.tx {
  --tx-ivory: #f6f1e9;
  --tx-cream: #eee6d9;
  --tx-beige: #e2d5c2;
  --tx-champ: #a8875a;          /* champagne, as ink on light grounds   */
  --tx-champ-lt: #d9c19a;       /* champagne, as ink on dark grounds    */
  --tx-char: #232020;
  --tx-esp: #1c1612;            /* deep espresso                        */
  --tx-esp-2: #261e18;
  --tx-ink: #25201c;
  --tx-soft: #6f655b;
  --tx-line: rgba(37, 32, 28, .14);
  --tx-od: #f1e9dd;
  --tx-od-soft: #a79b8b;
  --tx-od-line: rgba(241, 233, 221, .15);
  --tx-ease: cubic-bezier(.2, .7, .1, 1);
  --tx-bar: 52px;
  --tx-g: var(--gutter, clamp(20px, 6vw, 96px));
}

.tx main { background: var(--tx-ivory); color: var(--tx-ink); overflow-x: clip; }
.tx main :where(h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote) { margin: 0; }
.tx main :where(ol, ul) { padding: 0; list-style: none; }
.tx main img, .tx main video { display: block; max-width: 100%; height: auto; }
/* styles.css styles every <nav> (flex, uppercase, 11px); these navs set their own type. */
.tx .txnav, .tx .txtoc, .tx .txq__more { text-transform: none; letter-spacing: normal; font-size: inherit; }
.tx .txtoc { display: block; }
.tx .txtoc a:hover, .tx .txq__more a:hover { opacity: 1; }

/* ── Primitives ──────────────────────────────────────────────────────────── */
.tx .tx-label {
  font: 500 11px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--tx-soft); display: flex; align-items: center; gap: 14px;
}
.tx .tx-label::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.tx .tx-label b { font-weight: 500; color: var(--tx-champ); }
.tx [data-tone="dark"] .tx-label { color: var(--tx-od-soft); }
.tx [data-tone="dark"] .tx-label b { color: var(--tx-champ-lt); }

.tx .tx-h2 {
  font: 500 clamp(46px, 6.4vw, 116px)/.9 var(--serif);
  letter-spacing: -.035em; margin: 26px 0 0;
}
.tx .tx-h2 em, .tx .tx-h3 em { font-style: italic; color: var(--tx-champ); }
.tx [data-tone="dark"] .tx-h2 em, .tx [data-tone="dark"] .tx-h3 em { color: var(--tx-champ-lt); }
.tx .tx-h3 { font: 500 clamp(34px, 3.6vw, 60px)/.98 var(--serif); letter-spacing: -.025em; }
.tx .tx-lead { font: 400 clamp(20px, 1.65vw, 27px)/1.45 var(--serif); letter-spacing: -.005em; color: var(--tx-ink); }
.tx [data-tone="dark"] .tx-lead { color: var(--tx-od); }

.tx .tx-cap {
  display: flex; gap: 14px; margin-top: 14px;
  font: 400 10.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx-soft);
}
.tx .tx-cap span { color: var(--tx-champ); flex: none; }
.tx [data-tone="dark"] .tx-cap { color: var(--tx-od-soft); }
.tx [data-tone="dark"] .tx-cap span { color: var(--tx-champ-lt); }

.tx .txbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px; border: 0; cursor: pointer;
  background: var(--tx-esp); color: var(--tx-ivory);
  font: 500 10.5px/1 Inter, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .5s var(--tx-ease), color .5s var(--tx-ease);
}
.tx .txbtn::after { content: "→"; font-family: Inter, sans-serif; letter-spacing: 0; transition: transform .6s var(--tx-ease); }
.tx .txbtn:hover { background: #3a2f27; }
.tx .txbtn:hover::after { transform: translateX(5px); }
.tx .txbtn--light { background: var(--tx-ivory); color: var(--tx-esp); }
.tx .txbtn--light:hover { background: #fff; }
.tx .txbtn--sm { padding: 13px 18px; font-size: 9.5px; }

.tx .txlink {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  font: 500 10.5px/1 Inter, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-ink);
}
.tx .txlink::after { content: "→"; letter-spacing: 0; transition: transform .6s var(--tx-ease); }
.tx .txlink::before {
  content: ""; position: absolute; left: 0; right: 1.4em; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform .7s var(--tx-ease);
}
.tx .txlink:hover::before { transform: scaleX(.35); }
.tx .txlink:hover::after { transform: translateX(5px); }
.tx .txlink--light { color: var(--tx-od); }

.tx a:focus-visible, .tx button:focus-visible, .tx summary:focus-visible { outline: 1px solid var(--tx-champ); outline-offset: 5px; }
.tx [data-tone="dark"] a:focus-visible, .tx [data-tone="dark"] button:focus-visible { outline-color: var(--tx-champ-lt); }

/* Instrument window: a quiet frame with crop marks, used for every film. */
.tx .txwin { position: relative; overflow: hidden; background: #0f0c0a; }
.tx .txwin::before {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  --c: rgba(241, 233, 221, .7); --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--l) no-repeat;
}
.tx .txvid { width: 100%; height: 100%; object-fit: cover; }

/* ── Reveals (one-shot; treatment.js adds .is-in) ─────────────────────────── */
.tx .ln { display: block; overflow: hidden; padding: 0 .06em .12em 0; margin-bottom: -.12em; }
.tx .ln > span { display: block; }
.js .tx [data-tx="lines"] .ln > span { transform: translate3d(0, 112%, 0); transition: transform 1.35s var(--tx-ease); }
.js .tx [data-tx="lines"] .ln:nth-child(2) > span { transition-delay: .11s; }
.js .tx [data-tx="lines"] .ln:nth-child(3) > span { transition-delay: .22s; }
.js .tx [data-tx="lines"].is-in .ln > span { transform: none; }

.js .tx [data-tx="rise"] {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity 1.1s var(--tx-ease) var(--d, 0ms), transform 1.3s var(--tx-ease) var(--d, 0ms);
}
.js .tx [data-tx="rise"].is-in { opacity: 1; transform: none; }

.js .tx [data-tx="img"] { clip-path: inset(10% 7% 10% 7%); transition: clip-path 1.7s var(--tx-ease) var(--d, 0ms); }
.js .tx [data-tx="img"] > img, .js .tx [data-tx="img"] > video, .js .tx [data-tx="img"] > svg {
  transform: scale(1.14); transition: transform 2.6s var(--tx-ease) var(--d, 0ms);
}
.js .tx [data-tx="img"].is-in { clip-path: inset(0 0 0 0); }
.js .tx [data-tx="img"].is-in > img, .js .tx [data-tx="img"].is-in > video, .js .tx [data-tx="img"].is-in > svg { transform: none; }

[data-speed] { will-change: transform; }

/* ── Chapter navigation ──────────────────────────────────────────────────── */
.tx .txnav {
  position: fixed; left: 0; right: 0; top: var(--nav-h, 92px); z-index: 9;
  height: var(--tx-bar); padding: 0 var(--tx-g);
  display: flex; align-items: center; gap: 32px;
  background: rgba(246, 241, 233, .88); color: var(--tx-ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--tx-line);
  transform: translate3d(0, -101%, 0); opacity: 0; pointer-events: none;
  transition: transform .8s var(--tx-ease), opacity .5s var(--tx-ease), background-color .6s, color .6s, border-color .6s;
}
.tx .txnav.is-on { transform: none; opacity: 1; pointer-events: auto; }
.tx .txnav[data-tone="dark"] { background: rgba(28, 22, 18, .84); color: var(--tx-od); border-color: var(--tx-od-line); }
.tx .txnav__title { font: 500 21px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.tx .txnav__title em { font-style: italic; }
.tx .txnav__list { list-style: none; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 38px); margin: 0 auto; }
.tx .txnav__list a {
  position: relative; display: flex; gap: 8px; padding: 18px 0;
  font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .55;
  transition: opacity .4s;
}
.tx .txnav__list a span { color: var(--tx-champ); }
.tx .txnav[data-tone="dark"] .txnav__list a span { color: var(--tx-champ-lt); }
.tx .txnav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--tx-ease);
}
.tx .txnav__list a:hover, .tx .txnav__list a.is-active { opacity: 1; }
.tx .txnav__list a.is-active::after { transform: scaleX(1); }
.tx .txnav__extra { display: none; }
.tx .txnav .txbtn--sm { flex: none; }
.tx .txnav[data-tone="dark"] .txbtn { background: var(--tx-ivory); color: var(--tx-esp); }
.tx .txnav__toggle { display: none; }
.tx .txnav__bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--tx-champ);
  transform: scaleX(var(--prog, 0)); transform-origin: left;
}
body.menu-open .txnav { opacity: 0 !important; pointer-events: none !important; }

/* ══ HERO ═══════════════════════════════════════════════════════════════════ */
.tx .txh {
  --hp: 0;
  position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  min-height: calc(100vh - var(--nav-h, 92px)); min-height: calc(100svh - var(--nav-h, 92px));
  background: var(--tx-esp); color: var(--tx-od); overflow: hidden; isolation: isolate;
}
.tx .txh__media { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; background: #d9d6d2; }
.tx .txh__drift { position: absolute; inset: -6% 0 0; transform: translate3d(0, calc(var(--hp) * 9%), 0); }
.tx .txh__drift picture, .tx .txh__drift img { width: 100%; height: 100%; }
.tx .txh__drift img { object-fit: cover; object-position: 50% 30%; }
.tx .txh__media::after { /* keeps the seam between copy and photo soft */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(28, 22, 18, .35), rgba(28, 22, 18, 0) 18%),
              linear-gradient(0deg, rgba(28, 22, 18, calc(.1 + var(--hp) * .6)), rgba(28, 22, 18, 0) 40%);
}
.tx .txh__cap {
  position: absolute; right: 22px; bottom: 20px; z-index: 2;
  font: 400 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

.tx .txh__copy {
  grid-column: 1; grid-row: 1; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3.5vh;
  padding: clamp(24px, 4vh, 56px) clamp(28px, 4vw, 72px) clamp(26px, 4.5vh, 52px) var(--tx-g);
  transform: translate3d(0, calc(var(--hp) * -7vh), 0); opacity: calc(1 - var(--hp) * 1.25);
}
.tx .txh__kicker {
  display: flex; justify-content: space-between; gap: 20px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-od-soft);
  padding-bottom: 18px; border-bottom: 1px solid var(--tx-od-line);
}
.tx .txh__kicker span:first-child { color: var(--tx-champ-lt); }
.tx .txh__title { font: 500 clamp(66px, min(10.2vw, 17.5vh), 198px)/.84 var(--serif); letter-spacing: -.045em; margin: 0; }
.tx .txh__title .ln--in { padding-left: .9em; }
.tx .txh__title em { font-style: italic; color: var(--tx-champ-lt); letter-spacing: -.035em; }
.tx .txh__where {
  display: block; margin-top: 28px; padding-left: .2em;
  font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--tx-od-soft);
}
.tx .txh__tag { margin-top: clamp(18px, 3vh, 34px); font: italic 500 clamp(24px, 2.2vw, 36px)/1.15 var(--serif); letter-spacing: -.01em; }
.tx .txh__lede { margin-top: 14px; max-width: 480px; font: 400 15px/1.7 Inter, sans-serif; color: var(--tx-od-soft); }
.tx .txh__words { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(18px, 2.8vh, 30px); }
.tx .txh__words li { display: flex; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--tx-od); }
.tx .txh__words li + li::before { content: ""; width: 4px; height: 4px; margin: 0 16px; border-radius: 50%; background: var(--tx-champ-lt); opacity: .8; }
.tx .txh__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 34px; margin-top: clamp(22px, 3.6vh, 38px); }
.tx .txh__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--tx-od-line); margin: 0; }
.tx .txh__facts dt { font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-od-soft); }
.tx .txh__facts dd { margin: 10px 0 0; font: 500 clamp(22px, 1.9vw, 32px)/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.tx .txh__facts small { font: 400 .5em/1 var(--mono); letter-spacing: .1em; color: var(--tx-od-soft); text-transform: uppercase; }
.tx .txh__cue {
  position: absolute; left: 50%; bottom: 0; z-index: 3; display: none;
}

/* Hero entrance: the photograph opens like a curtain, the title rises. */
.js .tx .txh__media { clip-path: inset(0 0 0 100%); transition: clip-path 1.9s var(--tx-ease) .15s; }
.js .tx .txh__drift img { transform: scale(1.16); transition: transform 3.2s var(--tx-ease) .15s; }
.js .tx .txh .ln > span { transform: translate3d(0, 112%, 0); transition: transform 1.5s var(--tx-ease) .35s; }
.js .tx .txh .ln--in > span { transition-delay: .5s; }
.js .tx .txh :is(.txh__kicker, .txh__where, .txh__tag, .txh__lede, .txh__actions, .txh__facts) { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1.2s var(--tx-ease), transform 1.4s var(--tx-ease); }
.js .tx .txh__kicker { transition-delay: .2s !important; }
.js .tx .txh__where { transition-delay: .9s !important; }
.js .tx .txh__tag { transition-delay: 1s !important; }
.js .tx .txh__lede { transition-delay: 1.1s !important; }
.js .tx .txh__actions { transition-delay: 1.75s !important; }
.js .tx .txh__facts { transition-delay: 1.9s !important; }
.js .tx .txh__words li { opacity: 0; transition: opacity 1s var(--tx-ease); }
.js .tx .txh__words li:nth-child(1) { transition-delay: 1.25s; }
.js .tx .txh__words li:nth-child(2) { transition-delay: 1.4s; }
.js .tx .txh__words li:nth-child(3) { transition-delay: 1.55s; }
.js .tx .txh__words li:nth-child(4) { transition-delay: 1.7s; }
.tx.tx-ready .txh__media { clip-path: inset(0 0 0 0); }
.tx.tx-ready .txh__drift img { transform: none; }
.tx.tx-ready .txh .ln > span { transform: none; }
.tx.tx-ready .txh :is(.txh__kicker, .txh__where, .txh__tag, .txh__lede, .txh__actions, .txh__facts) { opacity: 1; transform: none; }
.tx.tx-ready .txh__words li { opacity: 1; }
/* The copy block fades with --hp once scrolled; keep the entrance from fighting it. */
.tx.tx-ready .txh__copy { transition: none; }

@media (max-height: 880px) and (min-width: 801px) { .tx .txh__lede { display: none; } }

/* ══ IN BRIEF ═══════════════════════════════════════════════════════════════ */
.tx .txi {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: clamp(96px, 12vw, 200px) var(--tx-g) clamp(80px, 10vw, 160px);
}
.tx .txi__label { grid-column: 1 / 4; align-self: start; margin-top: .9em; }
.tx .txi__statement {
  grid-column: 4 / 13; font: 400 clamp(32px, 3.9vw, 68px)/1.1 var(--serif); letter-spacing: -.022em;
}
.tx .txi__statement em { font-style: italic; color: var(--tx-champ); }
.tx .txi__answer { grid-column: 4 / 10; margin-top: clamp(28px, 3vw, 44px); font-size: 16px; line-height: 1.75; color: var(--tx-soft); }
.tx .txi__answer strong { color: var(--tx-ink); font-weight: 500; }
.tx .txi__ledger {
  grid-column: 1 / 13; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--tx-line); border-bottom: 1px solid var(--tx-line);
}
.tx .txi__ledger > div { padding: 26px 20px 28px 0; }
.tx .txi__ledger > div + div { padding-left: 20px; border-left: 1px solid var(--tx-line); }
.tx .txi__ledger dt { font: 500 9.5px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-soft); }
.tx .txi__ledger dd { margin: 14px 0 0; font: 500 clamp(19px, 1.6vw, 26px)/1.1 var(--serif); letter-spacing: -.01em; }

.tx .txtoc { grid-column: 1 / 13; margin-top: clamp(80px, 10vw, 150px); }
.tx .txtoc ol { margin-top: 26px; border-top: 1px solid var(--tx-line); }
.tx .txtoc li { border-bottom: 1px solid var(--tx-line); }
.tx .txtoc a {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: baseline; gap: 20px;
  padding: clamp(18px, 2vw, 28px) 0; position: relative;
}
.tx .txtoc__no { font: italic 500 22px/1 var(--serif); color: var(--tx-champ); }
.tx .txtoc__name { font: 500 clamp(36px, 4.4vw, 76px)/.95 var(--serif); letter-spacing: -.03em; transition: transform .8s var(--tx-ease), font-style .3s; }
.tx .txtoc__line { font: 500 10.5px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-soft); }
.tx .txtoc i { justify-self: end; width: 28px; height: 1px; background: var(--tx-ink); position: relative; transform: scaleX(.5); transform-origin: right; transition: transform .7s var(--tx-ease); align-self: center; }
.tx .txtoc i::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--tx-ink); border-right: 1px solid var(--tx-ink); transform: rotate(45deg); transform-origin: 100% 0; top: 0; }
.tx .txtoc a:hover .txtoc__name { transform: translateX(18px); font-style: italic; }
.tx .txtoc a:hover i { transform: scaleX(1); }

/* In brief, short form (the treatment pages). The statement is read word by
   word as it rises (treatment.js lights --lit from 0 to 1); the answer sits
   beside the few facts the hero has not already given; the five chapters are
   a single line, since the chapter bar already leads to each of them. */
.tx [data-lit].is-lit .w { opacity: clamp(.16, calc(var(--lit, 1) * (var(--n) + 4) - var(--i)), 1); transition: opacity .3s linear; }
.tx .txi--short { padding-top: clamp(80px, 9vw, 150px); padding-bottom: clamp(64px, 7vw, 120px); }
.tx .txi--short .txi__answer { grid-column: 4 / 9; grid-row: 2; max-width: 560px; font-size: 17px; line-height: 1.7; color: var(--tx-ink); }
.tx .txi--short .txi__ledger { grid-column: 10 / 13; grid-row: 2; align-self: start; display: block; margin-top: clamp(28px, 3vw, 44px); border-bottom: 0; }
.tx .txi--short .txi__ledger > div, .tx .txi--short .txi__ledger > div + div { padding: 16px 0 18px; border-left: 0; border-bottom: 1px solid var(--tx-line); }
.tx .txi--short .txi__ledger dd { margin-top: 8px; font-size: clamp(19px, 1.5vw, 24px); }
.tx .txi--short .txtoc { grid-row: 3; margin-top: clamp(56px, 6vw, 100px); }
.tx .txi--short .txtoc ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.tx .txi--short .txtoc li { border-bottom: 0; }
.tx .txi--short .txtoc li + li { border-left: 1px solid var(--tx-line); }
.tx .txi--short .txtoc a { display: block; padding: 22px 18px 4px; }
.tx .txi--short .txtoc li:first-child a { padding-left: 0; }
.tx .txi--short .txtoc__no { font-size: 16px; }
.tx .txi--short .txtoc__name { display: block; margin-top: 12px; font-size: clamp(22px, 1.9vw, 32px); letter-spacing: -.02em; }
.tx .txi--short .txtoc__line { display: block; margin-top: 10px; font-size: 9.5px; }
.tx .txi--short .txtoc i { display: none; }
.tx .txi--short .txtoc a:hover .txtoc__name { transform: none; color: var(--tx-champ); }

/* ══ CHAPTERS — shared ═════════════════════════════════════════════════════ */
.tx .txc { position: relative; padding: clamp(100px, 13vw, 220px) var(--tx-g) clamp(90px, 11vw, 190px); }
.tx .txc__num {
  position: absolute; top: clamp(30px, 5vw, 80px); right: calc(var(--tx-g) - .05em);
  font: 400 clamp(170px, 27vw, 480px)/.78 var(--serif); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(168, 135, 90, .5);
  pointer-events: none; user-select: none; z-index: 0;
}
.tx [data-tone="dark"] .txc__num, .tx .txc[data-tone="dark"] .txc__num { -webkit-text-stroke-color: rgba(217, 193, 154, .3); }
.tx .txc__head { position: relative; z-index: 1; max-width: 1100px; }
.tx .txc__sub { margin-top: 26px; font: italic 500 clamp(22px, 2vw, 32px)/1.25 var(--serif); color: var(--tx-champ-lt); }

/* ══ 01 DISCOVER ═══════════════════════════════════════════════════════════ */
.tx .txc--discover {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  background: var(--tx-ivory);
}
.tx .txc--discover .txc__num { top: clamp(40px, 6vw, 100px); }
.tx .txc--discover .txc__head { grid-column: 1 / 8; grid-row: 1; }
.tx .txdis__text { grid-column: 1 / 6; grid-row: 2; margin-top: clamp(40px, 5vw, 72px); position: relative; z-index: 1; }
.tx .txdis__text p + p { margin-top: 22px; font-size: 15.5px; line-height: 1.75; color: var(--tx-soft); max-width: 440px; }
.tx .txdis__media { grid-column: 7 / 12; grid-row: 1 / 4; margin-top: clamp(120px, 14vw, 240px); position: sticky; top: calc(var(--nav-h, 92px) + var(--tx-bar) + 32px); z-index: 1; }
.tx .txwin--portrait { aspect-ratio: 4 / 5; }
.tx .txvid--v1 { object-position: 25% 50%; }
.tx .txdis__sheet { grid-column: 2 / 6; grid-row: 3; margin-top: clamp(56px, 7vw, 110px); position: relative; z-index: 1; }
.tx .txdis__sheet ol { margin-top: 20px; border-top: 1px solid var(--tx-line); }
.tx .txdis__sheet li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--tx-line);
  font: 500 clamp(19px, 1.5vw, 24px)/1.2 var(--serif);
}
.tx .txdis__sheet li span { font: italic 500 15px/1 var(--serif); color: var(--tx-champ); }
.tx .txdis__note { margin-top: 26px; font-size: 13.5px; line-height: 1.7; color: var(--tx-soft); max-width: 400px; }

/* ══ 02 ANALYZE — the scan strip ═══════════════════════════════════════════ */
.tx .txc--analyze { background: var(--tx-esp); color: var(--tx-od); padding-bottom: 0; }
.tx .txc--analyze .txc__num { top: clamp(60px, 8vw, 130px); }
.tx .txflow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
  font: 500 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase;
}
.tx .txflow li { display: flex; align-items: center; color: var(--tx-od-soft); opacity: .45; transition: opacity .6s, color .6s; }
.tx .txflow li + li::before { content: ""; width: clamp(22px, 3vw, 54px); height: 1px; margin: 0 14px; background: currentColor; opacity: .5; }
.tx .txflow li.is-on { opacity: 1; color: var(--tx-champ-lt); }
.tx .txflow li.is-done { opacity: .85; }
.tx .txflow--light li { color: var(--tx-soft); }
.tx .txflow--light li.is-on { color: var(--tx-champ); }
.tx .txc--design .txflow, .tx .txc__head .txflow { margin-top: 34px; }

.tx .txscan { position: relative; margin-top: clamp(56px, 7vw, 110px); }
.tx .txscan__pin { position: relative; }
.tx .txscan__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--tx-od-line); }
.tx .txscan__count { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--tx-od-soft); }
.tx .txscan__now { color: var(--tx-champ-lt); }
.tx .txscan__track { display: flex; gap: clamp(40px, 6vw, 120px); padding: clamp(40px, 6vh, 70px) 0 clamp(60px, 9vh, 100px); }
.tx .txpanel { flex: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: clamp(28px, 3.2vw, 56px); width: min(1180px, 76vw); }
.tx .txpanel__media { min-width: 0; }
.tx .txpanel__idx { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-champ-lt); }
.tx .txpanel h3 { margin-top: 20px; font: 500 clamp(36px, 3.6vw, 62px)/.95 var(--serif); letter-spacing: -.03em; }
.tx .txpanel__text p:last-child { margin-top: 20px; max-width: 380px; font-size: 15px; line-height: 1.75; color: var(--tx-od-soft); }
.tx .txpanel--close { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px; width: min(860px, 62vw); }
.tx .txpanel__big { font: 400 clamp(40px, 4.8vw, 84px)/1.02 var(--serif); letter-spacing: -.03em; }
.tx .txpanel__big em { font-style: italic; color: var(--tx-champ-lt); }

.tx .txwin--scan { aspect-ratio: 16 / 9; }
.tx .txwin--wide { aspect-ratio: 640 / 300; }
.tx .txvid--v6 { object-position: 50% 0; }
.tx .txwin--arch { aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 45%, #2a211b 0%, #15110e 70%); display: grid; place-items: center; }
.tx .txwin__sweep { /* a slow scan line, with a faint wash behind it, across the face-scan film */
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(217, 193, 154, 0) 55%, rgba(217, 193, 154, .1) 96%, rgba(239, 220, 184, .95) calc(100% - 1px), rgba(239, 220, 184, .95) 100%);
  transform: translate3d(0, -100%, 0);
  animation: tx-sweep 7s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes tx-sweep { 0% { transform: translate3d(0, -100%, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } }

.tx .txarch { width: 86%; height: auto; overflow: visible; }
.tx .txarch .base path { fill: none; stroke: rgba(217, 193, 154, .2); stroke-width: 1; }
.tx .txarch .base .gum { stroke-dasharray: 2 4; }
.tx .txarch .lit .t { fill: rgba(217, 193, 154, .07); stroke: #dcc59f; stroke-width: 1.1; }
.tx .txarch .lit .gr { fill: none; stroke: rgba(220, 197, 159, .65); stroke-width: .8; }
.tx .txarch .lit .gum { fill: none; stroke: rgba(220, 197, 159, .5); stroke-width: 1; stroke-dasharray: 2 4; }
.tx .txarch .beam { stroke: #efdcb8; stroke-width: 1.2; }
.tx .txarch .beam-glow { fill: url(#txBeamGlow); }
.tx .txarch__read {
  position: absolute; left: 22px; bottom: 18px; z-index: 2;
  font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(241, 233, 221, .6);
}

.tx .txscan__rail { position: relative; height: 1px; background: var(--tx-od-line); margin-bottom: 0; }
.tx .txscan__rail span { position: absolute; inset: 0; background: var(--tx-champ-lt); transform: scaleX(var(--sp, 0)); transform-origin: left; }

/* Desktop with motion: the strip is pinned and slides sideways. */
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .js .tx .txscan.is-pinned { height: var(--scan-h, 300vh); }
  .js .tx .txscan.is-pinned .txscan__pin {
    position: sticky; top: calc(var(--nav-h, 92px) + var(--tx-bar));
    height: calc(100vh - var(--nav-h, 92px) - var(--tx-bar)); overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
  }
  .js .tx .txscan.is-pinned .txscan__top { padding-top: 10px; }
  .js .tx .txscan.is-pinned .txscan__track { flex: 1; min-height: 0; align-items: center; will-change: transform; transform: translate3d(calc(var(--sx, 0) * -1px), 0, 0); }
  .js .tx .txscan.is-pinned .txscan__rail { margin-bottom: clamp(24px, 4vh, 40px); }
  .js .tx .txscan.is-pinned { margin-left: calc(var(--tx-g) * -1); margin-right: calc(var(--tx-g) * -1); }
  .js .tx .txscan.is-pinned .txscan__top,
  .js .tx .txscan.is-pinned .txscan__rail { margin-left: var(--tx-g); margin-right: var(--tx-g); }
  .js .tx .txscan.is-pinned .txscan__track { padding-left: var(--tx-g); padding-right: var(--tx-g); }
  .js .tx .txscan.is-pinned .txpanel { width: min(1180px, 76vw, 150vh); }
}

/* ══ 03 DESIGN ═════════════════════════════════════════════════════════════ */
.tx .txc--design { background: var(--tx-ivory); }
.tx .txdes__lead { max-width: 640px; margin: clamp(40px, 4.5vw, 70px) 0 0 auto; margin-right: calc(8.33% * 1); position: relative; z-index: 1; }

.tx .txdes__fig { margin: clamp(64px, 8vw, 130px) calc(var(--tx-g) * -1) 0; }
.tx .txdes__frame { position: relative; overflow: hidden; aspect-ratio: 1400 / 788; background: #2a1f1c; }
.tx .txdes__stage { position: absolute; inset: 0; }
.tx .txdes__stage img { width: 100%; height: 100%; object-fit: fill; }
.tx .txdes__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tx .txdes__svg * { fill: none; stroke: #f3e4c6; stroke-width: 1.25; stroke-linecap: round; }
.tx .txdes__svg .g-plane line { stroke-dasharray: 3 7; stroke-opacity: .8; }
.tx .txdes__svg .g-mid line { stroke-dasharray: 8 6; stroke-opacity: .9; }
.tx .txdes__svg .g-lip path { stroke-dasharray: 1 7; stroke-width: 1.6; stroke-opacity: .85; }
.tx .txdes__svg .g-arc path { stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(40, 20, 10, .45)); }
.tx .txdes__svg .g-prop .drop line { stroke-opacity: .35; stroke-dasharray: 2 5; }
.tx .txdes__pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(243, 228, 198, .95); background: rgba(28, 22, 18, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font: 500 10px/1 var(--mono); letter-spacing: .06em; color: #f6ecd8;
}
/* drawn in when the figure arrives */
.js .tx .txdes__svg .g-arc path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--tx-ease) .5s; }
.js .tx .txdes__svg .g-mid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); transition: transform 1.6s var(--tx-ease) .1s; }
.js .tx .txdes__svg .g-plane { transform-box: fill-box; transform-origin: 50% 50%; transform: scaleX(0); transition: transform 1.6s var(--tx-ease) .3s; }
.js .tx .txdes__svg .g-lip { opacity: 0; transition: opacity 1.4s var(--tx-ease) 1s; }
.js .tx .txdes__svg .g-prop { opacity: 0; transition: opacity 1.2s var(--tx-ease) 1.2s; }
.js .tx .txdes__pin { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .9s var(--tx-ease), transform 1.1s var(--tx-ease); }
.js .tx .txdes__pin:nth-of-type(1) { transition-delay: .7s; }
.js .tx .txdes__pin:nth-of-type(2) { transition-delay: 1.8s; }
.js .tx .txdes__pin:nth-of-type(3) { transition-delay: 1.1s; }
.js .tx .txdes__pin:nth-of-type(4) { transition-delay: 1.5s; }
.tx .txdes__fig.is-in .g-arc path { stroke-dashoffset: 0; }
.tx .txdes__fig.is-in .g-mid, .tx .txdes__fig.is-in .g-plane { transform: none; }
.tx .txdes__fig.is-in .g-lip, .tx .txdes__fig.is-in .g-prop { opacity: 1; }
.tx .txdes__fig.is-in .txdes__pin { opacity: 1; transform: translate(-50%, -50%); }

.tx .txdes__cap { padding: 0 var(--tx-g); }
.tx .txdes__legend {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: clamp(36px, 4vw, 60px) var(--tx-g) 0;
}
.tx .txdes__legend li { padding-top: 18px; border-top: 1px solid var(--tx-line); display: grid; gap: 10px; }
.tx .txdes__legend b { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--tx-champ); }
.tx .txdes__legend strong { font: 500 clamp(22px, 1.8vw, 28px)/1.05 var(--serif); letter-spacing: -.015em; }
.tx .txdes__legend span { font-size: 14px; line-height: 1.65; color: var(--tx-soft); }

.tx .txdes__sim {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  margin-top: clamp(100px, 12vw, 200px);
}
.tx .txdes__screen { grid-column: 2 / 7; }
.tx .txwin--sim { aspect-ratio: 600 / 316; }
.tx .txdes__simtext { grid-column: 8 / 12; }
.tx .txdes__simtext p { margin-top: 24px; font-size: 15.5px; line-height: 1.75; color: var(--tx-soft); max-width: 420px; }

.tx .txdes__try {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  margin-top: clamp(100px, 12vw, 200px); align-items: end;
}
.tx .txdes__model { grid-column: 1 / 9; grid-row: 1; margin-left: calc(var(--tx-g) * -1); }
.tx .txdes__model img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tx .txdes__model .tx-cap { padding-left: var(--tx-g); }
.tx .txdes__trytext {
  grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 1;
  background: var(--tx-ivory); padding: clamp(28px, 3vw, 52px) 0 clamp(8px, 1vw, 16px) clamp(28px, 3vw, 52px);
  margin-bottom: clamp(40px, 5vw, 90px);
}
.tx .txdes__trytext .tx-h3 { margin-top: 22px; }
.tx .txdes__trytext > p:not(.tx-label) { margin-top: 22px; font-size: 15.5px; line-height: 1.75; color: var(--tx-soft); }
.tx .txdes__params { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tx .txdes__params li {
  padding: 9px 14px; border: 1px solid var(--tx-line);
  font: 500 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-ink);
}

/* ══ 04 CREATE ═════════════════════════════════════════════════════════════ */
.tx .txc--create { background: #110d0b; color: var(--tx-od); padding: 0 0 clamp(100px, 12vw, 200px); }
.tx .txcr__hero { position: relative; }
.tx .txcr__img { position: relative; aspect-ratio: 16 / 9; max-height: 100vh; width: 100%; overflow: hidden; }
.tx .txcr__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.tx .txcr__head { position: absolute; left: var(--tx-g); top: clamp(80px, 9vw, 150px); right: var(--tx-g); }
.tx .txc__num--in { position: absolute; right: 0; left: auto; top: -.1em; -webkit-text-stroke-color: rgba(217, 193, 154, .22); }

.tx .txcr__measure {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  padding: clamp(80px, 10vw, 160px) var(--tx-g) 0;
}
.tx .txcr__mm { grid-column: 1 / 9; display: flex; align-items: baseline; gap: 18px; }
.tx .txcr__num { font: 400 clamp(96px, 15vw, 270px)/.8 var(--serif); letter-spacing: -.05em; color: var(--tx-champ-lt); }
.tx .txcr__unit { font: 500 clamp(12px, 1vw, 15px)/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-od-soft); }
.tx .txcr__ruler {
  grid-column: 1 / 9; grid-row: 2; height: 22px; margin-top: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(217, 193, 154, .55) 0 1px, transparent 1px 100%) 0 100% / 10% 22px repeat-x,
    repeating-linear-gradient(90deg, rgba(217, 193, 154, .3) 0 1px, transparent 1px 100%) 0 100% / 2% 10px repeat-x;
  border-bottom: 1px solid rgba(217, 193, 154, .45);
}
.tx .txcr__mmtext { grid-column: 9 / 13; grid-row: 1 / 3; font-size: 15px; line-height: 1.75; color: var(--tx-od-soft); }
.tx .txcr__mmtext strong { color: var(--tx-od); font-weight: 500; }

.tx .txcr__craft {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px);
  padding: clamp(90px, 10vw, 160px) var(--tx-g) 0;
}
.tx .txcr__craft li { padding-top: 24px; border-top: 1px solid var(--tx-od-line); }
.tx .txcr__craft h3 { margin-top: 26px; font: 500 clamp(26px, 2.3vw, 38px)/1.02 var(--serif); letter-spacing: -.02em; }
.tx .txcr__craft p { margin-top: 18px; font-size: 14.5px; line-height: 1.75; color: var(--tx-od-soft); max-width: 360px; }
.tx .txcr__craft .tx-label { color: var(--tx-champ-lt); }

.tx .txcr__layers {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: clamp(100px, 12vw, 200px) var(--tx-g) 0;
}
.tx .txcr__l1 { grid-column: 1 / 9; grid-row: 1; align-self: start; }
.tx .txcr__l1 > div, .tx .txcr__l2 > div { overflow: hidden; }
.tx .txcr__l1 img { width: 100%; aspect-ratio: 2.1 / 1; object-fit: cover; object-position: 50% 88%; }
.tx .txcr__l2 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 92%; }
.tx .txcr__l2 { grid-column: 8 / 13; grid-row: 1; align-self: start; margin-top: clamp(120px, 17vw, 300px); position: relative; z-index: 1; }
.tx .txcr__l2 > div { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.tx .txcr__l2 .tx-cap { background: #110d0b; margin: 0; padding-top: 14px; }
.tx .txcr__quote { grid-column: 2 / 7; grid-row: 2; margin-top: clamp(-40px, -2vw, -10px); font: 400 clamp(40px, 4.4vw, 76px)/1 var(--serif); letter-spacing: -.03em; }
.tx .txcr__quote em { font-style: italic; color: var(--tx-champ-lt); }

.tx .txopts { padding: clamp(110px, 12vw, 200px) var(--tx-g) 0; }
.tx .txopts__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.tx .txopts__head .tx-h3 { max-width: 640px; }
.tx .txopts__list { margin-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--tx-od-line); }
.tx .txopts__list li {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(150px, .6fr); gap: 24px; align-items: baseline;
  padding: clamp(24px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--tx-od-line);
  transition: background-color .6s var(--tx-ease);
}
.tx .txopts__no { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; color: var(--tx-champ-lt); }
.tx .txopts__name { font: 500 clamp(36px, 4vw, 70px)/.95 var(--serif); letter-spacing: -.03em; transition: transform .8s var(--tx-ease); }
.tx .txopts__list li:first-child .txopts__name { font-style: italic; color: var(--tx-champ-lt); }
.tx .txopts__desc { font-size: 14.5px; line-height: 1.7; color: var(--tx-od-soft); max-width: 460px; }
.tx .txopts__price { justify-self: end; font: 500 clamp(19px, 1.5vw, 24px)/1 var(--serif); white-space: nowrap; }
.tx .txopts__price small { font: 400 10px/1 var(--mono); letter-spacing: .12em; color: var(--tx-od-soft); text-transform: uppercase; }
.tx .txopts__list li:hover .txopts__name { transform: translateX(14px); }

/* ══ 05 EXPERIENCE ═════════════════════════════════════════════════════════ */
.tx .txc--exp { background: var(--tx-cream); }
.tx .txexp__lead { max-width: 620px; margin-top: clamp(40px, 4.5vw, 70px); position: relative; z-index: 1; }
.tx .txexp__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0;
  margin-top: clamp(70px, 9vw, 150px);
}
.tx .txexp__p > div { overflow: hidden; }
.tx .txexp__p img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--tx-ease); }
.tx .txexp__p:hover img { transform: scale(1.035); }
.tx .txexp__p--a { grid-column: 1 / 6; grid-row: 1 / 3; }
.tx .txexp__p--b { grid-column: 7 / 10; grid-row: 1; margin-top: clamp(80px, 12vw, 220px); }
.tx .txexp__note { grid-column: 10 / 13; grid-row: 1; align-self: start; margin-top: clamp(20px, 3vw, 50px); font: 400 clamp(22px, 1.9vw, 30px)/1.25 var(--serif); letter-spacing: -.01em; }
.tx .txexp__note .tx-label { margin-bottom: 18px; }
.tx .txexp__p--c { grid-column: 8 / 12; grid-row: 2 / 4; margin-top: clamp(60px, 7vw, 130px); }
.tx .txexp__p--d { grid-column: 2 / 6; grid-row: 3 / 5; margin-top: clamp(40px, 5vw, 90px); }

.tx .txexp__words {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  margin-top: clamp(110px, 13vw, 220px); align-items: start;
}
.tx .txexp__quote { grid-column: 1 / 9; }
.tx .txexp__quote p { font: 400 clamp(36px, 4.4vw, 78px)/1.04 var(--serif); letter-spacing: -.03em; text-indent: -.4em; }
.tx .txexp__quote em { font-style: italic; color: var(--tx-champ); }
.tx .txexp__words cite { display: block; margin-top: 26px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--tx-soft); }
.tx .txexp__words cite::before { content: "— "; }
.tx .txexp__more { grid-column: 10 / 13; display: grid; gap: 36px; padding-top: 12px; }
.tx .txexp__more blockquote p { font: 400 19px/1.45 var(--serif); }
.tx .txexp__more cite { margin-top: 14px; }
.tx .txexp__rating { padding-top: 22px; border-top: 1px solid var(--tx-line); font-size: 13px; color: var(--tx-soft); display: grid; gap: 10px; }
.tx .txexp__rating span { font: 500 34px/1 var(--serif); color: var(--tx-ink); }
.tx .txexp__rating .txlink { justify-self: start; }

.tx .txexp__visits { margin-top: clamp(110px, 12vw, 200px); }
.tx .txexp__visits ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); margin-top: 30px; }
.tx .txexp__visits li { position: relative; padding-top: 30px; border-top: 1px solid var(--tx-line); }
.tx .txexp__visits li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--tx-champ); }
.tx .txexp__v { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-champ); }
.tx .txexp__visits h3 { margin-top: 18px; font: 500 clamp(26px, 2.3vw, 38px)/1.02 var(--serif); letter-spacing: -.02em; }
.tx .txexp__visits li p { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: var(--tx-soft); max-width: 360px; }

.tx .txexp__film {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(90px, 10vw, 160px); padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--tx-line);
}
.tx .txplay {
  flex: none; position: relative; width: clamp(84px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--tx-ink); background: transparent; cursor: pointer; color: var(--tx-ink);
  transition: background-color .6s var(--tx-ease), color .6s var(--tx-ease);
}
.tx .txplay i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%); border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tx .txplay:hover { background: var(--tx-esp); color: var(--tx-ivory); }
.tx .txexp__filmtitle { margin: 14px 0 10px; font: 400 clamp(26px, 2.6vw, 44px)/1.08 var(--serif); letter-spacing: -.02em; max-width: 760px; }
.tx .txexp__filmtitle em { font-style: italic; color: var(--tx-champ); }

/* ══ QUESTIONS ═════════════════════════════════════════════════════════════ */
.tx .txq {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: clamp(100px, 12vw, 200px) var(--tx-g); background: var(--tx-ivory);
}
.tx .txq__head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--nav-h, 92px) + var(--tx-bar) + 40px); }
.tx .txq__head .tx-h2 { font-size: clamp(44px, 4.8vw, 84px); }
.tx .txq__list { grid-column: 6 / 13; border-top: 1px solid var(--tx-line); }
.tx .txq details { border-bottom: 1px solid var(--tx-line); }
.tx .txq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; align-items: baseline; gap: 12px;
  padding: 28px 0; font: 500 clamp(22px, 1.9vw, 31px)/1.2 var(--serif); letter-spacing: -.015em;
}
.tx .txq summary::-webkit-details-marker { display: none; }
.tx .txq__no { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--tx-champ); }
.tx .txq summary i { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; }
.tx .txq summary i::before, .tx .txq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--tx-ink); transition: transform .6s var(--tx-ease); }
.tx .txq summary i::after { transform: rotate(90deg); }
.tx .txq details[open] summary i::after { transform: rotate(0deg); }
.tx .txq summary:hover { color: var(--tx-champ); }
.tx .txq details p { padding: 0 40px 30px 68px; font-size: 15.5px; line-height: 1.8; color: var(--tx-soft); max-width: 760px; }
.tx .txq details[open] p { animation: tx-fade .7s var(--tx-ease); }
@keyframes tx-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tx .txq__more { grid-column: 6 / 13; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; }
.tx .txq__more a { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-soft); transition: color .4s; }
.tx .txq__more a::after { content: " →"; }
.tx .txq__more a:hover { color: var(--tx-ink); }

/* ══ FINAL MOMENT ══════════════════════════════════════════════════════════ */
.tx .txf { --p: 0; position: relative; background: var(--tx-esp); color: var(--tx-od); }
.tx .txf__pin { position: relative; min-height: 100vh; overflow: hidden; display: grid; }
.tx .txf__media { position: absolute; inset: 0; margin: 0; overflow: hidden;
  clip-path: inset(calc((1 - var(--p)) * 19%) calc((1 - var(--p)) * 36%) calc((1 - var(--p)) * 19%) calc((1 - var(--p)) * 36%));
}
.tx .txf__media picture, .tx .txf__media img { width: 100%; height: 100%; }
.tx .txf__media img { object-fit: cover; object-position: 50% 40%; transform: scale(calc(1.22 - var(--p) * .22)); }
.tx .txf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 22, 18, .6) 0%, rgba(28, 22, 18, 0) 36%, rgba(28, 22, 18, 0) 55%, rgba(28, 22, 18, .82) 100%), linear-gradient(90deg, rgba(28, 22, 18, .35), rgba(28, 22, 18, 0) 30%, rgba(28, 22, 18, 0) 70%, rgba(28, 22, 18, .4)); opacity: var(--p); }
.tx .txf__title {
  position: relative; z-index: 2; align-self: center; justify-self: stretch;
  display: flex; justify-content: space-between; align-items: center; gap: 30vw; padding: 0 var(--tx-g);
  font: 500 clamp(56px, 8.4vw, 160px)/.9 var(--serif); letter-spacing: -.045em; pointer-events: none;
  text-shadow: 0 2px 40px rgba(20, 15, 12, calc(var(--p) * .35));
}
.tx .txf__title em { font-style: italic; color: var(--tx-champ-lt); }
.tx .txf__l1 { transform: translate3d(0, calc(var(--p) * -26vh), 0); }
.tx .txf__l2 { transform: translate3d(0, calc(var(--p) * 14vh), 0); text-align: right; }
.tx .txf__end {
  position: absolute; left: var(--tx-g); right: var(--tx-g); bottom: clamp(30px, 6vh, 64px); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 560px;
  opacity: calc((var(--p) - .72) * 4); transform: translate3d(0, calc((1 - var(--p)) * 30px), 0);
}
.tx .txf__line { font: italic 400 clamp(20px, 1.7vw, 28px)/1.3 var(--serif); max-width: 460px; }
.tx .txf__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 34px; }

@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .js .tx .txf { height: 260vh; }
  .js .tx .txf__pin { position: sticky; top: var(--nav-h, 92px); height: calc(100vh - var(--nav-h, 92px)); min-height: 0; }
}
.tx .txf.is-static { --p: 1; }

/* ══ BOOKING DRAWER ════════════════════════════════════════════════════════ */
.tx .txbook { background: var(--tx-ivory); }
.tx .txbook__panel { padding: clamp(70px, 8vw, 120px) var(--tx-g); max-width: 760px; margin: 0 auto; }
.tx .txbook__scrim, .tx .txbook__close { display: none; }
.js .tx .txbook {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: minmax(0, 1fr) min(640px, 100%);
  background: transparent; visibility: hidden; pointer-events: none; transition: visibility 0s linear .9s;
}
.js .tx .txbook.is-open { visibility: visible; pointer-events: auto; transition: none; }
.js .tx .txbook__scrim { display: block; background: rgba(20, 15, 12, .58); opacity: 0; transition: opacity .8s var(--tx-ease); cursor: pointer; }
.js .tx .txbook.is-open .txbook__scrim { opacity: 1; }
.js .tx .txbook__panel {
  position: relative; max-width: none; margin: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(56px, 7vh, 90px) clamp(28px, 3.4vw, 56px) 48px; background: var(--tx-ivory);
  transform: translate3d(100%, 0, 0); transition: transform .9s var(--tx-ease);
  box-shadow: -40px 0 90px rgba(0, 0, 0, .18);
}
.js .tx .txbook.is-open .txbook__panel { transform: none; }
.js .tx .txbook__close { display: block; position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border: 1px solid var(--tx-line); border-radius: 50%; background: transparent; cursor: pointer; }
.tx .txbook__close i::before, .tx .txbook__close i::after, .tx .txfilm__close i::before, .tx .txfilm__close i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.tx .txbook__close i::after, .tx .txfilm__close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tx .txbook__title { margin-top: 22px; font: 500 clamp(44px, 4.4vw, 70px)/.92 var(--serif); letter-spacing: -.035em; }
.tx .txbook__title em { font-style: italic; color: var(--tx-champ); }
.tx .txbook__intro { margin-top: 20px; font-size: 14.5px; line-height: 1.75; color: var(--tx-soft); max-width: 520px; }
.tx .txbook form { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.tx .txbook .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tx .txbook label { font: 500 9.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-soft); }
.tx .txbook :is(input, select, textarea) {
  display: block; width: 100%; margin-top: 8px; padding: 13px 0 12px; border: 0; border-bottom: 1px solid rgba(37, 32, 28, .28);
  background: transparent; border-radius: 0; font: 400 16px/1.4 Inter, Arial, sans-serif; color: var(--tx-ink); letter-spacing: 0; text-transform: none;
  transition: border-color .4s;
}
.tx .txbook :is(input, select, textarea):focus { outline: none; border-bottom-color: var(--tx-champ); }
.tx .txbook textarea { resize: vertical; }
.tx .txbook .service-detail { padding: 16px 18px; background: var(--tx-cream); font-size: 13px; line-height: 1.6; color: var(--tx-soft); }
.tx .txbook .sd-head { display: flex; justify-content: space-between; gap: 12px; font: 500 16px/1.3 var(--serif); color: var(--tx-ink); }
.tx .txbook .sd-desc { margin-top: 6px; }
.tx .txbook .form-status { font-size: 13px; min-height: 1em; }
.tx .txbook button[type="submit"] { align-self: flex-start; margin-top: 8px; }
.tx .txbook__contact { margin-top: 44px; border-top: 1px solid var(--tx-line); }
.tx .txbook__contact li { padding: 12px 0; border-bottom: 1px solid var(--tx-line); font-size: 12.5px; color: var(--tx-soft); }
.tx .txbook__contact a { color: var(--tx-ink); }
html.tx-lock, html.tx-lock body { overflow: hidden; }

/* ══ FILM DIALOG ═══════════════════════════════════════════════════════════ */
.tx .txfilm { width: min(1200px, 92vw); max-height: 90vh; padding: 0; border: 0; background: #000; overflow: visible; }
.tx .txfilm::backdrop { background: rgba(14, 11, 9, .86); }
.tx .txfilm__frame { aspect-ratio: 16 / 9; }
.tx .txfilm__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tx .txfilm__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; }


/* ══ SCHEMATICS (drawn diagrams for treatments without photographs) ═══════ */
.tx .txsch { --acc: var(--tx-champ); --gum: #b98a7c; --pinbg: var(--tx-ivory); display: block; width: 100%; height: auto; overflow: visible; }
.tx [data-tone="dark"] .txsch, .tx .txsch--ondark { --acc: var(--tx-champ-lt); --pinbg: var(--tx-esp); }
.tx .txsch path, .tx .txsch circle, .tx .txsch rect, .tx .txsch line { vector-effect: non-scaling-stroke; }
.tx .txsch .s-tooth { fill: color-mix(in srgb, currentColor 7%, transparent); stroke: currentColor; stroke-width: 1.3; }
.tx .txsch .s-acc-tooth { stroke: var(--acc); fill: color-mix(in srgb, var(--acc) 16%, transparent); }
.tx .txsch .s-soft { fill: none; stroke: currentColor; stroke-opacity: .42; stroke-width: 1; }
.tx .txsch .s-line { fill: none; stroke: currentColor; stroke-width: 1.2; }
.tx .txsch .s-acc { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tx .txsch .s-fillacc { fill: color-mix(in srgb, var(--acc) 26%, transparent); }
.tx .txsch .s-canal { stroke-width: 5; }
.tx .txsch .s-dash { stroke-dasharray: 5 5; }
.tx .txsch .s-dash2 { stroke-dasharray: 2 4; }
.tx .txsch .s-gum, .tx .txsch .s-gumfill { fill: color-mix(in srgb, var(--gum) 24%, transparent); stroke: color-mix(in srgb, var(--gum) 70%, transparent); stroke-width: 1; }
.tx .txsch .s-gumfill { stroke: none; }
.tx .txsch .s-gumedge { stroke: color-mix(in srgb, var(--gum) 90%, currentColor); stroke-width: 1.4; }
.tx .txsch .s-bone { stroke: currentColor; stroke-opacity: .22; stroke-width: 1; }
.tx .txsch .s-dotc { fill: currentColor; opacity: .26; }
.tx .txsch .s-lead { fill: none; stroke: currentColor; stroke-opacity: .5; stroke-width: .8; }
.tx .txsch .s-pin circle { fill: var(--pinbg); stroke: var(--acc); stroke-width: 1; }
.tx .txsch .s-pin text { font: 500 8.5px var(--mono); letter-spacing: .04em; fill: currentColor; }
.tx .txsch .s-tartar { fill: #b99a5c; }
.tx .txsch .s-probe path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.tx .txsch .s-probe path + path ~ path { stroke-width: .9; }
.tx .txsch .s-probe .s-probe-tip { fill: currentColor; stroke: none; }
.tx .txsch .s-thread { stroke: var(--acc); stroke-opacity: .75; stroke-width: 1; }
.tx .txsch .s-fill1 { fill: color-mix(in srgb, #e9d7b4 55%, transparent); }
.tx .txsch .s-fill2 { fill: color-mix(in srgb, #f4ead6 70%, transparent); }
.tx .txsch .s-fill3 { fill: color-mix(in srgb, #dfe3e2 60%, transparent); }
.tx .txsch .s-tab path { stroke: color-mix(in srgb, currentColor 22%, transparent); stroke-width: 1; }
.tx .txsch .s-tab text { font: 500 9.5px var(--mono); letter-spacing: .08em; fill: currentColor; }
.tx .txsch .s-pick { fill: none; stroke: var(--acc); stroke-width: 1.4; }
.tx .txsch .s-nerve { fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-dasharray: 7 5; stroke-opacity: .8; }
.tx .txsch .t { fill: color-mix(in srgb, currentColor 6%, transparent); stroke: currentColor; stroke-width: 1; }
.tx .txsch .gr { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: .7; }
.tx .txsch .s-trayband { fill: color-mix(in srgb, var(--acc) 16%, transparent); stroke: var(--acc); stroke-width: 1.2; }
.tx .txsch .s-guard { fill: color-mix(in srgb, var(--acc) 20%, transparent); stroke: var(--acc); stroke-width: 1.4; }
.tx .txsch .s-attach { fill: var(--acc); }
.tx .txsch .s-contact { fill: var(--acc); }
.tx .txsch .s-high { fill: #c7775f; }
.tx .txsch .s-highring { fill: none; stroke: #c7775f; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.tx .txsch .s-q { font: italic 500 30px var(--serif); fill: var(--acc); text-anchor: middle; }
/* motion: pins and accents arrive with the figure; a few loops stay alive, gently */
.js .tx .txfig .txsch .s-pin { opacity: 0; transition: opacity .9s var(--tx-ease); }
.js .tx .txfig.is-in .txsch .s-pin { opacity: 1; transition-delay: .9s; }
.js .tx .txfig .txsch .s-contact { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: opacity .6s var(--tx-ease), transform .8s var(--tx-ease); transition-delay: calc(.3s + var(--i) * 70ms); }
.js .tx .txfig.is-in .txsch .s-contact { opacity: .9; transform: none; }
.tx .txfig.is-in .txsch .s-highring { animation: tx-ring 2.8s var(--tx-ease) infinite 1.6s; }
@keyframes tx-ring { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.tx .txfig.is-in .txsch .s-pick { animation: tx-pick 9s steps(1) infinite 1s; }
@keyframes tx-pick { 0% { transform: translateX(-92px); } 25% { transform: translateX(-46px); } 50%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tx .txsch * { animation: none !important; } }


/* ══ SHARED BLOCKS FOR TREATMENT PAGES 02–09 ══════════════════════════════
   Chapters are assembled from these blocks; each chapter sets its own tone. */
.tx .txc--ivory { background: var(--tx-ivory); }
.tx .txc--cream { background: var(--tx-cream); }
.tx .txc--esp { background: var(--tx-esp); color: var(--tx-od); }
.tx .txc--black { background: #110d0b; color: var(--tx-od); }
.tx .txblock { position: relative; z-index: 1; margin-top: clamp(64px, 8vw, 130px); }
.tx .txc__head + .txblock { margin-top: clamp(48px, 6vw, 100px); }
.tx .txin { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
.tx .txc--esp .txcr__craft li, .tx .txc--black .txcr__craft li { border-top-color: var(--tx-od-line); }
.tx [data-tone="light"] .txcr__craft li { border-top-color: var(--tx-line); }
.tx [data-tone="light"] .txcr__craft p { color: var(--tx-soft); }
.tx [data-tone="light"] .txcr__craft .tx-label { color: var(--tx-champ); }
.tx .txcr__craft--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tx .txcr__craft--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }

/* split: words beside a picture, or beside a ruled list */
.tx .txsplit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.tx .txsplit__text { grid-column: 1 / 6; }
.tx .txsplit__text > p + p, .tx .txsplit__side > p { margin-top: 22px; font-size: 15.5px; line-height: 1.75; color: var(--tx-soft); max-width: 460px; }
.tx [data-tone="dark"] .txsplit__text > p + p, .tx [data-tone="dark"] .txsplit__side > p { color: var(--tx-od-soft); }
.tx .txsplit__text .tx-h3 + p { margin-top: 24px; }
.tx .txsplit__media { grid-column: 7 / 12; position: sticky; top: calc(var(--nav-h, 92px) + var(--tx-bar) + 32px); margin: 0; }
.tx .txsplit__media > div { overflow: hidden; }
.tx .txsplit__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tx .txsplit__media--free img { aspect-ratio: auto; }
.tx .txsplit__side { grid-column: 7 / 13; }
.tx .txsplit--rev .txsplit__text { grid-column: 8 / 13; grid-row: 1; }
.tx .txsplit--rev .txsplit__media { grid-column: 1 / 7; grid-row: 1; }
.tx .txsplit__text .txsheet { margin-top: clamp(48px, 6vw, 90px); }

/* sheet: a ruled list */
.tx .txsheet ol { margin-top: 20px; border-top: 1px solid var(--tx-line); }
.tx .txsheet li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--tx-line); font: 500 clamp(19px, 1.5vw, 24px)/1.25 var(--serif); }
.tx .txsheet li span { font: italic 500 15px/1 var(--serif); color: var(--tx-champ); }
.tx .txsheet__note { margin-top: 26px; font-size: 13.5px; line-height: 1.7; color: var(--tx-soft); max-width: 420px; }
.tx [data-tone="dark"] .txsheet ol, .tx [data-tone="dark"] .txsheet li { border-color: var(--tx-od-line); }
.tx [data-tone="dark"] .txsheet li span { color: var(--tx-champ-lt); }
.tx [data-tone="dark"] .txsheet__note { color: var(--tx-od-soft); }

/* figure: a drawing (or picture) with its numbered legend */
.tx .txfig { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; margin: 0; }
.tx .txfig__draw { grid-column: 1 / 7; grid-row: 1; position: relative; padding: clamp(28px, 4vw, 64px); background: var(--tx-cream); }
.tx [data-tone="dark"] .txfig__draw { background: radial-gradient(120% 90% at 50% 42%, #2b221c 0%, #15110e 78%); }
.tx .txfig__draw::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  --c: rgba(37, 32, 28, .45); --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--l) no-repeat;
}
.tx [data-tone="dark"] .txfig__draw::before { --c: rgba(241, 233, 221, .55); }
.tx .txfig__draw .txsch { max-width: 480px; margin: 0 auto; }
.tx .txfig__draw .txsch--wide, .tx .txfig__draw .txsch--arch { max-width: 620px; }
.tx .txfig__draw .txsch--tall { max-width: 380px; }
.tx .txfig__draw > img { width: 100%; height: auto; }
.tx .txfig__draw--photo { padding: 0; background: #0f0c0a; overflow: hidden; }
.tx .txfig__side { grid-column: 8 / 13; grid-row: 1; }
.tx .txfig__side > p { font-size: 15.5px; line-height: 1.75; color: var(--tx-soft); max-width: 460px; }
.tx .txfig__side .tx-h3 + p, .tx .txfig__side .tx-lead + p { margin-top: 22px; }
.tx [data-tone="dark"] .txfig__side > p { color: var(--tx-od-soft); }
.tx .txfig--rev .txfig__draw { grid-column: 7 / 13; }
.tx .txfig--rev .txfig__side { grid-column: 1 / 6; }
.tx .txfig > .tx-cap { grid-column: 1 / 7; grid-row: 2; }
.tx .txfig--rev > .tx-cap { grid-column: 7 / 13; }
.tx .txfig__legend { margin-top: 30px; border-top: 1px solid var(--tx-line); }
.tx .txfig__legend li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 0; padding: 16px 0; border-bottom: 1px solid var(--tx-line); }
.tx .txfig__legend b { grid-row: 1 / 3; font: 500 10.5px/1.9 var(--mono); letter-spacing: .12em; color: var(--tx-champ); }
.tx .txfig__legend strong { font: 500 clamp(20px, 1.6vw, 25px)/1.15 var(--serif); letter-spacing: -.01em; }
.tx .txfig__legend span { font-size: 14px; line-height: 1.6; color: var(--tx-soft); }
.tx [data-tone="dark"] .txfig__legend, .tx [data-tone="dark"] .txfig__legend li { border-color: var(--tx-od-line); }
.tx [data-tone="dark"] .txfig__legend b { color: var(--tx-champ-lt); }
.tx [data-tone="dark"] .txfig__legend span { color: var(--tx-od-soft); }
.js .tx .txfig .txfig__draw .txsch { opacity: 0; transform: scale(.96); transition: opacity 1.4s var(--tx-ease), transform 1.8s var(--tx-ease); }
.js .tx .txfig.is-in .txfig__draw .txsch { opacity: 1; transform: none; }

/* steps: an editorial numbered sequence */
.tx .txsteps { border-top: 1px solid var(--tx-line); }
.tx .txsteps li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: baseline; padding: clamp(22px, 2.4vw, 36px) 0; border-bottom: 1px solid var(--tx-line); }
.tx .txsteps__no { font: italic 500 clamp(26px, 2.4vw, 38px)/1 var(--serif); color: var(--tx-champ); }
.tx .txsteps h3 { font: 500 clamp(28px, 2.8vw, 46px)/1 var(--serif); letter-spacing: -.025em; transition: transform .8s var(--tx-ease); }
.tx .txsteps p { font-size: 15px; line-height: 1.7; color: var(--tx-soft); max-width: 540px; }
.tx .txsteps li:hover h3 { transform: translateX(12px); }
.tx [data-tone="dark"] .txsteps, .tx [data-tone="dark"] .txsteps li { border-color: var(--tx-od-line); }
.tx [data-tone="dark"] .txsteps__no { color: var(--tx-champ-lt); }
.tx [data-tone="dark"] .txsteps p { color: var(--tx-od-soft); }

/* a framed film or photo inside a chapter */
.tx .txmedia { margin: 0; }
.tx .txmedia--wide { margin-left: calc(var(--tx-g) * -1); margin-right: calc(var(--tx-g) * -1); }
.tx .txmedia--wide .tx-cap { padding: 0 var(--tx-g); }
.tx .txmedia > div { position: relative; overflow: hidden; background: #0f0c0a; }
.tx .txmedia img, .tx .txmedia video { width: 100%; height: 100%; object-fit: cover; }
.tx .txmedia--drift img { animation: tx-drift 22s ease-in-out infinite alternate; }
@keyframes tx-drift { from { transform: scale(1.02) translate3d(-1%, 0, 0); } to { transform: scale(1.08) translate3d(1.5%, -1%, 0); } }
.tx .txpair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.tx :where(.txpair > figure) { margin: 0; } /* :where, so the offsets set on __a and __b below win */
.tx .txpair__a { grid-column: 1 / 9; grid-row: 1; }
.tx .txpair__b { grid-column: 7 / 13; grid-row: 1; margin-top: clamp(140px, 18vw, 320px); position: relative; z-index: 1; }
.tx .txpair__b > div { box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.tx .txpair > figure > div { overflow: hidden; background: #0f0c0a; }
.tx .txpair img { width: 100%; height: auto; }

/* portraits: layouts by count */
.tx .txexp__grid--1 .txexp__p--a { grid-column: 2 / 7; }
.tx .txexp__grid--1 .txexp__note { grid-column: 8 / 12; align-self: center; margin-top: 0; font-size: clamp(28px, 2.8vw, 46px); line-height: 1.12; }
.tx .txexp__grid--2 .txexp__note { grid-column: 10 / 13; }
.tx .txexp__grid--3 .txexp__p--c { grid-row: 2 / 3; }
.tx .txexp__p .txexp__tile { aspect-ratio: 4 / 5; display: grid; place-items: center; background: #15110e; }
.tx .txexp__p .txexp__tile img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; }
.tx .txexp__films { display: grid; gap: clamp(28px, 3vw, 44px); margin-top: clamp(90px, 10vw, 160px); padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--tx-line); }
.tx .txexp__films .txexp__film { margin: 0; padding: 0; border: 0; }
.tx .txexp__quote--solo { grid-column: 1 / 10; }
.tx .txopts__book { justify-self: end; }

/* hero variants */
.tx .txh__title--long { font-size: clamp(58px, min(8.4vw, 15vh), 168px); }
.tx .txh__title--long .ln--in { padding-left: .6em; }
.tx .txh--wide .txh__drift img { object-position: 50% 62%; }
.tx .txh__media--schem { background: radial-gradient(110% 80% at 50% 45%, #2e241d 0%, #1a1410 70%); display: grid; place-items: center; color: var(--tx-od); }
.tx .txh__schem { position: relative; width: min(78%, 560px); }
.tx .txh__schem .txsch { --acc: var(--tx-champ-lt); --pinbg: #211a15; }
.tx .txh__media--schem::before {
  content: ""; position: absolute; inset: 22px; pointer-events: none; z-index: 1;
  --c: rgba(241, 233, 221, .5); --l: 18px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--l) no-repeat;
}
.tx .txh__media--schem::after { display: none; }
.tx .txh__media--schem .txh__cap { color: var(--tx-od-soft); }
.js .tx .txh__schem { opacity: 0; transform: scale(.94); transition: opacity 2s var(--tx-ease) .5s, transform 2.6s var(--tx-ease) .5s; }
.tx.tx-ready .txh__schem { opacity: 1; transform: translate3d(0, calc(var(--hp) * 6%), 0); }

/* final moment: a framed portrait, or a drawing, instead of a full-bleed photo */
/* the frame sits to the right; the words and the buttons take the left */
.tx .txf--frame .txf__media, .tx .txf--schem .txf__media {
  inset: auto; right: var(--tx-g); top: 50%; height: var(--fh, 82%); aspect-ratio: var(--ar, .8); width: auto; max-width: 56vw;
  transform: translateY(-50%);
  clip-path: inset(calc((1 - var(--p)) * 20%) calc((1 - var(--p)) * 24%));
}
.tx .txf--frame .txf__title, .tx .txf--schem .txf__title { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; align-self: center; padding-bottom: 10vh; }
.tx .txf--frame .txf__l2, .tx .txf--schem .txf__l2 { text-align: left; padding-left: .55em; }
.tx .txf--frame .txf__end, .tx .txf--schem .txf__end { max-width: min(560px, 40vw); }
.tx .txf--frame .txf__media img { transform: scale(calc(1.16 - var(--p) * .16)); }
.tx .txf--frame .txf__media::after { background: linear-gradient(180deg, rgba(28, 22, 18, 0) 55%, rgba(28, 22, 18, .5) 100%); }
.tx .txf--frame .txf__l1, .tx .txf--schem .txf__l1 { transform: translate3d(calc((1 - var(--p)) * 8vw), 0, 0); }
.tx .txf--frame .txf__l2, .tx .txf--schem .txf__l2 { transform: translate3d(calc((1 - var(--p)) * 14vw), 0, 0); }
.tx .txf--frame .txf__title, .tx .txf--schem .txf__title { text-shadow: 0 2px 30px rgba(20, 15, 12, .45); }
.tx .txf--schem .txf__media { background: radial-gradient(110% 80% at 50% 45%, #2e241d 0%, #1a1410 72%); display: grid; place-items: center; color: var(--tx-od); }
.tx .txf--schem .txf__media::after { display: none; }
.tx .txf--schem .txsch { width: 78%; --acc: var(--tx-champ-lt); --pinbg: #211a15; }
/* on desktop the words and the buttons get a left column as wide as the title needs,
   and the frame fills what is left on the right: it keeps its shape (--ar), is never
   taller than --fh, and shrinks with the window instead of running under the words */
@media (min-width: 801px) {
  .tx .txf--frame .txf__pin, .tx .txf--schem .txf__pin {
    grid-template-columns: fit-content(50%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    column-gap: clamp(32px, 4vw, 80px); padding: 0 var(--tx-g);
  }
  .tx .txf--frame .txf__media, .tx .txf--schem .txf__media {
    position: relative; top: auto; right: auto; transform: none;
    grid-column: 2; grid-row: 1 / -1; justify-self: end; align-self: center;
    width: auto; height: auto; max-width: 100%; max-height: var(--fh, 82%);
    contain: inline-size; contain-intrinsic-inline-size: 10000px; /* so the ratio settles on whichever limit is hit first */
  }
  .tx .txf--frame .txf__title, .tx .txf--schem .txf__title { grid-column: 1; grid-row: 1; padding: 0; }
  .tx .txf--frame .txf__l1, .tx .txf--frame .txf__l2, .tx .txf--schem .txf__l1, .tx .txf--schem .txf__l2 { white-space: nowrap; }
  .tx .txf--frame .txf__end, .tx .txf--schem .txf__end {
    position: relative; left: auto; right: auto; bottom: auto; grid-column: 1; grid-row: 2;
    margin-bottom: clamp(30px, 6vh, 64px);
  }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .tx .txcr__craft--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx .txsteps li { grid-template-columns: 60px minmax(0, 1fr); }
  .tx .txsteps p { grid-column: 2; }
}
@media (max-width: 800px) {
  .tx .txsplit, .tx .txfig, .tx .txpair { display: block; }
  .tx .txsplit__media { position: relative; top: auto; margin-top: 44px; }
  .tx .txsplit--rev .txsplit__media { margin-top: 0; margin-bottom: 44px; }
  .tx .txsplit__side { margin-top: 44px; }
  .tx .txfig__draw { margin: 0 calc(var(--tx-g) * -1); padding: 34px 22px; }
  .tx .txfig > .tx-cap { margin-top: 12px; }
  .tx .txfig__side { margin-top: 36px; }
  .tx .txsteps li { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 8px; }
  .tx .txsteps p { grid-column: 2; }
  .tx .txsteps h3 { font-size: 30px; }
  .tx .txcr__craft--4, .tx .txcr__craft--2 { grid-template-columns: 1fr; }
  .tx .txpair__b { width: 76%; margin: 20px 0 0 auto; } /* clear of __a's caption, which runs the full width */
  .tx .txpair__a { margin-right: calc(var(--tx-g) * -1); }
  .tx .txexp__grid--1 .txexp__note { width: 70vw !important; }
  .tx .txh__title--long { font-size: clamp(50px, 14.5vw, 80px); }
  .tx .txh__media--schem { height: 58svh; min-height: 380px; }
  .tx .txh--schem .txh__copy { margin-top: calc(min(58svh, 640px) - 40px); }
  .tx .txh__schem { width: 74%; }
  .tx .txf--frame .txf__media, .tx .txf--schem .txf__media { position: relative; left: auto; right: auto; top: auto; height: auto; width: 100%; max-width: none; transform: none; clip-path: none; aspect-ratio: var(--ar, .8); }
  .tx .txf--schem .txf__media { aspect-ratio: 1; }
  .tx .txf--frame .txf__media img { transform: none; }
}


/* windows for the other treatments' films and stills */
.tx .txwin--tall { aspect-ratio: 480 / 672; width: min(100%, calc(58vh * 480 / 672)); }
.tx .txwin--cine { aspect-ratio: 1600 / 566; }
.tx .txwin--cine img { width: 100%; height: 100%; object-fit: cover; animation: tx-drift 24s ease-in-out infinite alternate; }
.tx .txcrop { width: 100%; height: 100%; overflow: hidden; }
.tx .txcrop .txvid--model { transform: scale(1.26); transform-origin: 50% 44%; }
@media (max-width: 800px) { .tx .txexp__visits ol.txvisits { grid-template-columns: 1fr !important; } .tx .txwin--tall { width: 100%; } }


/* numbered markers only make sense beside their legend */
.tx .txh__schem .s-pin, .tx .txh__schem .s-lead, .tx .txf .s-pin, .tx .txf .s-lead { display: none; }

/* ══ TABLET ════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) and (min-width: 801px) {
  .tx .txnav__title { display: none; }
  .tx .txnav__long { display: none; }
  .tx .txi__ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx .txi__ledger > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .tx .txi__ledger > div:nth-child(n + 4) { border-top: 1px solid var(--tx-line); }
  .tx .txopts__list li { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); }
  .tx .txopts__price { grid-column: 2 / 4; justify-self: start; }
}
@media (max-width: 1000px) {
  .tx .txscan__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--tx-g) * -1); padding-left: var(--tx-g); padding-right: var(--tx-g); scroll-padding: 0 var(--tx-g); }
  .tx .txscan__track::-webkit-scrollbar { display: none; }
  .tx .txpanel { scroll-snap-align: start; grid-template-columns: 1fr; width: min(640px, 82vw); align-items: start; }
  .tx .txpanel--close { width: min(560px, 76vw); }
}

/* ══ MOBILE — its own composition, not a stacked desktop ═══════════════════ */
@media (max-width: 800px) {
  .tx { --tx-g: 22px; }
  .tx .tx-h2 { font-size: clamp(44px, 12.6vw, 68px); margin-top: 20px; }
  .tx .tx-lead { font-size: 21px; }

  /* dock: current chapter + book, chapters open as a sheet */
  .tx .txnav {
    top: auto; bottom: 0; height: auto; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px;
    border-bottom: 0; border-top: 1px solid var(--tx-line);
    transform: translate3d(0, 105%, 0);
  }
  .tx .txnav[data-tone="dark"] { border-top-color: var(--tx-od-line); }
  .tx .txnav__title, .tx .txnav__long { display: none; }
  .tx .txnav__toggle {
    display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; height: 46px; padding: 0;
    background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
    font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  }
  .tx .txnav__now-num { color: var(--tx-champ); }
  .tx .txnav[data-tone="dark"] .txnav__now-num { color: var(--tx-champ-lt); }
  .tx .txnav__toggle i { width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(-45deg) translateY(2px); transition: transform .5s var(--tx-ease); margin-left: 2px; }
  .tx .txnav.is-open .txnav__toggle i { transform: rotate(135deg) translateY(2px); }
  .tx .txnav__list {
    position: absolute; left: 0; right: 0; bottom: 100%; margin: 0; display: grid; gap: 0;
    padding: 12px 16px; background: inherit; border-top: 1px solid var(--tx-line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; transition: opacity .45s var(--tx-ease), transform .6s var(--tx-ease);
  }
  .tx .txnav[data-tone="dark"] .txnav__list { background: rgba(28, 22, 18, .96); border-top-color: var(--tx-od-line); }
  .tx .txnav:not([data-tone="dark"]) .txnav__list { background: rgba(246, 241, 233, .97); }
  .tx .txnav.is-open .txnav__list { opacity: 1; transform: none; pointer-events: auto; }
  .tx .txnav__list a { padding: 15px 0; font-size: 12px; opacity: .7; gap: 14px; }
  .tx .txnav__list a::after { bottom: 9px; right: auto; width: 40px; }
  .tx .txnav__extra { display: block; }
  .tx .txnav__bar { top: -1px; bottom: auto; }
  .tx .txnav .txbtn--sm { padding: 15px 18px; }

  /* hero: the portrait fills the screen, the title sits on its lower edge */
  .tx .txh { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .tx .txh__media { grid-column: 1; grid-row: 1; height: 66svh; min-height: 420px; max-height: 640px; }
  .tx .txh__drift { inset: -4% 0 0; }
  .tx .txh__drift img { object-position: 52% 14%; }
  .tx .txh__media::after { background: linear-gradient(0deg, var(--tx-esp) 0%, rgba(28, 22, 18, .75) 14%, rgba(28, 22, 18, 0) 34%); }
  .tx .txh__cap { top: 18px; bottom: auto; right: 14px; }
  .tx .txh__copy { grid-column: 1; grid-row: 1 / 3; align-self: end; padding: 0 var(--tx-g) 30px; gap: 26px; margin-top: calc(min(66svh, 640px) - 92px); }
  .tx .txh__kicker { display: none; }
  .tx .txh__title { font-size: clamp(64px, 20vw, 104px); }
  .tx .txh__title .ln--in { padding-left: .55em; }
  .tx .txh__where { margin-top: 18px; }
  .tx .txh__tag { font-size: 24px; margin-top: 22px; }
  .tx .txh__lede { font-size: 14.5px; }
  .tx .txh__words li { font-size: 9.5px; letter-spacing: .18em; }
  .tx .txh__words li + li::before { margin: 0 10px; }
  .tx .txh__actions { gap: 14px 26px; }
  .tx .txh__actions .txbtn { flex: 1 1 100%; padding: 20px; }
  .tx .txh__facts { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .tx .txh__facts dd { font-size: 26px; }

  .tx .txi { display: block; padding-top: 80px; }
  .tx .txi__statement { margin-top: 24px; font-size: 32px; line-height: 1.12; }
  .tx .txi__answer { font-size: 15px; }
  .tx .txi__ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .tx .txi__ledger > div { padding: 20px 12px 22px 0; }
  .tx .txi__ledger > div + div { padding-left: 0; border-left: 0; }
  .tx .txi__ledger > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--tx-line); }
  .tx .txi__ledger > div:nth-child(n + 3) { border-top: 1px solid var(--tx-line); }
  .tx .txtoc { margin-top: 72px; }
  .tx .txtoc a { grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 4px 12px; padding: 20px 0; }
  .tx .txtoc__name { font-size: 40px; }
  .tx .txtoc__line { grid-column: 2; grid-row: 2; font-size: 9.5px; }
  .tx .txtoc i { grid-column: 3; grid-row: 1 / 3; }
  .tx .txi--short .txi__answer { margin-top: 24px; font-size: 16px; }
  .tx .txi--short .txi__ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; margin-top: 28px; }
  .tx .txi--short .txi__ledger > div, .tx .txi--short .txi__ledger > div + div { padding: 14px 0 16px; border-top: 0; }
  .tx .txi--short .txtoc { margin-top: 48px; }
  .tx .txi--short .txtoc ol { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
  .tx .txi--short .txtoc li + li { border-left: 0; }
  .tx .txi--short .txtoc li { border-bottom: 1px solid var(--tx-line); }
  .tx .txi--short .txtoc a { display: grid; grid-template-columns: 30px auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; padding: 14px 0; }
  .tx .txi--short .txtoc__name { margin: 0; font-size: 22px; }
  .tx .txi--short .txtoc__line { grid-column: 3; grid-row: 1; margin: 0; text-align: right; font-size: 8.5px; letter-spacing: .12em; }

  .tx .txc { padding: 96px var(--tx-g) 90px; }
  .tx .txc__num { font-size: 52vw; top: 26px; }

  .tx .txc--discover { display: block; }
  .tx .txc--discover .txc__num { bottom: auto; top: 26px; left: auto; right: 10px; }
  /* one column: the desktop's sticky portrait would pin under the header and the list would scroll over it */
  .tx .txdis__media { position: relative; top: auto; margin: 44px 0 0; }
  .tx .txdis__text { margin-top: 44px; }
  .tx .txdis__sheet { margin-top: 56px; }

  .tx .txc--analyze { padding-bottom: 20px; }
  .tx .txscan { margin-top: 48px; }
  .tx .txscan__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tx .txflow li { font-size: 9.5px; letter-spacing: .16em; }
  .tx .txflow li + li::before { width: 14px; margin: 0 8px; }
  .tx .txscan__track { gap: 16px; padding-top: 30px; padding-bottom: 40px; }
  .tx .txpanel { width: 84vw; gap: 22px; }
  /* The implant films are cut to a 2.8:1 strip to lose the captions burned
     into their corners; at phone width that strip is a sliver, so it is shown
     through a 4:3 window over the same strip, framed on what each one shows. */
  .tx .txwin--cine { aspect-ratio: 4 / 3; }
  .tx .txpanel[data-flow="plan"] .txwin--cine img { object-position: 10% 50%; }
  .tx .txpair--strip > figure > div { aspect-ratio: 4 / 3; }
  .tx .txpair--strip img { height: 100%; object-fit: cover; }
  .tx .txpair--strip .txpair__a img { object-position: 31% 50%; }
  .tx .txpair--strip .txpair__b img { object-position: 40% 50%; }
  .tx .txpanel h3 { font-size: 38px; margin-top: 14px; }
  .tx .txpanel__big { font-size: 38px; }
  .tx .txscan__rail { margin-bottom: 20px; }

  .tx .txdes__lead { margin: 36px 0 0; }
  .tx .txdes__fig { margin-top: 56px; }
  .tx .txdes__frame { aspect-ratio: 4 / 3; }
  .tx .txdes__stage { inset: auto; left: -15.4%; top: 50%; width: 150%; aspect-ratio: 1400 / 788; transform: translateY(-50%); }
  .tx .txdes__pin { width: 26px; height: 26px; font-size: 9px; }
  .tx .txdes__pin:nth-of-type(3) { --x: 74% !important; }
  .tx .txdes__legend { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .tx .txdes__legend strong { font-size: 22px; }
  .tx .txdes__legend span { font-size: 13px; }
  .tx .txdes__sim { display: block; margin-top: 90px; }
  .tx .txdes__simtext { margin-top: 36px; }
  .tx .txdes__try { display: block; margin-top: 90px; }
  .tx .txdes__model { margin: 0 calc(var(--tx-g) * -1); }
  .tx .txdes__trytext { margin: -40px 0 0 22px; padding: 28px 0 0 22px; }

  .tx .txcr__img { aspect-ratio: 4 / 5; max-height: none; }
  .tx .txcr__img img { object-position: 50% 100%; }
  .tx .txcr__hero { display: flex; flex-direction: column-reverse; }
  .tx .txcr__head { position: relative; left: auto; right: auto; top: auto; padding: 96px var(--tx-g) 44px; }
  .tx .txc__num--in { font-size: 44vw; top: 40px; right: 10px; }
  .tx .txcr__measure { display: block; padding-top: 70px; }
  .tx .txcr__num { font-size: 27vw; }
  .tx .txcr__mmtext { margin-top: 26px; }
  .tx .txcr__craft { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; }
  .tx .txcr__layers { display: block; padding-top: 90px; }
  .tx .txcr__l1 { margin-right: calc(var(--tx-g) * -1); }
  .tx .txcr__l2 { width: 74%; margin: -60px 0 0 0; }
  .tx .txcr__quote { margin-top: 60px; font-size: 44px; }
  .tx .txopts { padding-top: 100px; }
  .tx .txopts__list li { grid-template-columns: 38px minmax(0, 1fr); gap: 10px 8px; padding: 26px 0; }
  .tx .txopts__name { font-size: 42px; }
  .tx .txopts__desc, .tx .txopts__price { grid-column: 2; justify-self: start; }

  /* portraits become a swipeable strip */
  .tx .txexp__grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 56px calc(var(--tx-g) * -1) 0; padding: 0 var(--tx-g); scroll-padding: 0 var(--tx-g);
  }
  .tx .txexp__grid::-webkit-scrollbar { display: none; }
  .tx .txexp__grid > * { flex: none; width: 78vw; margin: 0 !important; scroll-snap-align: start; transform: none !important; }
  .tx .txexp__note { width: 62vw !important; align-self: center; font-size: 26px; }
  .tx .txexp__words { display: block; margin-top: 90px; }
  .tx .txexp__quote p { font-size: 38px; text-indent: -.35em; }
  .tx .txexp__more { margin-top: 56px; }
  .tx .txexp__visits ol { grid-template-columns: 1fr; gap: 34px; }
  .tx .txexp__film { align-items: flex-start; }
  .tx .txplay { width: 72px; }

  .tx .txq { display: block; padding-top: 90px; padding-bottom: 90px; }
  .tx .txq__head { position: static; margin-bottom: 44px; }
  .tx .txq summary { grid-template-columns: 34px minmax(0, 1fr) 20px; font-size: 22px; padding: 24px 0; }
  .tx .txq details p { padding: 0 8px 26px 46px; font-size: 15px; }

  /* the picture opens the section, flush with its top: no dark band above it,
     and only its lower edge is shaded, into the title that follows */
  .tx .txf__pin { min-height: 0; display: block; padding: 0; }
  .tx .txf__media { position: relative; inset: auto; aspect-ratio: 4 / 5; margin: 0; clip-path: none; }
  .tx .txf__media::after { opacity: .9; background: linear-gradient(180deg, rgba(28, 22, 18, 0) 55%, rgba(28, 22, 18, .82) 100%); }
  .tx .txf__media img { transform: none; }
  .tx .txf__title { display: block; padding: 30px var(--tx-g) 0; font-size: clamp(58px, 17vw, 92px); }
  .tx .txf__l1, .tx .txf__l2 { display: block; transform: none; text-align: left; }
  .tx .txf__l2 { padding-left: .5em; }
  .tx .txf__end { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; transform: none; flex-direction: column; align-items: stretch; padding: 34px var(--tx-g) 110px; }
  .tx .txf__actions .txbtn { flex: 1 1 100%; padding: 20px; }

  .js .tx .txbook { grid-template-columns: 1fr; }
  .js .tx .txbook__scrim { display: none; }
  .js .tx .txbook__panel { transform: translate3d(0, 100%, 0); padding: 70px 22px calc(40px + env(safe-area-inset-bottom)); box-shadow: none; }
  .tx .txbook .form-row { grid-template-columns: 1fr; }
  .tx .txfilm__close { top: -52px; }
}

/* ══ REDUCED MOTION ════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .js .tx [data-tx], .js .tx [data-tx] > *, .js .tx .ln > span,
  .js .tx .txh__media, .js .tx .txh__drift img, .js .tx .txh *,
  .js .tx .txdes__svg *, .js .tx .txdes__pin {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
    transition: none !important; stroke-dashoffset: 0 !important;
  }
  .js .tx .txdes__pin { transform: translate(-50%, -50%) !important; }
  .tx .txwin__sweep { display: none; }
  [data-speed] { transform: none !important; }
  .tx .txf { --p: 1; }
  .tx .txh__copy { transform: none; opacity: 1; }
}

@media (max-width: 800px) {
  .tx .txf--frame .txf__end, .tx .txf--schem .txf__end { max-width: none; }
  .tx .txf--frame .txf__title, .tx .txf--schem .txf__title { padding-bottom: 0; }
  .tx .txf--frame .txf__l1, .tx .txf--schem .txf__l1, .tx .txf--frame .txf__l2, .tx .txf--schem .txf__l2 { transform: none; }
  .tx .txopts__book { grid-column: 2; justify-self: start; margin-top: 6px; }
  .tx .txh:not(.txh--schem) .txh__media { height: 70svh; max-height: 680px; }
  .tx .txh:not(.txh--schem) .txh__copy { margin-top: calc(min(70svh, 680px) - 74px); }
  .tx .txh:not(.txh--schem) .txh__drift img { object-position: 52% 10%; }
}

.tx .txcr__num { white-space: nowrap; }
@media (max-width: 800px) {
  .tx .txcr__mm { flex-wrap: wrap; row-gap: 10px; }
  .tx .txcr__num { font-size: min(22vw, 120px); }
  .tx .txh--schem .txh__media--schem { height: 50svh; min-height: 340px; }
  .tx .txh--schem .txh__copy { margin-top: calc(max(50svh, 340px) - 6px); }
}

/* ══ One portrait, with the timeline beside it (txlib.portraits(side=...)) ═══
   A single portrait beside a one-line note left a tall, empty column (the
   user, 2026-09-23: "lots of gap"), so the visits now run down that column,
   under the note, instead of across the page below. */
.tx .txexp__grid--side { align-items: center; }
.tx .txexp__grid--side .txexp__p--a { grid-column: 2 / 7; grid-row: 1; }
.tx .txexp__side { grid-column: 8 / 13; grid-row: 1; }
.tx .txexp__side .txexp__note { margin: 0; font-size: clamp(28px, 2.5vw, 42px); line-height: 1.14; }
.tx .txexp__visits--side { margin-top: clamp(40px, 4vw, 64px); }
.tx .txexp__visits--side ol { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
.tx .txexp__visits--side li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); column-gap: 20px; padding: 20px 0 22px; }
.tx .txexp__visits--side li:last-child { border-bottom: 1px solid var(--tx-line); }
.tx .txexp__visits--side .txexp__v { grid-row: 1 / 3; padding-top: 8px; line-height: 1.5; }
.tx .txexp__visits--side h3 { margin-top: 0; font-size: clamp(22px, 1.7vw, 30px); }
.tx .txexp__visits--side li p { margin-top: 8px; max-width: 46ch; }
@media (max-width: 1100px) {
  .tx .txexp__visits--side li { grid-template-columns: minmax(0, 1fr); }
  .tx .txexp__visits--side .txexp__v { grid-row: auto; padding-top: 0; }
  .tx .txexp__visits--side h3 { margin-top: 10px; }
}
@media (max-width: 800px) {
  .tx .txexp__grid.txexp__grid--side { display: block; overflow: visible; margin: 56px 0 0; padding: 0; }
  .tx .txexp__grid--side > .txexp__p { width: 100%; }
  .tx .txexp__grid--side > .txexp__side { width: auto; margin-top: 44px !important; }
  .tx .txexp__side .txexp__note { width: auto !important; font-size: 26px; }
}
.tx .txexp__rating--side { margin-top: clamp(32px, 3vw, 48px); padding-top: 0; border-top: 0; max-width: 420px; }
