/* 79 Pixels — design A, "Gallery-led dark".
   One stylesheet for every page. Mobile first; every page reads fully without JavaScript. */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/fraunces-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap;
  src: url(../fonts/fraunces-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }


/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #080b10;
  --bg-2: #0c1017;
  --bg-3: #05070a;
  --card: #10151e;
  --card-2: #151c28;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f1ea;
  --muted: #b0b7c3;
  --faint: #8f98a8;
  --gold: #e2b563;
  --gold-hi: #f1cd8a;
  --gold-lo: #b38a45;
  --ink: #17120a;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --maxw: 1240px;
  --wide: 1480px;
  --gut: clamp(20px, 4.4vw, 56px);
  --sec: clamp(84px, 9vw, 136px);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-hi); }
main p a, main li a, main td a, main dd a { text-decoration-color: rgba(226, 181, 99, 0.5); }
main p a:hover, main li a:hover, main td a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(226, 181, 99, 0.35); color: #fff; }
[id] { scroll-margin-top: calc(var(--hdr-h) + 20px); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -0.018em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 1.45rem + 4.3vw, 5.5rem); letter-spacing: -0.028em; line-height: 1.02; }
h2 { font-size: clamp(2.05rem, 1.4rem + 2.7vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); line-height: 1.18; font-weight: 450; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em, .quote em { font-style: italic; font-weight: 350; color: var(--gold); }
p { color: var(--muted); text-wrap: pretty; }
p strong, li strong, td strong, dd strong { color: var(--text); font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); line-height: 1.6; color: #c9cfd8; max-width: 38em; }
q { color: #e7e2d6; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section-tight { padding-block: calc(var(--sec) * 0.62); }
.section.read { padding-top: clamp(52px, 6vw, 92px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: 0.8; }
.kicker-rule { display: flex; }
.kicker-rule::before { width: 44px; }
.kicker-long { letter-spacing: 0.12em; line-height: 1.75; align-items: baseline; max-width: 62em; }
.kicker-long::before { transform: translateY(-0.28em); }

.head { display: grid; gap: 20px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { max-width: 17ch; }
.head-solo h2 { max-width: 22ch; }
.head p { max-width: 34em; }
@media (min-width: 900px) {
  .head { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .head-solo { grid-template-columns: 1fr; }
  .head p { justify-self: end; }
}
.h-sub { font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.7rem); margin-bottom: 18px; }
.h-card { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); line-height: 1.18; margin-bottom: 12px; }
.fine { margin-top: 28px; font-size: 0.92rem; max-width: 62em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center;
  background: var(--gold); color: var(--ink); border: 1px solid var(--gold);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 8px 28px -12px rgba(226, 181, 99, 0.55);
}
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); transform: translateY(-1px); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: rgba(8, 11, 16, 0.28); color: var(--text); border-color: rgba(255, 255, 255, 0.4); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--gold); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header::before { /* legibility shade over photo heroes: dark enough behind the
  links for 4.5:1 over a white sky (review 2026-09-29), fading out below the header */
  content: ""; position: absolute; inset: 0 0 -64px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.84) 0%, rgba(5, 7, 10, 0.76) 50%, rgba(5, 7, 10, 0.3) 76%, rgba(5, 7, 10, 0) 100%);
  transition: opacity .3s;
}
.site-header.is-solid, html:not(.js) .site-header { background: rgba(8, 11, 16, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.js .site-header.is-solid::before { opacity: 0; }
.hdr { display: flex; align-items: center; gap: 16px; min-height: var(--hdr-h); max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--gold); }
.menu ul { list-style: none; display: flex; }
.menu a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap; text-shadow: 0 1px 10px rgba(5, 7, 10, 0.6); }
.menu a:hover { color: var(--gold-hi); }
.menu a[aria-current] { color: var(--gold-hi); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-pay { min-height: 42px; padding: 9px 20px; font-size: 0.93rem; }
.btn-pay svg { width: 16px; height: 16px; }
.btn-pay[aria-current] { box-shadow: 0 0 0 3px rgba(226, 181, 99, 0.28); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8, 11, 16, 0.35); color: var(--text); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn i:first-of-type { top: 18px; }
.menu-btn i:last-of-type { top: 26px; }
.menu-open .menu-btn i:first-of-type { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-of-type { top: 22px; transform: rotate(-45deg); }

@media (min-width: 1060px) {
  .menu ul { gap: clamp(18px, 2vw, 32px); margin-right: 18px; }
  .menu a { position: relative; padding-block: 8px; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
}
@media (max-width: 1059.98px) {
  :root { --hdr-h: 64px; }
  .brand { font-size: 1.28rem; }
  .brand img { width: 30px; height: 30px; }
  /* no JavaScript: every link stays visible, in rows under the logo; the
     header takes its own space above the photograph */
  .menu { order: 3; flex-basis: 100%; padding: 0 0 14px; }
  .menu ul { flex-wrap: wrap; gap: 8px; }
  .menu a { display: block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; background: rgba(8, 11, 16, 0.45); text-shadow: none; }
  .hdr { flex-wrap: wrap; }
  html:not(.js) .hdr { padding-top: 12px; row-gap: 12px; }
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .site-header::before { display: none; }
  /* JavaScript: burger + panel */
  .js .menu-btn { display: inline-block; }
  .js .hdr { flex-wrap: nowrap; }
  .js .menu {
    position: fixed; inset: var(--hdr-h) 0 auto 0; margin: 0; padding: 12px var(--gut) 28px;
    background: rgba(8, 11, 16, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); overflow: visible;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .js .menu ul { flex-direction: column; gap: 0; }
  .js .menu a { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 16px 2px; font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
  .js.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .js.menu-open .site-header { background: rgba(8, 11, 16, 0.97); }
}
@media (max-width: 420px) {
  .btn-pay { padding: 9px 16px; }
  .brand { font-size: 1.18rem; gap: 9px; }
}

/* ---------- credit chip ---------- */
.chip {
  position: absolute; z-index: 4; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 28px);
  padding: 5px 11px 5px 7px; border-radius: 999px;
  font: 500 0.72rem/1.3 var(--sans); letter-spacing: 0.01em; color: #fff; text-decoration: none;
  background: rgba(6, 8, 12, 0.66); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: background .2s, border-color .2s, opacity .25s;
}
a.chip:hover { color: #fff; background: rgba(6, 8, 12, 0.88); border-color: rgba(226, 181, 99, 0.6); }
.chip svg { flex: none; width: 14px; height: 14px; opacity: 0.9; }
.chip .nw { white-space: nowrap; } /* a wrapped chip breaks before the licence, never inside it */

/* ---------- media helpers ---------- */
.media { position: relative; overflow: hidden; background: var(--avg, #1a202b); }
.media > picture, .media > picture > img { width: 100%; height: 100%; }
.media > picture > img { object-fit: cover; object-position: var(--pos, 50% 50%); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; }
.hero-page { min-height: clamp(580px, 78vh, 860px); min-height: clamp(580px, 78svh, 860px); }
.hero > .media { position: absolute; inset: 0; z-index: -2; }
.hero > .media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 16, 0.78) 26%, rgba(8, 11, 16, 0.08) 62%),
    linear-gradient(90deg, rgba(8, 11, 16, 0.8) 0%, rgba(8, 11, 16, 0.5) 45%, rgba(8, 11, 16, 0) 78%);
}
.hero-page > .media::after {
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 16, 0.84) 30%, rgba(8, 11, 16, 0.2) 70%, rgba(8, 11, 16, 0.1) 100%),
    linear-gradient(90deg, rgba(8, 11, 16, 0.84) 0%, rgba(8, 11, 16, 0.55) 45%, rgba(8, 11, 16, 0) 80%);
}
.hero-inner { width: 100%; padding-top: calc(var(--hdr-h) + 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
.hero-page h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.8rem); max-width: 16ch; }
.hero h1 em { display: block; }
.hero .lede { margin-top: clamp(18px, 2vw, 28px); text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5); }
.hero .btn-row { margin-top: clamp(28px, 3vw, 40px); }
.hero > .chip { bottom: clamp(40px, 5vw, 72px); right: var(--gut); z-index: 3; }
@media (min-width: 1060px) {
  /* desktop: the chip keeps the bottom-right corner; the trust row stops short of it */
  .hero .hero-meta { max-width: min(1000px, calc(100% - 250px)); }
}
@media (max-width: 1059.98px) {
  /* tablet: the title runs wide, so the chip moves to the top corner */
  .hero > .chip { top: calc(var(--hdr-h) + 16px); bottom: auto; }
  html:not(.js) .hero > .chip { top: 16px; }
}
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 1000px; }
.hero-meta li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: #c3c9d2; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.page-meta { margin-top: 20px; font-size: 0.86rem; color: #c3c9d2; }
.page-meta strong { color: var(--text); font-weight: 600; }
.crumbs { font-size: 0.88rem; margin-bottom: 16px; color: #c3c9d2; }
.crumbs a { color: #e3ded2; text-decoration: none; border-bottom: 1px solid rgba(226, 181, 99, 0.55); padding-bottom: 1px; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs::after { content: "\203A"; margin-left: 8px; color: var(--gold); }
.ref-card { display: flex; gap: 16px; align-items: flex-start; margin-top: clamp(26px, 3vw, 36px); padding: 18px 20px; max-width: 600px; border-radius: var(--r); background: rgba(8, 11, 16, 0.55); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ref-card svg { flex: none; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.ref-card p { color: #d4d9e1; font-size: 0.97rem; line-height: 1.55; }

@media (max-width: 699.98px) {
  /* phone: the photograph gets the top of the screen, the words sit on its faded lower edge */
  .hero, .hero-page { min-height: 0; }
  .hero > .media { inset: 0 0 auto 0; height: 66svh; min-height: 440px; }
  .hero-page > .media { height: 52svh; min-height: 360px; }
  .hero > .media > picture > img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .hero > .media::after, .hero-page > .media::after {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 16, 0.7) 26%, rgba(8, 11, 16, 0) 58%),
      linear-gradient(180deg, rgba(8, 11, 16, 0.45) 0%, rgba(8, 11, 16, 0) 22%);
  }
  .hero-inner { padding-top: max(44svh, 300px); padding-bottom: 48px; }
  .hero-page .hero-inner { padding-top: max(33svh, 250px); padding-bottom: 40px; }
  .hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero > .chip { top: calc(var(--hdr-h) + 12px); bottom: auto; right: 12px; }
  html:not(.js) .hero > .chip { top: 12px; }
  .hero-meta { gap: 12px; }
  .hero-meta li { flex: 1 1 100%; }
  .kicker-long { font-size: 0.7rem; }
}

/* ---------- intro strip + doors (image-backed cards) ---------- */
.intro { padding-bottom: clamp(56px, 6vw, 88px); }
.doors { display: grid; gap: clamp(14px, 1.6vw, 22px); }
@media (min-width: 800px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(360px, 34vw, 500px); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.door > .media { position: absolute; inset: 0; z-index: -1; }
.door .media img { transition: transform 1.2s var(--ease); }
.door:hover .media img { transform: scale(1.04); }
.door > .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 8, 12, 0.94) 0%, rgba(6, 8, 12, 0.7) 32%, rgba(6, 8, 12, 0.1) 70%); }
.door-body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 20px; padding: clamp(26px, 3vw, 44px); }
.door h3 { grid-column: 1; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); line-height: 1.04; }
.door h3 a { color: inherit; text-decoration: none; }
.door h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.door h3 a:focus-visible { outline: none; }
.door:has(h3 a:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.door p { grid-column: 1; margin-top: 6px; color: #d5dae2; font-size: 1.05rem; }
.door .go { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(226, 181, 99, 0.6); color: var(--gold); background: rgba(8, 11, 16, 0.4); transition: transform .3s var(--ease), background .2s; }
.door .go svg { width: 22px; height: 22px; }
.door:hover .go { transform: translateX(4px); background: rgba(226, 181, 99, 0.16); }
.door > .chip { z-index: 5; top: 16px; right: 16px; bottom: auto; }
@media (max-width: 799.98px) {
  .door { min-height: 0; background: var(--card); justify-content: flex-start; }
  .door > .media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .door > .media::after { background: linear-gradient(0deg, var(--card) 0%, rgba(16, 21, 30, 0) 50%); }
  .door-body { padding: 4px 22px 26px; }
  .door > .chip { top: 12px; right: 12px; }
}

/* ---------- link tiles ---------- */
.tiles { display: grid; gap: 12px; margin-top: clamp(12px, 1.6vw, 22px); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); } .tiles-2 { grid-template-columns: repeat(2, 1fr); } }
.tile {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 24px 28px; border-radius: var(--r-lg); text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.tile:hover { color: var(--text); border-color: rgba(226, 181, 99, 0.55); background: var(--card-2); transform: translateY(-2px); }
.tile strong { font-family: var(--display); font-weight: 450; font-size: 1.5rem; line-height: 1.2; }
.tile span { grid-column: 1; font-size: 0.95rem; color: var(--muted); }
.tile .arr { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); transition: transform .25s var(--ease), background .2s; }
.tile .arr svg { width: 18px; height: 18px; }
.tile:hover .arr { transform: translateX(3px); background: rgba(226, 181, 99, 0.12); }
.tile.primary { background: linear-gradient(135deg, rgba(226, 181, 99, 0.18), rgba(226, 181, 99, 0.04)), var(--card); border-color: rgba(226, 181, 99, 0.5); }

/* ---------- three steps (image + text) ---------- */
.steps3 { display: grid; gap: 40px clamp(20px, 2.4vw, 36px); }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step3 .media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.step3 .media img { transition: transform 1.2s var(--ease); }
.step3:hover .media img { transform: scale(1.035); }
.step3 .num { display: block; margin: 26px 0 6px; font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold); letter-spacing: 0.02em; }
.step3 h3 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); }
.step3 p { margin-top: 12px; }
@media (min-width: 760px) {
  .step3:nth-child(2) { margin-top: 56px; }
  .step3:nth-child(3) { margin-top: 112px; }
}
@media (max-width: 759.98px) { .step3 .media { aspect-ratio: 16 / 11; } }

/* ---------- full-bleed photo band ---------- */
.band { position: relative; isolation: isolate; min-height: clamp(460px, 72vh, 740px); display: flex; align-items: center; overflow: hidden; }
.band > .media { position: absolute; inset: 0; z-index: -1; }
.band > .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 11, 16, 0.92) 0%, rgba(8, 11, 16, 0.8) 42%, rgba(8, 11, 16, 0.3) 72%, rgba(8, 11, 16, 0.08) 100%), linear-gradient(0deg, rgba(8, 11, 16, 0.55), rgba(8, 11, 16, 0) 30%), linear-gradient(180deg, rgba(8, 11, 16, 0.55), rgba(8, 11, 16, 0) 28%); }
.band-inner { width: 100%; padding-block: clamp(80px, 10vw, 140px); }
.quote { font-family: var(--display); font-weight: 350; font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.022em; color: var(--text); max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.quote em { display: block; }
.quote.em-inline em { display: inline; }
.quote-sm { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.7rem); line-height: 1.22; max-width: 26ch; }
.quote-sm a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.band .sub { margin-top: 22px; max-width: 36em; color: #d3d8e0; font-size: 1.08rem; }
.band .sub a { color: var(--gold-hi); }
.band .btn-row { margin-top: 32px; }
.band > .chip { bottom: 20px; right: var(--gut); z-index: 2; }
.band-gallery { min-height: clamp(520px, 80vh, 820px); }
@media (max-width: 699.98px) {
  .band { min-height: 0; flex-direction: column; align-items: stretch; }
  .band > .media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; }
  .band > .media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 16, 0) 45%); }
  .band-inner { padding-block: 0 72px; margin-top: -64px; position: relative; z-index: 1; }
  .band > .chip { top: 12px; bottom: auto; right: 12px; }
  .band .btn-row .btn { flex: 1 1 100%; }
  .quote { max-width: none; }
  .band-gallery .band-inner { padding-bottom: 56px; }
}

/* ---------- justified gallery ---------- */
.gallery-sec { background: var(--bg-3); border-block: 1px solid var(--line); }
.gallery-block .gallery-sec { padding-block: clamp(20px, 2.4vw, 36px) clamp(64px, 7vw, 104px); border-top: 0; }
.jg { --row: 128px; --gap: 6px; display: flex; flex-wrap: wrap; gap: var(--gap); }
.jg::after { content: ""; flex: 1000 1 0; }
@media (min-width: 600px) { .jg { --row: 200px; --gap: 8px; } }
@media (min-width: 1100px) { .jg { --row: 265px; --gap: 10px; } }
.jg-item {
  container-type: inline-size;
  position: relative; overflow: hidden; margin: 0; border-radius: 6px;
  flex: var(--ar) 1 calc(var(--ar) * var(--row)); aspect-ratio: var(--ar);
  background: var(--avg, #1a202b); cursor: zoom-in;
}
@media (min-width: 600px) { .jg-item { border-radius: 8px; } }
.jg-item picture, .jg-item img { width: 100%; height: 100%; }
.jg-item img { object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.jg-item .chip { left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); font-size: 0.66rem; padding: 3px 8px 3px 5px; gap: 5px; white-space: normal; border-radius: 8px; }
.jg-item .chip svg { width: 12px; height: 12px; }
@container (max-width: 210px) { .jg-item .chip svg { display: none; } .jg-item .chip { padding-left: 8px; } }
.jg-item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 5; padding: 44px 16px 14px;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.72) 55%, rgba(5, 7, 10, 0) 100%);
  transition: opacity .3s, transform .35s var(--ease);
  display: grid; gap: 3px; cursor: auto;
}
/* The caption (title + credit) shows on hover or keyboard focus, and with
   JavaScript on a tap. On a touch screen without JavaScript it stays visible
   and stands in for the chip. */
@media (hover: hover) {
  .jg-item:hover img, .jg-item.is-open img { transform: scale(1.035); }
  .jg-item:not(:hover):not(:focus-within):not(.is-open) figcaption { opacity: 0; transform: translateY(8px); pointer-events: none; }
  .jg-item:hover .chip { opacity: 0; }
}
@media (hover: none) {
  .jg-item.is-open img { transform: scale(1.035); }
  .js .jg-item:not(.is-open):not(:focus-within) figcaption { opacity: 0; transform: translateY(8px); pointer-events: none; }
  html:not(.js) .jg-item .chip { display: none; }
}
/* phones without JavaScript: the caption (which carries the credit) stays up and replaces the chip */
@media (max-width: 599.98px) { .jg-item picture { display: block; } html:not(.js) .jg-item .chip { display: none; } }
.js .jg-item:focus-within .chip, .js .jg-item.is-open .chip { opacity: 0; }
.jg-item .cap-title { font-family: var(--display); font-size: 1.06rem; line-height: 1.25; color: #fff; text-decoration: none; font-weight: 450; }
.jg-item .cap-title:hover { color: var(--gold-hi); text-decoration: underline; }
.jg-item .cap-credit { font-size: 0.76rem; color: #d7dce3; }
.jg-item .cap-credit a { color: var(--gold-hi); }
@media (max-width: 599.98px) {
  /* phone: two-column masonry, every photograph full column width and uncropped */
  .jg { display: block; columns: 2; column-gap: var(--gap); }
  .jg::after { display: none; }
  .jg-item { display: block; width: 100%; margin: 0 0 var(--gap); break-inside: avoid; }
  .jg-item .chip { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 0.6rem; letter-spacing: 0; padding: 3px 6px; }
  .jg-item .chip svg { display: none; }
  .jg-item.jg-chip-top .chip { top: 6px; bottom: auto; }   /* subject low in the frame: the chip rides on the sky */
  .jg-item figcaption { padding: 18px 8px 7px; gap: 1px; }
  .jg-item .cap-title { font-size: 0.86rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .jg-item .cap-credit { font-size: 0.68rem; line-height: 1.4; }
}
@media (max-width: 359.98px) {
  /* the widest panoramas are too short here for two lines: the credit stays */
  .jg-item.jg-pano .cap-title { display: none; }
  .jg-item.jg-pano figcaption { padding-top: 12px; }
}

/* ---------- split ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } .split.flip { grid-template-columns: 6fr 5fr; } .split.flip > :first-child { order: 2; } }
.split .media { border-radius: var(--r-lg); aspect-ratio: 4 / 5; }
.split .media.tall { aspect-ratio: 2 / 3; }
.split h2 { max-width: 14ch; margin-bottom: 24px; }
.split p + p { margin-top: 16px; }
.split .btn-row { margin-top: 32px; }
@media (max-width: 899.98px) { .split .media, .split .media.tall { aspect-ratio: 4 / 3.4; } }

.ticks { list-style: none; display: grid; gap: 14px; margin: 24px 0; padding: 0; }
.ticks li { position: relative; padding-left: 40px; min-height: 26px; color: #d4d9e1; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 26px; height: 26px; border-radius: 50%; box-sizing: border-box;
  background: rgba(226, 181, 99, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b563' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid rgba(226, 181, 99, 0.35);
}
.numbered { list-style: none; counter-reset: n; display: grid; gap: 16px; margin: 24px 0; padding: 0; }
.numbered li { position: relative; counter-increment: n; padding-left: 48px; min-height: 32px; color: #d4d9e1; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: -0.05em; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: italic 400 1rem/1 var(--display); color: var(--gold); border: 1px solid rgba(226, 181, 99, 0.5); }

/* ---------- route cards (photo + badge) ---------- */
.routes { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .routes-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .routes-4 { grid-template-columns: repeat(4, 1fr); } }
.route { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.route .media { aspect-ratio: 16 / 10; }
.route .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--card) 0%, rgba(16, 21, 30, 0) 45%); }
.route .badge {
  position: relative; margin: -52px 0 18px;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.6rem; font-style: italic; line-height: 1; color: var(--ink); background: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 0 6px var(--card); z-index: 5;
}
.route .badge-icon svg { width: 24px; height: 24px; }
.route-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 0 clamp(22px, 2.4vw, 32px) clamp(26px, 2.6vw, 34px); }
.route h3 { font-size: clamp(1.55rem, 1.3rem + 0.8vw, 1.95rem); }
.route p { margin-top: 12px; }
.route .chip { top: 12px; bottom: auto; right: 12px; }
a.route-link { text-decoration: none; color: var(--text); transition: border-color .2s, transform .25s var(--ease); }
a.route-link:hover { color: var(--text); border-color: rgba(226, 181, 99, 0.55); transform: translateY(-3px); }
a.route-link .media img { transition: transform 1.2s var(--ease); }
a.route-link:hover .media img { transform: scale(1.04); }
.route .go { margin-top: auto; padding-top: 22px; color: var(--gold); font-weight: 600; font-size: 0.97rem; }
.after-routes { margin-top: 28px; }

/* ---------- timeline (numbered steps) ---------- */
.timeline { list-style: none; display: grid; gap: 0; counter-reset: t; margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 30px 56px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: italic 400 1.05rem var(--display); color: var(--gold); border: 1px solid rgba(226, 181, 99, 0.5); background: var(--bg); z-index: 1; }
.gallery-sec .timeline li::before { background: var(--bg-3); }
.section-alt .timeline li::before { background: var(--bg-2); }
.timeline li::after { content: ""; position: absolute; left: 18px; top: 34px; bottom: 0; width: 1px; background: linear-gradient(var(--gold-lo), var(--line)); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.4rem; }
.timeline p { margin-top: 8px; font-size: 0.98rem; }
@media (min-width: 900px) {
  .timeline-3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .timeline-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 36px; }
  .timeline-3 li, .timeline-grid li { padding: 60px 0 0 0; }
  .timeline-3 li::before, .timeline-grid li::before { top: 0; }
  .timeline-3 li::after, .timeline-grid li::after { left: 46px; right: -36px; top: 18px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--line)); }
  .timeline-grid li:nth-child(3n)::after { display: none; }
  .timeline-grid li:last-child::after { display: none; }
}
.timeline-v { margin-top: 30px; }
.follow-notes { margin-top: 30px; max-width: 48em; }
.follow-notes p + p, .table-notes p + p { margin-top: 12px; }
.table-notes { margin-top: 22px; max-width: 52em; }
.table-notes p:first-child { font-size: 0.94rem; }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid > * { min-width: 0; }
@media (min-width: 700px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 36px);
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.035), transparent 60%), var(--card);
  border: 1px solid var(--line);
}
.card h3 { font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.8rem); margin-bottom: 12px; }
.card p + p { margin-top: 12px; }
.card .num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 50%; font: italic 400 1.1rem/1 var(--display); color: var(--gold); border: 1px solid rgba(226, 181, 99, 0.5); }
.card-gold { border-color: rgba(226, 181, 99, 0.45); background: linear-gradient(135deg, rgba(226, 181, 99, 0.15), rgba(226, 181, 99, 0.03)), var(--card); }
.card-icon .card-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; color: var(--gold); background: rgba(226, 181, 99, 0.1); border: 1px solid rgba(226, 181, 99, 0.35); }
.card-icon .card-ico svg { width: 24px; height: 24px; }
a.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .2s, transform .25s var(--ease), background .2s; }
a.card-link:hover { color: var(--text); border-color: rgba(226, 181, 99, 0.55); transform: translateY(-2px); }
a.card-link h2, a.card-link h3 { font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.8rem); line-height: 1.15; margin-bottom: 10px; }
a.card-link .go { margin-top: auto; padding-top: 20px; color: var(--gold); font-weight: 600; font-size: 0.97rem; }
.grid-steps .card { padding-top: clamp(28px, 2.8vw, 38px); }

/* ---------- reading pages ---------- */
.two-col { display: grid; gap: 48px; align-items: start; }
.two-col > * { min-width: 0; }
@media (min-width: 1060px) {
  .two-col { grid-template-columns: minmax(0, 47rem) minmax(290px, 340px); gap: clamp(56px, 6vw, 120px); }
  .aside-box { position: sticky; top: calc(var(--hdr-h) + 28px); }
}
.prose { max-width: 47rem; }
.prose > p, .prose > ul, .prose > ol { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem); line-height: 1.1; margin: 2.3em 0 0.55em; max-width: 24ch; }
.prose h2::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); opacity: 0.85; margin-bottom: 22px; }
.prose > h2:first-child, .prose > .callout:first-child + h2 { margin-top: 0; }
.prose h3 { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem); margin: 1.8em 0 0.5em; }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p, .prose .table-scroll + p { margin-top: 14px; }
.prose ul:not(.ticks):not(.toc), .prose ol:not(.numbered) { padding-left: 1.3em; color: var(--muted); margin-top: 14px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose .closing { margin-top: 32px; }
.prose dl.facts { margin-top: 18px; }
.aside-photo .media { border-radius: var(--r-lg); aspect-ratio: 2 / 3; }
@media (max-width: 1059.98px) { .aside-photo { display: none; } }
.keybox-facts h2 { margin-bottom: 8px; }
.keybox-facts dl.facts { grid-template-columns: 1fr; font-size: 0.93rem; }
.keybox-facts dl.facts dt { padding: 12px 0 0; border-top: 1px solid var(--line); }
.keybox-facts dl.facts dd { padding: 2px 0 12px; border-top: 0; }
.keybox-facts dl.facts dt:first-of-type { border-top: 0; padding-top: 0; }
.keybox-facts .closing { margin-top: 18px; font-size: 0.95rem; }

/* "What to do, by when" box */
.keybox {
  border: 1px solid rgba(226, 181, 99, 0.45); border-radius: var(--r-lg); padding: 28px 28px 30px;
  background: radial-gradient(120% 70% at 100% 0%, rgba(226, 181, 99, 0.16), transparent 62%), var(--card);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8);
}
.keybox h2 { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.keybox .ticks { margin: 0; gap: 16px; }
.keybox .ticks li { font-size: 0.97rem; line-height: 1.55; padding-top: 2px; }
.keybox .btn { width: 100%; margin-top: 26px; }

.callout { border-radius: var(--r); padding: 20px 24px; margin: 24px 0; background: var(--card); border: 1px solid var(--line); }
.callout p { font-size: 1rem; }
.callout.advice { background: linear-gradient(135deg, rgba(226, 181, 99, 0.14), rgba(226, 181, 99, 0.03)), var(--card); border-color: rgba(226, 181, 99, 0.45); }
.callout.advice p { color: #e3ded2; }
.callout.us-note { border-left: 2px solid #8fb0e2; margin-top: 28px; }
.callout.us-note .letter-quote { background: var(--bg-2); }

/* a passage quoted word for word from a letter */
.letter-quote {
  position: relative; margin: 22px 0; padding: 22px 26px 24px 28px;
  background: linear-gradient(180deg, #121823, #0e131b); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  border-radius: 4px var(--r) var(--r) 4px; color: #e2e6ec; font-size: 1rem; line-height: 1.66;
}
.letter-quote::after { content: "\201C"; position: absolute; top: 2px; right: 18px; font: italic 400 4rem/1 var(--display); color: var(--gold); opacity: 0.18; pointer-events: none; }
.letter-quote p, .letter-quote li { color: #dfe3ea; }
.letter-quote p + p, .letter-quote p + ol, .letter-quote ol + p { margin-top: 12px; }
.letter-quote ol, .letter-quote ul { padding-left: 1.4em; margin-top: 10px; }
.letter-quote li + li { margin-top: 7px; }
.letter-quote li::marker { color: var(--gold); }
.letter-quote ol.alpha { list-style: lower-alpha; }
.letter-quote .from { display: block; font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; padding-right: 48px; }
.mf { color: var(--gold-hi); font-style: italic; }

/* copy-paste credit line */
.credit-line {
  display: block; white-space: pre-wrap; word-break: break-word; margin: 16px 0;
  background: #07090d; border: 1px dashed rgba(226, 181, 99, 0.38); border-radius: 12px;
  padding: 16px 18px; font: 0.86rem/1.65 var(--mono); color: #e6e1d6;
}
.credit-example { border-style: solid; border-color: rgba(226, 181, 99, 0.5); background: linear-gradient(135deg, rgba(226, 181, 99, 0.08), transparent), #07090d; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.94rem; line-height: 1.5; }
table.data.wide { min-width: 720px; }
table.data.mid { min-width: 540px; }
table.data thead th { text-align: left; vertical-align: bottom; padding: 14px 18px 12px; font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line-2); background: rgba(226, 181, 99, 0.045); }
table.data td, table.data tbody th { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
table.data tbody tr:first-child > * { border-top: 0; }
table.data tbody th { color: var(--text); font-weight: 500; font-size: 0.94rem; }
table.data td:first-child { color: var(--text); }
table.data .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data td.num { color: var(--text); }
table.data thead th.num { text-align: right; }
table.data tbody tr:nth-child(even) > * { background: rgba(255, 255, 255, 0.018); }
table.data tbody tr:hover > * { background: rgba(226, 181, 99, 0.04); }
.subject { display: inline-block; font: 500 0.84rem/1.45 var(--mono); color: #f3e6c8; background: rgba(226, 181, 99, 0.08); border: 1px solid rgba(226, 181, 99, 0.32); padding: 2px 8px; border-radius: 6px; margin: 2px 0; white-space: nowrap; }
.also { display: block; font-size: 0.82rem; color: var(--faint); margin-top: 8px; line-height: 1.5; }
.letters-table td { padding-block: 18px; }
.letters-table td:first-child { width: 36%; }
.letters-table td:last-child { white-space: nowrap; }
.read-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none !important; color: var(--gold); }
.read-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.read-link:hover svg { transform: translateX(3px); }

table.credits { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.55; }
table.credits th, table.credits td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.credits thead th { font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); border-top: 0; border-bottom: 1px solid var(--line-2); background: rgba(226, 181, 99, 0.045); }
table.credits td { color: var(--muted); }
table.credits td strong { color: var(--text); font-weight: 500; }
table.credits small { font-size: 0.8rem; color: var(--faint); overflow-wrap: anywhere; }
table.credits tbody tr:nth-child(even) > * { background: rgba(255, 255, 255, 0.018); }

@media (max-width: 699.98px) {
  /* narrow tables become one card per row, every figure labelled */
  .table-scroll { border: 0; background: none; overflow: visible; }
  table.data.stack, table.data.stack tbody, table.data.stack tr, table.data.stack td, table.data.stack tbody th { display: block; width: 100%; min-width: 0; }
  table.data.stack { min-width: 0; }
  table.data.stack thead { display: none; }
  table.data.stack tr { padding: 16px 18px; margin-bottom: 10px; background: var(--card) !important; border: 1px solid var(--line); border-radius: var(--r); }
  table.data.stack td, table.data.stack tbody th { border: 0; padding: 3px 0; background: none !important; }
  table.data.stack tbody th { font-weight: 600; padding-bottom: 8px; font-family: var(--display); font-size: 1.12rem; line-height: 1.3; }
  table.data.stack td[data-label]::before { content: attr(data-label); display: block; font: 600 0.66rem/1.5 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
  table.data.stack td.num[data-label] { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); text-align: right; white-space: normal; }
  table.data.stack td.num[data-label]::before { display: inline; margin: 0; font: 400 0.88rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); text-align: left; }
  table.data.stack .subject { white-space: normal; max-width: 100%; }
  .letters-table td:first-child { width: auto; padding-bottom: 8px; }
  .letters-table td { padding-block: 4px; }
  .letters-table td:last-child { padding-top: 10px; }
  table.data:not(.stack) { font-size: 0.9rem; }
  .table-scroll:has(table.data:not(.stack)) { border: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; }
  table.data.wide tbody th, table.data.mid tbody th { min-width: 0; }

  table.credits, table.credits tbody, table.credits tr, table.credits td { display: block; width: 100%; }
  table.credits thead { display: none; }
  table.credits tr { border: 1px solid var(--line); border-radius: var(--r); background: var(--card) !important; margin-bottom: 10px; padding: 14px 18px; }
  table.credits td { border: 0; padding: 3px 0; background: none !important; }
}

/* ---------- rate card ---------- */
.rate-intro { margin-top: 36px; }
.market-nav {
  position: sticky; top: var(--hdr-h); z-index: 20; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 48px calc(-1 * var(--gut)) 8px; padding: 12px var(--gut);
  background: rgba(8, 11, 16, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.market-nav a { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; color: var(--text); font-size: 0.86rem; font-weight: 500; text-decoration: none; background: rgba(255, 255, 255, 0.02); white-space: nowrap; }
.market-nav a:hover { border-color: var(--gold); color: var(--gold-hi); }
.rate-card { max-width: none; }
.rate-card > p:first-child { margin-top: 32px; font-size: 1.08rem; max-width: 52em; }
.rate-card h2 { font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.6rem); margin-top: clamp(64px, 7vw, 96px); margin-bottom: 14px; }
.rate-card h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); margin-top: 40px; margin-bottom: 4px; }
.rate-card h4 { font: 600 0.98rem/1.4 var(--sans); color: var(--text); margin: 28px 0 2px; letter-spacing: 0; }
.rate-card [id] { scroll-margin-top: calc(var(--hdr-h) + 80px); }
.rate-card ul { padding-left: 1.3em; color: var(--muted); margin-top: 14px; }
.rate-card li + li { margin-top: 8px; }
.rate-card li::marker { color: var(--gold); }
.rate-card .market { margin-top: clamp(64px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.rate-card .market > h2 { margin-top: 0; }
.rate-card .market > h2::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.basis { margin-top: 24px; padding: 22px 24px; border-radius: var(--r); border: 1px solid rgba(226, 181, 99, 0.4); background: linear-gradient(135deg, rgba(226, 181, 99, 0.1), rgba(226, 181, 99, 0.02)), var(--card); }
.rate-card .basis h2 { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
@media (max-width: 699.98px) {
  .market-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 36px; }
}

/* ---------- questions and answers ---------- */
.toc-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(22px, 2.6vw, 34px); margin-bottom: clamp(56px, 6vw, 88px); }
.toc { list-style: none; display: grid; gap: 26px 40px; }
@media (min-width: 760px) { .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .toc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.toc-h { display: block; font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.toc ul { list-style: none; display: grid; gap: 8px; }
.toc a { color: #d7dce3; text-decoration: none; font-size: 0.93rem; line-height: 1.45; display: inline-block; }
.toc a:hover { color: var(--gold-hi); }
.faq-group { display: grid; gap: 12px clamp(40px, 6vw, 96px); padding-top: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.faq-group:first-child { margin-top: 0; }
@media (min-width: 960px) {
  .faq-group { grid-template-columns: 4fr 8fr; }
  .faq-aside h2 { position: sticky; top: calc(var(--hdr-h) + 32px); }
}
.faq-aside h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); max-width: 12ch; }
.qa { border-top: 1px solid var(--line); padding: 26px 0 28px; }
.faq-list .qa:first-child { border-top: 0; padding-top: 4px; }
.qa h3 { font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem); font-weight: 450; line-height: 1.3; margin-bottom: 12px; }
.qa h3 .anchor { margin-left: 10px; color: var(--faint); font-family: var(--sans); font-size: 0.9em; font-weight: 400; text-decoration: none; opacity: 0.5; }
.qa h3 .anchor:hover, .qa h3 .anchor:focus { opacity: 1; color: var(--gold); }
.qa:target h3 { color: var(--gold-hi); }
.qa p + p, .qa p + blockquote, .qa blockquote + p { margin-top: 12px; }
.qa .letter-quote { margin: 16px 0; }

/* ---------- pay ---------- */
.pay-form { position: relative; margin-top: 30px; }
.ref-box { max-width: 820px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg); border: 1px solid rgba(226, 181, 99, 0.45); background: radial-gradient(120% 90% at 100% 0%, rgba(226, 181, 99, 0.12), transparent 60%), var(--card); }
.ref-box label { display: block; font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ref-box input {
  width: 100%; max-width: 380px; font: 500 1.35rem/1.3 var(--sans); letter-spacing: 0.05em; color: var(--text);
  background: #06080c; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 18px;
}
.ref-box input::placeholder { color: #6f7887; }
.ref-box input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.ref-box input:invalid { border-color: #d98a6a; }
.ref-box .hint { font-size: 0.92rem; margin-top: 12px; max-width: 46em; }
/* the form's default button: Enter without JavaScript returns to this page
   instead of submitting the first currency */
.enter-guard { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ref-status { font-size: 0.92rem; margin-top: 8px; color: var(--gold-hi); min-height: 1.4em; }
.pay-grid { display: grid; gap: clamp(12px, 1.4vw, 18px); margin-top: 22px; }
@media (min-width: 560px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pay-grid { grid-template-columns: repeat(4, 1fr); } }
.pay-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 22px 24px; border-radius: var(--r-lg); background: radial-gradient(100% 80% at 50% 0%, rgba(226, 181, 99, 0.09), transparent 70%), var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.pay-card:hover { border-color: rgba(226, 181, 99, 0.55); transform: translateY(-2px); }
.pay-card .cur { font: 350 3rem/1 var(--display); color: var(--gold); }
.pay-card .label { color: var(--muted); font-size: 0.93rem; margin: 12px 0 22px; }
.pay-card .btn { width: 100%; margin-top: auto; }
.pay-note { margin-top: 24px; max-width: 52em; }
.pay-note.small { margin-top: 12px; font-size: 0.93rem; }
.ap { display: grid; gap: 22px; }
@media (min-width: 1020px) { .ap { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; } }
dl.facts { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; font-size: 0.97rem; }
dl.facts dt, dl.facts dd { padding: 13px 0; border-top: 1px solid var(--line); }
dl.facts dt:first-of-type, dl.facts dt:first-of-type + dd { border-top: 0; }
dl.facts dt { color: var(--text); font-weight: 600; padding-right: 28px; }
dl.facts dd { color: var(--muted); }
dl.facts.card-facts, .card-facts { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); padding: 10px clamp(22px, 2.6vw, 32px); }
@media (max-width: 599.98px) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { padding-bottom: 0; }
  dl.facts dd { border-top: 0; padding-top: 2px; }
}

/* ---------- contact ---------- */
.bigline { font: 350 clamp(1.8rem, 1.1rem + 2.6vw, 3.4rem)/1.15 var(--display); letter-spacing: -0.02em; color: var(--text); overflow-wrap: anywhere; }
.bigline a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(226, 181, 99, 0.45); }
.bigline a:hover { color: var(--gold-hi); border-bottom-color: currentColor; }
.bigline + .h-sub { margin-top: clamp(56px, 6vw, 88px); }
.contact-grid { display: grid; gap: clamp(14px, 1.6vw, 22px); margin-top: 26px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: clamp(26px, 2.6vw, 34px); border-radius: var(--r-lg); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.035), transparent 60%), var(--card); border: 1px solid var(--line); }
.contact-card .label { display: block; font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.contact-card h3 { font-size: 1.7rem; }
.contact-card .tel { margin: 10px 0 14px; }
.contact-card .tel a { font: 400 1.2rem var(--sans); color: var(--text); text-decoration: none; letter-spacing: 0.01em; }
.contact-card .tel a:hover { color: var(--gold-hi); }

/* ---------- CTA panel ---------- */
.panel { position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: grid; }
.panel > .media { position: absolute; inset: 0; z-index: -1; }
.panel > .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 12, 0.92) 0%, rgba(6, 8, 12, 0.66) 50%, rgba(6, 8, 12, 0.25) 100%); }
.panel-body { padding: clamp(40px, 6vw, 88px) clamp(26px, 5vw, 80px); padding-bottom: clamp(64px, 6vw, 96px); max-width: 720px; }
.panel h2 { max-width: 14ch; }
.panel h2 em { display: block; }
.panel p { margin-top: 18px; color: #d3d8e0; }
.panel .btn-row { margin-top: 30px; }
.panel > .chip { right: 16px; bottom: 16px; }
@media (max-width: 699.98px) { .panel > .media::after { background: linear-gradient(0deg, rgba(6, 8, 12, 0.94) 10%, rgba(6, 8, 12, 0.72) 60%, rgba(6, 8, 12, 0.45) 100%); } .panel .btn-row .btn { flex: 1 1 100%; } .panel > .chip { top: 12px; bottom: auto; right: 12px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 100px); }
.foot-top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .foot-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 44px; } .foot-brand { grid-column: auto; } }
.foot-top h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; line-height: 1.4; }
.foot-top p, .foot-top a, .foot-top address { font-size: 0.93rem; color: var(--muted); font-style: normal; line-height: 1.6; }
.foot-top ul { list-style: none; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--gold-hi); }
.foot-top .addr-label { color: var(--text); font-weight: 600; font-size: 0.82rem; margin-top: 14px; }
.foot-top .addr-label:first-of-type { margin-top: 0; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { max-width: 30em; }

.credits-list { border-top: 1px solid var(--line); padding-block: 32px; }
.credits-list h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; line-height: 1.4; }
.credits-groups { column-gap: 48px; }
@media (min-width: 900px) { .credits-groups { columns: 2; } }
.credit-group { break-inside: avoid; margin-bottom: 18px; font-size: 0.84rem; line-height: 1.75; color: #8f98a8; }
.credit-group .who { color: #d7dbe2; font-weight: 600; display: block; margin-bottom: 2px; overflow-wrap: anywhere; }
.credit-group .who a { font-weight: 500; color: #d7dbe2; }
.credit-group a { color: #c3c9d3; text-underline-offset: 0.22em; text-decoration-color: rgba(195, 201, 211, 0.35); }
.credit-group a:hover { color: var(--gold-hi); text-decoration-color: currentColor; }
.credit-group .sep { color: #5d6575; padding-inline: 5px; }
.credits-note { margin-top: 20px; font-size: 0.82rem; color: #8f98a8; max-width: 70em; }
.credits-note a { color: #c3c9d3; }

.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.84rem; color: #8f98a8; }
.foot-bottom a { color: #c3c9d3; }
.cc-mark svg { width: 17px; height: 17px; display: inline-block; vertical-align: -3px; margin-right: 6px; }

/* ---------- fade-in (only with JavaScript, only below the fold) ---------- */
.js .reveal.is-pre { opacity: 0; transform: translateY(28px); }
.js .reveal.is-pre.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal.is-pre { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- print ---------- */
/* Printed pages: every section shows (the fade-in never hides anything on
   paper), text is dark on white, and each photograph keeps its credit chip.
   Photographs that sit behind words on screen print as a banner above them. */
@media print {
  @page { margin: 14mm 13mm; }
  .site-header, .skip-link, .btn, .menu-btn { display: none !important; }
  html, body { background: #fff !important; }
  *, *::before, *::after { text-shadow: none !important; box-shadow: none !important; }
  body, body * { color: #111 !important; }
  .js .reveal.is-pre, .js .reveal.is-pre.is-in { opacity: 1 !important; transform: none !important; }
  .aside-box, .faq-aside h2, .market-nav { position: static !important; }
  .card, .keybox, .callout, .ref-box, .ref-card, .pay-card, .toc-box, .route, .tile, .contact-card,
  .card-facts, .basis, .door, .panel, .table-scroll, .credit-line, .letter-quote,
  table.data th, table.data td, table.credits th, table.credits td {
    background: #fff !important; border-color: #bbb !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .letter-quote { border-left-color: #8a6a2f !important; }
  .letter-quote::after { display: none; }
  .media::after, .door > .media::after, .panel > .media::after { display: none !important; }
  .hero, .band, .door, .panel { display: block !important; min-height: 0 !important; }
  .hero > .media, .band > .media { position: relative !important; inset: auto !important; z-index: 0 !important;
    height: 58mm !important; aspect-ratio: auto !important; }
  .door > .media, .panel > .media { position: relative !important; inset: auto !important; z-index: 0 !important;
    height: 42mm !important; aspect-ratio: auto !important; }
  .hero-inner { padding: 7mm 0 0 !important; }
  .band-inner { padding: 6mm 0 !important; margin: 0 !important; }
  .panel-body, .door-body { padding: 5mm 0 !important; }
  .hero > .chip, .band > .chip { top: calc(58mm - 34px) !important; bottom: auto !important; right: 10px !important; }
  .door > .chip, .panel > .chip { top: calc(42mm - 34px) !important; bottom: auto !important; right: 10px !important; }
  .chip { display: inline-flex !important; opacity: 1 !important; background: #fff !important; color: #111 !important;
    border: 1px solid #999 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .jg-item figcaption { display: none !important; }
  .step3:nth-child(n) { margin-top: 0 !important; }
  /* paper is narrow: three-card rows stay three across, photographs stay short */
  .routes, .grid-3, .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .routes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .step3 .media { aspect-ratio: 4 / 3 !important; }
  .split { grid-template-columns: 1fr !important; }
  .split .media, .split .media.tall { aspect-ratio: auto !important; height: 60mm !important; }
  h2, h3 { break-after: avoid; }
  .card, .qa, .route, .step3, .pay-card, .door, .panel, .jg-item, .keybox, table.data tr { break-inside: avoid; }
}
