/* ==========================================================
   Lee Jackson Dinner 2027 — Col. Samuel St. George Rogers Camp #1865
   Classic formal: navy / cream / gold
   ========================================================== */

:root {
  --navy: #14213d;
  --navy-deep: #0d1730;
  --navy-soft: #1f2d52;
  --cream: #f6f1e7;
  --cream-deep: #ece4d3;
  --ink: #23262d;
  --ink-soft: #55596a;
  --gold: #b8963e;
  --gold-light: #d8bc6e;
  --gold-pale: #f1e6c6;
  --white: #ffffff;
  --rule: rgba(184, 150, 62, 0.45);

  --serif: "Cormorant Garamond", "Garamond", "Georgia", "Times New Roman", serif;
  --display: "Playfair Display", "Georgia", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

/* Ornamental rule: — ✦ — */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--gold); margin: 1.25rem auto; width: min(100%, 240px);
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.7; }
.ornament span { font-size: 0.9rem; line-height: 1; }
.ornament.left { margin-left: 0; justify-content: flex-start; }
.ornament.left::after { display: none; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.9rem 1.9rem;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border-radius: 2px;
}
.btn:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }
.btn.primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn.primary:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn.light { color: var(--cream); border-color: var(--gold-light); }
.btn.light:hover { background: var(--gold-light); color: var(--navy-deep); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 2px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--cream); text-decoration: none;
}
.brand img { width: 50px; height: 50px; border-radius: 50%; background: var(--white); padding: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--cream); text-decoration: none; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold-light); }
.nav .btn { padding: 0.55rem 1.1rem; border-bottom: 1.5px solid var(--gold); }
.nav .btn:hover { color: var(--navy-deep); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--gold); color: var(--cream);
  width: 44px; height: 44px; border-radius: 3px; cursor: pointer; font-size: 1.3rem; line-height: 1;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-top: 1px solid var(--rule); border-bottom: 2px solid var(--gold);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav .btn { margin-top: 0.75rem; text-align: center; }
  .brand-text strong { font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--cream);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184,150,62,0.18), transparent 55%),
    linear-gradient(180deg, #16244a 0%, var(--navy-deep) 100%);
}
.hero::after {
  /* subtle damask-ish texture via repeating gradient */
  content: ""; position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px, var(--gold) 14px 15px),
    repeating-linear-gradient(-45deg, transparent 0 14px, var(--gold) 14px 15px);
}
.hero .container { position: relative; z-index: 1; padding: clamp(3rem, 8vw, 6rem) 0; text-align: center; }
.hero-frame {
  border: 1px solid var(--rule); padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  position: relative; max-width: 900px; margin-inline: auto; background: rgba(13,23,48,0.35);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184,150,62,0.25); pointer-events: none;
}
.hero-frame > * { position: relative; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); font-weight: 500; margin-bottom: 0.3em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .sub { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-style: italic; color: var(--cream-deep); margin-bottom: 0; }
.hero-portrait {
  width: min(100%, 420px); margin: 0 auto 1.5rem;
  border: 4px solid var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.hero-portrait img { width: 100%; }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* Event facts strip */
.facts { background: var(--gold); color: var(--navy-deep); }
.facts .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; padding: 0;
}
.fact {
  padding: 1.35rem 1.25rem; text-align: center;
  border-right: 1px solid rgba(13,23,48,0.18);
}
.fact:last-child { border-right: 0; }
.fact .label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; font-weight: 700; }
.fact .value { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin-top: 0.15rem; line-height: 1.25; }
.fact .value small { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 400; opacity: 0.85; }
@media (max-width: 760px) {
  .fact { border-right: 0; border-bottom: 1px solid rgba(13,23,48,0.18); }
  .fact:last-child { border-bottom: 0; }
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--cream-deep); border-bottom: 1px solid var(--cream-deep); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold-light); }
.section-navy a { color: var(--gold-light); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two-col.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .two-col.reverse > :first-child { order: 0; } }

.lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.section-navy .lead { color: var(--cream-deep); }

.card {
  background: var(--white); border: 1px solid var(--cream-deep); border-top: 3px solid var(--gold);
  padding: 1.75rem; box-shadow: 0 10px 30px rgba(20,33,61,0.06);
}
.card h3 { margin-bottom: 0.35rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.schedule { list-style: none; padding: 0; margin: 0; }
.schedule li {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.schedule li:last-child { border-bottom: 0; }
.schedule time { font-family: var(--display); color: var(--gold); font-weight: 600; font-size: 1.15rem; }
.schedule strong { display: block; color: var(--navy); font-family: var(--display); font-size: 1.1rem; }
.section-navy .schedule strong { color: var(--white); }

.speaker-photo {
  width: min(100%, 380px); margin: 0 auto;
  border: 4px solid var(--gold); background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.speaker-photo.placeholder {
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  background: var(--cream-deep); color: var(--ink-soft); font-family: var(--serif); font-style: italic;
  text-align: center; padding: 2rem;
}
.speaker-photo.placeholder img { width: 55%; opacity: 0.9; }

.venue-card { background: var(--white); border: 1px solid var(--cream-deep); padding: 1.75rem; }
.venue-card address { font-style: normal; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--navy); }
.map-wrap { aspect-ratio: 16/10; border: 1px solid var(--cream-deep); background: var(--cream-deep); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-line { font-size: 1.05rem; }
.contact-line a { font-weight: 600; }

/* Register page */
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 1.05rem; }
.price-table th, .price-table td { text-align: left; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--rule); }
.price-table th { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table td strong { font-family: var(--display); color: var(--navy); font-size: 1.15rem; }
.price-table .note { font-size: 0.92rem; color: var(--ink-soft); display: block; }

.notice {
  background: var(--gold-pale); border-left: 4px solid var(--gold); padding: 1rem 1.25rem; margin: 1.25rem 0;
}
.notice strong { color: var(--navy); }

.form-shell { background: var(--white); border: 1px solid var(--cream-deep); border-top: 3px solid var(--gold); padding: 1rem; }
.form-shell iframe { width: 100%; min-height: 1200px; border: 0; display: block; }
.form-placeholder { padding: 3rem 1.5rem; text-align: center; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink-soft); }

/* Sponsors */
.sponsors { text-align: center; }
.sponsor-row { display: flex; gap: 3rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }
.sponsor-row a { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sponsor-row img { height: 110px; width: auto; }
.sponsor-row a:hover { color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(246,241,231,0.8); border-top: 2px solid var(--gold); padding: 2.5rem 0 2rem; font-size: 0.92rem; }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.site-footer a { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--white); padding: 2px; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--display); font-size: 1.05rem; }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; font-weight: 600; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(184,150,62,0.25); padding-top: 1.25rem; font-size: 0.82rem; color: rgba(246,241,231,0.55); }
@media (max-width: 640px) { .site-footer .container { grid-template-columns: 1fr; } }

/* Page hero (interior pages) */
.page-hero { background: var(--navy); color: var(--cream); text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: var(--white); font-weight: 500; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--cream-deep); margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
