/* Reset + sitewide primitives shared by every page: type, buttons, section rhythm. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  background: var(--ivory);
  color: var(--obsidian);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.on-light { color: var(--bronze); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: 0.002em; }
em { font-style: italic; color: var(--gold); }

.rule { width: 44px; height: 1px; background: var(--gold); margin: 22px 0; }

/* BUTTONS — thin bordered, letter-spaced, no radius, no fill until hover */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-gold:hover { background: var(--gold); color: var(--obsidian); }
.btn-dark { border-color: var(--obsidian); color: var(--obsidian); background: transparent; }
.btn-dark:hover { background: var(--obsidian); color: var(--ivory); }
.btn-ghost-dark { border-color: rgba(245, 245, 245, 0.35); color: var(--ivory); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

/* PAGE HERO WATERMARK — shared by every simple single-column hero (all pages except Home,
   which has its own larger two-column .hero-key). Parent hero section needs
   position:relative + overflow:hidden, set per page since hero class names differ. */
.page-hero-key {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  opacity: 0.07;
  pointer-events: none;
  color: var(--gold);
}

/* SECTION SHARED — 110px vertical rhythm, section intro block */
section { padding: 110px 0 0; }
.section-head { max-width: 600px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; color: var(--obsidian); margin-top: 14px; }
.section-head p { margin-top: 20px; color: var(--stone); font-size: 16px; line-height: 1.85; }
.section-head.on-dark h2 { color: var(--ivory); }
.section-head.on-dark p { color: var(--fog); }

@media (max-width: 920px) {
  .wrap { padding: 0 22px; }
  section { padding: 64px 0 0; }
  .eyebrow { font-size: 12px; }
  .btn { font-size: 12.5px; padding: 14px 26px; white-space: normal; max-width: 100%; text-align: center; }
  .section-head h2 { font-size: clamp(30px, 6vw, 38px); }
  h3 { font-size: 19px; }
  /* Root-cause fix for mobile horizontal scroll: at full 360px width with a
     -60px bleed, this watermark is ≥94% of a phone's viewport and relies on
     ancestor overflow:hidden to avoid causing scroll — inconsistent on mobile
     Safari. Removing the bleed (right:10px, no negative offset) makes it
     geometrically incapable of exceeding the viewport, independent of clipping. */
  .page-hero-key { width: 180px; height: 180px; right: 10px; }
}
