/* ---------- Tokens ---------- */
:root {
  --ivory: #EAE3D3;
  --ivory-2: #F2ECDF;
  --ink: #201B16;
  --wine: #6E1423;
  --wine-dark: #501019;
  --brass: #A9863C;
  --stone: #6B6459;
  --line: #D8CFBB;

  --font-display: "Fraunces", serif;
  --font-body: "Public Sans", sans-serif;

  --content-width: 1120px;
  --narrow-width: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap.narrow { max-width: var(--narrow-width); }
.wrap.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }
.wrap.center p { margin-left: auto; margin-right: auto; }

a { color: var(--wine); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0 0 0.4em;
  font-weight: 600;
}

.coord {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brass);
  font-size: 0.95rem;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  max-width: var(--content-width);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: var(--wine);
  color: var(--ivory-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: 3px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--wine-dark); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 1.5px solid var(--wine);
}
.btn-outline:hover { background: var(--wine); color: var(--ivory-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(234, 227, 211, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { color: var(--wine); }

.site-nav { display: flex; align-items: center; gap: 1.6em; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--wine); }
.nav-cta {
  background: var(--wine);
  color: var(--ivory-2) !important;
  padding: 0.5em 1.1em;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--wine-dark); }

.nav-toggle { display: none; }
.nav-toggle-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32,27,22,0.15) 0%, rgba(32,27,22,0.75) 100%);
}
.hero-content {
  position: relative;
  padding-bottom: 4.5rem;
  color: var(--ivory-2);
}
.hero-content .coord { color: var(--brass); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--ivory-2);
  margin-bottom: 0.15em;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--ivory-2);
  max-width: 32ch;
}
.hero-meta {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin-bottom: 1.6em;
}
.hero .btn { margin-top: 0.4em; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col.reverse .col-img { order: -1; }
.col-img img { border-radius: 4px; }

.venue-line { color: var(--stone); }
.note {
  font-size: 0.9rem;
  color: var(--stone);
  border-left: 2px solid var(--line);
  padding-left: 1em;
  max-width: 60ch;
}

/* News / Articles list */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list h3 { margin-bottom: 0.2em; }
.news-date {
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.5em;
}

/* FAQ */
.faq-wrap { margin-top: 3.5rem; }
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1em 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  color: var(--wine);
  margin-right: 0.6em;
  font-family: var(--font-body);
}
.faq details[open] summary::before { content: "–"; }
.faq details p { margin-top: 0.6em; color: var(--stone); }

/* Committee roster */
.roster { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.roster li {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.9em 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.roster li:last-child { border-bottom: 1px solid var(--line); }
.roster .role { color: var(--stone); font-size: 0.95rem; font-family: var(--font-body); }
.roster .name { font-weight: 600; }

/* Norfolk clubs grid */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin-top: 2rem;
}
.club h3 { font-size: 1rem; margin-bottom: 0.3em; }
.club p { font-size: 0.9rem; color: var(--stone); margin: 0; }
.club-highlight {
  padding: 1em;
  margin: -1em;
  background: var(--ivory-2);
  border-left: 2px solid var(--wine);
}
.club-highlight h3 { color: var(--wine); }

/* Contact form */
.contact-form {
  margin-top: 2rem;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.field-row { margin-bottom: 1.1em; }
.field-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35em;
}
.field-row .optional { font-weight: 400; color: var(--stone); }
.field-row input,
.field-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 0.8em;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ivory-2);
  color: var(--ink);
}
.field-row input:focus,
.field-row textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.contact-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.contact-form .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status {
  margin: 0.8em 0 0;
  font-size: 0.9rem;
  color: var(--stone);
  min-height: 1.2em;
}

/* Article pages */
.article-hero { min-height: 42vh; }
.article-hero .hero-sub { max-width: 44ch; }
.back-link {
  display: inline-block;
  margin-bottom: 1.6em;
  color: var(--wine);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.back-link:hover { color: var(--wine-dark); }
.article-body p { max-width: 68ch; }
.article-body h2 { margin-top: 1.6em; }
.article-body .inline-img {
  width: 100%;
  max-width: 68ch;
  border-radius: 4px;
  margin: 0.5em 0 1.8em;
}
.article-body ul {
  max-width: 68ch;
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--ink);
}
.article-body ul li { margin-bottom: 0.5em; }
.article-body blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--stone);
  max-width: 62ch;
}

/* Articles list links */
.news-list h3 a { color: inherit; text-decoration: none; }
.news-list h3 a:hover { color: var(--wine); }
.read-more {
  display: inline-block;
  color: var(--wine);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.read-more:hover { color: var(--wine-dark); text-decoration: underline; }

/* Join */
.join { background: var(--ivory-2); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2em; }
.footer-nav a { color: var(--stone); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--wine); }
.copyright { color: var(--stone); font-size: 0.85rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse .col-img { order: 0; }
  .clubs-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle-btn span {
    width: 22px; height: 2px;
    background: var(--ink);
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--ivory-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    transition: max-height 0.25s ease;
  }
  .site-nav a { padding: 0.9em 28px; width: 100%; border-top: 1px solid var(--line); }
  .nav-cta { border-radius: 0; }
  .nav-toggle:checked ~ .site-header .site-nav { max-height: 500px; }
}

@media (max-width: 560px) {
  .clubs-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
