/* ============================================================
   Magia Botanica — Design System
   Sacred-modern. Editorial. Calm. Slightly punk.
   ============================================================ */

:root {
  --sacred-green:   #1F3A32;
  --gold-foil:      #D4AF37;
  --indigo-night:   #1A2238;
  --bone-light:     #F9F6EF;
  --void:           #0D0F1A;
  --gold-dim:       rgba(212,175,55,0.12);
  --gold-mid:       rgba(212,175,55,0.35);
  --gold-glow:      rgba(212,175,55,0.5);
  --font-serif:     'Playfair Display', serif;
  --font-display:   'Cormorant Garamond', serif;
  --font-body:      'Lora', serif;
  --font-ui:        'Josefin Sans', sans-serif;
}

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

/* === BODY + GRAIN TEXTURE === */
body {
  font-family: var(--font-body);
  color: var(--bone-light);
  background-color: var(--indigo-night);
  line-height: 1.75;
  min-height: 100vh;
}

/* CSS grain texture — no image file needed */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 999;
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--sacred-green);
  color: var(--gold-foil);
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-foil);
  z-index: 9999;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 1px solid var(--gold-foil);
  outline-offset: 3px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--gold-foil);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 0.5rem; }
h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.7;
  margin-bottom: 0.4rem;
}
p { margin-bottom: 1rem; font-size: 1rem; }

a { color: var(--bone-light); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold-foil); }

/* === BUTTONS / CTAs === */
.cta-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  background: var(--gold-foil);
  color: var(--void);
  border: 1px solid var(--gold-foil);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.cta-primary:hover {
  background: transparent;
  color: var(--gold-foil);
  box-shadow: 0 0 18px var(--gold-glow);
  text-decoration: none;
}

.cta, .cta-secondary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--gold-foil);
  border: 1px solid var(--gold-foil);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.cta:hover, .cta-secondary:hover {
  background: var(--gold-dim);
  box-shadow: 0 0 12px var(--gold-glow);
  color: var(--gold-foil);
  text-decoration: none;
}

.cta-ghost {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(249,246,239,0.3);
  color: var(--bone-light);
  border-radius: 2px;
  transition: all 0.25s;
  text-decoration: none;
}
.cta-ghost:hover {
  border-color: rgba(249,246,239,0.7);
  background: rgba(249,246,239,0.06);
  text-decoration: none;
}

/* === NAVIGATION === */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13,15,26,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  z-index: 500;
  border-bottom: 1px solid var(--gold-dim);
}

.navbar .logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.navbar .logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  color: rgba(249,246,239,0.75);
  display: block;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-foil);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--bone-light);
  transition: all 0.3s;
  display: block;
}

/* === SECTION LABEL / EYEBROW === */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.65;
  display: block;
  margin-bottom: 0.5rem;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--gold-foil);
  opacity: 0.35;
  margin: 1.5rem auto;
}
.divider-left {
  width: 40px;
  height: 1px;
  background: var(--gold-foil);
  opacity: 0.35;
  margin: 1.5rem 0;
}

/* === HERO === */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,15,26,0.65) 0%,
    rgba(13,15,26,0.3) 40%,
    rgba(13,15,26,0.75) 100%
  );
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.75rem; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.hero .hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 580px;
  margin: 0 auto 0.75rem;
  opacity: 0.88;
  line-height: 1.6;
}
.hero .hero-micro {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === LAYOUT WRAPPERS === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-narrow {
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.section-full {
  padding: 5rem 1.5rem;
}
.section-center {
  text-align: center;
}

/* === CARDS === */
.card {
  background: rgba(31,58,50,0.45);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
}
.card:hover {
  border-color: var(--gold-mid);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { font-size: 0.92rem; opacity: 0.82; margin-bottom: 1.25rem; }

/* === GRIDS === */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* === THREE PORTALS (Home) === */
.portals-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.portal-tile {
  background: rgba(31,58,50,0.4);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.2s;
}
.portal-tile:hover { border-color: var(--gold-mid); transform: translateY(-2px); }
.portal-tile h3 { margin-bottom: 0.6rem; }
.portal-tile p { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.5rem; }

/* === ELEMENTS GRID (Elements index + Home preview) === */
.elements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim);
  margin: 3rem 0;
}
.element-tile {
  background: var(--indigo-night);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: background 0.25s;
}
.element-tile:hover { background: rgba(31,58,50,0.55); text-decoration: none; }
.element-tile .et-archetype {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.3rem;
}
.element-tile h3 {
  font-size: 1.05rem;
  color: var(--gold-foil);
  margin-bottom: 0.25rem;
}
.element-tile .et-goddess {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  opacity: 0.5;
  letter-spacing: 0.08em;
}
.element-tile .et-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--gold-dim);
  display: block;
  background: rgba(31,58,50,0.4);
}
.element-tile .et-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(31,58,50,0.5);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.35;
}

/* === ELEMENT INDIVIDUAL PAGE === */
.element-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center top;
}
.element-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,15,26,0.97) 0%, rgba(13,15,26,0.5) 55%, rgba(13,15,26,0.15) 100%);
  z-index: 0;
}
.element-hero > * { position: relative; z-index: 1; }
.element-hero-inner { max-width: 680px; }
.element-hero .el-archetype {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.65;
  margin-bottom: 0.4rem;
  display: block;
}
.element-hero h1 { margin-bottom: 0.25rem; }
.element-hero .el-goddess {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0;
}

.el-body { max-width: 720px; }
.el-body p { font-size: 1rem; line-height: 1.85; opacity: 0.92; }

.ritual-starter {
  background: rgba(31,58,50,0.4);
  border-left: 2px solid var(--gold-foil);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  max-width: 600px;
}
.ritual-starter h3 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.7;
  margin-bottom: 1rem;
}
.ritual-starter ol { padding-left: 1.25rem; }
.ritual-starter li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  opacity: 0.88;
}

.el-optin {
  background: rgba(13,15,26,0.6);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2rem;
  max-width: 520px;
  margin: 2.5rem 0;
}
.el-optin h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.el-optin p { font-size: 0.88rem; opacity: 0.72; margin-bottom: 1.25rem; }

/* === QUIZ === */
.quiz-outer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0%, rgba(31,58,50,0.3) 0%, transparent 60%);
}
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  flex: 1;
}
.quiz-progress-bar {
  width: 100%;
  height: 1px;
  background: rgba(212,175,55,0.15);
  margin-bottom: 3.5rem;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gold-foil);
  transition: width 0.4s ease;
}
.quiz-step-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.45;
  display: block;
  margin-bottom: 1rem;
}
.quiz-question {
  display: none;
  animation: fadeUp 0.3s ease forwards;
}
.quiz-question.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-question h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 2.5rem;
  line-height: 1.3;
}
.quiz-options { display: flex; flex-direction: column; gap: 0.65rem; }
.quiz-option {
  background: rgba(31,58,50,0.3);
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: 2px;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--bone-light);
  text-align: left;
  transition: all 0.18s;
  width: 100%;
  line-height: 1.5;
}
.quiz-option:hover { border-color: var(--gold-mid); background: rgba(212,175,55,0.06); color: var(--gold-foil); }
.quiz-option.selected { border-color: var(--gold-foil); background: rgba(212,175,55,0.1); color: var(--gold-foil); }

.quiz-email-screen { display: none; animation: fadeUp 0.3s ease forwards; }
.quiz-email-screen.active { display: block; }
.quiz-email-screen h2 { margin-bottom: 0.5rem; }
.quiz-email-screen p { opacity: 0.75; margin-bottom: 2rem; max-width: 500px; }

/* === FORM FIELDS (shared) === */
.form-row { margin-bottom: 1rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: rgba(31,58,50,0.25);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--bone-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--gold-foil);
}
.form-row input::placeholder { opacity: 0.4; }
.form-note {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.4;
  margin-top: 0.75rem;
}

/* === FIELD MANUAL === */
.manual-header {
  padding: 5rem 2rem;
  max-width: 800px;
}
.manual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--gold-dim);
  margin: 3rem 0;
}
.manual-entry {
  border-bottom: 1px solid var(--gold-dim);
  border-right: 1px solid var(--gold-dim);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.manual-entry:hover { background: rgba(31,58,50,0.3); }
.manual-entry h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.manual-entry p { font-size: 0.88rem; opacity: 0.72; margin-bottom: 0; }

/* === LIMITED DROPS === */
.drops-hero { padding: 5rem 2rem; max-width: 700px; }
.drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}
.drop-card {
  background: rgba(31,58,50,0.35);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.drop-card:hover { border-color: var(--gold-mid); transform: translateY(-2px); }
.drop-card-body { padding: 1.75rem; }
.drop-status {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.drop-status.live    { background: rgba(212,175,55,0.12); color: var(--gold-foil); border: 1px solid var(--gold-mid); }
.drop-status.soon    { background: transparent; color: rgba(249,246,239,0.55); border: 1px solid rgba(249,246,239,0.15); }
.drop-status.sold    { background: transparent; color: rgba(249,246,239,0.3);  border: 1px solid rgba(249,246,239,0.08); }
.drop-price { font-family: var(--font-ui); font-size: 0.85rem; color: var(--gold-foil); margin-top: 0.5rem; margin-bottom: 0; }
.drop-card h3 { margin-bottom: 0.4rem; }
.drop-card p { font-size: 0.88rem; opacity: 0.75; margin-bottom: 0.75rem; }

/* === LUNAR LETTERS === */
.letters-hero { padding: 7rem 2rem 4rem; max-width: 620px; text-align: center; }
.letters-form { max-width: 460px; margin: 0 auto; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  padding: 5rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.about-img-frame {
  aspect-ratio: 3/4;
  background: rgba(31,58,50,0.45);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
  overflow: hidden;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* === RITUAL PORTALS PAGE === */
.portals-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}
.portal-card-full {
  background: rgba(31,58,50,0.4);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.2s;
}
.portal-card-full:hover { border-color: var(--gold-mid); transform: translateY(-2px); }
.portal-price {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.75;
  margin-bottom: 0.5rem;
  display: block;
}
.portal-card-full h3 { margin-bottom: 0.6rem; }
.portal-card-full p { font-size: 0.9rem; opacity: 0.78; margin-bottom: 1.25rem; }

/* === HOME FOUNDER BLOCK === */
.founder-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--gold-dim);
}
.founder-img {
  aspect-ratio: 3/4;
  background: rgba(31,58,50,0.4);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.3;
}
.founder-img img { width: 100%; height: 100%; object-fit: cover; }

/* === LEGACY HERO (old .hero with height) === */
.hero-short {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 50vh;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero-short::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13,15,26,0.55), rgba(13,15,26,0.65));
  z-index: 0;
}
.hero-short > * { position: relative; z-index: 1; }

/* === FEATURES (home compat) === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  background: rgba(31,58,50,0.4);
  border: 1px solid var(--gold-dim);
  padding: 2rem 1.5rem;
  border-radius: 3px;
  text-align: center;
  transition: border-color 0.25s;
}
.feature:hover { border-color: var(--gold-mid); }
.feature h3 { margin-bottom: 0.5rem; }
.feature p { font-size: 0.9rem; opacity: 0.78; margin-bottom: 1.25rem; }

/* === NINE WAYS WHEEL (home) === */
.wheel-section {
  text-align: center;
  padding: 5rem 1.5rem;
  background: rgba(31,58,50,0.15);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 3rem auto;
}
.segment {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px;
  opacity: 0.25;
  transition: transform 0.3s, opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-foil);
}
.segment.active {
  opacity: 1;
  transform: scale(1.15);
  background: rgba(212,175,55,0.14);
  border-color: var(--gold-foil);
  box-shadow: 0 0 18px var(--gold-glow);
}
.segment.dimmed { opacity: 0.05; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,15,26,0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bone-light);
  padding: 2rem;
  text-align: center;
  z-index: 600;
  backdrop-filter: blur(6px);
}
.overlay-inner { max-width: 420px; }
.overlay-inner p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-foil);
  margin-bottom: 2rem;
}

/* === FOOTER === */
footer {
  background: rgba(13,15,26,0.9);
  border-top: 1px solid var(--gold-dim);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
  padding: 0.2rem 0;
}
.footer-links a:hover { opacity: 1; color: var(--gold-foil); text-decoration: none; }

.socials { margin: 1.25rem 0; }
.socials a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0.75rem;
  opacity: 0.5;
}
.socials a:hover { opacity: 1; color: var(--gold-foil); text-decoration: none; }

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-foil);
  opacity: 0.5;
  margin-bottom: 0.4rem;
}
.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  opacity: 0.3;
  margin-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-frame { aspect-ratio: 16/9; }
  .founder-block { grid-template-columns: 1fr; gap: 2rem; }
  .founder-img { aspect-ratio: 16/9; }
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0.6rem 1.25rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(13,15,26,0.98);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--gold-dim);
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 0.75rem 1.5rem; font-size: 0.78rem; }
  .hamburger { display: flex; }
  .hero { min-height: 85vh; padding: 2rem 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .section, .section-narrow, .section-full { padding: 3rem 1.25rem; }
  .portals-row { padding: 2rem 1.25rem; }
  .elements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .elements-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NEW — Home v2 + About v2
   ============================================================ */

/* === ABOUT PROSE (narrow reading column) === */
.about-prose {
  max-width: 780px;
  margin: 0 auto;
}
.about-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.about-prose p {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
}

/* === POETIC LINE (italic gold, about Nine Elements) === */
.poetic-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gold-foil);
  line-height: 2.2;
  display: block;
  opacity: 0.88;
}
.poetic-line strong {
  font-style: normal;
  font-weight: 600;
  opacity: 1;
  margin-right: 0.5em;
}

/* === NINE ELEMENTS DISPLAY (About) === */
.nine-elements-display {
  max-width: 560px;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-left: 1px solid var(--gold-dim);
  padding-left: 2rem;
}

/* === PROTOCOL BANNER (Home Block 2) === */
.protocol-banner {
  background: rgba(31,58,50,0.18);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 5rem 1.5rem;
  text-align: center;
}
.protocol-banner .about-prose { text-align: left; }
.protocol-formula {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--gold-foil);
  margin: 1.5rem 0 2rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* === ENTRY POINT CARD overrides === */
.entry-card {
  background: rgba(31,58,50,0.4);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  transition: border-color 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.entry-card:hover { border-color: var(--gold-mid); transform: translateY(-2px); }
.entry-card .entry-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.55;
  margin-bottom: 0.6rem;
  display: block;
}
.entry-card h3 { margin-bottom: 0.75rem; }
.entry-card p { font-size: 0.92rem; opacity: 0.78; line-height: 1.75; flex: 1; margin-bottom: 1.5rem; }

/* === FIELD DISPATCHES (Home Block 4) === */
.dispatches-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--gold-dim);
}
.dispatches-inner {
  max-width: 780px;
  margin: 0 auto;
}
.dispatch-substack-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.65;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  transition: opacity 0.2s, border-color 0.2s;
}
.dispatch-substack-link:hover { opacity: 1; border-color: var(--gold-mid); color: var(--gold-foil); }

/* === CLOSING QUOTE (About) === */
.closing-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--gold-foil);
  opacity: 0.88;
  max-width: 660px;
  margin: 0 auto 1rem;
  line-height: 1.85;
  text-align: center;
  border: none;
  background: none;
  padding: 0;
}
.closing-attribution {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* === BLOG NAV (About bottom) === */
.blog-nav-block {
  border-top: 1px solid var(--gold-dim);
  padding-top: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.blog-nav-block a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.blog-nav-block a:hover { opacity: 1; color: var(--gold-foil); }

/* === PRESS KIT + RETURN LINK (About) === */
.press-kit-btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(212,175,55,0.2);
  color: rgba(249,246,239,0.5);
  border-radius: 2px;
  transition: all 0.25s;
  text-decoration: none;
  margin-top: 1.5rem;
}
.press-kit-btn:hover {
  border-color: var(--gold-mid);
  color: var(--gold-foil);
  background: rgba(212,175,55,0.04);
  text-decoration: none;
}
.return-link {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  text-align: center;
  padding: 2rem 0 1.5rem;
  transition: opacity 0.25s, color 0.25s;
  text-decoration: none;
  border-top: 1px solid var(--gold-dim);
}
.return-link:hover { opacity: 0.85; color: var(--gold-foil); text-decoration: none; }

/* === MB WAY CARD (About) === */
.mb-way-card {
  background: rgba(31,58,50,0.35);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 2.25rem 2rem;
  transition: border-color 0.25s;
}
.mb-way-card:hover { border-color: var(--gold-mid); }
.mb-way-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.mb-way-card p { font-size: 0.92rem; opacity: 0.78; line-height: 1.75; margin-bottom: 0; }

/* ============================================================
   ELEMENT PAGES — v2
   ============================================================ */

/* Page-level background override (set via inline style on body) */
.element-page { min-height: 100vh; }

/* Hero block */
.el-hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}
.el-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.6;
  display: block;
  margin-bottom: 2.5rem;
}
.el-signal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--bone-light);
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto 2rem;
}
.el-mantra {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.75;
}

/* Body content wrapper */
.el-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section labels within element pages */
.el-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.55;
  display: block;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

/* The State */
.el-section { margin-bottom: 3.5rem; }
.el-section p { font-size: 0.97rem; line-height: 1.8; opacity: 0.88; }
.el-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.el-bullets li {
  font-size: 0.93rem;
  line-height: 1.75;
  opacity: 0.82;
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
}
.el-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-foil);
  opacity: 0.5;
}

/* Plant allies */
.plant-list { list-style: none; padding: 0; margin: 0; }
.plant-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.plant-item:last-child { border-bottom: none; }
.plant-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-foil);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}
.plant-latin {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  opacity: 0.5;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.plant-note {
  font-size: 0.9rem;
  opacity: 0.78;
  line-height: 1.7;
  margin: 0;
}

/* Ritual starter */
.ritual-steps {
  list-style: none;
  padding: 0;
  counter-reset: ritual;
  margin: 0;
}
.ritual-steps li {
  counter-increment: ritual;
  padding: 0.7rem 0 0.7rem 2.5rem;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.75;
  opacity: 0.85;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}
.ritual-steps li:last-child { border-bottom: none; }
.ritual-steps li::before {
  content: counter(ritual);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-foil);
  opacity: 0.6;
  width: 1.8rem;
  text-align: right;
}

/* CTAs block */
.el-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  margin-bottom: 3rem;
}
.el-cta-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.el-cta-arrow {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-foil);
  opacity: 0.5;
  flex-shrink: 0;
}
.el-cta-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-foil);
  text-decoration: none;
  transition: opacity 0.2s;
}
.el-cta-link:hover { opacity: 0.75; color: var(--gold-foil); text-decoration: none; }
.el-cta-price {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

/* Circular navigation */
.el-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.el-nav-link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(249,246,239,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.el-nav-link:hover { color: var(--gold-foil); text-decoration: none; }
.el-nav-center {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Elements index */
.elements-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.elements-index-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: start;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.12);
  text-decoration: none;
  color: var(--bone-light);
  transition: color 0.2s;
}
.elements-index-item:hover { color: var(--gold-foil); text-decoration: none; }
.elements-index-item:last-child { border-bottom: none; }
.ei-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-foil);
  opacity: 0.45;
  line-height: 1.6;
}
.ei-body { min-width: 0; }
.ei-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-foil);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  display: block;
}
.ei-goddess {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.35rem;
}
.ei-state {
  font-size: 0.88rem;
  opacity: 0.72;
  line-height: 1.6;
  margin: 0;
}
.ei-plants {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.45;
  text-align: right;
  white-space: nowrap;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .elements-index-item { grid-template-columns: 2rem 1fr; }
  .ei-plants { display: none; }
  .el-nav-center { gap: 1rem; }
}

/* ============================================================
   RITUAL PORTALS PAGE — v2
   ============================================================ */

.portal-steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  margin: 0;
}
.portal-steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.75;
  opacity: 0.85;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.portal-steps li:last-child { border-bottom: none; }
.portal-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-foil);
  opacity: 0.55;
  width: 2rem;
  text-align: right;
}

.portal-status {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 1px;
  margin-bottom: 1rem;
}
.portal-status--open { background: rgba(31,58,50,0.8); color: #6DBE8A; border: 1px solid rgba(109,190,138,0.3); }
.portal-status--soon { background: rgba(212,175,55,0.07); color: rgba(212,175,55,0.5); border: 1px solid rgba(212,175,55,0.2); }
.portal-status--rare { background: rgba(212,175,55,0.12); color: var(--gold-foil); border: 1px solid rgba(212,175,55,0.35); }

.portal-card {
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 2px;
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color 0.25s;
  margin-bottom: 1px;
}
.portal-card:hover { border-color: rgba(212,175,55,0.35); }
.portal-card--open { border-color: rgba(109,190,138,0.2); }
.portal-card--open:hover { border-color: rgba(109,190,138,0.45); }

.portal-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.portal-card-meta { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-foil); opacity: 0.5; display: block; margin-bottom: 0.3rem; }
.portal-card-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--gold-foil); line-height: 1.2; display: block; margin-bottom: 0.75rem; }
.portal-card-question { font-size: 0.9rem; opacity: 0.72; line-height: 1.65; margin-bottom: 0.65rem; }
.portal-card-quote { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; opacity: 0.5; line-height: 1.5; margin-bottom: 1.25rem; display: block; }
.portal-card-prices { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.portal-price-item { display: flex; flex-direction: column; gap: 0.15rem; }
.portal-price-label { font-family: var(--font-ui); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45; }
.portal-price-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-foil); font-weight: 600; }

.depth-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.depth-card { border: 1px solid rgba(212,175,55,0.15); border-radius: 2px; padding: 2rem 1.75rem; }
.depth-card--transmission { border-color: rgba(212,175,55,0.3); }
.depth-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--gold-foil); margin-bottom: 0.25rem; display: block; }
.depth-card-sub { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.45; display: block; margin-bottom: 1.25rem; }
.depth-card-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.depth-card-features li { font-size: 0.88rem; opacity: 0.78; padding: 0.3rem 0 0.3rem 1rem; position: relative; line-height: 1.5; }
.depth-card-features li::before { content: "·"; position: absolute; left: 0; color: var(--gold-foil); opacity: 0.5; }
.depth-card-price { font-family: var(--font-display); font-size: 1rem; color: var(--gold-foil); opacity: 0.7; }

.waitlist-form { max-width: 520px; margin: 0 auto; }
.waitlist-form .form-row { margin-bottom: 1rem; }
.waitlist-form input,
.waitlist-form select {
  width: 100%;
  background: rgba(249,246,239,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 2px;
  color: var(--bone-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  appearance: none;
}
.waitlist-form input:focus,
.waitlist-form select:focus { outline: none; border-color: rgba(212,175,55,0.5); }
.waitlist-form input::placeholder { opacity: 0.45; }
.waitlist-form select option { background: #1F3A32; color: var(--bone-light); }

@media (max-width: 640px) {
  .depth-compare { grid-template-columns: 1fr; }
  .portal-card-header { flex-direction: column; }
}

/* ============================================================
   CONTACT / FAQ / FIELD MANUAL / LETTERS / SPELLBOOK / TREASURY
   ============================================================ */

/* Contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(249,246,239,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 2px;
  color: var(--bone-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  appearance: none;
  margin-bottom: 1rem;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: rgba(212,175,55,0.5); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { opacity: 0.45; }
.contact-form select option { background: #1F3A32; color: var(--bone-light); }

/* Elsewhere links */
.elsewhere-list { list-style: none; padding: 0; margin: 0; }
.elsewhere-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  font-size: 0.88rem;
}
.elsewhere-list li:last-child { border-bottom: none; }
.elsewhere-label { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45; min-width: 5rem; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bone-light);
  line-height: 1.4;
  position: relative;
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--gold-foil);
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}
.faq-item[open] summary::after { content: "−"; opacity: 0.8; }
.faq-item summary:hover { color: var(--gold-foil); }
.faq-answer {
  padding: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.78;
}
.faq-answer a { color: var(--gold-foil); opacity: 0.8; text-decoration: underline; text-underline-offset: 2px; }
.faq-answer a:hover { opacity: 1; }

/* Field Manual chapter list */
.chapter-list { list-style: none; padding: 0; margin: 0; counter-reset: chapter; }
.chapter-item {
  counter-increment: chapter;
  padding: 0.85rem 0 0.85rem 3rem;
  position: relative;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  font-size: 0.9rem;
  opacity: 0.82;
  line-height: 1.6;
}
.chapter-item:last-child { border-bottom: none; }
.chapter-item::before {
  content: counter(chapter);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-foil);
  opacity: 0.45;
  width: 2rem;
  text-align: right;
}
.chapter-item strong { color: var(--bone-light); opacity: 1; font-style: normal; }
.chapter-item em { opacity: 0.6; font-style: italic; }

/* Spellbook post grid */
.spellbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
}
.spellbook-post {
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 2px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--bone-light);
  transition: border-color 0.2s;
  display: block;
}
.spellbook-post:hover { border-color: rgba(212,175,55,0.35); color: var(--bone-light); text-decoration: none; }
.spellbook-post-meta { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-foil); opacity: 0.5; display: block; margin-bottom: 0.5rem; }
.spellbook-post-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-foil); line-height: 1.3; display: block; margin-bottom: 0.5rem; }
.spellbook-post-summary { font-size: 0.82rem; opacity: 0.62; line-height: 1.65; margin: 0; }
.spellbook-post--pinned { border-color: rgba(212,175,55,0.2); }
.post-badge { display: inline-block; font-family: var(--font-ui); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.2rem 0.5rem; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.25); border-radius: 1px; color: var(--gold-foil); margin-bottom: 0.75rem; }
.spellbook-categories { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.spellbook-cat { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.75rem; border: 1px solid rgba(212,175,55,0.2); border-radius: 1px; color: rgba(249,246,239,0.55); text-decoration: none; transition: all 0.2s; }
.spellbook-cat:hover { border-color: rgba(212,175,55,0.5); color: var(--gold-foil); text-decoration: none; }
.spellbook-cat--active { border-color: var(--gold-foil); color: var(--gold-foil); }

/* Treasury */
.treasury-product {
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 2px;
  padding: 2rem 1.75rem;
  margin-bottom: 1px;
  transition: border-color 0.25s;
}
.treasury-product:hover { border-color: rgba(212,175,55,0.35); }
.treasury-product--launch { border-color: rgba(212,175,55,0.3); }
.treasury-launch-badge { display: inline-block; font-family: var(--font-ui); font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase; padding: 0.25rem 0.65rem; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.35); border-radius: 1px; color: var(--gold-foil); margin-bottom: 1rem; }
.treasury-product-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--gold-foil); display: block; margin-bottom: 0.25rem; }
.treasury-product-type { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45; display: block; margin-bottom: 0.75rem; }
.treasury-product-desc { font-size: 0.9rem; opacity: 0.75; line-height: 1.75; margin-bottom: 1.25rem; }
.soundscape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; margin: 1.25rem 0; }
.soundscape-item { border: 1px solid rgba(212,175,55,0.12); padding: 1rem 1.25rem; }
.soundscape-item-el { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-foil); opacity: 0.5; display: block; margin-bottom: 0.25rem; }
.soundscape-item-desc { font-size: 0.82rem; opacity: 0.65; margin: 0; line-height: 1.55; }
.grimoire-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(212,175,55,0.1); flex-wrap: wrap; }
.grimoire-item:last-child { border-bottom: none; }
.grimoire-item-name { font-family: var(--font-display); font-size: 1rem; color: var(--gold-foil); }
.grimoire-item-price { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.55; white-space: nowrap; }
.archive-note { font-family: var(--font-display); font-style: italic; font-size: 0.9rem; opacity: 0.45; margin: 0; padding: 1.5rem 0; }

@media (max-width: 640px) {
  .spellbook-grid { grid-template-columns: 1fr; }
  .soundscape-grid { grid-template-columns: 1fr 1fr; }
}
