/* The Walton — brand system (from WALTON_BRAND_STANDARDS v1.1) — DARK theme */
@font-face {
  font-family: 'Aboreto';
  src: url('fonts/Aboreto-Regular.woff2') format('woff2'),
       url('fonts/Aboreto-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Belleza';
  src: url('fonts/Belleza-Regular.woff2') format('woff2'),
       url('fonts/Belleza-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Savoye LP';
  src: url('fonts/Savoye-Regular.woff2') format('woff2'),
       url('fonts/Savoye-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* -------- Brand palette (literal values, do not change) -------- */
  --wood-pulp:     #ead2ba;
  --clay:          #ead2ba;
  --wet-sand:      #bd735e;
  --woodstain:     #b8934a;  /* warm gold (v1.1) */
  --atlantic:      #7a9995;  /* sage-teal */
  --horse:         #0f0811;
  --canopy-true:   #2d4a35;  /* real forest green — reserved for accents */
  --spring-bottom: #0a2a2a;
  --brass:         #c69a4d;
  --brass-soft:    #a9823f;

  /* -------- Semantic tokens (DARK theme) --------
     We keep the CSS class names using --canopy (they're baked into
     the inline styles) but redirect --canopy to cream ink on dark bg. */
  --bg:            var(--spring-bottom);
  --bg-deep:       #061c1c;
  --surface:       #0f3333;                                             /* lifted card */
  --surface-warm:  color-mix(in srgb, var(--brass) 10%, var(--surface));
  --ink:           var(--wood-pulp);
  --canopy:        var(--wood-pulp);                                    /* semantic remap */
  --ink-soft:      color-mix(in srgb, var(--wood-pulp) 62%, transparent);
  --ink-dim:       color-mix(in srgb, var(--wood-pulp) 40%, transparent);
  --rule:          color-mix(in srgb, var(--wood-pulp) 18%, transparent);
  --rule-strong:   color-mix(in srgb, var(--wood-pulp) 38%, transparent);

  --font-logo:    'Aboreto', 'Belleza', Georgia, serif;
  --font-display: 'Belleza', Georgia, serif;
  --font-script:  'Savoye LP', 'Petit Formal Script', cursive;
  --font-body:    'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --measure: 46rem;
  --pad-x:   clamp(1.25rem, 5vw, 3rem);
  --pad-y:   clamp(2rem, 6vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .2s ease, color .2s ease; }
a:hover { border-color: var(--brass); color: var(--brass); }
img { max-width: 100%; display: block; }

/* Subtle grain for dark surfaces */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.92  0 0 0 0 0.82  0 0 0 0 0.73  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 0;
}

/* Typographic system */
.wordmark {
  font-family: var(--font-logo);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); }
p  { margin: 0 0 1em; max-width: var(--measure); }
.script { font-family: var(--font-script); font-style: normal; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* Utility */
.rule { height: 1px; background: var(--rule); border: 0; margin: 2rem 0; }
.rule-strong { background: var(--rule-strong); }

.container {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--brass);
  color: var(--spring-bottom);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--wood-pulp); border-color: var(--wood-pulp); color: var(--spring-bottom); }
.btn.ghost {
  background: transparent;
  color: var(--wood-pulp);
  border-color: var(--rule-strong);
}
.btn.ghost:hover {
  background: var(--wood-pulp);
  color: var(--spring-bottom);
  border-color: var(--wood-pulp);
}
