/* Prytaneum Series — shared stylesheet
   Used on every page. Page-specific band colors are set with the
   .band-espresso / .band-ochre / .band-red / .band-green / .band-blue
   classes on a <section>. */

:root {
  --espresso: #1B1712;
  --gold: #D4AF6A;
  --gold-dim: #B8944F;
  --parchment: #F3ECDD;
  --verdigris: #6B8F7D;
  --ochre: #5E4720;
  --red: #6B2A28;
  --green: #2F4A34;
  --blue: #1F3A52;
  --ink-soft: #3A342C;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--parchment);
  color: var(--espresso);
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1.2em;
  color: var(--ink-soft);
  max-width: 62ch;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
a:hover { color: var(--gold-dim); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- header / nav --- */
header.site-header {
  background: var(--espresso);
  color: var(--parchment);
  padding: 22px 0;
  border-bottom: 2px solid var(--gold);
}
header.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}
.brand svg { width: 28px; height: 28px; }
nav.main-nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav.main-nav a {
  color: var(--parchment);
  border: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
nav.main-nav a:hover { color: var(--gold); }

/* --- kicker label --- */
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--gold);
  background: var(--espresso);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.rule {
  width: 56px;
  height: 1.5px;
  background: var(--gold);
  margin: 20px 0 26px;
}

/* --- section bands --- */
section.band { position: relative; overflow: hidden; padding: 80px 0; }
section.band > .wrap { position: relative; z-index: 2; }

.band-parchment { background: var(--parchment); }

.band-espresso {
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.05), transparent 55%),
    var(--espresso);
  color: var(--parchment);
}
.band-espresso h1, .band-espresso h2, .band-espresso h3 { color: var(--parchment); }
.band-espresso p { color: rgba(243,236,221,0.78); }
.band-espresso .kicker { background: var(--gold); color: var(--espresso); }

.band-ochre {
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.05), transparent 55%),
    var(--ochre);
  color: var(--parchment);
}
.band-ochre h1, .band-ochre h2, .band-ochre h3 { color: var(--parchment); }
.band-ochre p { color: rgba(243,236,221,0.78); }
.band-ochre .kicker { background: var(--gold); color: var(--espresso); }

.band-red {
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.05), transparent 55%), var(--red);
  color: var(--parchment);
}
.band-red h1, .band-red h2, .band-red h3 { color: var(--parchment); }
.band-red p { color: rgba(243,236,221,0.78); }

.band-green {
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.05), transparent 55%), var(--green);
  color: var(--parchment);
}
.band-green h1, .band-green h2, .band-green h3 { color: var(--parchment); }
.band-green p { color: rgba(243,236,221,0.78); }

.band-blue {
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.05), transparent 55%), var(--blue);
  color: var(--parchment);
}
.band-blue h1, .band-blue h2, .band-blue h3 { color: var(--parchment); }
.band-blue p { color: rgba(243,236,221,0.78); }

.band-verdigris {
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(255,255,255,0.08), transparent 55%), var(--verdigris);
  color: var(--parchment);
}
.band-verdigris h1, .band-verdigris h2, .band-verdigris h3 { color: var(--parchment); }
.band-verdigris p { color: rgba(243,236,221,0.85); }
.band-verdigris .kicker { background: var(--espresso); color: var(--gold); }

.band-tint {
  background: linear-gradient(180deg, rgba(94,71,32,0.06), rgba(94,71,32,0.02)), var(--parchment);
}

/* --- grain texture, apply alongside a band class --- */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 1;
}

/* --- flame watermark --- */
.flame-watermark {
  position: absolute;
  width: 420px;
  height: 420px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.flame-watermark svg { width: 100%; height: 100%; }
.band-espresso .flame-watermark,
.band-ochre .flame-watermark,
.band-red .flame-watermark,
.band-green .flame-watermark,
.band-blue .flame-watermark,
.band-verdigris .flame-watermark { opacity: 0.08; }
.band-espresso .flame-watermark path,
.band-ochre .flame-watermark path,
.band-red .flame-watermark path,
.band-green .flame-watermark path,
.band-blue .flame-watermark path,
.band-verdigris .flame-watermark path { stroke: var(--gold); }

@media (max-width: 640px) {
  .flame-watermark { width: 240px; height: 240px; }
}

/* --- cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 12px;
}
.card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(27,23,18,0.12);
  border-radius: 4px;
  padding: 26px;
}
.band-espresso .card, .band-ochre .card, .band-red .card, .band-green .card, .band-blue .card, .band-verdigris .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(212,175,106,0.25);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }

/* --- buttons --- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--espresso);
  padding: 11px 24px;
  border-radius: 4px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--parchment); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: inherit;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- footer --- */
footer.site-footer {
  background: var(--espresso);
  color: rgba(243,236,221,0.75);
  padding: 34px 0;
  font-size: 0.85rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
footer.site-footer a { color: var(--gold); border: none; }
footer.site-footer .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- cookie banner --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--espresso);
  color: var(--parchment);
  border-top: 2px solid var(--gold);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  font-size: 0.88rem;
}
#cookie-banner p { margin: 0; color: rgba(243,236,221,0.85); max-width: 60ch; }
#cookie-banner .actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner button {
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  cursor: pointer;
}
#cookie-banner .accept { background: var(--gold); color: var(--espresso); border: none; }
#cookie-banner .decline { background: transparent; color: var(--parchment); }
#cookie-banner.hidden { display: none; }

@media (max-width: 640px) {
  section.band { padding: 56px 0; }
  header.site-header .wrap { flex-direction: column; align-items: flex-start; }
}
