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

:root {
  --bg: #1a1008;
  --text: #efe2c0;
  --gold: #b8960c;
  --gold-light: #f0d080;
  --gold-mid: #c9aa6a;
  --muted: #9a7a4a;
  --border: #5a3e1b;
  --card-bg: rgba(40,22,8,.78);
}

html {
  font-size: 17px; /* base lifted for older eyes — 1rem = 17px */
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  min-height: 100vh;
  line-height: 1.8;
}

canvas#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

/* ── Lantern ─────────────────────────────────────── */
.lantern-wrap {
  display: flex;
  justify-content: center;
  margin: -8px 0 24px;
  pointer-events: none;
}
.lantern-wrap video {
  width: 120px;
  height: auto;
}

/* ── Hut footer banner ───────────────────────────── */
.hut-banner {
  position: relative;
  width: 100%;
  height: 240px;
  background-image: url('https://res.cloudinary.com/dd12mw5dd/image/upload/v1777887301/Hut_banner_1_u7cxwd.png');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.hut-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 28%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .hut-banner { height: 160px; }
}

/* ── Gatherings ribbon ───────────────────────────── */
.gatherings-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--gold-mid);
  transition: color .2s;
}
.gatherings-ribbon:hover { color: var(--gold-light); }
.gatherings-ribbon .gr-label {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
}
.gatherings-ribbon .gr-name {
  font-size: 1.05rem;
  color: var(--text);
}
.gatherings-ribbon .gr-arrow {
  font-size: .95rem;
  color: var(--gold);
}

/* ── Navigation ─────────────────────────────────── */
.site-nav {
  position: relative;
  z-index: 11;
  background: rgba(20,10,2,.92);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.nav-brand {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-light);
  text-decoration: none;
  padding: 16px 0;
  margin-right: 24px;
  white-space: nowrap;
}
.nav-brand:hover { color: #fff; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 16px 12px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links .ext::after { content: ' ↗'; font-size: .75rem; opacity: .6; }

/* ── Hero ───────────────────────────────────────── */
header.hero {
  text-align: center;
  padding: 72px 0 52px;
  margin-bottom: 0;
}
.hero-photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
  box-shadow: 0 0 32px rgba(184,150,12,.25);
}
.hero-eyebrow {
  font-size: 1rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-rule { border: none; border-top: 1px solid var(--border); width: 60px; margin: 0 auto 20px; }
.hero-name {
  font-size: 3.8rem;
  color: var(--gold-light);
  letter-spacing: .04em;
  line-height: 1.1;
  text-shadow: 0 2px 40px rgba(184,150,12,.45), 0 0 80px rgba(184,150,12,.15);
  margin-bottom: 14px;
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--gold-mid);
  font-style: italic;
  margin-bottom: 4px;
}
.hero-cred {
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: .04em;
}
@media(max-width:520px) { .hero-name { font-size: 2.4rem; } }

/* ── Welcome text ───────────────────────────────── */
.welcome-section {
  text-align: center;
  max-width: 640px;
  margin: 52px auto 8px;
  padding: 0 8px;
}
.welcome-open {
  font-size: 1.35rem;
  color: var(--gold-light);
  font-style: italic;
  letter-spacing: .02em;
  margin-bottom: 28px;
  line-height: 1.4;
}
.welcome-body {
  color: var(--gold-mid);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 28px;
}
.welcome-body p { margin-bottom: 1.1em; }
.welcome-body p:last-child { margin-bottom: 0; }
.welcome-close {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  letter-spacing: .01em;
}

/* ── Ornament divider ───────────────────────────── */
.ornament-divider {
  text-align: center;
  color: var(--border);
  font-size: 1rem;
  letter-spacing: .4em;
  margin: 44px 0 40px;
  user-select: none;
}

/* ── Page header (inner pages) ──────────────────── */
.page-header {
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: .04em;
  margin-bottom: 8px;
  text-shadow: 0 1px 12px rgba(184,150,12,.2);
}
.page-header .subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Section ────────────────────────────────────── */
section { margin-bottom: 48px; }
h2.section-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* ── Cards ──────────────────────────────────────── */
.doorways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.doorways-grid > a:last-child {
  grid-column-start: 2;
}
@media (max-width: 600px) {
  .doorways-grid > a:last-child { grid-column-start: auto; }
}
.doorway-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doorway-card:hover { border-color: var(--gold); }
.doorway-card .door-name {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}
.doorway-card .door-title {
  font-size: 1.1rem;
  color: var(--gold-light);
  line-height: 1.3;
}
.doorway-card .door-desc {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}
.doorway-card .door-arrow {
  font-size: .95rem;
  color: var(--gold);
  margin-top: 4px;
}

/* ── Prose ──────────────────────────────────────── */
.prose p { margin-bottom: 1.2em; color: var(--text); font-size: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--gold-mid); font-weight: normal; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 1.6em 0 .5em;
  letter-spacing: .02em;
}
.prose ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; color: var(--text); font-size: 1rem; }
.prose blockquote {
  border-left: 3px solid var(--border);
  padding-left: 16px;
  margin: 1.4em 0;
  color: var(--gold-mid);
  font-style: italic;
  font-size: 1rem;
}

/* ── Info box ───────────────────────────────────── */
.info-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.info-box h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Testimonials ───────────────────────────────── */
.testimonials { display: flex; flex-direction: column; gap: 24px; }
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}
.testimonial blockquote {
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 10px;
}
.testimonial cite {
  font-size: .9rem;
  color: var(--muted);
  font-style: normal;
  display: block;
}

/* ── Poem box ───────────────────────────────────── */
.poem-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.poem-box .poem-title {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 20px;
}
.poem-box p {
  font-size: 1rem;
  color: var(--gold-mid);
  font-style: italic;
  line-height: 1.9;
  margin-bottom: .6em;
}
.poem-box .poem-credit {
  margin-top: 16px;
  font-size: .9rem;
  color: var(--muted);
  font-style: normal;
}

/* ── Contact form ───────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.form-group label { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: #140c02;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: Georgia, serif;
  font-size: 1rem;
  padding: 11px 13px;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  padding: 13px 28px;
  background: var(--gold);
  color: #1a1008;
  border: none;
  border-radius: 4px;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
}
.btn-submit:hover { opacity: .88; }
.btn-submit:disabled { opacity: .5; cursor: default; }
#form-msg {
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 4px;
  display: none;
}
#form-msg.ok { background: rgba(0,80,0,.3); color: #8fffaf; border: 1px solid #2a5a2a; }
#form-msg.err { background: rgba(80,0,0,.3); color: #ffaaaa; border: 1px solid #5a2a2a; }

/* ── CTA button ─────────────────────────────────── */
/* element+class specificity beats .prose a */
a.btn-cta, button.btn-cta {
  display: inline-block;
  padding: 13px 30px;
  background: var(--gold);
  color: #1a1008;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: bold;
  transition: opacity .15s;
}
a.btn-cta:hover, button.btn-cta:hover { opacity: .85; text-decoration: none; }
a.btn-secondary, button.btn-secondary {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid #7a5a2e;
  color: #c9aa6a;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color .15s, color .15s;
}
a.btn-secondary:hover, button.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); text-decoration: none; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ── 'Scriber section ───────────────────────────── */
.scriber-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.scriber-title {
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-shadow: 0 1px 16px rgba(184,150,12,.25);
}
.scriber-sub {
  font-size: 1.05rem;
  color: var(--gold-mid);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 22px;
}
.scriber-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scriber-list li {
  font-size: 1rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid rgba(90,62,27,.5);
}
.scriber-list li::before { content: '✦ '; color: var(--gold); }
.scriber-list li:last-child { border-bottom: none; }
.scriber-note {
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Credentials chips ──────────────────────────── */
.cred-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cred-chip {
  font-size: .9rem;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--gold-mid);
  letter-spacing: .04em;
}

/* ── Notice/disclaimer ──────────────────────────── */
.notice {
  font-size: .95rem;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--border);
  padding-left: 14px;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────── */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
  letter-spacing: .04em;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Divider ────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ── Reduced motion ─────────────────────────────── */
@media(prefers-reduced-motion:reduce) { canvas#bg-canvas { display: none; } }

@media(max-width:600px) {
  .doorways-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a { padding: 12px 9px; font-size: .85rem; }
}
@media(max-width:400px) {
  .doorways-grid { grid-template-columns: 1fr; }
}
