/* ══════════════════════════════════════════════
   ZERO DEGREE ALCHEMY v2 — style.css
   Purple mystical / alchemical dark theme
══════════════════════════════════════════════ */

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

:root {
  --black:        #050508;
  --deep:         #080810;
  --dark:         #0c0c16;
  --dark-purple:  #120d1e;
  --border:       rgba(201,168,76,0.12);
  --border-mid:   rgba(201,168,76,0.22);

  --gold:         #C9A84C;
  --gold-light:   #E6C97A;
  --gold-dim:     #7A6230;

  --purple:       #7B3FA0;
  --purple-light: #A855D0;
  --purple-glow:  rgba(120,50,180,0.5);

  --text:         #E8E4DC;
  --text-muted:   #7a7470;
  --text-dim:     #504c48;

  --ff-display:   'Cinzel', serif;
  --ff-body:      'IM Fell English', serif;
  --ff-ui:        'Raleway', sans-serif;
  --ff-serif:     'Cormorant Garamond', serif;

  --nav-h: 74px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--ff-body);
  overflow-x: hidden;
  cursor: default;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Matrix canvas */
#matrixCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 36px;
  background: rgba(5,5,8,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-symbol { display: none; }
.nav-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-variant: small-caps;
  letter-spacing: 0.15em;
  color: #d8b673;
  line-height: 1;
}
.nav-brand-text span { display: inline; }
.nav-brand-text a { text-decoration: none; color: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}
.nav-links a {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.22s;
}
.nav-links a:hover { color: var(--gold); }

.btn-member {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 20px;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.btn-member:hover { background: var(--gold); color: var(--black); }
.plus { margin-right: 4px; opacity: 0.7; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  z-index: 190;
  background: rgba(5,5,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 28px 28px 36px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding: 15px 0;
  border-bottom: 1px solid rgba(201,168,76,0.06);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.gold { color: var(--gold); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
  /* Use the single-archway portrait image on desktop too — scaled to
     fit hero height, anchored to the right column */
  background-image: url('/assets/images/mushroom-archway-mobile.png');
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: var(--black);
}

/* Gradient overlay — only darken the LEFT half where the text sits */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 10, 21, 1) 0%,
    rgba(8, 10, 21, 0.95) 25%,
    rgba(8, 10, 21, 0.4) 45%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}

/* LEFT TEXT */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 6% 80px 7%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-ui);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}
.eyebrow-line {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s ease forwards;
}
.hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--purple-light);
}
.title-dot { color: var(--gold); }

.hero-desc {
  font-family: var(--ff-serif);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 400px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s ease forwards;
}
.btn-portal {
  font-family: var(--ff-ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 28px;
  transition: background 0.25s, color 0.25s;
}
.btn-portal:hover { background: var(--gold); color: var(--black); }
.btn-ghost {
  font-family: var(--ff-ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  transition: color 0.22s;
}
.btn-ghost:hover { color: var(--text); }

.hero-alice {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(232, 201, 122, 0.85);
  margin-top: 22px;
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s ease forwards;
}

/* Mobile-only bottom cluster on the mushroom image. Hidden on desktop. */
.hero-mobile-bottom { display: none; }

/* Invisible click target over the Eat Me sign in the mushroom-archway
   image. Positioned roughly where the sign sits in both desktop and
   mobile layouts. Tune the values if it lands off the sign. */
.eat-me-zone {
  position: absolute;
  z-index: 5;
  display: block;
  cursor: pointer;
  /* Desktop default: image is on the right side of the hero */
  right: 6%;
  bottom: 14%;
  width: 14%;
  height: 10%;
  /* Uncomment to debug position visually:
  background: rgba(255, 0, 0, 0.25);
  border: 1px dashed red; */
}
@media (max-width: 1000px) {
  /* Mobile: image fills viewport (cover), Eat Me sign sits bottom-right */
  .eat-me-zone {
    right: 4%;
    bottom: 22%;
    width: 28%;
    height: 8%;
  }
}

@media (max-width: 1000px) {
  /* Hide the desktop versions inside the text panel */
  .hero-ghost-desktop,
  .hero-alice-desktop { display: none !important; }

  .hero-mobile-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 3%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 4;
    padding: 0;
  }
  /* Two italic alice sentences across the very bottom */
  .hero-alice-line {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 10px;
    color: rgba(201, 168, 76, 0.78);
    line-height: 1.5;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,.85);
  }
}

/* RIGHT SCENE — transparent so mushroom background shows through */
.hero-scene {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-left: none;
  z-index: 2;
}

.portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 100%);
  /* Receded and angled toward the mushroom — increased perspective,
     stronger rotateY, slight downscale + opacity for atmospheric depth */
  transform: perspective(1200px) rotateY(-28deg) scale(0.88) translateX(-4%);
  transform-origin: right center;
  opacity: 0.88;
  filter: blur(0.4px);
}

/* Scene matrix side columns */
.scene-matrix-left,
.scene-matrix-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  pointer-events: none;
}
.scene-matrix-left { left: 0; }
.scene-matrix-right { right: 0; }
.scene-matrix-left .mx-col,
.scene-matrix-right .mx-col {
  font-family: monospace;
  font-size: 9px;
  color: var(--gold-dim);
  line-height: 1.6;
  opacity: 0.5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: matrixScroll 8s linear infinite;
  white-space: nowrap;
}
@keyframes matrixScroll {
  from { transform: translateY(-60%); }
  to   { transform: translateY(0); }
}

/* ARCHWAY */
.archway-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.archway {
  position: relative;
  width: 340px;
  height: 460px;
}

/* Arch frames */
.arch-frame {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 200px 200px 0 0;
  border: 1px solid;
}
.arch-frame-outer {
  width: 320px; height: 400px;
  border-color: rgba(100,60,160,0.5);
  box-shadow:
    0 0 30px rgba(120,50,200,0.3),
    inset 0 0 30px rgba(80,20,140,0.2);
  background: linear-gradient(to bottom,
    rgba(40,10,80,0.8) 0%,
    rgba(20,5,40,0.9) 100%);
}
.arch-frame-mid {
  width: 280px; height: 360px;
  border-color: rgba(150,80,220,0.4);
  box-shadow: 0 0 20px rgba(150,80,220,0.2);
  bottom: 2px;
}
.arch-frame-inner {
  width: 240px; height: 310px;
  border-color: rgba(201,168,76,0.25);
  bottom: 4px;
}

/* Arch interior - deep portal */
.arch-interior {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 230px; height: 300px;
  border-radius: 180px 180px 0 0;
  overflow: hidden;
}
.portal-depth {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(160,80,240,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(80,20,160,0.8) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(80,20,180,0.4), rgba(20,5,60,0.95));
  position: relative;
}
.portal-glow {
  position: absolute;
  top: 10%; left: 20%;
  width: 60%; height: 40%;
  background: radial-gradient(ellipse, rgba(200,150,255,0.4) 0%, transparent 70%);
  filter: blur(12px);
  animation: portalBreath 4s ease-in-out infinite alternate;
}
@keyframes portalBreath {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.15); }
}
.portal-path {
  position: absolute;
  bottom: 0; left: 30%;
  width: 40%; height: 100%;
  background: linear-gradient(to top,
    rgba(100,40,200,0.3) 0%,
    rgba(180,120,255,0.15) 50%,
    transparent 100%);
}
.path-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,180,255,0.9), rgba(150,80,220,0.4));
  filter: blur(3px);
  animation: orbFloat 3s ease-in-out infinite alternate;
}
.path-orb-1 { width:10px;height:10px; bottom:20%;left:44%; animation-delay:0s;}
.path-orb-2 { width:7px;height:7px; bottom:40%;left:47%; animation-delay:.8s;}
.path-orb-3 { width:5px;height:5px; bottom:60%;left:46%; animation-delay:1.6s;}
@keyframes orbFloat {
  0%   { opacity:0.6; transform:translateY(0); }
  100% { opacity:1;   transform:translateY(-8px); }
}

/* Roses */
.roses { position: absolute; bottom: 0; }
.roses-left  { left: -30px; }
.roses-right { right: -30px; }
.rose {
  position: absolute;
  border-radius: 50% 50% 40% 60%;
  background: radial-gradient(circle at 40% 40%, #8B2060, #4a0030);
  box-shadow: 0 0 8px rgba(140,30,100,0.5);
}
.roses-left .r1  { width:28px;height:28px; bottom:80px; left:20px; transform:rotate(-15deg);}
.roses-left .r2  { width:22px;height:22px; bottom:50px; left:0px; transform:rotate(10deg); background:radial-gradient(circle at 40% 40%,#702050,#380028);}
.roses-left .r3  { width:18px;height:18px; bottom:110px;left:5px; transform:rotate(-30deg);}
.roses-right .r1 { width:26px;height:26px; bottom:70px; right:20px;transform:rotate(15deg);}
.roses-right .r2 { width:20px;height:20px; bottom:100px;right:5px; transform:rotate(-10deg);}

.leaf {
  position: absolute;
  background: #1a3d20;
  border-radius: 50% 0 50% 0;
  opacity: 0.7;
}
.roses-left  .l1 { width:20px;height:12px; bottom:70px;left:30px; transform:rotate(-40deg);}
.roses-left  .l2 { width:16px;height:10px; bottom:40px;left:12px; transform:rotate(20deg);}
.roses-right .l1 { width:18px;height:11px; bottom:60px;right:30px;transform:rotate(40deg);}

/* Vines */
.vines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Butterflies */
.butterfly {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.butterfly svg { width: 100%; height: 100%; }
.bf-1 { width:44px;height:32px; top:18%;left:8%; animation: bfFloat 4s ease-in-out infinite alternate, bfFlap 0.4s ease-in-out infinite alternate;}
.bf-2 { width:34px;height:26px; top:12%;right:10%; animation: bfFloat 5s 1s ease-in-out infinite alternate, bfFlap 0.35s 0.1s ease-in-out infinite alternate;}
.bf-3 { width:40px;height:30px; top:55%;right:5%; animation: bfFloat 3.5s 0.5s ease-in-out infinite alternate, bfFlap 0.45s ease-in-out infinite alternate;}
@keyframes bfFloat {
  0%   { transform: translate(0,0) rotate(-5deg); }
  100% { transform: translate(12px,-14px) rotate(5deg); }
}
@keyframes bfFlap {
  0%   { transform: scaleX(1); }
  100% { transform: scaleX(0.7); }
}

/* Mercury symbol in scene */
.scene-mercury {
  position: absolute;
  top: 8%;
  right: 14%;
  width: 36px;
  opacity: 0.6;
  animation: sigilFloat 5s ease-in-out infinite alternate;
  z-index: 4;
}
@keyframes sigilFloat {
  0%   { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

/* Pocket clock */
.pocket-clock {
  position: absolute;
  bottom: 12%;
  left: 8%;
  width: 72px;
  z-index: 4;
  animation: clockSway 6s ease-in-out infinite alternate;
}
.pocket-clock svg { width: 100%; }
@keyframes clockSway {
  0%   { transform: rotate(-4deg) translateY(0); }
  100% { transform: rotate(4deg) translateY(-6px); }
}

/* Eat Me card */
.eat-me-card {
  position: absolute;
  bottom: 10%;
  right: 4%;
  z-index: 10;
  animation: cardFloat 4s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
.eat-me-inner {
  position: relative;
  background: rgba(10,5,20,0.92);
  border: 1px solid var(--gold-dim);
  padding: 16px 22px 18px;
  min-width: 170px;
  text-align: center;
}
.eat-me-bottle {
  width: 16px; height: 28px;
  background: linear-gradient(to bottom, rgba(150,80,220,0.6), rgba(80,20,140,0.8));
  border: 1px solid var(--gold-dim);
  border-radius: 4px 4px 6px 6px;
  margin: 0 auto 8px;
  position: relative;
}
.eat-me-bottle::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 6px;
  border: 1px solid var(--gold-dim);
  border-radius: 3px 3px 0 0;
  background: rgba(80,20,140,0.6);
}
.eat-me-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.key-icon { font-style: normal; font-size: 14px; }
.eat-me-sub {
  font-family: var(--ff-ui);
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
}
.eat-me-border-tl,
.eat-me-border-br {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--gold);
  border-style: solid;
}
.eat-me-border-tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.eat-me-border-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ══════════════════════════════════════════════
   PILLARS
══════════════════════════════════════════════ */
.pillars {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, var(--dark-purple), var(--deep));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 70px 6%;
}
.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/archive-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
}
}

.pillars-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}
.gc-1 { width:500px;height:500px; top:-200px; left:-150px; }
.gc-2 { width:400px;height:400px; bottom:-160px; right:-80px; }

.pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pillar {
  background: rgba(12,10,22,0.95);
  padding: 48px 32px 44px;
  text-align: center;
  transition: background 0.3s;
}
.pillar:hover { background: rgba(20,12,35,0.98); }

.pillar-icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 24px;
}
.pillar-icon-wrap svg { width: 100%; height: 100%; }

.pillar h3 {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text);
  margin-bottom: 14px;
}
.pillar p {
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   AS ABOVE SO BELOW
══════════════════════════════════════════════ */
/* Offerings preview section */
.offerings-preview {
  position: relative;
  z-index: 1;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 6%;
  text-align: center;
  overflow: hidden;
}
.offerings-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/offerings-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
}
.offerings-preview-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.offerings-preview-content .section-eyebrow {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.offerings-preview-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}
.offerings-preview-content p {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.asabove {
  position: relative;
  z-index: 1;
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 80px 6% 90px;
  overflow: hidden;
  text-align: center;
}
.asabove::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/threshold-archway.png');
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
}

.asabove-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}
.geo-svg {
  width: 340px;
  flex-shrink: 0;
  opacity: 0.6;
}
.geo-left  { margin-left: -80px; }
.geo-right { margin-right: -80px; transform: scaleX(-1); }

.asabove-content {
  position: relative;
  z-index: 2;
}
.asabove-mercury {
  margin: 0 auto 20px;
  width: 32px;
  opacity: 0.7;
}
.asabove-mercury svg { width: 100%; }

.asabove-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}
.asabove-arrow {
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--gold-dim);
  opacity: 0.6;
}
.asabove-headline h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.asabove-sub {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 6% 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  transition: color 0.22s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-nav svg { flex-shrink: 0; }

.footer-copy {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.85s ease forwards;
  animation-play-state: paused;
}
.reveal.visible { animation-play-state: running; }

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

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    /* Mobile-tailored tall portrait image — cap at top behind text,
       archway in middle, clock + Eat Me sign at the bottom */
    background-image: url('/assets/images/mushroom-archway-mobile.png');
    background-size: cover;
    background-position: center center;
  }
  /* Pin the text block to the top of the hero. Slightly translucent panel
     so a hint of the mushroom cap bleeds through the text area, and a
     softer fade at the bottom so the cap emerges fully below it. */
  .hero-text {
    align-self: start;
    padding: 92px 7% 30px;
    background: linear-gradient(180deg,
      rgba(5,5,8,0.93) 0%,
      rgba(5,5,8,0.86) 65%,
      rgba(5,5,8,0.55) 88%,
      rgba(5,5,8,0) 100%
    );
  }
  /* No full-hero overlay needed any more — mushroom owns the lower half */
  .hero::after {
    display: none;
  }
  /* New mushroom-archway image already includes the portal — hide the
     separate scene panel so it doesn't double up */
  .hero-scene { display: none; }
  .eat-me-card { right: 6%; bottom: 8%; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .hero-scene { height: 240px; margin-top: -24px; }
  .hero-scene .portal-img {
    transform: perspective(700px) rotateY(-18deg) scale(0.78);
  }
}

@media (max-width: 760px) {
  .nav-links, .btn-member { display: none; }
  .hamburger { display: flex; }
  .nav { padding: 0 20px; }

  .hero-title { font-size: 34px; line-height: 1.05; margin-bottom: 18px; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #d8d4cc;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
  }
  .btn-ghost {
    color: #d8b673;
    text-shadow: 0 1px 4px rgba(0,0,0,.7);
  }
  .hero-alice {
    color: #e8c97a;
    text-shadow: 0 1px 6px rgba(0,0,0,.8);
  }
  .archway { width: 260px; height: 360px; }
  .arch-frame-outer { width: 240px; height: 300px; }
  .arch-frame-mid  { width: 206px; height: 264px; }
  .arch-frame-inner{ width: 174px; height: 228px; }
  .arch-interior   { width: 166px; height: 222px; }

  .asabove-headline { flex-direction: column; gap: 8px; }
  .asabove-arrow { display: none; }
}

@media (max-width: 500px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-scene { height: 420px; }
  .eat-me-card { display: none; }
}

/* ══════════════════════════════════════════════
   EDITORIAL SECTIONS
══════════════════════════════════════════════ */
.ed-sections {
  position: relative;
  z-index: 1;
}

.ed-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.ed-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}
.ed-row--foundation::before,
.ed-row--archive::before { background-image: url('/assets/images/archive-bg.png'); }
.ed-row--offerings::before { background-image: url('/assets/images/offerings-bg.png'); }

.ed-num {
  padding: 52px 32px 52px 7%;
  border-right: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.ed-num-digit {
  display: block;
  font-family: var(--ff-display);
  font-size: 64px;
  font-weight: 400;
  color: rgba(201,168,76,.13);
  line-height: 1;
  margin-bottom: 10px;
}
.ed-num-label {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.ed-content {
  padding: 52px 7% 52px 6%;
  position: relative;
  z-index: 1;
}
.ed-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 18px;
}
.ed-content > p {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 24px;
}
.ed-link {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  transition: opacity .2s;
}
.ed-link:hover { opacity: .65; }

/* 2-col offerings grid inside editorial row */
.ed-offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
  border: 1px solid var(--border);
}
.ed-offering {
  background: rgba(8,10,22,.85);
  padding: 28px 28px 24px;
}
.ed-offering-eyebrow {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.ed-offering h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.ed-offering p {
  font-family: var(--ff-serif);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  font-weight: 300;
}

/* Threshold contained block */
.threshold-block {
  position: relative;
  z-index: 1;
  padding: 80px 7%;
  border-top: 1px solid var(--border);
  overflow: hidden;
  background: var(--deep);
}
.threshold-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/threshold-archway.png');
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
}
.threshold-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  border: 1px solid var(--border);
  padding: 52px;
  background: rgba(5,5,8,.65);
  backdrop-filter: blur(10px);
}
.tb-eyebrow {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.threshold-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.08;
}
.threshold-inner p {
  font-family: var(--ff-serif);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}
.tb-alice {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-size: 14px !important;
  color: rgba(201,168,76,.6) !important;
  margin-bottom: 28px !important;
}

/* 4-column footer */
.footer-4col {
  position: relative;
  z-index: 1;
  background: var(--black);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 7% 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-tagline {
  font-family: var(--ff-serif);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--ff-ui);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--text-dim);
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1000px) {
  .ed-row { grid-template-columns: 110px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .ed-row { grid-template-columns: 1fr; }
  .ed-num { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 7%; }
  .ed-num-digit { font-size: 42px; display: inline; margin-right: 12px; }
  .ed-offerings-grid { grid-template-columns: 1fr; }
  .threshold-inner { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 7% 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
