/* Reset + base typography + layout primitives */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h2 + p, h2 + .lead { margin-top: 22px; }
.price-row + p { margin-top: 20px; }
h1, h2, h3, h4, .num, .price-row span:first-child, .rental-card__price, .rate-table td { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
button, input, select, textarea { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--black); }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--surface { background: var(--ink); border-block: 1px solid var(--line); }
.section--paper { background: linear-gradient(160deg, #e6e8eb 0%, var(--paper) 55%, #c5c9ce 100%); color: var(--text-dark); }
.section--paper h2, .section--paper h3 { color: var(--text-dark); }
.section--paper .eyebrow { color: #6b5316; }
.section--paper a:not(.btn) { color: #6b5316; }

/* Small tracked label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--silver-dim); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.gold { color: var(--gold); background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--silver-light); max-width: 62ch; line-height: 1.65; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.2em 0 0.6em; text-transform: none; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.section-head p { margin-top: 20px; color: var(--silver); }

/* Subtle scroll reveal — only when JS is available and motion is welcome */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: 0.08s; }
  .reveal[data-delay="2"] { transition-delay: 0.16s; }
  .reveal[data-delay="3"] { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
