/* ============================================================================
   BODY TO BODY AMSTERDAM — theme "b2b"
   Fashion editorial / sculptural. Bodoni Moda + Archivo.

   Ground: TRUE BLACK (#000) against a warm bone counter-surface (#F2EBDD).
   Deliberately NOT a neutral near-black in the #09–0B range — that register is
   held elsewhere in the portfolio, and this page is high-contrast enough to
   carry the harder ground.

   BUILD CONTRACT — the FIRST :root block below, and only that one, is
   substituted per site from sites/<id>.json (theme.palette / theme.fonts.serif /
   theme.fonts.sans / theme.max / theme.reading). Every token the config names
   must be declared there or the build warns and skips it. The second :root is
   derived and must not be substituted.
   ========================================================================= */

:root {
  --ink: #000000;                      /* the ground: true black */
  --ink-2: #241A15;                    /* warm espresso — panel fill, hovers */
  --ink-3: #12100E;                    /* the shallowest step off the ground */
  --bone: #F2EBDD;                     /* the counter-surface, and the type on black */
  --bone-dim: #C9C0AF;                 /* secondary type on black */
  --flesh: #E0A97F;
  --amber: #C87A36;
  --ox: #7A1D23;
  --sienna: #A8482A;
  --rule: rgba(242,235,221,0.22);      /* hairline on black */
  --rule-dark: rgba(0,0,0,0.20);       /* hairline on bone */
  --wa: #25D366;
  --wa-dark: #1ea857;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
  --reading: 680px;
}

/* Derived — not site-configurable. (themeStylesheet() only rewrites the FIRST
   :root block, so anything here is safe from palette substitution.)
   --muted / --faint / --gold are declared only because the inherited templates
   spell them in inline styles; they are aliases, not axes of this palette. */
:root {
  --display: var(--serif);
  --grot: var(--sans);
  --muted: var(--bone-dim);
  --faint: var(--bone-dim);
  --gold: var(--amber);
  --gut: clamp(18px, 4.5vw, 64px);
  --wide: 1560px;
  --cap: 11.5px;
  --navh: 62px;
  --agebar: 60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Display type is allowed to bleed off the viewport, so the clip is declared on
   BOTH the root and the body: body alone propagates its overflow to the viewport
   and can leave documentElement.scrollWidth wider than clientWidth. Nothing here
   uses position:sticky, so making the root a clipping box costs nothing. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--grot);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;                  /* display type is allowed to bleed */
  padding-top: var(--navh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ox); color: var(--bone); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
[hidden] { display: none !important; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--bone); }

:focus-visible { outline: 2px solid var(--flesh); outline-offset: 3px; }

/* ---------- typographic primitives ---------------------------------------- */

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--bone);
}
h1 { font-size: clamp(34px, 5.4vw, 78px); line-height: 0.98; letter-spacing: -0.032em; }
h2 { font-size: clamp(27px, 3.6vw, 50px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); }
h4 { font-size: 20px; }
em { font-style: italic; }

.cap, .label, .like-meta, .t-card .meta, .journal-item .date {
  font-family: var(--grot);
  font-size: var(--cap);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--bone-dim);
}
.cap-wide { letter-spacing: 0.42em; }
.dim { color: var(--bone-dim); }
.fleshc { color: var(--flesh); }
.subtitle { font-size: 14px; letter-spacing: 0.08em; color: var(--bone-dim); }

.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin: 0;
  font-optical-sizing: auto;
}
.display em { font-style: italic; font-weight: 400; letter-spacing: -0.012em; }

.lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.006em;
  color: var(--bone);
  margin: 0 0 0.8em;
}

.body-copy, .reading p, .reading li {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--bone-dim);
}
.body-copy { max-width: 48ch; }
.reading p strong, .reading p a { color: var(--bone); }
.reading a { border-bottom: 1px solid var(--rule); }
.reading a:hover { border-bottom-color: var(--flesh); color: var(--flesh); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wide { max-width: var(--wide); margin: 0 auto; }
.reading { max-width: var(--reading); margin: 0 auto; }
section { padding: clamp(58px, 8vw, 118px) 0; }
hr.rule, .rule-line { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- plate marker — the monograph device ---------------------------- */

.plate {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(26px, 4vw, 54px);
}
.plate .num {
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.8;
  color: var(--sienna);
}
.plate .lab { flex: 1; min-width: 0; }
.plate .rt { margin-left: auto; white-space: nowrap; }
@media (max-width: 620px) { .plate .rt { display: none; } }

/* ============================================================================
   AGE BAR + HEADER
   ========================================================================= */

body.age-confirmed .age-bar { display: none !important; }
.age-bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 250;
  background: var(--bone); color: var(--ink);
  padding: 12px var(--gut);
  display: flex; align-items: center; justify-content: center;
  gap: 18px; font-size: 12.5px; line-height: 1.5; flex-wrap: wrap;
  min-height: var(--agebar);
}
.age-bar span { max-width: 720px; }
.age-bar button {
  background: var(--ink); color: var(--bone);
  padding: 9px 20px; font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 600; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.age-bar button:hover { background: var(--sienna); }
body.age-bar-open { padding-top: calc(var(--navh) + var(--agebar)); }
body.age-bar-open .site-header { top: var(--agebar); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--navh);
  display: flex; align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
  padding: 0 var(--gut);
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color .4s ease;
}
.site-header .logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-right: auto; }
.site-header .logo svg { width: 24px; height: 24px; color: var(--flesh); }
.site-header .logo .bn {
  font-family: var(--display); font-weight: 700; font-size: 15.5px;
  letter-spacing: -0.01em; line-height: 1; color: var(--bone);
}
.site-header .logo .bn small {
  display: block; font-family: var(--grot); font-size: 8.5px; font-weight: 500;
  letter-spacing: 0.3em; color: var(--bone-dim); margin-top: 3px;
}
.site-header nav { display: flex; gap: clamp(10px, 1.6vw, 26px); }
.site-header nav a {
  font-size: var(--cap); letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; color: var(--bone-dim); padding: 4px 0;
  position: relative; transition: color .25s ease; white-space: nowrap;
}
.site-header nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--flesh); transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.site-header nav a:hover { color: var(--bone); }
.site-header nav a:hover::after { width: 100%; }

.site-header .cta {
  flex: 0 0 auto;
  font-size: var(--cap); letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; padding: 9px 15px;
  border: 1px solid var(--rule); color: var(--bone); white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.site-header .cta:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.site-header .cta.tg { border-color: var(--rule); }
.nav-toggle { display: none; font-size: 24px; line-height: 1; color: var(--bone); padding: 4px 8px; -webkit-tap-highlight-color: transparent; }

@media (max-width: 1280px) { .site-header .cta.tg { display: none; } }
@media (max-width: 1080px) {
  .site-header nav { display: none; }
  .site-header nav.open {
    display: flex; flex-direction: column; position: fixed;
    top: var(--navh); left: 0; right: 0; bottom: 0;
    background: var(--ink); padding: 28px var(--gut) 90px;
    border-top: 1px solid var(--rule);
    overflow-y: auto; z-index: 60; gap: 0; margin-left: 0;
  }
  .site-header nav.open a {
    font-family: var(--display); font-size: 24px; letter-spacing: -0.01em;
    text-transform: none; color: var(--bone);
    padding: 15px 0; border-bottom: 1px solid var(--rule);
  }
  .site-header nav.open a::after { display: none; }
  body.age-bar-open .site-header nav.open { top: calc(var(--navh) + var(--agebar)); }
  .nav-toggle { display: block; margin-left: auto; order: 9; }
  .site-header .cta { margin-left: 0; }
}
@media (max-width: 620px) {
  :root { --navh: 56px; }
  .site-header { padding: 0 16px; gap: 10px; }
  .site-header .cta { padding: 8px 12px; letter-spacing: 0.14em; }
  .site-header .logo svg { width: 21px; height: 21px; }
  .site-header .logo .bn { font-size: 13.5px; }
}
@media (max-width: 720px) {
  .age-bar { padding: 10px 14px; gap: 10px; font-size: 12px; flex-direction: column; text-align: center; min-height: 100px; }
  body.age-bar-open { padding-top: calc(var(--navh) + 100px); }
  body.age-bar-open .site-header { top: 100px; }
  body.age-bar-open .site-header nav.open { top: calc(var(--navh) + 100px); }
}

/* side rail — the spine of the monograph */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: 34px; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; border-right: 1px solid rgba(242,235,221,0.08);
}
.rail span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: 0.46em; text-transform: uppercase;
  color: rgba(242,235,221,0.32); white-space: nowrap;
}
@media (max-width: 1200px) { .rail { display: none; } }

/* ============================================================================
   FIGURES — real photographs under a duotone treatment
   ========================================================================= */

.fig { position: relative; overflow: hidden; background: var(--ink-2); isolation: isolate; }
.fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.9); }
.fig::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 90% at 72% 18%, rgba(224,169,127,0.62) 0%, rgba(200,122,54,0.40) 34%, rgba(122,29,35,0.42) 62%, rgba(0,0,0,0.55) 92%),
    linear-gradient(168deg, rgba(168,72,42,0.55) 0%, rgba(0,0,0,0.10) 46%, rgba(122,29,35,0.62) 100%);
  background-blend-mode: screen, normal;
  mix-blend-mode: color;
}
.fig::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.30) 0 1px, rgba(0,0,0,0) 1px 4px),
    radial-gradient(120% 100% at 50% 30%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.62) 100%);
  mix-blend-mode: multiply;
}
.fig.v2::before {
  background:
    radial-gradient(120% 100% at 26% 78%, rgba(224,169,127,0.58) 0%, rgba(168,72,42,0.44) 36%, rgba(0,0,0,0.55) 86%),
    linear-gradient(200deg, rgba(122,29,35,0.62) 0%, rgba(0,0,0,0.10) 52%, rgba(200,122,54,0.44) 100%);
  background-blend-mode: screen, normal; mix-blend-mode: color;
}
.fig.v3::before {
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(200,122,54,0.60) 0%, rgba(122,29,35,0.46) 40%, rgba(0,0,0,0.55) 86%),
    linear-gradient(140deg, rgba(224,169,127,0.34) 0%, rgba(0,0,0,0.28) 58%, rgba(122,29,35,0.58) 100%);
  background-blend-mode: screen, normal; mix-blend-mode: color;
}
.fig.v4::before {
  background:
    radial-gradient(140% 80% at 88% 62%, rgba(224,169,127,0.54) 0%, rgba(200,122,54,0.30) 30%, rgba(0,0,0,0.55) 80%),
    linear-gradient(20deg, rgba(122,29,35,0.66) 0%, rgba(0,0,0,0.12) 50%, rgba(168,72,42,0.46) 100%);
  background-blend-mode: screen, normal; mix-blend-mode: color;
}
.fig.pale::before {
  background:
    radial-gradient(120% 90% at 40% 20%, rgba(242,235,221,0.34) 0%, rgba(224,169,127,0.52) 30%, rgba(168,72,42,0.44) 62%, rgba(0,0,0,0.50) 92%);
  mix-blend-mode: color;
}

/* ============================================================================
   HERO — the shared templates' hero, restyled. Edge-to-edge, extreme space.
   ========================================================================= */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 116px) var(--gut) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 62%; height: 160%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(168,72,42,0.20) 0%, rgba(122,29,35,0.10) 46%, rgba(0,0,0,0) 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero .label-top { margin-bottom: clamp(18px, 3vw, 34px); }
.hero h1 {
  font-weight: 700;
  font-size: clamp(36px, 6.6vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--flesh); }
.hero .lede { margin-top: clamp(18px, 2.4vw, 30px); max-width: 44ch; color: var(--bone); }
.hero-small { padding-top: clamp(48px, 7vw, 92px); }
.hero .btn { margin-top: 4px; }

/* ---------- the editorial hero (home) ------------------------------------- */

.hero-ed { position: relative; padding: clamp(30px, 5vh, 64px) 0 0; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38vw);
  align-items: end;
  padding-left: var(--gut);
}
.hero-type { position: relative; z-index: 4; min-width: 0; padding-bottom: clamp(20px, 3.6vw, 50px); }
.hero-eyebrow {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  margin: 0 0 clamp(18px, 3vw, 36px);
}
.hero-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sienna); display: inline-block; }
.hero-ed h1 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  font-size: clamp(38px, 7.4vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--bone);
  max-width: 15ch;
}
.hero-figure { position: relative; align-self: stretch; min-height: clamp(320px, 54vh, 660px); margin-left: clamp(-80px, -5vw, -20px); z-index: 2; }
.hero-figure .fig { position: absolute; inset: 0; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(18px, 3.6vw, 56px);
  padding: clamp(24px, 3.2vw, 42px) var(--gut) clamp(28px, 3.8vw, 48px);
  border-top: 1px solid var(--rule);
  margin-top: clamp(16px, 2.4vw, 28px);
  align-items: start;
}
.hero-foot .lede { max-width: 36ch; margin: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-right: var(--gut); }
  .hero-figure { margin-left: 0; min-height: 380px; margin-top: 20px; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- technique plate (panel left column) --------------------------- */

.panel-plate { border: 1px solid var(--rule); background: var(--ink-3); padding: clamp(20px, 2.4vw, 32px); }
.pl-num { display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(56px, 7vw, 116px); line-height: 0.78; letter-spacing: -0.04em; color: var(--sienna); margin-bottom: 18px; }
.pl-dur { list-style: none; margin: 16px 0 0; border-top: 1px solid var(--rule); }
.pl-dur li { font-family: var(--display); font-size: clamp(17px, 1.5vw, 22px); padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--bone); }
.pl-price { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); color: var(--flesh); margin: 16px 0 20px; letter-spacing: -0.02em; }
.panel-plate .btn { width: 100%; justify-content: space-between; }

/* ---------- typographic hero plate (service pages) ------------------------ */

.hero-plate {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 3vw, 44px);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
}
.hero-plate::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 100% at 26% 12%, rgba(224,169,127,0.42) 0%, rgba(168,72,42,0.34) 38%, rgba(0,0,0,0.55) 84%),
    linear-gradient(200deg, rgba(122,29,35,0.55) 0%, rgba(0,0,0,0.10) 54%, rgba(200,122,54,0.34) 100%);
}
.hero-plate > * { position: relative; z-index: 1; }
.hero-plate .hp-word {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 66px); line-height: 0.86; letter-spacing: -0.04em;
  color: var(--bone);
}
.hero-plate .hp-rule { display: block; height: 1px; background: rgba(242,235,221,0.42); margin: 16px 0; }
.hero-plate .hp-fee { font-family: var(--display); font-style: italic; font-size: clamp(19px, 2.2vw, 32px); color: var(--bone); }

/* ---------- essay columns + prose runs ------------------------------------ */

.essay {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(34px, 4.6vw, 64px);
  padding-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--rule);
}
.essay h3 { font-family: var(--display); font-style: italic; font-weight: 400; margin-bottom: 12px; color: var(--flesh); }
.essay .body-copy { max-width: none; }

.prose-run a { border-bottom: 1px solid var(--rule); }
.prose-run a:hover { border-bottom-color: var(--flesh); }

.two-up { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(26px, 4.4vw, 72px); align-items: start; }
@media (max-width: 880px) { .two-up { grid-template-columns: 1fr; } }

/* ---------- coverage plate ------------------------------------------------ */

.cov-plate {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-2);
  padding: clamp(24px, 3.4vw, 52px);
}
.cov-plate::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 100% at 80% 10%, rgba(224,169,127,0.36) 0%, rgba(168,72,42,0.30) 40%, rgba(0,0,0,0.55) 86%),
    linear-gradient(190deg, rgba(122,29,35,0.50) 0%, rgba(0,0,0,0.10) 56%, rgba(200,122,54,0.30) 100%);
}
.cov-plate > * { position: relative; z-index: 1; }
.cp-num {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(58px, 8.6vw, 140px); line-height: 0.8; letter-spacing: -0.05em;
  color: var(--bone);
}
.cp-lab {
  display: block; font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2vw, 28px); line-height: 1.3; letter-spacing: -0.012em;
  color: var(--flesh); margin-top: 14px; max-width: 22ch;
}
.cp-rule { display: block; height: 1px; background: rgba(242,235,221,0.34); margin: clamp(20px, 2.6vw, 32px) 0; }
.cp-facts dt { font-size: var(--cap); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-dim); font-weight: 500; }
.cp-facts dd { margin: 3px 0 16px; font-family: var(--display); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.28; color: var(--bone); }
.cp-facts dd:last-child { margin-bottom: 0; }

/* ============================================================================
   BUTTONS
   ========================================================================= */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  font-family: var(--grot); font-size: var(--cap);
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--bone); background: var(--bone); color: var(--ink);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--sienna); border-color: var(--sienna); color: var(--bone); transform: translateY(-2px); }
.btn-primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.ghost, .btn-ghost {
  background: transparent; color: var(--bone); border-color: var(--rule);
}
.btn.ghost:hover, .btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn .ar { font-family: var(--display); font-size: 15px; letter-spacing: 0; }
.btn:focus-visible { outline-offset: 4px; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-stack .btn { width: 100%; justify-content: space-between; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ============================================================================
   BONE PANELS — the counter-surface
   ========================================================================= */

.bone-panel {
  background: var(--bone); color: var(--ink);
  padding: clamp(56px, 8vw, 128px) var(--gut);
  position: relative; overflow: hidden;
}
.bone-panel h1, .bone-panel h2, .bone-panel h3, .bone-panel h4, .bone-panel .lede { color: var(--ink); }
.bone-panel .cap, .bone-panel .dim, .bone-panel .label { color: rgba(0,0,0,0.55); }
.bone-panel .plate { border-bottom-color: var(--rule-dark); }
.bone-panel .plate .num { color: var(--ox); }
.bone-panel .body-copy { color: rgba(0,0,0,0.66); }
.bone-panel .btn { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bone-panel .btn:hover { background: var(--ox); border-color: var(--ox); color: var(--bone); }
.bone-panel .btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-dark); }
.bone-panel .btn.ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bone-panel :focus-visible { outline-color: var(--ox); }

/* ============================================================================
   TICKER
   ========================================================================= */

.ticker { border-bottom: 1px solid var(--rule); overflow: hidden; background: var(--ink); padding: 11px 0; }
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker-track span {
  font-size: var(--cap); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bone-dim); padding: 0 24px; white-space: nowrap;
  border-right: 1px solid var(--rule);
}
.ticker-track span i { color: var(--sienna); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================================
   EDITORIAL SECTIONS
   ========================================================================= */

.sec { padding: clamp(58px, 8.5vw, 132px) var(--gut); position: relative; }
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(22px, 4.5vw, 76px);
  align-items: end;
}
.sec-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 7.4vw, 124px);
  line-height: 0.86; letter-spacing: -0.038em; margin: 0; text-transform: uppercase;
}
.sec-head h2 em {
  display: block; font-style: italic; font-weight: 400; text-transform: none;
  color: var(--flesh); letter-spacing: -0.022em;
}
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- technique tabs ------------------------------------------------ */

.tabs-bar {
  display: flex; flex-wrap: wrap;
  margin: clamp(32px, 4.6vw, 60px) 0 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tab {
  border-right: 1px solid var(--rule); color: var(--bone-dim);
  font-family: var(--grot); font-size: var(--cap);
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  padding: 17px clamp(12px, 2vw, 28px);
  transition: color .3s ease, background .3s ease;
  flex: 1 1 auto; text-align: left; min-width: 44%;
}
.tab i { font-style: normal; font-family: var(--display); margin-right: 9px; color: var(--sienna); letter-spacing: 0; }
.tab:hover { color: var(--bone); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--flesh); }
.tab[aria-selected="true"] i { color: rgba(0,0,0,0.6); }
.tab:focus-visible { outline: 2px solid var(--flesh); outline-offset: -4px; }
@media (min-width: 900px) { .tab { min-width: 160px; } }

/* With scripting off every panel paints — nothing waits on a tab that cannot be
   pressed. html.js hides them and the script opens the first. */
.panel {
  display: grid;
  padding-top: clamp(30px, 4.6vw, 58px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4.2vw, 68px);
  align-items: start;
}
html.js .panel { display: none; }
html.js .panel[data-open] { display: grid; }
.panel h3 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(25px, 3.2vw, 46px); line-height: 1.06;
  letter-spacing: -0.022em; margin: 0 0 20px;
}
.panel .mini {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; margin-top: clamp(24px, 3.2vw, 40px);
  background: var(--rule); border: 1px solid var(--rule);
}
.panel .mini div { background: var(--ink); padding: 15px 15px 17px; }
.panel .mini strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 400; margin-bottom: 4px; color: var(--bone); }
.panel .mini span { font-size: 12px; letter-spacing: 0.05em; color: var(--bone-dim); line-height: 1.5; display: block; }
@media (max-width: 880px) { .panel, html.js .panel[data-open] { grid-template-columns: 1fr; } }

/* ---------- the register -------------------------------------------------- */

.register { margin-top: clamp(42px, 5.6vw, 80px); border-top: 1px solid var(--rule); padding-top: clamp(20px, 2.6vw, 32px); }
.reg-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(16px, 2.2vw, 28px); }
.reg-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 clamp(12px, 1.6vw, 24px); }
.reg-list li {
  font-family: var(--display); font-size: clamp(18px, 2.1vw, 32px);
  font-weight: 400; line-height: 1.42; letter-spacing: -0.015em;
}
.reg-list li::after { content: "\00B7"; color: var(--sienna); margin-left: clamp(12px, 1.6vw, 24px); }
.reg-list li:last-child::after { content: ""; }
.reg-list li.alt { font-style: italic; color: var(--flesh); }
.reg-note {
  font-family: var(--display); font-style: italic;
  font-size: clamp(17px, 1.8vw, 25px); line-height: 1.5; letter-spacing: -0.008em;
  color: var(--bone); max-width: 56ch;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding-left: clamp(14px, 1.6vw, 22px);
  border-left: 1px solid var(--sienna);
}

/* ---------- roster strip -------------------------------------------------- */

.roster { padding: clamp(58px, 8.5vw, 132px) 0; border-bottom: 1px solid var(--rule); overflow: hidden; }
.roster-head { padding: 0 var(--gut); display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.roster-head h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 10vw, 180px); line-height: 0.8; letter-spacing: -0.045em;
  margin: 0; flex: 1 1 auto;
}
.roster-head .note { max-width: 36ch; padding-bottom: 8px; }

.strip {
  display: flex; gap: clamp(10px, 1.4vw, 20px);
  overflow-x: auto; overflow-y: hidden;
  padding: clamp(26px, 3.6vw, 48px) var(--gut) 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--sienna) transparent;
}
.strip::-webkit-scrollbar { height: 2px; }
.strip::-webkit-scrollbar-track { background: var(--rule); }
.strip::-webkit-scrollbar-thumb { background: var(--sienna); }
.strip:focus-visible { outline-offset: -2px; }

.card { flex: 0 0 auto; width: clamp(196px, 21vw, 300px); scroll-snap-align: start; }
.card .fig { aspect-ratio: 3/4; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card a.shot:hover .fig { transform: translateY(-8px); }
.card .meta-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-top: 11px; border-top: 1px solid var(--rule); margin-top: 12px;
}
.card .nm { font-family: var(--display); font-size: clamp(20px, 1.6vw, 26px); font-weight: 400; line-height: 1; color: var(--bone); }
.card .ag { font-size: 11px; letter-spacing: 0.2em; color: var(--bone-dim); text-transform: uppercase; }
.card .sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim); margin: 6px 0 0; }
.card .sub b { color: var(--flesh); font-weight: 500; }
.card .ask {
  display: inline-block; margin-top: 9px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: var(--bone-dim); border-bottom: 1px solid var(--rule); padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.card .ask:hover { color: var(--flesh); border-bottom-color: var(--flesh); }

.strip-foot { padding: 0 var(--gut); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.strip-foot .bar { flex: 1 1 160px; height: 1px; background: var(--rule); position: relative; min-width: 110px; }
.strip-foot .bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--sienna); width: 18%; transition: width .2s linear, left .2s linear; }

/* ---------- four movements ------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.step { border-right: 1px solid var(--rule); padding: clamp(24px, 3vw, 42px) clamp(15px, 1.8vw, 30px) clamp(36px, 4.6vw, 66px); transition: background .5s ease; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--ink-2); }
.step .n {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 6.4vw, 100px); line-height: 0.8; letter-spacing: -0.04em;
  color: var(--sienna); display: block; margin-bottom: 20px;
}
.step:hover .n { color: var(--flesh); }
.step h4 { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.8vw, 27px); margin: 0 0 9px; line-height: 1.1; }
.step p { font-size: 14px; line-height: 1.7; color: var(--bone-dim); margin: 0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
  .step:last-child { border-bottom: 0; }
}

/* ---------- tariff table -------------------------------------------------- */

.tariff-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(18px, 4vw, 60px); align-items: end; margin-bottom: clamp(30px, 4.6vw, 58px);
}
.tariff-head h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 9vw, 160px); line-height: 0.8; letter-spacing: -0.045em; margin: 0;
}
.tariff-head h2 em { font-style: italic; font-weight: 400; text-transform: none; color: var(--ox); }
.tariff-head p { font-size: 14px; line-height: 1.7; color: rgba(0,0,0,0.62); max-width: 42ch; margin: 0; }
@media (max-width: 760px) { .tariff-head { grid-template-columns: 1fr; } }

.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid rgba(0,0,0,0.32); }
.tbl th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 600; color: rgba(0,0,0,0.5); padding: 12px 8px 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.32);
}
.tbl th:last-child, .tbl td:last-child { text-align: right; padding-right: 0; }
.tbl td { padding: clamp(13px, 1.6vw, 22px) 8px; padding-left: 0; border-bottom: 1px solid rgba(0,0,0,0.16); vertical-align: baseline; }
.tbl tbody tr { transition: background .3s ease; }
.tbl tbody tr:hover { background: rgba(0,0,0,0.045); }
.tbl .dur { font-family: var(--display); font-size: clamp(21px, 2.8vw, 40px); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; }
.tbl .amt { font-family: var(--display); font-size: clamp(23px, 3.4vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.tbl .amt sup { font-size: 0.44em; font-weight: 400; vertical-align: super; letter-spacing: 0.04em; margin-right: 0.16em; font-family: var(--grot); }
.tbl .amt .per { font-family: var(--grot); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.tbl tr.feature td { background: rgba(122,29,35,0.06); }
.tbl tr.feature .dur { font-style: italic; color: var(--ox); }
.tbl tr.feature .amt { color: var(--ox); }
.tbl .amt.enq { font-size: clamp(14px, 1.5vw, 22px); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
@media (max-width: 560px) {
  .tbl .dur { font-size: clamp(17px, 5vw, 26px); }
  .tbl .amt { font-size: clamp(19px, 5.6vw, 32px); }
  .tbl .amt.enq { font-size: clamp(12px, 3.4vw, 17px); }
}

.pay { display: flex; flex-wrap: wrap; margin-top: clamp(26px, 3.6vw, 50px); border: 1px solid rgba(0,0,0,0.28); }
.pay div { flex: 1 1 190px; padding: 19px 21px; border-right: 1px solid rgba(0,0,0,0.16); }
.pay div:last-child { border-right: 0; }
.pay strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 400; margin-bottom: 5px; color: var(--ink); }
.pay span { font-size: 12.5px; color: rgba(0,0,0,0.62); line-height: 1.55; display: block; }

/* ---------- coverage ------------------------------------------------------ */

.cov-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(26px, 4.6vw, 74px); align-items: start; }
.cov-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.cov-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 4px; border-bottom: 1px solid var(--rule);
  font-family: var(--display); font-size: clamp(18px, 1.9vw, 28px); font-weight: 400;
  letter-spacing: -0.01em; transition: padding-left .4s cubic-bezier(.2,.7,.2,1), color .3s;
}
.cov-list a:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 16px; }
.cov-list a:nth-child(even) { padding-left: 16px; }
.cov-list a:last-child:nth-child(odd) { border-right: 0; }
.cov-list a:hover { color: var(--flesh); padding-left: 20px; }
.cov-list a em {
  font-family: var(--grot); font-style: normal; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); white-space: nowrap;
}
.cov-fig { position: relative; }
.cov-fig .fig { aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .cov-grid { grid-template-columns: 1fr; }
  .cov-list { grid-template-columns: 1fr; }
  .cov-list a:nth-child(odd) { border-right: 0; padding-right: 4px; }
  .cov-list a:nth-child(even) { padding-left: 4px; }
}

/* ---------- questions ----------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(24px, 4.6vw, 76px); align-items: start; }
.faq-grid h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 4.6vw, 66px); line-height: 0.98; letter-spacing: -0.025em; margin: 0;
}
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  list-style: none; cursor: pointer;
  padding: clamp(17px, 2.1vw, 26px) 44px clamp(17px, 2.1vw, 26px) 0;
  position: relative; font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 26px); font-weight: 400; line-height: 1.24;
  letter-spacing: -0.012em; transition: color .3s ease;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--flesh); }
summary:focus-visible { outline: 1px solid var(--flesh); outline-offset: 4px; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 1px; background: var(--flesh); transform: translateY(-50%); }
summary::before { content: ""; position: absolute; right: 14px; top: 50%; width: 1px; height: 13px; background: var(--flesh); transform: translateY(-50%); transition: opacity .3s ease, transform .3s ease; }
details[open] summary::before { opacity: 0; transform: translateY(-50%) rotate(90deg); }
details .ans { padding: 0 clamp(24px, 5vw, 110px) clamp(20px, 2.4vw, 32px) 0; font-size: 14.5px; line-height: 1.78; color: var(--bone-dim); max-width: 64ch; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- closer -------------------------------------------------------- */

.closer { padding: clamp(54px, 7.4vw, 112px) var(--gut) clamp(36px, 4.6vw, 66px); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.closer .big {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(54px, 15.5vw, 260px); line-height: 0.76; letter-spacing: -0.05em;
  margin: 0; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(242,235,221,0.42);
}
.closer .big.solid { color: var(--bone); -webkit-text-stroke: 0; }
.closer .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr); gap: clamp(22px, 4vw, 66px); align-items: end; margin-top: clamp(24px, 3.2vw, 44px); }
@media (max-width: 820px) { .closer .row { grid-template-columns: 1fr; } }

/* ============================================================================
   DATA BLOCKS shared with the inherited templates
   ========================================================================= */

.spec dt, .keyline dt { font-size: var(--cap); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-dim); font-weight: 500; }
.spec dd, .keyline dd { margin: 2px 0 16px; font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.16; color: var(--bone); }
.spec dd small, .keyline dd small { display: block; font-family: var(--grot); font-size: 12px; letter-spacing: 0.05em; color: var(--bone-dim); margin-top: 3px; }

.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.t-card { display: block; }
.t-card .photo { aspect-ratio: 3/4; background: var(--ink-2); overflow: hidden; position: relative; isolation: isolate; }
.t-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.9); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.t-card .photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(130% 90% at 70% 20%, rgba(224,169,127,0.58) 0%, rgba(168,72,42,0.40) 40%, rgba(0,0,0,0.55) 92%);
  mix-blend-mode: color;
}
.t-card:hover .photo img { transform: scale(1.04); filter: grayscale(0.55) contrast(1.05) brightness(0.98); }
.t-card .name { font-family: var(--display); font-size: 22px; color: var(--bone); margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--rule); }
.t-card .meta { margin-top: 5px; font-size: 11px; letter-spacing: 0.18em; }

.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.s-card { border-top: 1px solid var(--rule); padding-top: 17px; display: block; transition: border-color .3s ease; }
.s-card:hover { border-top-color: var(--flesh); }
.s-card .num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--sienna); }
.s-card .nm { font-family: var(--display); font-size: clamp(22px, 2vw, 29px); color: var(--bone); margin: 5px 0 9px; line-height: 1.1; }
.s-card .ds { font-size: 13.5px; line-height: 1.62; color: var(--bone-dim); }

.like-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.1vw, 14px); }
.like-card { display: block; }
.like-photo { aspect-ratio: 3/4; background: var(--ink-2); overflow: hidden; position: relative; isolation: isolate; }
.like-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.9); transition: transform .5s ease; }
.like-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(130% 90% at 70% 20%, rgba(224,169,127,0.5) 0%, rgba(122,29,35,0.42) 46%, rgba(0,0,0,0.5) 92%); mix-blend-mode: color; }
.like-card:hover .like-photo img { transform: scale(1.05); }
.like-name { margin-top: 10px; font-family: var(--display); font-size: 18px; color: var(--bone); }
.like-meta { margin-top: 2px; font-size: 10.5px; letter-spacing: 0.18em; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px, 0.8vw, 12px); }
.gallery-grid .fig, .gallery-grid img { aspect-ratio: 3/4; width: 100%; }
.gallery-grid > img { object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.9); }

.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tags .tag, a.tag, span.tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--rule); color: var(--bone-dim);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
a.tag:hover { border-color: var(--flesh); color: var(--ink); background: var(--flesh); }

.price-table, .stats-table, .rates-table { width: 100%; border-collapse: collapse; }
.price-table td, .stats-table td, .rates-table td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.price-table td:first-child, .stats-table td:first-child, .rates-table td:first-child { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); }
.price-table td:last-child, .stats-table td:last-child, .rates-table td:last-child { text-align: right; font-family: var(--display); font-size: clamp(19px, 1.7vw, 25px); color: var(--bone); }
.price-table tr:last-child td, .stats-table tr:last-child td, .rates-table tr:last-child td { border-bottom: 0; }
.bone-panel .price-table td, .bone-panel .stats-table td { border-bottom-color: var(--rule-dark); }
.bone-panel .price-table td:first-child { color: rgba(0,0,0,0.55); }
.bone-panel .price-table td:last-child { color: var(--ink); }

.journal-list { display: grid; gap: clamp(22px, 3vw, 34px); }
.journal-item { border-top: 1px solid var(--rule); padding-top: 22px; display: block; transition: border-color .3s ease; }
.journal-item:hover { border-top-color: var(--flesh); }
.journal-item .date { font-size: 10.5px; letter-spacing: 0.26em; }
.journal-item h3 { margin: 9px 0; }
.journal-item .lede { font-size: 15px; color: var(--bone-dim); font-family: var(--grot); letter-spacing: 0; }

.form-row { margin-top: 20px; }
.form-row label { display: block; font-size: var(--cap); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-dim); font-weight: 500; }
.form-row select, .form-row input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--rule);
  background: var(--ink-3); font: inherit; color: var(--bone); margin-top: 8px;
}
.form-row select:focus-visible, .form-row input:focus-visible { outline: 1px solid var(--flesh); outline-offset: 0; }

.book-banner { background: var(--bone); color: var(--ink); padding: clamp(28px, 3.4vw, 46px) 0; }
.book-banner a { color: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.4); }

.tabs { max-width: 880px; margin: 0 auto; }
.tab-nav { display: flex; border-bottom: 1px solid var(--rule); margin-bottom: 34px; flex-wrap: wrap; }
.tab-btn { padding: 15px 24px; font-family: var(--grot); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab-btn:hover { color: var(--bone); }
.tab-btn.active { color: var(--bone); border-bottom-color: var(--flesh); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.carousel { position: relative; overflow: hidden; background: var(--ink-2); }
.carousel-track { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc(25% - 5px); scroll-snap-align: start; aspect-ratio: 3/4; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; background: var(--bone); color: var(--ink); border: 0; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.carousel-prev { left: 12px; } .carousel-next { right: 12px; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.carousel-dot { width: 5px; height: 5px; background: rgba(242,235,221,0.5); }
.carousel-dot.active { background: var(--flesh); transform: scale(1.4); }

.no-save, .no-save img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.no-save img { -webkit-user-drag: none; pointer-events: none; }

/* ---------------------------------------------------------------------------
   INHERITED TEMPLATES — inline colour repair.
   The shared templates hardcode style="color:var(--ink)" on roughly seventy
   links, headings and <strong>s, because in the shared palette --ink is the
   strongest TEXT colour. Here --ink is the GROUND, so those declarations would
   paint black on black. An author !important beats an inline declaration, so
   they are reassigned here rather than by editing twenty-odd shared files.
   Inside a bone panel the original meaning is correct and is restored.
   --ink is the only token at risk: --muted, --faint and --cloud are not
   declared by this theme, so `color: var(--muted)` is invalid at computed-value
   time and simply inherits.
   ------------------------------------------------------------------------- */
[style*="color:var(--ink)"] { color: var(--bone) !important; }
a[style*="color:var(--ink)"] { color: var(--flesh) !important; }
a[style*="color:var(--ink)"]:hover { color: var(--bone) !important; }
.bone-panel [style*="color:var(--ink)"], .book-banner [style*="color:var(--ink)"] { color: var(--ink) !important; }
.bone-panel a[style*="color:var(--ink)"], .book-banner a[style*="color:var(--ink)"] { color: var(--ox) !important; }
/* …and the mirror case: shared blocks that assumed a dark background and set
   white type on it now sit on this theme's own dark ground, which is fine, but
   the one bone-ground banner must not inherit white. */
.book-banner [style*="color:#fff"], .bone-panel [style*="color:#fff"] { color: var(--ink) !important; }

/* ============================================================================
   FOOTER + DOCK
   ========================================================================= */

.site-footer { padding: clamp(40px, 5vw, 72px) var(--gut) 24px; border-top: 1px solid var(--rule); }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); max-width: var(--wide); margin: 0 auto; align-items: start; }
.site-footer h5 { font-family: var(--grot); font-size: var(--cap); letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--bone-dim); margin: 0 0 15px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: 13.5px; color: var(--bone-dim); }
.site-footer li a { transition: color .25s ease; }
.site-footer li a:hover { color: var(--flesh); }
.site-footer .mark { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .mark svg { width: 30px; height: 30px; color: var(--flesh); }
.site-footer .big-contact { font-family: var(--display); font-size: clamp(20px, 2vw, 30px); font-weight: 400; line-height: 1.16; display: block; color: var(--bone); margin-bottom: 8px; letter-spacing: -0.015em; }
.site-footer .big-contact:hover { color: var(--flesh); }
.site-footer .legal {
  max-width: var(--wide); margin: clamp(30px, 4vw, 54px) auto 0;
  padding: 20px 0 0; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim);
}
.site-footer .legal a:hover { color: var(--flesh); }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--gut);
  background: var(--ink); border-top: 1px solid var(--rule);
  transform: translateY(105%); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.dock.up { transform: translateY(0); }
.dock .dk { flex: 1 1 auto; min-width: 0; }
.dock .dk b { font-family: var(--display); font-weight: 400; font-size: 17px; display: block; color: var(--bone); }
.dock .btn { padding: 11px 18px; }
@media (max-width: 880px) { .dock { display: none; } }

.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--wa); color: #fff; text-align: center; padding: 14px 20px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  z-index: 250; align-items: center; justify-content: center; gap: 10px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-cta:active { background: var(--wa-dark); }
@media (max-width: 880px) {
  .mobile-cta { display: flex !important; }
  body { padding-bottom: 58px; }
}

/* ============================================================================
   REVEAL + MOTION
   ========================================================================= */

.rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
html.js .rv { opacity: 0; transform: translateY(24px); }
html.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

[id] { scroll-margin-top: calc(var(--navh) + 18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .dock { transform: translateY(0); }
}

/* ============================================================================
   RESPONSIVE TAIL
   ========================================================================= */

@media (max-width: 1080px) { .like-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .s-grid { grid-template-columns: 1fr; }
  .like-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex: 0 0 calc(50% - 3px); }
  .hero { padding-top: clamp(44px, 8vw, 70px); }
}
@media (max-width: 520px) {
  .carousel-slide { flex: 0 0 100%; }
  .closer .big { font-size: clamp(46px, 15vw, 90px); }
  .reg-list li { font-size: clamp(17px, 5.4vw, 24px); }
}
