/* Layout: a printed annual report on cool paper. 12-column grid, hairline rules, running headers, navy ink, gold used sparingly. */
:root {
  --paper: #EEF1F6;
  --paper-2: #E4E9F1;
  --ink: #0E1A33;
  --navy: #0C2A66;
  --navy-deep: #0A2155;
  --gold: #EEA734;
  --gold-ink: #8A5A0A;
  --ash: #5F6C84;
  --rule: #C3CCDB;
  --on-navy: #E8EDF7;
  --on-navy-2: #A9B7D3;
  --navy-rule: rgba(232, 237, 247, 0.22);

  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --max: 1240px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
em { font-style: italic; }

.wrap {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding-left: max(32px, var(--gut));
  padding-right: max(32px, var(--gut-r));
}
@media (max-width: 640px) {
  .wrap { padding-left: var(--gut); padding-right: var(--gut-r); }
}

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- Nav ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper);
}
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav-in {
  max-width: calc(var(--max) + 64px); margin: 0 auto;
  padding-left: max(32px, var(--gut)); padding-right: max(32px, var(--gut-r));
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Home button: the RHM logo is a 3D keycap. A light key face sits on navy sides (.wm-mark is the key's
   base, .wm-key its face). It tilts toward the mouse (main.js sets --rx/--ry and the --mx/--my glint spot),
   sinks on hover, bottoms out when pressed and springs back on release. */
.wm-mark {
  --depth: 5px; --ty: 0px;
  position: relative; display: block; flex-shrink: 0; padding: 0 0 var(--depth); border-radius: 9px;
  margin-bottom: calc(5px - var(--depth)); /* keeps the bar from shifting as the key sinks */
  background: linear-gradient(180deg, #1B3F86 0%, #081B47 100%); /* the key's sides */
  box-shadow: 0 9px 14px -8px rgba(12, 42, 102, .6), 0 0 0 1px rgba(8, 27, 71, .7);
  transform: perspective(420px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty));
  transition: padding-bottom .18s cubic-bezier(.34, 1.56, .64, 1), margin-bottom .18s cubic-bezier(.34, 1.56, .64, 1), transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s;
}
.wm-key {
  position: relative; display: block; overflow: hidden; padding: 6px 10px 6px; border-radius: 8px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F4F9 55%, #E2E7F0 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -2px 0 rgba(12, 42, 102, .16), inset 2px 0 0 rgba(255, 255, 255, .7), inset -2px 0 0 rgba(12, 42, 102, .07);
}
/* the glint: a soft highlight that follows the mouse across the key face */
.wm-key::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 55%),
              linear-gradient(105deg, transparent 40%, rgba(238, 167, 52, .18) 50%, transparent 60%);
  mix-blend-mode: soft-light;
}
.wm-key img { display: block; box-sizing: content-box; height: 26px; width: auto; padding-bottom: 3px; border-bottom: 3px solid var(--gold); }
.wordmark:hover .wm-mark, .wordmark:focus-visible .wm-mark { --depth: 2px; --ty: 3px; box-shadow: 0 5px 9px -6px rgba(12, 42, 102, .55), 0 0 0 1px rgba(8, 27, 71, .7); }
.wordmark:hover .wm-key::after { opacity: 1; }
.wordmark:active .wm-mark { --depth: 0px; --ty: 5px; box-shadow: 0 2px 3px -2px rgba(12, 42, 102, .5), 0 0 0 1px rgba(8, 27, 71, .7); transition-duration: .05s; }
.wordmark:active .wm-key { background: linear-gradient(180deg, #F4F6FA 0%, #E3E8F1 100%); }
.wordmark:focus-visible { outline: none; }
.wordmark:focus-visible .wm-mark { outline: 2px solid var(--gold); outline-offset: 3px; }
.wordmark .wm-name { transition: transform .15s cubic-bezier(.3, .7, .4, 1); }
.wordmark:active .wm-name { transform: translateY(1px); transition-duration: .06s; }
@media (prefers-reduced-motion: reduce) { .wm-mark, .wm-key::after, .wordmark .wm-name { transition: none; } }
.wm-name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); white-space: nowrap; }
/* the keycap is wider than a flat logo, so on phones the name wraps onto two lines */
@media (max-width: 700px) {
  .wm-name { white-space: normal; line-height: 1.1; }
}
@media (max-width: 400px) {
  .wordmark { gap: 7px; }
  .wm-key { padding: 5px 8px; }
  .wm-key img { height: 20px; }
  .wm-name { font-size: 14.5px !important; white-space: normal; line-height: 1.1; }
}
/* Top row: wordmark on the left, Book a call (+ Menu on small screens) on the right */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  background: var(--navy); color: var(--on-navy) !important; padding: 9px 14px; text-decoration: none;
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-toggle {
  display: none; font: 500 12.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  background: none; border: 1px solid var(--ink); color: var(--ink); padding: 8px 12px; cursor: pointer;
}
/* Second row: the page navigation, a navy strip under the top row */
.nav-bar { background: var(--navy); border-top: 3px solid var(--gold); }
.nav-bar ul {
  list-style: none; margin: 0 auto; max-width: calc(var(--max) + 64px);
  padding: 0 max(32px, var(--gut-r)) 0 max(32px, var(--gut));
  display: flex; align-items: stretch; height: var(--bar-h);
}
.nav-bar li { display: flex; }
.nav-bar li.nav-legal { margin-left: auto; }
.nav-bar li.nav-legal + li.nav-legal { margin-left: 0; }
.nav-bar a {
  display: flex; align-items: center; padding: 0 14px; position: relative;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--on-navy); text-decoration: none; transition: color .15s, background .15s;
}
.nav-bar li:first-child a { padding-left: 0; }
.nav-bar .nav-legal a { color: var(--on-navy-2); font-size: 11.5px; padding: 0 10px; }
.nav-bar .nav-legal:last-child a { padding-right: 0; }
.nav-bar .real { color: inherit; }
/* Gold bar slides in under the hovered link; stays under the current page */
.nav-bar a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-bar li:first-child a::after { left: 0; }
.nav-bar .nav-legal a::after { left: 10px; right: 10px; }
.nav-bar .nav-legal:last-child a::after { right: 0; }
.nav-bar a:hover { color: #fff; }
.nav-bar a:hover::after, .nav-bar a[aria-current="page"]::after { transform: scaleX(1); }
.nav-bar a[aria-current="page"] { color: #fff; }
:root { --bar-h: 44px; --nav-h: calc(64px + 47px); }
.nav-in { height: 64px; }

/* Small screens: the strip folds into a Menu dropdown */
@media (max-width: 1270px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: block; }
  .nav-bar {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    border-top: 3px solid var(--gold); box-shadow: 0 12px 24px -12px rgba(12, 42, 102, .5);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-bar.open { display: block; }
  .nav-bar ul { flex-direction: column; height: auto; padding-top: 6px; padding-bottom: 12px; }
  .nav-bar li, .nav-bar li.nav-legal { margin-left: 0; }
  .nav-bar a, .nav-bar li:first-child a, .nav-bar .nav-legal a, .nav-bar .nav-legal:last-child a {
    padding: 14px 0; white-space: normal; border-top: 1px solid var(--navy-rule); width: 100%;
  }
  .nav-bar li:first-child a { border-top: 0; }
  .nav-bar a::after, .nav-bar li:first-child a::after, .nav-bar .nav-legal a::after, .nav-bar .nav-legal:last-child a::after {
    left: 0; right: auto; width: 32px; bottom: 8px;
  }
  .nav-bar li.nav-legal { display: inline-flex; }
  .wm-name { font-size: 16px; }
}
@media (max-width: 520px) {
  .nav-actions .nav-cta { display: none; } /* the side Book now tab covers booking on phones */
}


/* ---------- Sections ---------- */
.sec { padding-block: 88px; }
/* Sections no longer open with a marker row, so their first block starts right at the section's top padding */
.sec > .wrap > :first-child { margin-top: 0; }
/* Section reveal (class added by JS, so the page still shows everything without it) */
.reveal-on main > .sec, .reveal-on .foot {
  opacity: 0; transform: translateY(-48px);
  transition: opacity .7s ease-out, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal-on main > .sec.shown, .reveal-on .foot.shown { opacity: 1; transform: none; }
.sec-alt { background: var(--paper-2); }
.sec-navy { background: var(--navy); color: var(--on-navy); }
/* Photo backgrounds with a scroll parallax: the photo (::before) drifts slower than the page and
   eases from a slight zoom; the navy wash (::after) stays put so the text stays readable.
   main.js sets --py (px shift) and --ps (scale) on the section while it is on screen. */
#pillars, #book { position: relative; isolation: isolate; overflow: clip; }
#pillars::before, #book::before {
  content: ""; position: absolute; inset: -25% 0; z-index: -2; pointer-events: none;
  background: center / cover no-repeat;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.04));
  will-change: transform;
}
#pillars::after, #book::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Three pillars: navy-tinted coastal photo, washed darker toward the bottom over the tables */
#pillars::before { background-image: url("https://static.wixstatic.com/media/1edd42_1bb4ff84a48942c185ce2a9ccc99caab~mv2.webp"); background-position: center top; }
#pillars::after { background: linear-gradient(180deg, rgba(12, 42, 102, .55) 0%, rgba(12, 42, 102, .72) 55%, rgba(12, 42, 102, .9) 100%); }
/* Book a call: dark laptop-and-charts photo, washed heavier on the left behind the heading */
#book::before { background-image: url("https://static.wixstatic.com/media/1edd42_df724e0c4d1c4565ac68296f3f513b24~mv2.webp"); }
#book::after { background: linear-gradient(90deg, rgba(12, 42, 102, .7) 0%, rgba(12, 42, 102, .35) 60%, rgba(12, 42, 102, .5) 100%); }
@media (prefers-reduced-motion: reduce) { #pillars::before, #book::before { transform: none; } }
.sec-navy .mono-label { color: var(--on-navy-2); }
.sec-title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12; letter-spacing: -0.01em;
}
.sec-title em { color: var(--navy); }
.sec-navy .sec-title em { color: var(--gold); }
@media (max-width: 640px) { .sec { padding-block: 64px; } }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-pin { padding-block: 28px 32px; }
/* The lifeline follows the cursor (or a finger drag) while it is over the chart */
.lifeline { cursor: ew-resize; }
.lifeline svg { touch-action: pan-y; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px; align-items: end; margin-top: 28px;
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.02em;
}
.hero-title .line { display: block; }
/* Logo + photo banner: two equal halves mirrored about the centre */
/* Logo + photo banner: photo centred behind, logo layered over its lower half */
.hero-banner {
  display: grid; grid-template-areas: "stack"; justify-items: center;
  margin-top: 8px;
}
.hero-banner > * { grid-area: stack; margin: 0; }
.hero-photo { z-index: 0; align-self: start; }
.hero-photo img {
  display: block; width: clamp(300px, 50vw, 590px); max-width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 50%, transparent 92%);
}
.hero-banner > .hero-title.hero-logo { z-index: 1; align-self: end; margin-top: clamp(165px, 27vw, 320px); }
.hero-logo img { display: block; width: clamp(320px, 58vw, 680px); max-width: 100%; height: auto; }
/* Setmore side tab: a vertical "Book now" tab on the right edge, always visible */
.side-book {
  position: fixed; right: 0; top: 25%; z-index: 9999;
  transform: translate(30%, 0) rotate(-90deg); transform-origin: 50% 50%;
  background: var(--navy); color: #fff; border: 0; border-top: 3px solid var(--gold);
  padding: 11px 18px; border-radius: 6px 6px 0 0; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 -2px 10px rgba(12, 42, 102, .25);
}
.side-book { transition: transform .35s cubic-bezier(.34, 1.3, .64, 1), visibility 0s linear 0s; }
/* Home: the tab stays tucked away until the visitor scrolls past the gold Book now keycap (main.js) */
html.side-book-off .side-book { transform: translate(160%, 0) rotate(-90deg); visibility: hidden; transition: transform .25s ease-in, visibility 0s linear .25s; }
@media (prefers-reduced-motion: reduce) { .side-book, html.side-book-off .side-book { transition: none; } }
.side-book:hover { background: #14387F; }
.side-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Keycap button: a gold key on a darker base; sinks on hover, bottoms out when clicked */
.hero-cta { display: flex; justify-content: center; margin-top: 26px; }
/* Same 3D keycap as the RHM home button: tilts toward the mouse (main.js sets --rx/--ry and the
   --mx/--my glint spot), sinks on hover, bottoms out when pressed and springs back on release. */
.keycap {
  --depth: 7px; --ty: 0px;
  position: relative; display: inline-block; padding: 0 0 var(--depth); border: 0; border-radius: 12px;
  margin-bottom: calc(7px - var(--depth)); /* keeps the page from shifting as the key sinks */
  background: linear-gradient(#B97A16, #8C5A0C); /* the key's sides */
  box-shadow: 0 10px 18px -8px rgba(12, 42, 102, .45), 0 0 0 1px rgba(12, 42, 102, .25);
  cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
  transform: perspective(520px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty));
  transition: padding-bottom .2s cubic-bezier(.34, 1.56, .64, 1), margin-bottom .2s cubic-bezier(.34, 1.56, .64, 1), transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.keycap-top::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
.keycap:hover .keycap-top::after, .keycap:focus-visible .keycap-top::after { opacity: 1; }
.keycap-top {
  position: relative; overflow: hidden;
  display: block; padding: 14px 34px 15px; border-radius: 10px;
  background: linear-gradient(180deg, #F7C468 0%, var(--gold) 55%, #E39A26 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(140, 90, 12, .35), inset 2px 0 0 rgba(255, 255, 255, .18), inset -2px 0 0 rgba(140, 90, 12, .18);
  font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}
.keycap:hover, .keycap:focus-visible { --depth: 3px; --ty: 4px; box-shadow: 0 5px 10px -6px rgba(12, 42, 102, .45), 0 0 0 1px rgba(12, 42, 102, .25); }
.keycap:active { --depth: 0px; --ty: 7px; box-shadow: 0 2px 4px -2px rgba(12, 42, 102, .4), 0 0 0 1px rgba(12, 42, 102, .25); transition-duration: .05s; }
.keycap:active .keycap-top { background: linear-gradient(180deg, #EFB453 0%, #E59F2E 100%); }
.keycap:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .keycap, .keycap-top::after { transition: none; } }
.hero-banner + .hero-lede { max-width: 62ch; margin: 28px auto 0; text-align: center; padding-bottom: 0; }
.hero-title em { color: var(--navy); }
.hero-lede { font-size: 17px; color: var(--ash); max-width: 42ch; padding-bottom: 8px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-lede { font-size: 16px; }
}

.lifeline { margin: 28px 0 0; }
.lifeline-head {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px;
  border-bottom: 1px solid var(--rule); padding-bottom: 8px;
}
.readout { font-family: var(--mono); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.readout-num { font-size: 22px; font-weight: 500; color: var(--navy); }
.readout-sep { color: var(--rule); }
.readout-stage { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-ink); font-weight: 500; }
.lifeline-svg { display: block; width: 100%; height: clamp(170px, 30vh, 300px); overflow: visible; }
.ll-grid line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ll-band { fill: var(--navy); opacity: 0.06; }
.ll-proj { fill: none; stroke: var(--ash); stroke-width: 1.5; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.ll-solid { fill: none; stroke: var(--navy); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ll-mark line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ll-mark circle { fill: var(--paper); stroke: var(--ash); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .3s, stroke .3s; }
.ll-mark.lit circle { fill: var(--gold); stroke: var(--gold-ink); }
.ll-text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; fill: var(--ash); transition: fill .3s; }
.ll-mark.lit .ll-text { fill: var(--gold-ink); font-weight: 500; }
.lifeline-axis {
  display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ash); font-variant-numeric: tabular-nums;
}
.ll-labels { position: relative; height: 0; }
.ll-label {
  position: absolute; transform: translate(-50%, 0);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ash); white-space: nowrap; transition: color .3s;
}
.ll-label.lit { color: var(--gold-ink); font-weight: 500; }
.figcap { font-size: 13px; color: var(--ash); margin-top: 10px; }
.sec-navy .figcap { color: var(--on-navy-2); }
@media (max-width: 640px) {
  .hero-pin { padding-block: 18px 20px; }
  .lifeline-axis span:nth-child(2), .lifeline-axis span:nth-child(4) { display: none; }
}
@media (max-height: 700px) and (min-width: 641px) {
  .hero-title { font-size: clamp(36px, 5vw, 64px); }
}

/* ---------- Key figures ---------- */
.figs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px; border-top: 1px solid var(--rule);
}
.fig-cell { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.fig-cell + .fig-cell { padding-left: 28px; }
.fig-cell:nth-child(3n + 1) { padding-left: 0; }
.fig-cell:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.fig-num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 72px);
  line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums;
}
.fig-unit { font-size: 0.36em; margin-left: 6px; color: var(--ash); font-family: var(--mono); }
.fig-word sup { font-size: 0.35em; vertical-align: super; }
.fig-ticks { display: flex; gap: 3px; height: 14px; margin: 16px 0 14px; align-items: end; }
.fig-ticks i { display: block; width: 3px; height: 100%; background: var(--navy); }
.fig-ticks i.g { background: var(--gold); }
.fig-num { height: 96px; display: flex; align-items: flex-end; gap: 18px; }
.fig-num > span:first-child, .fig-word { line-height: 1; }
.fig-n { border-bottom: 3px solid var(--gold); padding-bottom: 6px; margin-bottom: -9px; white-space: nowrap; }
.pillar-row {
  display: inline-flex; align-items: flex-end; gap: 2px;
  padding: 0 4px; margin-bottom: -6px;
}
.pillar-row img {
  width: 32px; height: 96px; object-fit: cover; object-position: 48% 50%;
  display: block; transform-origin: 50% 100%;
}
.candles {
  display: block; width: 87px; height: 84px; margin-bottom: 4px; transform-origin: 50% 100%;
  background: url("https://static.wixstatic.com/media/1edd42_907d42d2ed7847e5b1c52b5271c87a2f~mv2.png") no-repeat -11px -11px / 110px 110px;
}
.fig-book {
  display: block; width: 58px; height: 84px; margin-bottom: 4px; transform-origin: 50% 100%;
  background: url("https://static.wixstatic.com/media/1edd42_f5ef6b31a5f746779d9a02605eecea1c~mv2.png") no-repeat -25px -12px / 110px 110px;
}
.free-stamp {
  display: block; width: 101px; height: 65px; margin-bottom: 8px; transform-origin: 50% 100%;
  background: url("https://static.wixstatic.com/media/1edd42_1afc5c35d23440789af0071201b59687~mv2.png") no-repeat -17px -35px / 137px 137px;
}
.aibe {
  display: block; width: 150px; height: 31px; margin-bottom: 12px; transform-origin: 50% 100%;
  background: url("https://static.wixstatic.com/media/1edd42_e3f5410ebcb24cf684022d6f0949f7ff~mv2.png") no-repeat -36px -97px / 228px 228px;
}
.fig-word .aibe { margin-bottom: calc(0.55em - 9.5px); }
@media (max-width: 1100px) and (min-width: 481px) {
  .aibe { width: 120px; height: 25px; background-position: -29px -78px; background-size: 183px 183px; }
  .fig-word .aibe { margin-bottom: calc(0.55em - 6.5px); }
}
.sign-row { gap: 6px; }
.sign {
  display: block; height: 84px; margin-bottom: 4px; transform-origin: 50% 100%;
  background: url("https://static.wixstatic.com/media/1edd42_fe7e396e7ca74ba8b0e708042d2e93a6~mv2.png") no-repeat;
  background-size: 159px 159px;
}
.sign-sale { width: 60px; background-position: -19px -45px; }
.sign-rent { width: 61px; background-position: -79px -45px; }
.figs.in .pillar-row > * { animation: pillar-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.figs.in .pillar-row > :nth-child(2) { animation-delay: .14s; }
.figs.in .pillar-row > :nth-child(3) { animation-delay: .28s; }
@keyframes pillar-rise { from { transform: translateY(14px) scaleY(.82); opacity: .35; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .figs.in .pillar-row > * { animation: none; } }
.fig-label { font-weight: 600; font-size: 16px; }
.fig-note .hl {
  color: var(--navy); font-weight: 600;
  background: linear-gradient(transparent 62%, rgba(238, 167, 52, 0.45) 62%);
  padding: 0 2px; white-space: nowrap;
}
.fig-note { color: var(--ash); font-size: 15px; margin-top: 4px; max-width: 32ch; }
@media (max-width: 860px) {
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig-cell, .fig-cell + .fig-cell { padding: 24px 20px 24px 0; border-right: 0 !important; }
  .fig-cell:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .figs { grid-template-columns: minmax(0, 1fr); }
  .fig-cell:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 56px; margin-top: 40px;
}
.pil-index { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.pil-index ol { list-style: none; padding: 0; margin: 14px 0 24px; border-top: 1px solid var(--navy-rule); }
.pil-index li a {
  display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--navy-rule);
  text-decoration: none; font-family: var(--serif); font-size: 20px; font-weight: 300;
}
.pil-index li a span { font-family: var(--mono); font-size: 12px; color: var(--gold); width: 22px; padding-top: 6px; }
.pil-index li a:hover { color: var(--gold); }
.pil-intro { color: var(--on-navy-2); font-size: 15px; }
.pil-body { display: grid; gap: 56px; min-width: 0; }
.pil-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.pil-roman { font-family: var(--mono); color: var(--gold); font-size: 14px; }
.pil h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.pil > p { color: var(--on-navy-2); max-width: 60ch; }
.ruled { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.ruled th, .ruled td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ruled thead th {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ash); border-bottom: 1px solid var(--ink);
}
.sec-navy .ruled th, .sec-navy .ruled td { border-bottom-color: var(--navy-rule); }
.sec-navy .ruled thead th { color: var(--on-navy-2); border-bottom-color: var(--on-navy); }
.ruled td:first-child { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--gold); width: 52px; }
.sec-navy .ruled td:last-child { color: var(--on-navy-2); }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--mono); font-size: 12.5px; border: 1px solid var(--navy-rule); padding: 5px 10px; }
.pairs { margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--navy-rule); }
.pairs div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--navy-rule); }
.pairs dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.pairs dd { margin: 0; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pil-index { position: static; }
  .ruled td:nth-child(3) { display: none; }
  .ruled thead th:nth-child(3) { display: none; }
  .pairs div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* ---------- Life stages ---------- */
/* Right column starts at 48% so the text lines up with the table's "What we plan" column (34% + 14%) */
.stages-intro { display: grid; grid-template-columns: 48% minmax(0, 1fr); gap: 0; align-items: end; margin-top: 40px; }
.stages-intro p { max-width: 52ch; }
.stages-intro p { color: var(--ash); }
.table-scroll { overflow-x: auto; margin-top: 28px; }
.stages { font-size: 16px; }
.stages th[scope="row"] { font-family: var(--serif); font-weight: 400; font-size: 19px; width: 34%; }
.stages td:nth-child(2) { font-family: var(--mono); font-size: 13px; color: var(--gold-ink); width: 14%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stages td:first-child { width: auto; }
.stages td:last-child { color: var(--ash); }
.stages tbody tr:hover th, .stages tbody tr:hover td:last-child { color: var(--navy); }
.specialty { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; }
.specialty ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.specialty li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ash); font-size: 15px; }
.specialty strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
@media (max-width: 860px) {
  .stages-intro, .specialty { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .specialty ul { grid-template-columns: minmax(0, 1fr); }
  .stages th[scope="row"] { font-size: 17px; }
}
@media (max-width: 560px) {
  .stages thead { display: none; }
  .stages tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .stages th, .stages td { border: 0; padding: 0; width: auto !important; }
  .stages td:last-child { grid-column: 1 / -1; margin-top: 4px; font-size: 15px; }
}

/* ---------- Estimate ---------- */
.est { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; margin-top: 40px; }
.est-controls { display: grid; gap: 22px; align-content: start; }
.slider label {
  display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 8px;
}
.slider output { font-family: var(--mono); font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.slider input[type="range"] { width: 100%; accent-color: var(--navy); }
.est-out { min-width: 0; }
.est-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.est-results > div { padding: 14px 16px 16px 0; }
.est-results > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.est-big { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 6px; }
.est-chart { margin: 20px 0 0; }
.est-chart svg { display: block; width: 100%; height: auto; }
.est-chart .ax { stroke: var(--rule); stroke-width: 1; }
.est-chart .ax-base { stroke: var(--ink); stroke-width: 1; }
.est-chart text { font-family: var(--mono); font-size: 11px; fill: var(--ash); }
.est-chart .band { fill: var(--navy); opacity: 0.09; }
.est-chart .bal { fill: none; stroke: var(--navy); stroke-width: 2.5; }
.est-chart .tgt { stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.est-chart .tgt-label { fill: var(--gold-ink); font-weight: 500; }
.est-chart .hit { fill: var(--gold); stroke: var(--gold-ink); stroke-width: 1.5; }
.est-assume { margin-top: 18px; font-size: 14px; color: var(--ash); max-width: 70ch; }
.est-assume strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .est { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .est-results > div + div { padding-left: 10px; }
  .est-results > div { padding-right: 6px; }
  .est-results .mono-label { font-size: 10.5px; }
}

/* ---------- Right-hand plate ---------- */
.plate-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-top: 40px; }
.plate { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: start; }
.plate-mono {
  aspect-ratio: 3 / 4; max-width: 100%;
  border: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 10px; font-family: var(--serif); font-weight: 300; font-size: 30px; color: var(--navy);
  background: var(--paper-2);
  box-shadow: inset 0 -4px 0 var(--gold);
}
.plate:has(.plate-photo) { grid-template-columns: 180px minmax(0, 1fr); }
.plate-photo { padding: 0; overflow: hidden; align-items: flex-end; justify-content: center; }
.plate-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.plate-text { display: grid; gap: 14px; }
.plate-name { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.plate-name span { color: var(--navy); }
.plate-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 20px; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 16px; }
.quotes { display: grid; gap: 0; align-content: start; }
.quotes blockquote { margin: 0; padding: 18px 0; border-top: 1px solid var(--rule); }
.quotes blockquote:first-of-type { margin-top: 12px; }
.quotes p { font-size: 15.5px; }
.quotes cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 860px) {
  .plate-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 480px) {
  .plate, .plate:has(.plate-photo) { grid-template-columns: minmax(0, 1fr); }
  .plate-mono { width: 96px; }
  .plate-photo { width: 160px; }
}

/* ---------- Library ---------- */
.contents { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: c; }
.contents li { counter-increment: c; border-bottom: 1px solid var(--rule); }
.contents a {
  display: grid; grid-template-columns: 48px minmax(0, auto) minmax(24px, 1fr) auto;
  gap: 4px 16px; align-items: baseline; padding: 18px 0; text-decoration: none;
}
/* Row 1: number, title, leader dots, label. Row 2: the description under the title. */
.contents a::before { content: counter(c, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--gold-ink); grid-row: 1; grid-column: 1; }
.c-title { font-family: var(--serif); font-size: 22px; font-weight: 400; grid-row: 1; grid-column: 2; }
.c-dots { grid-row: 1; grid-column: 3; }
.c-pg { grid-row: 1; grid-column: 4; }
.c-desc { color: var(--ash); font-size: 15px; grid-row: 2; grid-column: 2 / -1; }
.c-title .real { color: var(--gold-ink); }
.c-dots { border-bottom: 1px dotted var(--ash); transform: translateY(-5px); }
.c-pg { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); }
.contents a:hover .c-title { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .contents a { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
  .contents a::before { grid-row: 1 / span 2; }
  .c-desc { grid-column: 2; }
  .c-dots, .c-pg { display: none; }
  .c-title { font-size: 19px; }
}

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; margin-top: 40px; }
.book p { color: var(--on-navy-2); margin-top: 18px; max-width: 56ch; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none; padding: 13px 20px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
button.btn { border: 0; border-radius: 0; cursor: pointer; line-height: inherit; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F5BA57; }
.btn-ink { background: var(--navy); color: var(--on-navy); }
.btn-ink:hover { background: var(--navy-deep); }
.btn-line { border: 1px solid var(--on-navy); color: var(--on-navy); }
.btn-line:hover { background: rgba(232, 237, 247, 0.1); }
.contact { margin: 0; border-top: 1px solid var(--on-navy); }
.contact div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--navy-rule); }
.contact dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.contact dd { margin: 0; user-select: all; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.placeholder { font-style: italic; opacity: .7; }
@media (max-width: 860px) { .book { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- CBE page ---------- */
.cbe-hero { padding-block: 56px 72px; }
.cbe-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; }
.cbe-title { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.02em; }
.cbe-title em { color: var(--navy); }
.cbe-lede { margin-top: 24px; max-width: 62ch; color: var(--ash); font-size: 18px; }
.cbe-card { border-top: 3px solid var(--gold); background: var(--paper-2); }
.cbe-card img.cbe-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 12%; }
.cbe-card-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.cbe-card-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.cbe-card-name span { color: var(--navy); }
.cbe-card-role { font-size: 15px; color: var(--ash); }
.cbe-badge { display: block; width: 170px; height: 35px; margin-top: 10px;
  background: url("https://static.wixstatic.com/media/1edd42_e3f5410ebcb24cf684022d6f0949f7ff~mv2.png") no-repeat -41px -110px / 258px 258px; }
.cbe-sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; }
.cbe-sec-head p { color: var(--ash); max-width: 56ch; }
.sec-navy .cbe-sec-head p { color: var(--on-navy-2); }
.cbe-timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cbe-timeline li { padding: 18px 24px 22px 0; }
.cbe-timeline li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.cbe-era { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.cbe-timeline h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 6px; }
.cbe-timeline p, .cbe-cols p { margin-top: 8px; color: var(--ash); font-size: 16px; }
.cbe-sub { margin-top: 48px; }
.cbe-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 16px; border-top: 1px solid var(--rule); }
.cbe-cols > div { padding: 18px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.cbe-cols h3, .cbe-cols h4 { font-size: 17px; font-weight: 600; }
.sec-navy .cbe-timeline, .sec-navy .cbe-cols { border-top-color: var(--on-navy); }
.sec-navy .cbe-cols > div { border-bottom-color: var(--navy-rule); }
.sec-navy .cbe-cols p { color: var(--on-navy-2); }
.sec-navy .cbe-cols h3, .sec-navy .cbe-cols h4 { color: var(--on-navy); }
.sec-navy .mono-label.cbe-kicker, .cbe-kicker { color: var(--gold); }
.cbe-mindset { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: m; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cbe-mindset li { counter-increment: m; border-top: 3px solid var(--gold); padding-top: 16px; }
.cbe-mindset li::before { content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.cbe-mindset h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-top: 4px; }
.cbe-mindset p { margin-top: 8px; color: var(--ash); }
@media (max-width: 860px) {
  .cbe-hero-grid, .cbe-sec-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cbe-card { max-width: 420px; }
  .cbe-timeline, .cbe-mindset { grid-template-columns: minmax(0, 1fr); }
  .cbe-timeline li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- Image placeholders (swap for the real image later) ---------- */
.img-ph {
  position: relative; display: grid; place-content: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, #DCE2EC 14px 28px);
  border: 2px dashed var(--gold); color: var(--ash); padding: 24px;
}
.img-ph .ph-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.img-ph .ph-what { font-family: var(--serif); font-size: 18px; color: var(--ink); max-width: 34ch; }
.img-ph .ph-size { font-family: var(--mono); font-size: 11.5px; }
.sec-navy .img-ph { background: repeating-linear-gradient(135deg, rgba(232, 237, 247, .06) 0 14px, rgba(232, 237, 247, .1) 14px 28px); color: var(--on-navy-2); }
.sec-navy .img-ph .ph-what { color: var(--on-navy); }
.sec-navy .img-ph .ph-tag { color: var(--gold); }

/* ---------- F.I.R.E. page ---------- */
.fire-hero { padding-block: 56px 0; }
/* Photo sits inside the page margins and matches the height of the text beside it */
.fire-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: stretch; }
.fire-hero .cbe-title { font-size: clamp(36px, 4.6vw, 64px); }
.fire-hero-photo { margin: 0; position: relative; min-height: 320px; border-bottom: 3px solid var(--gold); }
.fire-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 40%; } /* keeps Lucas (left of the photo) centred in the crop */
@media (max-width: 860px) {
  .fire-hero-photo { min-height: 0; }
  .fire-hero-photo img { position: static; height: auto; aspect-ratio: 3 / 2; }
}
.fire-acronym { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.fire-acronym b { color: var(--gold-ink); font-weight: 700; font-size: 15px; }
.fire-outcomes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: o; }
.fire-outcomes li { counter-increment: o; padding: 18px 20px 22px 0; }
.fire-outcomes li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.fire-outcomes li::before { content: counter(o, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.fire-outcomes h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin-top: 6px; }
.fire-outcomes p { margin-top: 8px; color: var(--ash); font-size: 15.5px; }
.fire-story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; margin-top: 40px; }
.fire-story-side { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; display: grid; gap: 20px; }
.fire-story-side .img-ph { aspect-ratio: 3 / 4; }
/* Same box as the placeholder it replaced: 3:4 portrait, photo cropped to fill it */
.fire-story-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 22% 50%; border-bottom: 3px solid var(--gold); }
.fire-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.35; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 16px; margin: 0; }
.fire-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.fire-steps > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.fire-steps .stage { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); padding-top: 5px; }
.fire-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.fire-steps p { margin-top: 8px; color: var(--ash); }
.fire-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.fire-tags li { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; border: 1px solid var(--rule); background: var(--paper); padding: 5px 10px; }
.fire-program { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; margin-top: 40px; }
.fire-program .img-ph { aspect-ratio: 16 / 9; }
/* Portrait of Lucas: waist-up crop, framed by a gold offset border on the navy */
.fire-program-photo { margin: 0; justify-self: center; width: min(100%, 400px); position: relative; }
.fire-program-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); z-index: 0; }
.fire-program-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; }
.fire-before { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--on-navy); }
.fire-before li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--navy-rule); position: relative; color: var(--on-navy-2); }
.fire-before li::before { content: "×"; position: absolute; left: 4px; top: 10px; color: var(--gold); font-family: var(--mono); }
.fire-turn { margin-top: 20px; font-family: var(--serif); font-size: 22px; color: var(--on-navy); }
.fire-turn em { color: var(--gold); }
@media (max-width: 1100px) {
  .fire-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fire-outcomes li, .fire-outcomes li + li { padding: 18px 20px 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 860px) {
  .fire-hero-grid, .fire-story, .fire-program { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fire-hero .img-ph { aspect-ratio: 4 / 3; }
  .fire-story-side { position: static; }
  .fire-story-side .img-ph, .fire-story-photo { aspect-ratio: 4 / 3; max-width: 480px; }
  .fire-steps > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 520px) { .fire-outcomes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Coming soon / not found page ---------- */
.soon { min-height: calc(100vh - var(--nav-h) - 220px); display: grid; place-items: center; padding-block: 72px 96px; text-align: center; }
.soon-in { max-width: 560px; display: grid; justify-items: center; gap: 18px; }
.soon-pillars { display: flex; align-items: flex-end; gap: 6px; height: 88px; margin-bottom: 6px; }
.soon-pillars img { width: 28px; height: 84px; object-fit: cover; object-position: 48% 50%; display: block; transform-origin: 50% 100%; }
.soon-pillars img:nth-child(2) { height: 56px; opacity: .55; }   /* the middle pillar is still "under construction" */
.soon-pillars img:nth-child(3) { height: 30px; opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .soon-pillars img { animation: soon-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .soon-pillars img:nth-child(2) { animation-delay: .14s; }
  .soon-pillars img:nth-child(3) { animation-delay: .28s; }
}
@keyframes soon-rise { from { transform: translateY(14px) scaleY(.82); } to { transform: none; } }
.soon-title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
.soon-title em { color: var(--navy); }
.soon-text { color: var(--ash); font-size: 18px; max-width: 46ch; }
.soon .btns { justify-content: center; margin-top: 6px; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--paper-2); }

/* ---------- Legal pages (Terms of Service, Privacy Policy) ---------- */
.legal { padding-block: 56px 96px; }
.legal-head { margin-top: 0; padding-bottom: 28px; border-bottom: 3px solid var(--gold); }
.legal-title { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; }
.legal-lede { margin-top: 18px; max-width: 68ch; color: var(--ash); font-size: 18px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; margin-top: 40px; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
.legal-toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: toc; }
.legal-toc li { border-top: 1px solid var(--rule); }
.legal-toc a { display: block; padding: 8px 0; font-size: 14px; color: var(--ash); text-decoration: none; }
.legal-toc a:hover { color: var(--navy); }
.legal-body { max-width: 72ch; }
.legal-body > section + section { margin-top: 44px; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--navy); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body h2 .n { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--gold-ink); margin-right: 12px; vertical-align: 3px; }
.legal-body h3 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.legal-body h4 { font-size: 16px; font-weight: 600; margin: 22px 0 0; }
.legal-body p { margin-top: 14px; }
.legal-body ul { margin: 14px 0 0; padding-left: 1.2em; }
.legal-body li { margin-top: 8px; }
.legal-body li::marker { color: var(--gold-ink); }
.legal-body strong { font-weight: 600; }
.legal-body a { color: var(--navy); text-underline-offset: 3px; }
.legal-cards { display: grid; gap: 12px; margin-top: 18px; }
.legal-cards > div { border: 1px solid var(--rule); border-left: 3px solid var(--gold); background: var(--paper-2); padding: 14px 18px; }
.legal-cards h4 { margin: 0; }
.legal-cards dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 0; font-size: 15px; }
.legal-cards dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.legal-cards dd { margin: 0; }
.legal-contact { margin-top: 14px; border-top: 1px solid var(--ink); }
.legal-contact div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.legal-contact dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.legal-contact dd { margin: 0; }
.foot-links a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal-toc { position: static; }
}
@media (max-width: 480px) {
  .legal-cards dl, .legal-contact div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Footer ---------- */
.foot { padding-block: 56px 40px; border-top: 1px solid var(--ink); }
/* Title on top, then the page links in columns (read down each column, then across), social links on the right */
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; margin-bottom: 36px; }
.foot-links { columns: 4 190px; column-gap: 32px; }
.foot-links a { display: block; break-inside: avoid; margin-bottom: 12px; line-height: 1.45; }
.foot-social { display: grid; gap: 12px; padding-left: 24px; border-left: 1px solid var(--rule); }
@media (max-width: 640px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-links { columns: 2 140px; column-gap: 20px; }
  .foot-social { display: flex; gap: 24px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}
.foot .real { color: var(--gold-ink); }
.foot-links a[aria-current="page"] { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.foot a { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
/* Footer title: the secondary logo (RHM letters over the three pillars) */
.foot-word { margin: 0 0 32px; text-align: center; border-bottom: 3px solid var(--gold); padding-bottom: 20px; }
.foot-word img { display: block; margin: 0 auto; width: clamp(200px, 32vw, 380px); height: auto; }
.foot-legal { font-size: 13px; color: var(--ash); max-width: 90ch; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-title .line:nth-child(2) { animation-delay: .12s; }
  .hero-photo .line { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .12s both; }
}
@keyframes rise { from { transform: translateY(18px); opacity: .2; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-pin { position: static; }
}

/* ---------- LT Dojo (trainings shop, cart, members, log in) ---------- */
/* LT Dojo link in the top row, drawn as a torii gate: navy beams and posts with a black outline,
   the label in white on the lower crossbeam. Pushes down on hover/press like the keycap button. */
.nav-torii { position: relative; display: block; width: 130px; height: 52px; text-decoration: none; flex: none;
  transition: transform .12s ease; }
.nav-torii svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nav-torii svg > * { fill: var(--navy); stroke: #000; stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s; }
/* the label sits on the crossbeam (y 19–38 of 56) */
.nav-torii span { position: absolute; left: 7%; right: 7%; top: 34%; height: 34%; display: grid; place-items: center;
  font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #fff; }
.nav-torii:hover, .nav-torii:focus-visible { transform: translateY(2px); }
.nav-torii:hover svg > *, .nav-torii:focus-visible svg > * { fill: var(--navy-deep); }
.nav-torii:hover .torii-kasagi, .nav-torii:focus-visible .torii-kasagi { fill: var(--gold); }
.nav-torii:active { transform: translateY(4px); }
.nav-torii:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 520px) {
  .nav-in { padding-left: var(--gut); padding-right: var(--gut-r); gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-torii { width: 96px; height: 39px; }
  .nav-torii span { font-size: 9.5px; letter-spacing: .05em; }
}

.dojo-hero { padding-block: 56px 72px; }
.dojo-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; }
.dojo-hero .cbe-title { font-size: clamp(40px, 5.4vw, 76px); }
.dojo-sensei { margin: 0; justify-self: center; width: min(100%, 340px); position: relative; }
/* Gold offset frame hugs the photo only, so the caption sits clear below it */
.dojo-sensei-frame { position: relative; }
.dojo-sensei-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); z-index: 0; }
.dojo-sensei img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; }
.dojo-sensei figcaption { position: relative; z-index: 1; margin-top: 30px; font-family: var(--serif); font-size: 18px; display: grid; gap: 2px; }
.dojo-sensei figcaption .mono-label { color: var(--gold-ink); }

.dojo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.dojo-card { background: var(--paper); border-top: 3px solid var(--navy); display: flex; flex-direction: column; min-width: 0; }
.dojo-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dojo-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.dojo-desc { color: var(--ash); font-size: 16px; }
.dojo-desc p { margin: 0; }
.dojo-desc p + p { margin-top: 8px; }
.dojo-price { font-family: var(--mono); font-size: 22px; font-weight: 700; margin-top: auto; padding-top: 8px; }
.dojo-price s { font-weight: 400; font-size: 16px; color: var(--ash); margin-left: 8px; }
.dojo-discount { font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.dojo-card .btn { align-self: flex-start; }
.dojo-card button.btn[disabled] { opacity: .6; cursor: progress; }
.dojo-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* No cover art yet: a navy panel with the training's name (swap by adding an image to the product in Wix) */
.dojo-cover-ph { display: grid; place-items: center; padding: 20px; text-align: center; background: var(--navy);
  background-image: repeating-linear-gradient(135deg, rgba(232, 237, 247, .04) 0 14px, rgba(232, 237, 247, .08) 14px 28px); }
.dojo-cover-ph span { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--on-navy); }
.dojo-ribbons { display: flex; flex-wrap: wrap; gap: 6px; }
.dojo-ribbons span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 3px 8px; }
/* The bundle: full width, navy, cover beside the text */
.dojo-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--navy); color: var(--on-navy); border-top-color: var(--gold); }
.dojo-card-featured .dojo-cover { height: 100%; aspect-ratio: auto; min-height: 220px; }
.dojo-card-featured .dojo-cover-ph { background-color: var(--navy-deep); border-right: 1px solid var(--navy-rule); }
.dojo-card-featured .dojo-cover-ph span { color: var(--gold); font-size: 30px; }
.dojo-card-featured .dojo-card-body { padding: 28px 32px 32px; }
.dojo-card-featured h3 { font-size: 34px; }
.dojo-card-featured .dojo-desc, .dojo-card-featured .dojo-price s { color: var(--on-navy-2); }
.dojo-skel { min-height: 360px; background: linear-gradient(90deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .dojo-skel { animation: dojo-shimmer 1.4s linear infinite; } }
@keyframes dojo-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.dojo-empty { grid-column: 1 / -1; color: var(--ash); padding: 24px 0; }
.dojo-retry { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.dojo-soldout { color: var(--ash); font-size: 15px; }
@media (max-width: 1000px) { .dojo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .dojo-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .dojo-sensei { justify-self: start; width: min(100%, 300px); }
  .dojo-card-featured { grid-template-columns: minmax(0, 1fr); }
  .dojo-card-featured .dojo-cover { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .dojo-card-featured .dojo-cover-ph { border-right: 0; }
}
@media (max-width: 620px) { .dojo-grid { grid-template-columns: minmax(0, 1fr); } }

/* Cart button (bottom left) and drawer */
.dojo-cart-btn { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60;
  font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: var(--on-navy);
  border: 0; border-top: 3px solid var(--gold); padding: 12px 16px; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(12, 42, 102, .6); }
.dojo-cart-btn span { display: inline-block; min-width: 22px; margin-left: 6px; padding: 1px 6px; background: var(--gold); color: var(--ink); text-align: center; }
.dojo-cart-btn[hidden] { display: none; }
html.cart-open { overflow: hidden; }
html.cart-open .side-book { display: none; } /* the Book now tab sits above everything; hide it behind the open cart */
.cart-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(14, 26, 51, .55); display: flex; justify-content: flex-end; }
.cart-backdrop[hidden] { display: none; }
.cart { width: min(100%, 420px); height: 100%; background: var(--paper); display: flex; flex-direction: column; padding: 24px max(24px, env(safe-area-inset-right, 0px)) 24px 24px; overflow-y: auto; outline: none; border-left: 3px solid var(--gold); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.cart-head h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.cart-close { background: none; border: 1px solid var(--ink); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; cursor: pointer; color: var(--ink); }
.cart-error { color: #A12B1E; font-size: 15px; margin-top: 10px; }
.cart-error:empty { display: none; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cart-name { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.cart-note { font-size: 14px; color: #A12B1E; margin-top: 4px; }
.cart-price { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
.cart-remove { background: none; border: 0; padding: 0; margin-top: 6px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ash); text-decoration: underline; cursor: pointer; }
.cart-empty { padding: 24px 0; color: var(--ash); }
.cart-foot { margin-top: auto; padding-top: 20px; }
.cart-totals { margin: 0; }
.cart-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-totals dt { color: var(--ash); }
.cart-totals dd { margin: 0; font-family: var(--mono); }
.cart-total { border-top: 1px solid var(--ink); margin-top: 6px; padding-top: 10px !important; font-weight: 700; }
.cart-total dt { color: var(--ink); }
.cart-muted { color: var(--ash); font-size: 14px; }
.cart-checkout { width: 100%; text-align: center; margin-top: 16px; }
.cart-checkout[disabled] { opacity: .6; cursor: progress; }
.cart-secure { text-align: center; margin-top: 10px; }

/* Thank-you page: all three pillars standing */
.soon-pillars-done img:nth-child(2), .soon-pillars-done img:nth-child(3) { height: 84px; opacity: 1; }

/* Members area: hold the space while the session loads */
.members-wait { min-height: 3.2em; }

/* Log in / sign up */
.auth { padding-block: 64px 96px; }
.auth-box { max-width: 480px; margin: 0 auto; display: grid; gap: 18px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--ink); margin-top: 8px; }
.auth-tabs[hidden] { display: none; }
.auth-tabs button { background: none; border: 0; padding: 10px 16px 10px 0; margin-right: 16px; font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ash); cursor: pointer; position: relative; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); }
.auth-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); }
.auth-form { display: grid; gap: 14px; }
.auth-form[hidden], .auth-note[hidden] { display: none; }
.auth-form label { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.auth-form input { font: 400 17px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 0; padding: 11px 12px; text-transform: none; letter-spacing: 0; }
.auth-form input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form .btn { justify-self: start; margin-top: 4px; }
.auth-form button.btn[disabled] { opacity: .6; cursor: progress; }
.auth-error { color: #A12B1E; font-size: 15px; }
.auth-error:empty { display: none; }
.auth-note { color: var(--ash); }
@media (max-width: 480px) { .auth-row { grid-template-columns: 1fr; } }

/* LT Dojo opening: fusuma (navy, gold handles) slide apart, then the shoji (paper and wooden lattice) behind them */
.dojo-doors { position: fixed; inset: 0; z-index: 10000; pointer-events: none; overflow: hidden;
  animation: doors-done 0s linear 2.1s forwards; }
.door { position: absolute; top: 0; bottom: 0; width: 50.2%; }
.door-l { left: 0; }
.door-r { right: 0; }
.fusuma { background-color: var(--navy);
  background-image: radial-gradient(rgba(238, 167, 52, .16) 1px, transparent 1.4px), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .18));
  background-size: 22px 22px, 100% 100%; border: 8px solid #111; }
.fusuma.door-l { border-right-width: 4px; animation: door-open-l 1s cubic-bezier(.65, 0, .25, 1) .35s forwards; }
.fusuma.door-r { border-left-width: 4px; animation: door-open-r 1s cubic-bezier(.65, 0, .25, 1) .35s forwards; }
.fusuma-word { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(44px, 9vw, 120px); line-height: 1; color: var(--gold); white-space: nowrap; }
.door-l .fusuma-word { right: clamp(22px, 4vw, 48px); }
.door-r .fusuma-word { left: clamp(22px, 4vw, 48px); }
/* round recessed door pulls near the seam */
.hikite { position: absolute; top: calc(50% + clamp(56px, 8vw, 96px)); width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--gold); background: radial-gradient(circle, #071a44 45%, #0A2155 46%); }
.door-l .hikite { right: 26px; }
.door-r .hikite { left: 26px; }
.shoji { background-color: #F4EFE3; border: 10px solid #6E4F31;
  background-image: linear-gradient(90deg, #8B6A47 3px, transparent 3px), linear-gradient(#8B6A47 3px, transparent 3px);
  background-size: 33.4% 12.5%; background-position: -1px -1px; }
.shoji.door-l { animation: door-open-l 1s cubic-bezier(.65, 0, .25, 1) .95s forwards; }
.shoji.door-r { animation: door-open-r 1s cubic-bezier(.65, 0, .25, 1) .95s forwards; }
@keyframes door-open-l { to { transform: translateX(-102%); } }
@keyframes door-open-r { to { transform: translateX(102%); } }
@keyframes doors-done { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .dojo-doors { display: none; } }

/* ---------- Three Pillars of Wealth pages (generated by tools/make-pillar-pages.ps1) ---------- */
.pp-hero .cbe-title { font-size: clamp(38px, 5vw, 68px); max-width: 22ch; }
a.pp-side-group { text-decoration: none; }
a.pp-side-group:hover { color: var(--navy); }
a.pp-side-group[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.pp-side { position: sticky; top: calc(var(--nav-h) + 24px); border-top: 3px solid var(--navy); padding-top: 14px; font-size: 15px; }
.pp-side ul { list-style: none; margin: 6px 0 0; padding: 0; }
.pp-side li a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule); color: var(--ash); text-decoration: none; line-height: 1.35; }
.pp-side li a:hover { color: var(--navy); border-left-color: var(--navy); }
.pp-side li a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--gold); }
.pp-side-group { margin-top: 18px; font-family: var(--serif); font-size: 18px; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.pp-side-group span { font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.pp-body { min-width: 0; max-width: 74ch; }
.pp-body > :first-child { margin-top: 0; }
.pp-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--nav-h) + 16px); }
.pp-body h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 28px; color: var(--navy); }
.pp-body p { margin-top: 14px; color: var(--ink); }
.pp-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pp-list li { padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ash); }
.pp-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; background: var(--gold); }
.pp-list strong, .pp-steps strong { color: var(--ink); font-weight: 600; }
.pp-steps { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--rule); }
.pp-steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ash); }
.pp-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--gold-ink); padding-top: 3px; }
.pp-example { border-left: 3px solid var(--gold); background: var(--paper); padding: 12px 16px; font-family: var(--serif); font-style: italic; color: var(--navy) !important; }
.pp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.pp-pillar { display: grid; gap: 6px; padding: 18px 18px 20px; background: var(--navy); color: var(--on-navy); text-decoration: none; border-top: 3px solid var(--gold); transition: transform .15s, background .15s; }
.pp-pillar:hover { background: var(--navy-deep); transform: translateY(2px); }
.pp-roman { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.pp-pillar-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.pp-pillar-note { font-size: 14px; color: var(--on-navy-2); }
.pp-reis { margin-top: 16px; }
.pp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ink); }
.pp-pager a { display: grid; gap: 4px; text-decoration: none; font-family: var(--serif); font-size: 18px; color: var(--navy); }
.pp-pager a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pp-next { text-align: right; justify-items: end; }
.pp-pager .mono-label { color: var(--ash); }
@media (max-width: 960px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp-side { position: static; }
  .pp-pillars { grid-template-columns: minmax(0, 1fr); }
}

/* Squirrel Brain vs. Rat Brain (tools/make-article-page.ps1) */
.rsb-callout p { margin-top: 8px; color: inherit; }
.rsb-callout p:first-child { margin-top: 0; }
.rsb-duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0; margin: 32px 0 8px; border: 1px solid var(--ink); background: #fff; }
.rsb-card { margin: 0; padding: 20px 22px 24px; display: grid; grid-template-rows: auto 1fr; }
.rsb-card img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; justify-self: center; }
.rsb-card figcaption { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 8px; }
.rsb-word { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 4px 0 8px; }
.rsb-rat .rsb-word { color: var(--ash); }
.rsb-squirrel .rsb-word { color: var(--navy); }
.rsb-squirrel { background: var(--paper); border-left: 1px solid var(--ink); }
.rsb-rat { border-right: 1px solid var(--ink); }
.rsb-squirrel .mono-label { color: var(--gold-ink); }
.rsb-card ul { list-style: none; margin: 0; padding: 0; }
.rsb-card li { padding: 6px 0 6px 18px; position: relative; font-size: 15px; color: var(--ash); line-height: 1.4; }
.rsb-card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; background: var(--rule); }
.rsb-squirrel li::before { background: var(--gold); }
.rsb-vs { align-self: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); padding: 0 14px; }
.rsb-loop { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: l; }
.rsb-loop li { counter-increment: l; position: relative; padding: 16px 18px 18px; background: var(--navy); color: var(--on-navy); border-top: 3px solid var(--gold); display: grid; gap: 6px; align-content: start; }
.rsb-loop li + li { border-left: 1px solid var(--navy-rule); }
.rsb-loop li .mono-label { color: var(--gold); }
.rsb-loop li .mono-label::before { content: counter(l, decimal-leading-zero) "  "; white-space: pre; }
.rsb-loop strong { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.3; }
.rsb-loop li:not(:last-child)::after { content: "\2192"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; width: 18px; height: 18px; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 12px; line-height: 1; }
.rsb-lucas { margin: 24px 0 8px; border: 1px solid var(--ink); }
.rsb-lucas img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .rsb-duel { grid-template-columns: minmax(0, 1fr); }
  .rsb-rat { border-right: 0; }
  .rsb-squirrel { border-left: 0; border-top: 1px solid var(--ink); }
  .rsb-vs { justify-self: center; padding: 10px 0; border-top: 1px solid var(--ink); width: 100%; text-align: center; }
  .rsb-loop { grid-template-columns: minmax(0, 1fr); }
  .rsb-loop li + li { border-left: 0; border-top: 1px solid var(--navy-rule); }
  .rsb-loop li:not(:last-child)::after { content: "\2193"; right: 50%; top: auto; bottom: -9px; transform: translateX(50%); }
}

/* Home pillars section: links into the Three Pillars pages */
#pillars .ruled td a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--navy-rule); }
#pillars .ruled td a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.pil-more { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.pil-more a { color: var(--gold); text-decoration: none; }
.pil-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pil-more a::after { content: " →"; }

/* Menu bar: the 5 main programs + ToS/Privacy, with a Menu button (left) that opens a panel of every other page.
   On small screens the panel's links simply list under the programs in the folded menu. */
.nav-bar { position: relative; }
.nav-bar li.nav-more { position: static; }
.nav-more-btn { display: flex; align-items: center; gap: 10px; height: 100%; margin-right: 10px; padding: 0 18px 0 0; border: 0; border-right: 1px solid var(--navy-rule);
  background: none; color: var(--on-navy); font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.nav-more-icon { width: 14px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; transition: transform .15s; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"], .nav-more-btn.is-current { color: var(--gold); }
.nav-more-btn[aria-expanded="true"] .nav-more-icon { transform: scaleX(1.2); }
.nav-more-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 70;
  padding: 24px max(32px, calc((100% - var(--max)) / 2)) 28px; background: var(--navy-deep); border-top: 3px solid var(--gold);
  box-shadow: 0 18px 30px -16px rgba(5, 15, 40, .7); grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 48px; }
.nav-more-panel.open { display: grid; }
.nav-bar li.nav-more .nav-more-panel a { display: block; width: auto; height: auto; padding: 6px 0; border: 0; font-family: var(--sans); font-size: 14.5px; font-weight: 400;
  letter-spacing: 0; text-transform: none; white-space: normal; color: var(--on-navy-2); }
.nav-bar li.nav-more .nav-more-panel a::after { display: none; }
.nav-bar li.nav-more .nav-more-panel a:hover, .nav-bar li.nav-more .nav-more-panel a[aria-current="page"] { color: #fff; }
.nav-bar li.nav-more .nav-more-panel a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 10px; }
.nav-more-head { display: flex; gap: 10px; align-items: baseline; margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.nav-more-head span { color: var(--on-navy-2); }
.nav-more-col a + .nav-more-head { margin-top: 18px; }
@media (max-width: 1270px) {
  .nav-bar li.nav-more { order: 10; display: block; border-top: 1px solid var(--navy-rule); padding: 14px 0 6px; }
  .nav-bar li.nav-legal { order: 20; }
  .nav-more-btn { display: none; }
  .nav-more-panel, .nav-more-panel.open { display: grid; position: static; padding: 0; background: none; border: 0; box-shadow: none;
    grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nav-more-col a + .nav-more-head { margin-top: 10px; }
}
/* ---------- Speaker page ---------- */
.spk-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; }
.spk-hero .cbe-title { font-size: clamp(38px, 5vw, 70px); }
.spk-photo { margin: 0; justify-self: center; width: min(100%, 320px); }
.spk-photo img { display: block; width: 100%; height: auto; aspect-ratio: 599 / 625; object-fit: cover; border-bottom: 3px solid var(--gold); box-shadow: 14px 14px 0 -2px var(--navy); }
.spk-photo figcaption { margin-top: 26px; font-family: var(--serif); font-size: 18px; display: grid; gap: 2px; }
.spk-photo figcaption .mono-label { color: var(--gold-ink); }
.spk-programs { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.spk-program { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.spk-num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); padding-top: 8px; }
.spk-program h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.spk-program h3 em { color: var(--navy); }
.spk-program p { margin-top: 12px; color: var(--ash); max-width: 72ch; }
.spk-more a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.spk-more a::after { content: " →"; }
.spk-brothers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.spk-brothers li { background: var(--paper); border-top: 3px solid var(--navy); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 0 0 16px; }
.spk-brothers li:last-child { border-top-color: var(--gold); }
.spk-brothers img { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin-bottom: 12px; }
.spk-rank { grid-row: 2 / span 2; padding-left: 16px; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold-ink); }
.spk-who { font-family: var(--serif); font-size: 19px; line-height: 1.2; padding-right: 16px; }
.spk-job { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); padding-right: 16px; }
@media (max-width: 860px) {
  .spk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .spk-photo { justify-self: start; width: min(100%, 280px); }
  .spk-program { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .spk-num { padding-top: 0; }
}
@media (max-width: 620px) { .spk-brothers { grid-template-columns: minmax(0, 1fr); } }

/* Menu button sits at the right end of the bar, after ToS/Privacy; short dividers separate the 5 programs */
@media (min-width: 1271px) {
  .nav-bar li.nav-more { order: 30; }
  .nav-more-btn { margin: 0 0 0 14px; padding: 0 0 0 18px; border-right: 0; border-left: 1px solid var(--navy-rule); }
  .nav-bar li.nav-main + li.nav-main::before { content: ""; align-self: center; width: 1px; height: 18px; background: var(--on-navy-2); opacity: .45; }
  .nav-bar li.nav-main:first-of-type a, .nav-bar li.nav-more + li.nav-main a { padding-left: 0; }
  .nav-bar li.nav-more + li.nav-main a::after { left: 0; }
  .nav-bar .nav-legal:last-of-type a { padding-right: 10px; }
  .nav-bar .nav-legal:last-of-type a::after { right: 10px; }
}

/* ---------- Testimonials (testimonials.html, also used on services.html) ---------- */
.tst-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.tst-video { border: 1px solid var(--ink); background: var(--navy); box-shadow: 14px 14px 0 -2px var(--gold); }
.tst-feature-quote { margin: 0; }
.tst-feature-quote > .mono-label { color: var(--gold-ink); }
.tst-feature-quote .sec-title { margin-top: 8px; }
.tst-feature-quote blockquote { margin: 18px 0 0; padding-left: 16px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--navy); }
.tst-feature-quote figcaption, .tst-who { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.tst-feature-quote figcaption::before, .tst-who::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.tst-quotes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tst-quotes li { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 24px 22px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--navy); }
.tst-quotes li::before { content: "\201C"; position: absolute; top: 2px; left: 18px; font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--gold); }
.tst-quotes blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); }
.tst-quotes strong { color: var(--navy); font-weight: 600; }
.tst-more { margin-top: 28px; }
.tst-more a { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.tst-more a::after { content: " \2192"; }
@media (max-width: 860px) {
  .tst-feature { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tst-quotes { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Services (services.html) ---------- */
.svc-photo img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.svc-hero-lede + .cbe-lede { margin-top: 14px; }
.spk-hero .cbe-lede + .cbe-lede { margin-top: 14px; }
.svc-days { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: d; }
.svc-days li { counter-increment: d; padding: 18px 20px 20px 0; position: relative; }
.svc-days li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.svc-days li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); border: 2px solid var(--paper-2); }
.svc-days li + li::before { left: 20px; }
.svc-days .mono-label { color: var(--gold-ink); }
.svc-days .mono-label::after { content: " " counter(d); }
.svc-days h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 4px; }
.svc-days p { margin-top: 6px; color: var(--ash); font-size: 15px; }
.svc-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); }
.svc-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--gold); }
.svc-card-body { padding: 18px 20px 22px; }
.svc-card-body .mono-label { color: var(--gold-ink); }
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 6px; }
.svc-card h3 a { color: inherit; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.svc-card p { margin-top: 10px; color: var(--ash); font-size: 15px; }
.svc-card p a { color: var(--navy); }
.svc-special { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-cta { margin-top: 44px; padding: 26px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--navy); color: var(--on-navy); border-top: 3px solid var(--gold); }
.svc-cta p { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.svc-cta em { color: var(--gold); }
.svc-history { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.svc-history p { margin-top: 16px; color: var(--ash); max-width: 62ch; }
.svc-history h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-top: 28px; color: var(--navy); }
.svc-realms { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-realms li { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--navy); color: var(--navy); }
.svc-realms li:last-child { background: var(--navy); color: #fff; }
.svc-history-img { margin: 0; }
.svc-history-img img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 860; object-fit: cover; border-bottom: 3px solid var(--gold); box-shadow: 14px 14px 0 -2px var(--navy); }
.svc-traits-title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--ink); }
.svc-traits { margin-top: 24px; }
@media (max-width: 1000px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-days li:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc-days li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .svc-days li:nth-child(3)::before { left: 0; }
}
@media (max-width: 860px) {
  .svc-history { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .svc-history-img { max-width: 360px; }
  .svc-special { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .svc-cards, .svc-days { grid-template-columns: minmax(0, 1fr); }
  .svc-days li, .svc-days li + li { padding-left: 0; border-left: 0; }
  .svc-days li + li { border-top: 1px solid var(--rule); }
  .svc-days li::before, .svc-days li + li::before { left: auto; right: 0; top: 22px; }
}

/* ---------- Testimonial slider (js/testimonials.js) ---------- */
.tsl { max-width: 900px; margin: 0 auto; }
.tsl-stage { position: relative; }  /* only the showing slide takes up room; the others sit on top of it, hidden */
.tsl-slide { position: absolute; top: 0; left: 0; right: 0; display: grid; gap: 28px; align-content: start; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s; }
.tsl-slide.is-before { transform: translateX(-28px); }
.tsl-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.tsl-quote { margin: 0; padding: 26px 30px 22px; background: #fff; border: 3px solid var(--navy); box-shadow: 8px 8px 0 -1px var(--gold); text-align: center; }
.tsl-quote blockquote { margin: 0; }
.tsl-quote p { font-family: var(--serif); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; color: var(--ink); }
.tsl-quote figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.tsl-quote figcaption::before, .tsl-quote figcaption::after { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--gold); vertical-align: middle; margin: 0 10px; }
.tsl-video { border: 1px solid var(--ink); background: var(--navy); }
.tsl-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: start; }
.tsl-story-wide { grid-template-columns: minmax(0, 1fr); max-width: 72ch; margin: 0 auto; }
.tsl-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--gold); box-shadow: 12px 12px 0 -2px var(--navy); }
.tsl-story-text .mono-label { color: var(--gold-ink); }
.tsl-story-text p { margin-top: 12px; color: var(--ash); }
.tsl-controls { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.tsl-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: 18px; cursor: pointer; transition: background .15s, color .15s; }
.tsl-arrow:hover, .tsl-arrow:focus-visible { background: var(--navy); color: #fff; }
.tsl-arrow:focus-visible, .tsl-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tsl-dots { display: flex; gap: 4px; }
.tsl-dot { width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.tsl-dot::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transition: transform .15s; }
.tsl-dot:hover::before { transform: scale(1.3); }
.tsl-dot[aria-current="true"]::before { width: 10px; height: 10px; background: transparent; border: 2px solid var(--gold); }
.tsl-count { flex-basis: 100%; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ash); }
.tsl-section-head { text-align: center; margin-bottom: 32px; }
.tsl-section-head .mono-label { color: var(--gold-ink); }
.tsl-section-head .sec-title { margin-top: 8px; }
@media (max-width: 700px) {
  .tsl-story { grid-template-columns: minmax(0, 1fr); }
  .tsl-photo { max-width: 260px; }
  .tsl-quote { padding: 22px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .tsl-slide, .tsl-slide.is-active { transition: none; transform: none; } }
.tst-more-center { text-align: center; }
.tst-pull { margin: 0 auto; max-width: 780px; text-align: center; }
.tst-pull blockquote { margin: 0; }
.tst-pull p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.35; color: var(--ink); }
.tst-pull strong { color: var(--navy); font-weight: 400; font-style: italic; }
.tst-pull figcaption { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.tst-pull figcaption::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
