*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) - 1px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.intro-active, html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sec--ivory :focus-visible { outline-color: var(--ink); }
.btn:focus-visible { outline-offset: 4px; }
::selection { background: var(--gold); color: var(--black); }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ivory); color: var(--ink); padding: 0.7rem 1.1rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; transition: top 0.2s; }
.skip:focus { top: 1rem; }

.container { width: var(--container); margin-inline: auto; }
.accent { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* headings */
.h2 { font-family: var(--f-head); font-weight: 400; font-size: var(--h2); line-height: 1.12; letter-spacing: 0.035em; text-wrap: balance; }
.h2 .accent { font-size: 1.12em; font-weight: 500; letter-spacing: 0.005em; }
.sec--black .h2 .accent, .stage .h2 .accent { color: var(--gold); }

.eyebrow { display: flex; align-items: center; gap: 0.9rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.eyebrow--ink { color: var(--ink); }
.rule { display: block; height: 1px; background: var(--hairline); flex: 1; transform-origin: left; }
.sec--ivory .rule { background: var(--hairline-ink); }
.rule--short { flex: none; width: 3.2rem; background: var(--gold) !important; }
.eyebrow--ink .rule--short { background: var(--ink) !important; }

/* ===== Gold button system (one family everywhere) =====
   primary: metallic gold gradient, black text; secondary: gold outline that fills on hover. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; min-height: 50px; padding: 0.9rem 1.45rem 0.9rem 1.9rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-family: var(--f-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-position 0.9s var(--ease), color 0.4s, border-color 0.4s; }
.btn > * { position: relative; z-index: 2; }
.btn__arrow { display: inline-grid; place-items: center; transition: transform 0.5s var(--ease); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(5px); }
.btn::after { content: ''; position: absolute; z-index: 1; top: -25%; bottom: -25%; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); transform: translateX(-170%) skewX(-20deg); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(420%) skewX(-20deg); transition: transform 0.95s var(--ease-io); }
.btn--primary { color: #080808; background: var(--gold-grad); background-size: 240% 100%; background-position: 0% 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(104, 70, 18, 0.42), 0 12px 26px -14px rgba(0, 0, 0, 0.75); }
.btn--primary:hover, .btn--primary:focus-visible { background-position: 100% 50%; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(104, 70, 18, 0.45), 0 18px 30px -14px rgba(0, 0, 0, 0.8); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { color: var(--ivory); border-color: var(--gold); background: transparent; }
.btn--secondary::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--gold-grad); background-size: 240% 100%; opacity: 0; transition: opacity 0.45s, background-position 0.9s var(--ease); }
.btn--secondary:hover, .btn--secondary:focus-visible { color: #080808; transform: translateY(-2px); }
.btn--secondary:hover::before, .btn--secondary:focus-visible::before { opacity: 1; background-position: 100% 50%; }
.btn--secondary:active { transform: translateY(0); }
.btn--secondary.on-light { color: var(--ink); border-color: rgba(26, 23, 19, 0.7); }
.btn--secondary.on-light:hover, .btn--secondary.on-light:focus-visible { border-color: var(--gold-metal); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.6; cursor: progress; transform: none; }
.btn--sm { min-height: 44px; padding: 0.7rem 1.2rem 0.7rem 1.5rem; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arrow { transition: color 0.2s, border-color 0.2s, background-position 0.2s; }
  .btn::after { display: none; }
  .btn:hover, .btn:focus-visible, .btn--primary:hover, .btn--secondary:hover, .btn:hover .btn__arrow { transform: none; }
}

.link-under { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-block: 0.9rem 0.6rem; transition: background-size 0.5s var(--ease), color 0.3s; }
.link-under:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold); }

/* reveal system: transform/opacity only */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* dark stage sections: cursor booth-light (desktop, fine pointer) */
.stage { position: relative; overflow: hidden; --light: 0; }
.booth-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--light); transition: opacity 0.6s; background: radial-gradient(circle 340px at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, 0.13), transparent 70%); mix-blend-mode: screen; }
@media (hover: none), (prefers-reduced-motion: reduce) { .booth-light { display: none; } }
