:root {
  --bg-primary: #060205;
  --bg-secondary: #090308;
  --bg-card: #0f080b;
  --bg-card-hover: #180c12;
  --ocean: #C41E3A;
  --ocean-light: #E8304A;
  --ocean-dark: #8B0000;
  --ocean-glow: rgba(196, 30, 58, 0.25);
  --jade: #D4AF37;
  --jade-dark: #9A7B10;
  --jade-glow: rgba(212, 175, 55, 0.25);
  --text: #dde6f4;
  --text-muted: #4a3540;
  --text-dim: #9a8a8e;
  --border: #1a0a10;
  --border-glow: #38121e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-primary); }

body {
  background: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ── FULL-PAGE TREE ── */
#page-tree {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: layout style;
}

#page-tree svg {
  width: 100%;
  display: block;
}

/* Sections sit above the tree */
.hero, section, .newsletter-section, footer {
  position: relative;
  z-index: 1;
}

/* Root-5 center spine */
.root-path-5 { stroke: #D4AF37; opacity: 0.22; }


/* Hide scrollbar — Chrome/Safari/Edge */
::-webkit-scrollbar { display: none; }
/* Hide scrollbar — Firefox */
html { scrollbar-width: none; }
/* Hide scrollbar — IE/Edge legacy */
body { -ms-overflow-style: none; }

/* ── VERTICAL SIDE DOCK ── */
.side-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(6, 2, 5, 0.68);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(196, 30, 58, 0.28);
  border-radius: 18px;
  padding: 0.65rem 0.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px rgba(196, 30, 58, 0.1);
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(139, 160, 180, 0.65);
  transform-origin: right center;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease;
  outline: none;
  touch-action: manipulation;
}

/* Illuminate glow layer — radial bloom behind icon */
.dock-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.26) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dock-item:hover::before,
.dock-item.active::before { opacity: 1; }

.dock-item:hover {
  color: var(--jade);
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.18);
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.45),
    0 0 9px rgba(212, 175, 55, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

.dock-item:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.dock-item.active {
  color: var(--jade);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.22);
}

/* Active indicator dot */
.dock-item.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 7px rgba(212, 175, 55, 0.9);
}

.dock-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

/* Tooltip label — slides in from the right on hover */
.dock-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(4, 6, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.26rem 0.62rem;
  border-radius: 6px;
  border: 1px solid rgba(196, 30, 58, 0.28);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
}

.dock-item:hover .dock-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── MOON TRACKER ── */
.moon-tracker {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(4, 6, 14, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  cursor: default;
  transition: border-color 0.3s ease;
}

/* Anchored beside the apex star — right side */
.moon-tracker.at-trunk {
  position: absolute;
  top: calc(100vw * 55 / 1200);
  left: calc(50% + 100vw * 52 / 1200);
  right: auto;
  transform: translateY(-50%);
  z-index: 2;
}

.moon-tracker:hover { border-color: var(--ocean-dark); }

.moon-emoji { font-size: 1rem; line-height: 1; }

.moon-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.moon-phase-name {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-light);
  white-space: nowrap;
}

.moon-illumination {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ── BRISBANE WEATHER TRACKER ── */
.weather-tracker {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(4, 6, 14, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  cursor: default;
  transition: border-color 0.3s ease;
}

/* Anchored beside the apex star — left side */
.weather-tracker.at-trunk {
  position: absolute;
  top: calc(100vw * 55 / 1200);
  left: auto;
  right: calc(50% + 100vw * 52 / 1200);
  transform: translateY(-50%);
  z-index: 2;
}

.weather-tracker:hover { border-color: var(--jade-dark); }

.weather-icon { font-size: 0.85rem; line-height: 1; }

.weather-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.weather-condition {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  white-space: nowrap;
}

.weather-details {
  font-size: 0.54rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.tree-line       { stroke: #2a0c14; fill: none; stroke-linecap: round; stroke-width: 1; }
.tree-line-bright{ stroke: #3a1020; fill: none; stroke-linecap: round; stroke-width: 1.2; }

/* root shadow base — dark blurred duplicate for 3D depth */
.root-shadow { fill: none; stroke: #000; stroke-linecap: round; opacity: 0.32; }
/* root highlight — thin bright edge for cylindrical sheen */
.root-hl     { fill: none; stroke-linecap: round; opacity: 0.28; }

.root-path-1 { stroke: #8b4515; opacity: 0.68; }
.root-path-2 { stroke: #6b3010; opacity: 0.62; }
.root-path-3 { stroke: #7a3d1a; opacity: 0.62; }
.root-path-4 { stroke: #5a2a0d; opacity: 0.72; }
.root-path-5 { stroke: #9b5520; opacity: 0.38; }

.leaf { fill: #2a0c14; opacity: 0.7; }
.canopy-glow { fill: rgba(196,30,58,0.10); filter: blur(8px); }


/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 72px;
  height: auto;
  margin: 0 auto 1.2rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.4));
  opacity: 0;
  animation: fadeUpLogo 1s ease forwards 0.2s;
}

@keyframes fadeUpLogo {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.45; transform: translateY(0); }
}

.footer-logo-img {
  width: 44px;
  height: auto;
  margin: 0 auto 0.6rem;
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.2));
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--jade);
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.07);
  padding: 0.3em 0.9em;
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.5s;
  border-radius: 4px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.8s;
}

.hero-title .name-dede { color: var(--text); display: block; }
.hero-title .d-reverse { display: inline-block; transform: scaleX(-1); }
.hero-title .name-lifewater {
  color: var(--jade);
  text-shadow: 0 0 40px var(--jade-glow), 0 0 80px rgba(212, 175, 55, 0.15);
  display: block;
}

.hero-quote {
  font-size: 1rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.1s;
}

.hero-quote span { color: var(--jade); }

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeUp 1s ease both 1.4s;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-primary {
  padding: 0.7rem 1.8rem;
  background: rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--jade);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--jade);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-primary:visited { color: var(--jade); text-decoration: none; }
.btn-primary:hover { color: var(--bg-primary); box-shadow: 0 0 28px var(--jade-glow), 0 4px 20px rgba(0,0,0,0.4); }
.btn-primary:hover::before { transform: translateX(0); }

.btn-youtube {
  padding: 0.7rem 1.8rem;
  background: #141414;
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-youtube:visited { color: #FFFFFF; text-decoration: none; }
.btn-youtube:hover {
  background: #FFFFFF;
  color: #141414;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  padding: 0.7rem 1.8rem;
  background: rgba(196, 30, 58, 0.06);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(196, 30, 58, 0.28);
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.btn-secondary:visited { color: var(--text-dim); text-decoration: none; }
.btn-secondary:hover { border-color: var(--ocean); color: var(--ocean-light); box-shadow: 0 0 28px var(--ocean-glow), inset 0 0 0 1px rgba(255,255,255,0.05); }

.btn-mantra {
  padding: 0.6rem 1.4rem;
  background: rgba(0, 200, 150, 0.08);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(0, 200, 150, 0.38);
  color: #00c896;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.25);
}
.btn-mantra:visited { color: #00c896; text-decoration: none; }
.btn-mantra:hover {
  background: rgba(0, 200, 150, 0.18);
  color: #00c896;
  border-color: #00c896;
  box-shadow: 0 0 28px rgba(0, 200, 150, 0.3), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-archive {
  padding: 0.6rem 1.4rem;
  background: rgba(240, 225, 195, 0.06);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(61, 170, 110, 0.45);
  color: #3daa6e;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.25);
}
.btn-archive:visited { color: #3daa6e; text-decoration: none; }
.btn-archive:hover {
  background: rgba(240, 225, 195, 0.12);
  color: #52c48a;
  border-color: #3daa6e;
  box-shadow: 0 0 28px rgba(61, 170, 110, 0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-sound {
  padding: 0.6rem 1.4rem;
  background: rgba(233, 30, 99, 0.08);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(233, 30, 99, 0.38);
  color: #E91E63;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.25);
}
.btn-sound:visited { color: #E91E63; text-decoration: none; }
.btn-sound:hover {
  background: rgba(233, 30, 99, 0.18);
  color: #f06292;
  border-color: #E91E63;
  box-shadow: 0 0 28px rgba(233, 30, 99, 0.3), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-webdev {
  padding: 0.6rem 1.4rem;
  background: rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: var(--jade);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 4px 16px rgba(0,0,0,0.25);
}
.btn-webdev:visited { color: var(--jade); text-decoration: none; }
.btn-webdev:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--bg-primary);
  border-color: var(--jade);
  box-shadow: 0 0 28px var(--jade-glow), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-icon {
  display: block;
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ocean), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

section .about-with-quotes,
section .cards-grid,
section .contact-grid {
  text-align: left;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title span { color: var(--ocean-light); }

.section-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--jade), transparent);
  margin: 0 auto 2rem;
}

/* ── SECTION SEPARATORS ── */
.section-sep {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 0;
}
.section-sep::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 18%,
    var(--border-glow) 50%,
    var(--border) 82%,
    transparent 100%
  );
}
.section-sep::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-glow);
}
.section-sep--jade::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.05) 18%,
    rgba(212, 175, 55, 0.15) 50%,
    rgba(212, 175, 55, 0.05) 82%,
    transparent 100%
  );
}
.section-sep--jade::after { background: rgba(212, 175, 55, 0.28); }

/* ── HERO INTERNAL RULE ── */
.hero-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 1.4rem auto;
}

/* ── ABOUT ── */
.about-with-quotes {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-text p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 1rem; }
.about-text p strong { color: var(--jade); font-weight: 600; }

.about-pillars { display: flex; flex-direction: column; gap: 1rem; }

/* ── QUOTES SIDE PANEL ── */
.quotes-side {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(212, 175, 55, 0.18);
}

.quote-item {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.72;
  margin: 0 0 0.55rem;
}

.quote-speaker {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade);
  font-style: normal;
  opacity: 0.75;
}

.pillar {
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ocean);
  transition: all 0.3s ease;
}

.pillar:hover {
  border-left-color: var(--jade);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.pillar h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--ocean-light);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

.pillar p { font-size: 0.82rem; color: var(--text-muted); }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ocean), var(--jade));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.4), 0 0 18px var(--ocean-glow);
}

.card:hover::before { transform: scaleX(1); }

.card-tag { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jade); margin-bottom: 0.7rem; }
.card h3 { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.7rem; line-height: 1.4; }
.card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-read-more { color: var(--ocean-light); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: 2px solid var(--ocean-dark);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(196,30,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-section p { color: var(--text-dim); max-width: 500px; margin: 0 auto 2rem; font-size: 0.95rem; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-right: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--ocean); }

.newsletter-form button {
  padding: 0.8rem 1.4rem;
  background: var(--jade);
  border: none;
  color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--jade-dark); box-shadow: 0 0 18px var(--jade-glow); }
.newsletter-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.9rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem 2rem;
  text-align: center;
}

.footer-logo { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.footer-logo span { color: var(--jade); }
.footer-tagline { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }

.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--jade); }
.footer-coffee-link { color: #f4b400 !important; }
.footer-coffee-link:hover { color: var(--jade) !important; }

.footer-bottom { font-size: 0.7rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1.2rem; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 8rem 3rem 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(196,30,58,0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.blog-main .card { margin-bottom: 1.25rem; }

.blog-sidebar h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  color: var(--ocean-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  padding: 0.28rem 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover { border-color: var(--jade); color: var(--jade); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2.5rem; }

.contact-info h3 { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--ocean-light); margin-bottom: 1rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.88rem;
}

.contact-detail a { color: var(--jade); text-decoration: none; transition: color 0.3s ease; }
.contact-detail a:hover { color: var(--jade-dark); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 2px var(--ocean-glow);
}

.form-group select option { background: var(--bg-card); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }

/* ── COFFEE GRAFFITI NOTE ── */
.coffee-graffiti-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transform: rotate(-5deg);
  transform-origin: top left;
  max-width: 148px;
  padding-left: 6px;
  pointer-events: none;
}

.graffiti-arrow {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: 22px;
  color: rgba(244, 180, 0, 0.7);
  line-height: 1;
  display: block;
  margin-bottom: -4px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
}

.graffiti-main {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 180, 0, 0.85);
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.45);
  display: block;
}

.graffiti-sub {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: 11.5px;
  color: rgba(244, 180, 0, 0.48);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: block;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .coffee-graffiti-note {
    transform: rotate(-2deg);
    max-width: none;
    align-items: center;
    padding-left: 0;
    pointer-events: none;
  }
  .graffiti-main { font-size: 13px; text-align: center; }
  .graffiti-sub  { text-align: center; }
}

@media (max-width: 480px) {
  .coffee-graffiti-note { display: none; }
}

/* ── BUY ME A COFFEE ── */
.btn-coffee {
  background: none;
  border: none;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  color: #f4b400;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.3s ease;
}
.btn-coffee:visited { color: #f4b400; text-decoration: none; }
.btn-coffee:hover { opacity: 0.8; }

.coffee-qr-img { width: 120px; height: 120px; border-radius: 8px; display: block; }
.coffee-scan-label { font-size: 0.65rem; letter-spacing: 0.12em; color: #f4b400; }
.coffee-tap-block { display: none; }

@keyframes verse-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(212,175,55,0.35), 0 0 22px rgba(212,175,55,0.18); }
  50%       { text-shadow: 0 0 16px rgba(212,175,55,0.65), 0 0 38px rgba(212,175,55,0.3); }
}

.hero-verse {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(212, 175, 55, 0.85);
  line-height: 1.7;
  margin-top: 32px;
  text-align: center;
  animation: verse-glow 4s ease-in-out infinite;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
}

.verse-ref {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(212, 175, 55, 0.52);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* ── HERO LATEST POST ── */
.hero-latest {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(15, 5, 8, 0.28);
  border: 1px solid rgba(100, 20, 35, 0.4);
  border-radius: 8px;
  text-align: center;
}

.hero-latest-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 10px;
}

.hero-latest-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.hero-latest-series {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-light);
  font-weight: 500;
}

.hero-latest-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin: 4px 0;
  transition: color 0.2s;
}

.hero-latest-link:hover .hero-latest-title { color: var(--jade); }

.hero-latest-meta {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.btn-wip {
  padding: 0.7rem 1.8rem;
  background: transparent;
  border: 1px solid #c87c2a;
  color: #c87c2a;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-wip:visited { color: #c87c2a; text-decoration: none; }
.btn-wip:hover {
  background: rgba(200, 124, 42, 0.12);
  border-color: #ef9f27;
  color: #ef9f27;
  box-shadow: 0 0 20px rgba(200, 124, 42, 0.25);
}

/* ── VIDEO CARDS ── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--bg-primary);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-embed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.video-embed-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ocean), var(--jade));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 1;
}
.video-embed-card:hover { border-color: var(--border-glow); box-shadow: 0 10px 35px rgba(0,0,0,0.4), 0 0 18px var(--ocean-glow); }
.video-embed-card:hover::before { transform: scaleX(1); }
.video-card-body { padding: 1.2rem 1.4rem; }
.video-card-body .card-tag { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jade); margin-bottom: 0.5rem; }
.video-card-body h3 { font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; line-height: 1.4; }
.video-card-body .card-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.video-thumb-card { padding: 0; }
.video-thumb-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-primary);
}
.video-thumb-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
  filter: brightness(0.75);
}
.video-thumb-card:hover .video-thumb-wrapper img { transform: scale(1.04); filter: brightness(1); }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: rgba(212,175,55,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--bg-primary);
  transition: all 0.3s ease;
  padding-left: 3px;
}
.video-thumb-card:hover .play-btn { background: var(--jade); box-shadow: 0 0 20px var(--jade-glow); transform: translate(-50%, -50%) scale(1.12); }
.video-thumb-card .card-tag,
.video-thumb-card h3,
.video-thumb-card p,
.video-thumb-card .card-meta { padding: 0 1.4rem; }
.video-thumb-card .card-tag { padding-top: 1.2rem; margin-bottom: 0.5rem; }
.video-thumb-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.video-thumb-card .card-meta { padding-bottom: 1.2rem; }

/* ── MOBILE STAR CANVAS ── */
#mobile-stars {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── LEAF CANVAS (floating leaves from logo) ── */
#leaf-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

/* ── VANTA HERO BACKGROUND ──
   Fixed at root level so it sits between star-canvas (z:-1) and content (z:1)
   — no stacking context parent to isolate the screen blend. */
#vanta-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent !important;
}

/* Screen blend: jade/ocean birds glow additively into the starfield below */
#vanta-hero canvas {
  mix-blend-mode: screen !important;
  background: transparent !important;
}

/* ── SVG LEAF SHAPES ── */
.leaf-shapes .leaf {
  fill: #2a0c14;
  opacity: 0.72;
}

.leaf-shapes .leaf-alt {
  fill: #D4AF37;
  opacity: 0.60;
}

.leaf-shapes .leaf-apex {
  fill: #D4AF37;
  opacity: 0.85;
}

/* ── STAR RING PULSE (replaces SMIL r-attribute animation — compositor-safe) ── */
.star-ring {
  transform-box: fill-box;
  transform-origin: center;
}
.star-ring-outer { animation: starRingPulse 5s ease-in-out infinite; }
.star-ring-inner { animation: starRingPulse 5s ease-in-out 2.5s infinite; }
@keyframes starRingPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 0; transform: scale(2); }
}
@media (prefers-reduced-motion: reduce) {
  .star-ring-outer, .star-ring-inner { animation: none; opacity: 0.1; }
}

/* ── GROWING LOGO BRANCHES ── */
.logo-branch-jade {
  opacity: 0.75;
}

.logo-branch-ocean {
  opacity: 0.60;
}

#page-tree-svg {
  transform-origin: top center;
}

/* ── CUSTOM CURSOR ── */
html.custom-cursor,
html.custom-cursor * {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #C41E3A;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  box-shadow: 0 0 10px rgba(196, 30, 58, 0.85), 0 0 22px rgba(196, 30, 58, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, margin 0.22s ease;
}

.cursor-dot.is-hovering {
  background: #D4AF37;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.9), 0 0 30px rgba(212, 175, 55, 0.45);
}

.cursor-ring.is-hovering {
  width: 50px;
  height: 50px;
  border-color: rgba(196, 30, 58, 0.55);
  margin-left: -8px;
  margin-top: -8px;
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Compact dock for mobile — no tooltip, smaller icons */
  .side-dock {
    right: 0.55rem;
    padding: 0.5rem 0.35rem;
    gap: 0.3rem;
    border-radius: 14px;
  }

  .dock-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .dock-item:hover { transform: scale(1.1); }

  .dock-icon {
    width: 17px;
    height: 17px;
  }

  .dock-label { display: none; }

  .dock-item.active::after {
    width: 3px;
    height: 3px;
    bottom: 2px;
  }

  /* Hide moon + weather trackers on mobile */
  .moon-tracker, .weather-tracker { display: none; }

  /* Layout */
  .about-with-quotes, .blog-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .quotes-side { padding-left: 0; border-left: none; border-top: 1px solid rgba(0, 200, 150, 0.18); padding-top: 2rem; }
  section { padding: 3.5rem 1.25rem 3.5rem 1.25rem; padding-right: 58px; }
  .page-hero { padding: 3.5rem 1.25rem 3rem; padding-right: 58px; }
  .newsletter-section { padding: 2.5rem 1.25rem; padding-right: 58px; }

  /* Hero: let it grow to fit all content */
  .hero { height: auto; min-height: 100vh; min-height: 100svh; padding-top: 2rem; padding-bottom: 3rem; align-items: flex-start; }
  .hero-content { padding: 1.25rem; padding-right: 58px; }
  .hero-logo { width: 52px; margin-bottom: 0.8rem; }
  /* CTA: 2x2 grid + coffee stacked below on mobile */
  .hero-cta { flex-direction: column; gap: 0.75rem; }
  .cta-grid { width: 100%; max-width: 320px; gap: 0.55rem; }
  .cta-grid a { width: 100%; max-width: none; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
  .hero-verse { font-size: 1rem; margin-top: 1rem; line-height: 1.5; }

  /* Coffee: hide QR, show tap button on mobile */
  .coffee-qr-block { display: none; }
  .coffee-tap-block { display: block; }
  .btn-coffee {
    padding: 0.6rem 1.4rem;
    border: 1px solid #f4b400;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-direction: row;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
  }
  .btn-coffee:hover { background: rgba(244,180,0,0.1); box-shadow: 0 0 18px rgba(244,180,0,0.25); opacity: 1; }

  /* Stop expensive SVG animations on mobile */
  .tree-canopy { animation: none; }
  .root-shadow { display: none; }
  .light-beam { display: none; }
  #apex-star { animation: none !important; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }

  /* Forms */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid var(--border-glow); }
  .contact-form { gap: 1rem; }

  /* Replace tree with star constellation on mobile */
  html { background: #000; }
  #page-tree { display: none; }
  #mobile-stars { display: block; }
  .section-node, .section-node-outer { display: none; }
  /* Stop SVG SMIL drop animations on mobile */
  .drop-1, .drop-2, .drop-3, .drop-4, .pulse-drop { display: none; }

  /* Footer */
  footer { padding: 3rem 1.25rem 2rem; }
  .footer-links { flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 12vw, 3rem); }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .btn-primary, .btn-secondary, .btn-youtube, .btn-mantra, .btn-archive, .btn-sound, .btn-webdev, .btn-coffee, .btn-wip { padding: 0.55rem 1rem; font-size: 0.75rem; }
  section { padding: 2.5rem 1rem; }
  .newsletter-section { padding: 2rem 1rem; }
  .pillar { padding: 1rem; }
  /* Verse and latest post take too much space on very small screens */
  .hero-verse { display: none; }
  .hero-latest { display: none; }
}


/* Disable sticky hover states on touch — prevents repaint loops and GPU layer thrash */
@media (hover: none) and (pointer: coarse) {
  .card:hover { transform: none; box-shadow: none; }
  .card:hover::before { transform: scaleX(0); }
  .pillar:hover { transform: none; background: var(--bg-card); border-left-color: var(--ocean); }
  .btn-primary:hover { color: var(--jade); box-shadow: none; }
  .btn-primary:hover::before { transform: translateX(-100%); }
  .video-thumb-card:hover .video-thumb-wrapper img { transform: none; filter: brightness(0.75); }
  .video-thumb-card:hover .play-btn { transform: translate(-50%, -50%); box-shadow: none; background: rgba(0,200,150,0.85); }
  /* Kill dock scale-flash on tap — active glow from .active state is sufficient */
  .dock-item:hover { transform: none; box-shadow: none; background: none; color: rgba(139, 160, 180, 0.65); }
  .dock-item:hover::before { opacity: 0; }
  .dock-item:hover .dock-label { opacity: 0; }
}

/* ── SVG TREE ANIMATIONS (apex star + light beams) ── */
.light-beam { opacity: 0; stroke-linecap: round; }
.lb-main { animation: beamMain 4.5s ease-in-out infinite; }
.lb-soft { animation: beamSoft 4.5s ease-in-out infinite; }
.lb1  { animation-delay: 0s; }
.lb2  { animation-delay: 0.45s; }
.lb3  { animation-delay: 0.9s; }
.lb4  { animation-delay: 1.35s; }
.lb5  { animation-delay: 1.8s; }
.lb6  { animation-delay: 0.23s; }
.lb7  { animation-delay: 0.68s; }
.lb8  { animation-delay: 1.13s; }
.lb9  { animation-delay: 1.58s; }
.lb10 { animation-delay: 2.25s; }
@keyframes beamMain { 0%, 100% { opacity: 0; } 50% { opacity: 0.14; } }
@keyframes beamSoft { 0%, 100% { opacity: 0; } 50% { opacity: 0.08; } }
#apex-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: starRotate 32s linear infinite, starBreath 4s ease-in-out infinite;
}
@keyframes starRotate { to { transform: rotate(360deg); } }
@keyframes starBreath { 0%, 100% { opacity: 0.88; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #apex-star, .light-beam { animation: none; }
  .light-beam { opacity: 0.06; }
  #apex-star { opacity: 1; }
}
