/* Self-hosted fonts (latin subset, variable weight) — no Google Fonts CDN. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/playfair-display-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --night:     #1A1A2E;
  --off-white: #F7F4EF;
  --gold:      #C8A96E;
  --green:     #2D5F4F;
  --greige:    #E8E2D9;
  --muted:     #6B6560;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --space-2xs: 0.5rem;  /*  8 */
  --space-xs:  1rem;     /* 16 */
  --space-sm:  1.5rem;  /* 24 */
  --space-md:  2rem;     /* 32 */
  --space-lg:  3rem;     /* 48 */
  --space-xl:  4rem;     /* 64 */
  --space-2xl: 6rem;     /* 96 */

  /* Type scale */
  --text-caption: 0.72rem;  /* eyebrows, labels */
  --text-sm:      0.85rem;  /* small print */
  --text-body:    1rem;     /* body */
  --text-lead:    1.05rem;  /* section intro */
  --text-h3:      1.25rem;
  --text-h2:      clamp(1.85rem, 3.5vw, 2.75rem);
  --text-h1:      clamp(2.6rem, 6vw, 4.6rem);

  /* Leading */
  --leading-tight:   1.15;
  --leading-snug:    1.4;
  --leading-body:    1.6;
  --leading-relaxed: 1.75;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--night);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 6vw;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(247,244,239,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--gold);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: #d9bc84; transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn-primary {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--gold);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: #d9bc84; transform: translateY(-2px); }

.btn-secondary {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.75);
  background: transparent;
  border: 1px solid rgba(247,244,239,0.25);
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SECTION DEFAULTS ── */
section { padding: var(--space-2xl) 6vw; }

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--night);
  margin-bottom: var(--space-xs);
}

.section-lead {
  font-size: var(--text-lead);
  font-weight: 400;
  color: var(--muted);
  max-width: 560px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

/* ── FOOTER ── */
footer {
  background: #F2EEE6;
  padding: 3rem 6vw 1.75rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--greige);
}

.footer-brand { max-width: 320px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--night);
  margin-bottom: 0.6rem;
}

.footer-logo span { color: #B0904E; }

.footer-tag {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.footer-email {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.footer-email:hover { text-decoration: underline; }

.footer-col-h {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9a948c;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: #3a3a40;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #B0904E; }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--greige);
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #8a847c;
}

/* ── FORM ── */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--night);
  background: white;
  border: 1px solid #ccc9c2;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }

.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.field-hint {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.form-submit {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--gold);
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  cursor: pointer;
  align-self: center;
  transition: background 0.2s, transform 0.15s;
  min-width: 220px;
}

.form-submit:hover { background: #d9bc84; transform: translateY(-2px); }

/* ── MOBILE ── */
@media (max-width: 680px) {
  nav { padding: 1rem 5vw; }
  .nav-links { display: none; }
  section { padding: var(--space-xl) 5vw; }
  .form-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .route-path { animation: none; stroke-dashoffset: 0; }
  .route-dot  { animation: none; opacity: 1; }
}

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--night); padding: 9rem 6vw 3.5rem; text-align: center; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--off-white); margin-bottom: 0.5rem; }
.legal-hero p { color: rgba(247,244,239,0.55); font-size: 0.95rem; }
.legal-body { background: var(--off-white); padding: 3.5rem 6vw 6rem; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-updated { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.legal-review-banner {
  background: #fff5e6; border: 1px solid #e8c98a; border-radius: 6px;
  padding: 1rem 1.2rem; font-size: 0.85rem; color: #7a5a1f; line-height: 1.6; margin-bottom: 2.5rem;
}
.legal-inner h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--night); margin: 2.4rem 0 0.8rem; }
.legal-inner h3 { font-size: 1rem; color: var(--night); margin: 1.5rem 0 0.5rem; }
.legal-inner p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-inner ul { margin: 0.4rem 0 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-inner li { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.legal-inner a { color: var(--green); }
.legal-inner strong { color: var(--night); }
