/* ══════════════════════════════════════════════════════════
   base.css
   CSS reset · custom properties (design tokens) · typography
   global utility classes
   ══════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face {
  font-family: 'Graphik';
  src: url('../../../Font/Graphik Medium/Graphik-Medium-Web.woff2') format('woff2'),
    url('../../../Font/Graphik Medium/Graphik-Medium-Web.woff') format('woff'),
    url('../../../Font/Graphik Medium/Graphik-Medium-Web.ttf') format('truetype');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('../../../Font/Graphik Regular/Graphik-Regular-Web.woff2') format('woff2'),
    url('../../../Font/Graphik Regular/Graphik-Regular-Web.woff') format('woff'),
    url('../../../Font/Graphik Regular/Graphik-Regular-Web.ttf') format('truetype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ── */
:root {
  --ivory: #F2EFEA;
  --ivory2: #E8E4DF;
  --white: #FFFFFF;
  --navy: #4E3A2E;
  --navy2: #6B5040;
  --gold: #717E87;
  --gold-lt: #8A97A0;
  --gold-pale: #E0E7EF;
  --text: #2D2218;
  --muted: #717E87;
  --border: #D0CBBC;
  --border-lt: #E0E7EF;
  --nav-h: 80px;
  --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ivory);
  color: var(--text);
  font-family: "Graphik", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: "Graphik", sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
}

.overline {
  font-family: "Graphik", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── GLOBAL UTILITIES ── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.gold-rule::before,
.gold-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.gold-rule.left::before {
  display: none;
}

.gold-rule.left::after {
  max-width: 48px;
  flex: 0 0 48px;
}

/* Sigil section decorations */
.section-sigil-wrap {
  position: relative;
}

.section-sigil-wrap>*:not(.sigil-anchor):not(svg.sigil-rule) {
  position: relative;
  z-index: 1;
}

.sigil-anchor {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

/* ── LAYOUT CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
