/* Heron & Phoenix Cafe — ash, ember & hearth palette */
:root {
  --charcoal: #1f1b18;
  --charcoal-2: #2a2420;
  --ash: #3a332e;
  --cream: #f6efe4;
  --cream-2: #ece2d2;
  --ember: #f97316;
  --ember-dark: #b93d0b;   /* AA on cream */
  --gold: #fbbf24;
  --heron: #7cc4e8;
  --heron-dark: #1e5f80;   /* AA on cream */
  --text-dark: #231e1a;
  --radius: 14px;
  --wrap: 1100px;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
}
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem); }
p { margin: 0 0 1em; }
a { color: var(--ember-dark); }
a:hover { color: var(--heron-dark); }
:focus-visible { outline: 3px solid var(--heron); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--charcoal); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(31,27,24,.96); border-bottom: 1px solid var(--ash); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.logo { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; }
.brand-name span { color: var(--ember); }
.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem 1rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-list a:hover { color: var(--gold); }
@media (max-width: 640px) {
  .header-inner { padding-top: .5rem; padding-bottom: .5rem; }
  .nav-list li:not(:last-child) { display: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--ember); color: var(--charcoal); font-weight: 700; text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--ember); font-size: 1rem; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); transform: translateY(-1px); }
.nav-list a.btn { color: var(--charcoal); }
.btn-small { padding: .4rem 1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); border-color: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--cream); padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(249,115,22,.55), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 105%, rgba(251,191,36,.45), transparent 70%),
    linear-gradient(180deg, #171310 0%, var(--charcoal) 55%, #2b1a10 100%); }
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--heron); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 5vw, 4.4rem); margin-bottom: .2em; }
.tagline { font-family: Georgia, serif; font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); color: var(--gold); }
.lede { font-size: 1.1rem; color: #e9dfd0; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.placeholder-note { margin-top: 2rem; font-size: .8rem; color: #bdb2a3; }
.embers { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 80%, var(--gold), transparent),
    radial-gradient(2px 2px at 35% 60%, var(--ember), transparent),
    radial-gradient(1.5px 1.5px at 60% 75%, var(--gold), transparent),
    radial-gradient(2px 2px at 75% 55%, var(--ember), transparent),
    radial-gradient(1.5px 1.5px at 85% 85%, var(--gold), transparent),
    radial-gradient(1.5px 1.5px at 10% 50%, var(--ember), transparent);
  animation: rise 9s linear infinite; opacity: .8; }
@keyframes rise { from { transform: translateY(20%); opacity: 0; } 20% { opacity: .9; } to { transform: translateY(-40%); opacity: 0; } }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--cream-2); }
.section-lede { font-size: 1.1rem; max-width: 60ch; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.feature-list { list-style: none; margin: 0; padding: 1.5rem; background: var(--charcoal); color: var(--cream); border-radius: var(--radius); border-top: 4px solid var(--ember); }
.feature-list li { padding: .6rem 0 .6rem 1.8rem; position: relative; border-bottom: 1px solid var(--ash); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: .7rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ember); }
.feature-list strong { color: var(--gold); }

.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fffaf2; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 10px rgba(31,27,24,.08); border-bottom: 4px solid var(--heron-dark); }
.card-icon { font-size: 2rem; display: block; margin-bottom: .5rem; }

/* Events */
.events-empty { background: var(--charcoal); color: var(--cream); padding: 1.5rem; border-radius: var(--radius); font-size: 1.15rem; text-align: center; border-left: 6px solid var(--ember); }
.events-empty a { color: var(--gold); font-weight: 700; }
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 1rem; background: #fffaf2; border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: 0 2px 10px rgba(31,27,24,.08); }
.event-date { background: var(--charcoal); color: var(--gold); border-radius: 10px; padding: .5rem .8rem; text-align: center; font-weight: 700; min-width: 4.5rem; line-height: 1.2; }
.event-date .month { display: block; font-size: .8rem; text-transform: uppercase; color: var(--cream); }
.event-date .day { font-size: 1.6rem; }
.event h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.event p { margin: 0; }

/* Form */
.signup-form { background: #fffaf2; padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--radius); box-shadow: 0 2px 14px rgba(31,27,24,.1); border-top: 4px solid var(--ember); }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; }
.field > label, legend { display: block; font-weight: 700; margin-bottom: .35rem; }
input[type=text], input[type=email], select, textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 2px solid #8a7d70; border-radius: 10px; background: #fff; color: var(--text-dark); }
input:focus, select:focus, textarea:focus { border-color: var(--heron-dark); }
.check { display: flex; align-items: center; gap: .55rem; margin: .35rem 0; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--ember-dark); }
.req { color: var(--ember-dark); }
.optional, .form-note { font-weight: 400; color: #5c5148; font-size: .9rem; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.google-form-cta { text-align: center; }

/* FAQ */
details { background: #fffaf2; border-radius: 10px; margin-bottom: .75rem; box-shadow: 0 1px 6px rgba(31,27,24,.07); }
summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style-position: outside; }
summary::marker { color: var(--ember-dark); }
details p { padding: 0 1.25rem 1rem; margin: 0; }

/* Footer */
.site-footer { background: var(--charcoal); color: #d9cfc1; padding: 2.5rem 0; text-align: center; border-top: 4px solid var(--ember); }
.site-footer a { color: var(--gold); }
.footer-brand { font-family: Georgia, serif; font-size: 1.3rem; color: var(--cream); font-weight: 700; }
.copyright { font-size: .85rem; color: #b5aa9b; margin: 0; }

/* Simple pages (thanks, 404) */
.simple-page { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--charcoal); color: var(--cream); padding: 2rem; }
.simple-page .logo { width: 88px; height: 88px; margin-bottom: 1rem; }
.simple-page h1 { font-size: clamp(2rem, 1.5rem + 3vw, 3rem); }
.simple-page p { color: #e9dfd0; max-width: 46ch; margin-left: auto; margin-right: auto; }
.simple-page a:not(.btn) { color: var(--gold); }
