/* Volcanes roll — tropical volcanic: basalt, jungle green, ember glow, ash and mist */
.vc {
  --basalt: #0e1311;
  --jungle: #13291d;
  --fern: #3f6b35;
  --moss: #9db35e;
  --ember: #e4572e;
  --lava: #ff9f43;
  --ash: #bdb7ab;
  --grotesk: "Space Grotesk", var(--display);
  --ri-bg: #0f1a14;
  --ri-tint: rgba(228, 87, 46, 0.6); /* ember ground on landing */
  --ri-text: var(--lava);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(228, 87, 46, 0.08), transparent 70%),
    var(--basalt);
  color: #eef0e8;
  font-family: var(--grotesk);
}
.vc .eyebrow { color: var(--moss); }
.vc .eyebrow b { color: var(--lava); }
.vc .glitch.is-glitching::before { color: var(--ember); }
.btn--vc { border-color: var(--lava); color: var(--lava); }
.btn--vc:hover { background: var(--lava); border-color: var(--lava); color: var(--basalt); }

/* ---------- HERO SCENE ---------- */
.vc-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-start;
  padding: 130px var(--gutter) 80px;
  overflow: hidden;
}
.vc-scene { position: absolute; inset: 0; }
.vc-scene svg { width: 100%; height: 100%; }
.crater { animation: breathe 3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.halo { animation: breathe 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { from { opacity: 0.55; transform: scale(0.92); } to { opacity: 1; transform: scale(1.08); } }
.flow { stroke-dasharray: 40 26; animation: flow 3.5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -132; } }
.puff {
  transform-box: fill-box; transform-origin: center;
  opacity: 0;
  animation: plume 9s linear infinite;
  filter: blur(10px);
}
@keyframes plume {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-160px, -420px) scale(2.6); }
}
.vc-embers { position: absolute; inset: 0; pointer-events: none; }
.vc-embers i {
  position: absolute; bottom: 38%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--lava); box-shadow: 0 0 8px 2px rgba(255, 159, 67, 0.7);
  animation: ember linear infinite;
}
@keyframes ember {
  0% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), -55vh); }
}
.vc-fog { position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; }
.vc-fog i {
  position: absolute; left: -50%; width: 200%; height: 60%; bottom: 10%;
  background: radial-gradient(ellipse 30% 50% at 30% 50%, rgba(220, 226, 216, 0.14), transparent 70%),
              radial-gradient(ellipse 25% 40% at 70% 60%, rgba(220, 226, 216, 0.1), transparent 70%);
  animation: drift 40s linear infinite alternate;
}
.vc-fog i:nth-child(2) { bottom: 0; animation-duration: 55s; animation-direction: alternate-reverse; opacity: 0.8; }
@keyframes drift { to { transform: translateX(25%); } }

.vc-leaves { position: absolute; inset: auto 0 -10px 0; height: 46%; pointer-events: none; }
.leaves { position: absolute; bottom: 0; height: 100%; width: auto; }
.leaves--l { left: -40px; }
.leaves--r { right: -60px; transform: scaleX(-1); }
.frond {
  transform-origin: 20px 380px;
  transform: rotate(var(--r)) scale(var(--s));
  animation: sway 5s ease-in-out infinite alternate;
}
@keyframes sway { to { transform: rotate(calc(var(--r) + 5deg)) scale(var(--s)); } }

.vc-hero__content { position: relative; z-index: 2; max-width: 620px; }
.vc-hero h1 {
  font-family: "Anton", var(--display); font-weight: 400;
  font-size: clamp(76px, 13vw, 200px); line-height: 0.9; text-transform: uppercase;
  margin-bottom: 14px;
}
.vc-hero h1 .glitch {
  background: linear-gradient(180deg, #f2efe6 0%, #d8d2c4 45%, var(--lava) 78%, var(--ember) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(228, 87, 46, 0.35));
}
.vc-hero__sub { font-family: var(--mono); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lava); margin: 0 0 20px; }
.vc-hero__lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #d8dbd0; margin: 0 0 32px; max-width: 500px; }

/* ---------- STRATA divider ---------- */
.strata { display: grid; }
.strata i { display: block; height: 16px; clip-path: polygon(0 40%, 6% 0, 14% 55%, 23% 10%, 33% 60%, 45% 5%, 57% 50%, 68% 15%, 80% 60%, 91% 0, 100% 45%, 100% 100%, 0 100%); margin-top: -6px; }
.strata i:nth-child(1) { background: var(--fern); }
.strata i:nth-child(2) { background: #2b2a24; }
.strata i:nth-child(3) { background: #5a3a28; }
.strata i:nth-child(4) { background: #1a1d1a; }

/* ---------- INTRO ---------- */
.vc-intro { display: grid; gap: 56px; }
.vc-intro__text p { margin: 0; max-width: 780px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.45; }
.vc-intro__text p::first-letter { color: var(--lava); font-family: "Anton", var(--display); font-size: 1.6em; }
.vc-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid rgba(157, 179, 94, 0.3); }
.vc-stats div { padding: 22px 0; text-align: center; }
.vc-stats div + div { border-left: 1px solid rgba(157, 179, 94, 0.3); }
.vc-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); }
.vc-stats dd { margin: 6px 0 0; font-family: "Anton", var(--display); font-size: clamp(42px, 5vw, 64px); line-height: 1; color: var(--lava); }

/* ---------- REGISTRY ---------- */
.vc-head { margin-bottom: 32px; }
.vc-head h2 { font-family: "Anton", var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(60px, 10vw, 130px); }
.vc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.vc .r-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ash); border: 1px solid rgba(189, 183, 171, 0.35);
  transition: all 0.2s;
}
.vc .r-chip:hover { color: var(--lava); border-color: var(--lava); }
.vc .r-chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #fff; }

.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 56px 32px; }
.vc .r-card {
  display: flex; flex-direction: column; text-align: left;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
}
/* Frame cut like a volcanic peak with a crater notch */
.vc .r-frame { position: relative; transition: transform 0.4s, filter 0.4s; }
.vc .r-inner {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  clip-path: polygon(0 18%, 30% 4%, 42% 0, 46% 3%, 54% 3%, 58% 0, 70% 4%, 100% 18%, 100% 100%, 0 100%);
  background: var(--jungle);
}
.vc .r-inner img { width: 100%; height: 100%; object-fit: cover; }
.vc .r-poster {
  position: absolute; inset: 0;
  display: grid; place-items: end start; padding: 22px;
  background:
    radial-gradient(ellipse 30% 12% at 50% 2%, rgba(255, 159, 67, 0.9), transparent 70%),
    repeating-linear-gradient(170deg, transparent 0 26px, rgba(0, 0, 0, 0.12) 26px 28px),
    linear-gradient(180deg, #2a2420 0%, #1c2a21 45%, var(--jungle) 70%, #0c1a12 100%);
}
.vc .r-poster span { font-family: "Anton", var(--display); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: rgba(238, 240, 232, 0.85); }
.vc .r-card:hover .r-frame { transform: translateY(-6px); filter: drop-shadow(0 0 22px rgba(228, 87, 46, 0.55)); }
.vc .r-status {
  position: absolute; right: 16px; bottom: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(14, 19, 17, 0.75); color: var(--ash);
}
.vc .r-status.is-live { color: var(--lava); }
.vc .r-meta {
  display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss);
}
.vc .r-card h3 { font-family: "Anton", var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1.05; margin: 0 0 8px; letter-spacing: 0.01em; }
.vc .r-sum { margin: 0; font-size: 16px; color: #b9bcb1; }

/* ---------- CLOSE ---------- */
.vc-close {
  text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 50% 60% at 50% 110%, rgba(228, 87, 46, 0.35), transparent 70%);
}
.vc-close h2 { font-family: "Anton", var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 6vw, 76px); line-height: 1; max-width: 860px; margin: 0 auto 16px; }
.vc-close p { margin: 0 0 30px; color: #b9bcb1; }

.vc { --accent: var(--lava); --modal-bg: #121a16; }
.vc .suggest { border-color: rgba(157, 179, 94, 0.3); }
.vc .suggest h3, .vc .suggest__list a { font-family: "Anton", var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.vc-modal { background: #121a16; border-color: rgba(157, 179, 94, 0.3); }
.vc-modal h3 { font-family: "Anton", var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: 1; margin-bottom: 12px; }
.vc-modal .modal__body p:last-child { color: #b9bcb1; margin: 0; }

@media (max-width: 700px) {
  /* Keep the crater (66% across the artwork) on screen instead of centre-slicing it away */
  .vc-scene { background: #0b1714; }
  .vc-scene svg { position: absolute; bottom: -20svh; height: 100svh; width: 177.8svh; max-width: none; left: calc(60vw - 117.8svh); }
  .vc-leaves { height: 30%; }
  .vc-stats div { padding: 14px 4px; }
}
