/* ── CSS Custom Properties ─────────────────────────────────────────────────── */
:root {
  --teal:        #1A6B5F;
  --teal-dark:   #0F3F37;
  --teal-light:  #E8F4F2;
  --gold:        #C49A2E;
  --gold-dark:   #7A5C0A;
  --gold-light:  #F5E6C0;
  --parchment:   #F2EDE3;
  --parchment-2: #E8E0D0;
  --ink:         #1C1813;
  --ink-light:   #3D3428;
  --stone:       #7A7060;
  --stone-light: #A89F90;
  --white:       #FFFFFF;

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-reading: 'Crimson Pro', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.85;
  background: var(--parchment);
  color: var(--ink);
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

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

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
  margin-bottom: 1.25rem;
  color: var(--ink-light);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Labels & eyebrows ────────────────────────────────────────────────────── */
.label {
  font-family: var(--font-reading);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Links ────────────────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── Skip link (accessibility) ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-reading);
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Noise texture overlay ────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ── Section spacing ──────────────────────────────────────────────────────── */
section {
  padding: 7rem 2.5rem;
  position: relative;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(196,154,46,0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--parchment);
  opacity: 0.4;
  text-transform: uppercase;
}

.footer-credit {
  font-family: var(--font-reading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  opacity: 0.5;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
