/* ═══════════════════════════════════════════════════════════════
   Melissa Honeycutt — 2026 Redesign · Shared Stylesheet
   Tactile minimalism. Bold editorial type. Hairline borders.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette — 2 accent colors + ink/cream */
  --cream:       #FAF9F5;
  --cream-warm:  #F3F0E7;
  --ink:         #15171A;
  --ink-soft:    #4A4F58;
  --ink-mute:    #7A7F88;
  --gold:        #C9A55C;
  --gold-soft:   #F2EBD8;
  --gold-deep:   #A8853D;
  --border:      rgba(21, 23, 26, 0.10);
  --border-soft: rgba(21, 23, 26, 0.06);

  /* Type scale (brief: H1 48–64, H2 32–40, H3 24–28, Body 16–18) */
  --fs-h1: clamp(2.4rem, 5.2vw, 4rem);   /* 38px → 64px */
  --fs-h2: clamp(2rem, 3.6vw, 2.6rem);   /* 32px → 42px */
  --fs-h3: clamp(1.35rem, 1.8vw, 1.65rem);
  --fs-body: 1.0625rem;                  /* 17px */
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --max-w: 1200px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────────── */
.display, h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
em { font-style: italic; font-weight: 400; }

p { text-wrap: pretty; }
.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 38ch;
}
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

/* ── Layout ────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gut);
}
section {
  padding-block: var(--section-y);
  position: relative;
}
.rule {
  border-top: 1px solid var(--border);
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a[aria-current="page"] {
  background: var(--cream-warm);
}
.nav-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 12px 20px !important;
  border-radius: 999px !important;
}
.nav-cta:hover { background: #000 !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gut) 20px;
    gap: 2px;
  }
  .nav.open .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
  }
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: #000; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--cream); }
.btn .arrow { font-size: 1.1em; transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.link-inline {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.link-inline:hover { border-color: var(--ink); }

/* ── Focus styles (a11y) ──────────────────────────────────────── */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(250, 249, 245, 0.7);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.footer-brand .footer-name {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 8px;
  font-weight: 500;
}
.footer-tag {
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(250, 249, 245, 0.65);
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }
.footer-base {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 249, 245, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(250, 249, 245, 0.45);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Reusable section bits ─────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .head-l > .eyebrow { margin-bottom: 18px; }
.section-head .head-l h2 { max-width: 14ch; }
.section-head .head-r p { font-size: 1.0625rem; color: var(--ink-soft); max-width: 44ch; line-height: 1.65; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Tactile card pattern (border, no shadow) ─────────────────── */
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--ink); }
.card-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.card-dark h3, .card-dark .display { color: var(--cream); }
.card-warm {
  background: var(--cream-warm);
  border-color: transparent;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { top: 16px; }
