/* ============================================
   Willms-Hall — shared stylesheet
   Palette: deep navy, charcoal, gold, cream
   ============================================ */

:root {
  --navy: #0f1e3d;
  --navy-deep: #0a1530;
  --navy-light: #1c3155;
  --charcoal: #2a2a2a;
  --gold: #b89154;
  --gold-light: #c9a763;
  --cream: #faf7f0;
  --cream-warm: #f4efe3;
  --off-white: #ffffff;
  --gray: #6b6b6b;
  --gray-light: #d8d4ca;
  --border: #e5e0d2;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow-sm: 0 1px 3px rgba(15, 30, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 30, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 30, 61, 0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p  { margin: 0 0 1em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand .dash { color: var(--gold); }
.brand:hover { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all .25s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  cursor: pointer;
  transition: all .25s var(--ease);
  border-radius: var(--radius);
}
.btn:hover {
  background: var(--navy-light);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(184, 145, 84, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.hero-stats {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.hero-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(184, 145, 84, 0.08));
  pointer-events: none;
}
.stat {
  border-bottom: 1px solid rgba(184, 145, 84, 0.2);
  padding: 1.2rem 0;
}
.stat:first-child { padding-top: 0; }
.stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 500;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  margin-top: 0.4rem;
}

/* ---------- Page header (non-home) ---------- */
.page-head {
  background: var(--navy);
  color: var(--cream);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent, rgba(184, 145, 84, 0.06));
  pointer-events: none;
}
.page-head .eyebrow { color: var(--gold); }
.page-head h1 {
  color: var(--cream);
  max-width: 800px;
  margin-bottom: 1rem;
}
.page-head p {
  font-size: 1.15rem;
  color: rgba(250, 247, 240, 0.75);
  max-width: 640px;
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}
.section--alt {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head p {
  color: var(--gray);
  font-size: 1.08rem;
}

/* ---------- Cards / Grids ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 2.2rem;
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--cream-warm);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--gray); margin: 0; font-size: 0.97rem; }

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col img,
.two-col .img-block {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.img-block {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}
.img-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(184, 145, 84, 0.18), transparent 60%);
}

/* ---------- About bio ---------- */
.bio-quote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.4;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-left: 2px solid var(--border);
}
.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 0.35rem;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--cream);
}
.timeline .year {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.timeline strong { color: var(--navy); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  font-weight: 600;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--gray); }

.form {
  background: var(--off-white);
  padding: 2.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field {
  margin-bottom: 1.4rem;
}
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--off-white);
  box-shadow: 0 0 0 3px rgba(184, 145, 84, 0.12);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
  font-family: var(--sans);
}
.form .btn { width: 100%; margin-top: 0.5rem; }
.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
  text-align: center;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy);
  color: var(--cream);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184, 145, 84, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-strip h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-strip p {
  color: rgba(250, 247, 240, 0.78);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 240, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer .brand { color: var(--cream); font-size: 1.3rem; }
.site-footer a { color: rgba(250, 247, 240, 0.7); }
.site-footer a:hover { color: var(--gold); }
.footer-meta { font-size: 0.85rem; opacity: 0.7; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    align-items: flex-start;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .hero { padding: 4rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 1.8rem; }
  .section { padding: 3.5rem 0; }
  .page-head { padding: 4rem 0 3.5rem; }
  .img-block { font-size: 4rem; aspect-ratio: 4/3; }
}
