/* ============================================================
   DADE KRAMA STUDIOS — Design System & Styles
   Aligned to Brand Guidelines + Company Profile
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; }

/* ---------- INTRO LOADER — Logo arrival → slit ignites → camera breaches through ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.intro-overlay.done {
  opacity: 0;
  pointer-events: none;
}

.hero--hidden {
  opacity: 0 !important;
}

.hero--fading-in {
  opacity: 1 !important;
  transition: opacity 1.4s ease !important;
}

/* Zero-size point at viewport centre; children are positioned from here. */
.intro-anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

/* Bbox-centred on the anchor; breach zoom runs on .intro-breach-scale with
   transform-origin at the slit so the wordmark reads centred while the effect
   still pushes through the slit. */
.intro-logo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: clamp(320px, 46vw, 560px);
  aspect-ratio: 1024 / 425;
}

.intro-breach-scale {
  position: relative;
  width: 100%;
  height: 100%;
  /* Camera origin tracks the centre of the red vesica baked into the logo PNG.
     Vesica center is at 25.95% of the 1825x808 image; the wrap uses
     aspect-ratio 1024/425, so object-fit:contain letterboxes the image and the
     vesica's apparent position inside the wrap is 27.45%. */
  transform-origin: 27.45% 50%;
  will-change: transform, opacity;
}

.intro-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.96);
  animation: introLogoIn 1.4s cubic-bezier(0.22, 0.6, 0.22, 1) 0.25s forwards;
}

@keyframes introLogoIn {
  0%   { opacity: 0; transform: scale(0.96); filter: blur(6px); }
  60%  { opacity: 1;                         filter: blur(0); }
  100% { opacity: 1; transform: scale(1);    filter: blur(0); }
}

/* Soft glow sitting over the red eye baked into the PNG.
   Coords are relative to the logo-wrap (not the stage) so they track the image. */
.intro-eye-glow {
  position: absolute;
  top: 26%;
  left: 8.4%;
  width: 5.5%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,84,34,0.9) 0%, rgba(227,84,34,0.35) 45%, rgba(227,84,34,0) 75%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: introEyePulse var(--pulse-duration, 3s) ease-in-out 1.1s infinite;
}

@keyframes introEyePulse {
  0%, 100% { opacity: 0.45; transform: scale(1);    filter: blur(0.5px); }
  50%      { opacity: 1;    transform: scale(1.18); filter: blur(0); }
}

/* Vertical beam aligned exactly on the vesica baked into the logo PNG.
   Appears at IGNITE, intensifies, and during BREACH its glow blooms outward.
   Position 27.45% accounts for the image being letterboxed inside the wrap
   (image aspect 1825:808 vs wrap aspect 1024:425) so the beam sits dead-centre
   inside the existing red vesica instead of beside it. */
.intro-portal {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 27.45%;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255,210,170,0) 0%,
    rgba(255,205,160,0.9) 18%,
    #fff 50%,
    rgba(255,205,160,0.9) 82%,
    rgba(255,210,170,0) 100%
  );
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 0 rgba(255,180,130,0));
}

/* Radial flare blooms from the slit (same horizontal line as the portal). */
.intro-flare {
  position: absolute;
  top: 50%;
  left: 27.45%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,235,210,1) 0%,
    rgba(255,200,150,0.85) 18%,
    rgba(227,84,34,0.55) 42%,
    rgba(139,35,50,0.35) 65%,
    rgba(0,0,0,0) 82%
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* ---- IGNITE — slit fills with light, a warm corona gathers ---- */
.intro-overlay.ignite .intro-portal {
  animation: introPortalIgnite 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

@keyframes introPortalIgnite {
  0%   { opacity: 0;    width: 1px;  filter: drop-shadow(0 0 0 rgba(255,180,130,0)); }
  60%  { opacity: 1;    width: 2.5px; filter: drop-shadow(0 0 10px rgba(255,200,150,0.7)); }
  100% { opacity: 1;    width: 3px;   filter: drop-shadow(0 0 22px rgba(255,205,150,0.9))
                                      drop-shadow(0 0 50px rgba(227,84,34,0.55)); }
}

/* ---- BREACH — camera rides through the slit, overlay lets go ---- */
.intro-overlay.breach .intro-breach-scale {
  animation: introBreachScale 2s cubic-bezier(0.7, 0, 0.25, 1) forwards;
}

@keyframes introBreachScale {
  0%   { transform: scale(1);   opacity: 1; }
  55%  { transform: scale(10);  opacity: 1; }
  80%  { transform: scale(22);  opacity: 0.55; }
  100% { transform: scale(44);  opacity: 0; }
}

.intro-overlay.breach .intro-portal {
  animation: introPortalBreach 2s cubic-bezier(0.7, 0, 0.25, 1) forwards;
}

@keyframes introPortalBreach {
  0%   { opacity: 1; width: 3px;  filter: drop-shadow(0 0 22px rgba(255,205,150,0.9))
                                          drop-shadow(0 0 50px rgba(227,84,34,0.55)); }
  50%  { opacity: 1; width: 7px;  filter: drop-shadow(0 0 60px rgba(255,220,180,0.95))
                                          drop-shadow(0 0 180px rgba(227,120,60,0.55)); }
  100% { opacity: 0; width: 28px; filter: drop-shadow(0 0 240px rgba(255,235,210,1))
                                          drop-shadow(0 0 500px rgba(255,140,80,0.85)); }
}

.intro-overlay.breach .intro-logo {
  animation: introLogoDissolve 1.3s ease-in 0.4s forwards;
}

@keyframes introLogoDissolve {
  0%   { opacity: 1; filter: blur(0); }
  60%  { opacity: 0.4; filter: blur(3px); }
  100% { opacity: 0; filter: blur(10px); }
}

.intro-overlay.breach .intro-eye-glow {
  animation: introEyeFade 0.7s ease forwards;
}

@keyframes introEyeFade {
  to { opacity: 0; }
}

.intro-overlay.breach .intro-flare {
  animation: introFlareBloom 2s cubic-bezier(0.7, 0, 0.25, 1) forwards;
}

@keyframes introFlareBloom {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0); }
  35%  { opacity: 1;   transform: translate(-50%, -50%) scale(14); }
  75%  { opacity: 0.9; transform: translate(-50%, -50%) scale(55); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(110); }
}

.intro-overlay.breach {
  animation: introOverlayBreach 2s cubic-bezier(0.7, 0, 0.25, 1) forwards;
}

@keyframes introOverlayBreach {
  0%   { background: #000; }
  50%  { background: rgba(0, 0, 0, 0.9); }
  100% { background: rgba(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo,
  .intro-eye-glow,
  .intro-portal,
  .intro-flare,
  .intro-overlay.ignite .intro-portal,
  .intro-overlay.breach .intro-breach-scale,
  .intro-overlay.breach .intro-portal,
  .intro-overlay.breach .intro-logo,
  .intro-overlay.breach .intro-eye-glow,
  .intro-overlay.breach .intro-flare,
  .intro-overlay.breach {
    animation: none !important;
  }
}

/* ---------- FLOATING PARALLAX MASK ----------
   Tall portrait-oriented illustrated mask (mask-west.png).
   Sits on the right edge of the Mission section as a watchful presence
   behind the content; parallax drift is driven from js/intro.js. */
.floating-mask {
  position: absolute;
  right: 3%;
  top: 50%;
  width: clamp(135px, 16.5vw, 225px);
  max-height: 88%;
  height: auto;
  opacity: 0;
  filter: saturate(0.85) contrast(1.02);
  pointer-events: none;
  z-index: 0;
  transition: opacity 1.4s ease, transform 1.4s ease;
  transform: translate(40px, -50%);
}

.floating-mask.visible {
  opacity: 0.5;
  transform: translate(0, -50%);
}

/* Floating mask on About panels — same treatment as .floating-mask but
   mirrored to the LEFT side of the panel. Sits between the panel's
   background image (z-index 0) and its text content (z-index 2). */
.about-panel-mask {
  position: absolute;
  left: 3%;
  top: 50%;
  width: clamp(160px, 24vw, 420px);
  max-height: 90%;
  height: auto;
  opacity: 0;
  filter: saturate(0.85) contrast(1.02);
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.4s ease, transform 1.4s ease;
  transform: translate(-40px, -50%);
}

.about-panel-mask.visible {
  opacity: 0.5;
  transform: translate(0, -50%);
}

/* ---------- AMBIENT ORNAMENTS (handshake / hourglass) ----------
   Decorative, pointer-events: none, low opacity — they should read as
   watermark flourishes that reinforce the section's theme, never compete
   with the content. Each modifier positions and tunes a specific piece. */
.ornament {
  position: absolute;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateY(24px) rotate(0deg);
  transition: opacity 1.4s ease, transform 1.4s ease;
  filter: drop-shadow(0 0 28px rgba(227, 84, 34, 0.18));
}

.ornament.visible {
  transform: translateY(0) rotate(0deg);
}

/* Hourglass — IP Showcase (dark crimson). Anticipation, pairs with countdowns.
   Sits top-right, rotated slightly so it feels like a passing moment. */
.ornament--hourglass {
  top: 6%;
  right: -3%;
  width: clamp(180px, 22vw, 320px);
  transform-origin: top right;
  transform: translateY(-18px) rotate(8deg);
}
.ornament--hourglass.visible {
  opacity: 0.22;
  transform: translateY(0) rotate(8deg);
}

/* Handshake — Leadership (dark crimson). The pact at the heart of The Core.
   Sits bottom-right behind the bento grid, faintly echoing the team's unity. */
.ornament--handshake {
  bottom: -6%;
  right: -4%;
  width: clamp(240px, 30vw, 440px);
  transform-origin: bottom right;
  transform: translateY(24px) rotate(4deg);
}
.ornament--handshake.visible {
  opacity: 0.14;
  transform: translateY(0) rotate(4deg);
}

/* Staff — Ecosystem / Myth Engine (cream). The ceremonial staff threads the
   four layers like a spine. The asset is on a black backdrop, so we layer it
   above the cards with `mix-blend-mode: multiply` so the staff reads as a
   warm engraved watermark across crimson, white, and cream alike. The radial
   mask dissolves the black rectangle into the surface so only the staff
   itself remains visible. */
.ornament--staff {
  top: 50%;
  left: 50%;
  width: clamp(640px, 88vw, 1280px);
  z-index: 2;
  transform-origin: center;
  transform: translate(-50%, calc(-50% + 24px)) rotate(-2deg);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 88%);
          mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 88%);
  filter: drop-shadow(0 0 32px rgba(227, 84, 34, 0.20));
}
.ornament--staff.visible {
  opacity: 0.22;
  transform: translate(-50%, -50%) rotate(-2deg);
}

@media (prefers-reduced-motion: reduce) {
  .ornament,
  .ornament.visible {
    transition: opacity 0.4s ease;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .intro-logo-wrap { width: min(82vw, 420px); }
  .floating-mask { width: 28.5vw; right: 3%; top: 50%; max-height: 82%; }
  .about-panel-mask { width: 28.5vw; left: 3%; top: 50%; max-height: 82%; }
  .ornament--hourglass { width: 40vw; top: 4%;    right: -6%; }
  .ornament--handshake { width: 55vw; bottom: -3%; right: -8%; }
  .ornament--staff     { width: 130vw; }
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------- Design Tokens (from Brand Guidelines) ---------- */
:root {
  /* Primary — Burnt Orange / Vermillion */
  --primary:          #E35422;
  --primary-deep:     #C44518;
  --primary-glow:     #F06830;
  --primary-faint:    rgba(227,84,34,0.10);

  /* Crimson / Maroon — dominant dark tone */
  --crimson:          #8B2332;
  --crimson-deep:     #6A1A26;
  --crimson-darker:   #4A1019;
  --crimson-rich:     #7A1F2D;

  /* Secondary — Charcoal */
  --charcoal:         #5B5B5A;
  --charcoal-light:   #7A7A79;
  --charcoal-dark:    #3D3D3C;

  /* Tertiary — Amber / Golden */
  --amber:            #B87A2B;
  --amber-light:      #D4963E;

  /* Dark Surfaces */
  --black:            #0A0A0A;
  --near-black:       #111111;
  --dark-surface:     #1A0E12;
  --dark-card:        #261218;

  /* Light Surfaces */
  --cream:            #FDF8F4;
  --cream-warm:       #F5EDE6;
  --cream-pink:       #F8F0EC;
  --white:            #FFFFFF;

  /* Text */
  --text-dark:        #1A1410;
  --text-mid:         #5B5B5A;
  --text-light:       #8A8078;
  --text-ghost:       #B5AEA5;
  --text-on-dark:     #F5EDE6;
  --text-on-dark-mid: rgba(245,237,230,0.6);

  /* Rules */
  --rule:             rgba(139,35,50,0.15);
  --rule-light:       rgba(0,0,0,0.06);

  /* Typography (Brand Guidelines: Spectral, Cormorant Garamond, Lato) */
  --font-display:     'Spectral', Georgia, serif;
  --font-sub:         'Cormorant Garamond', 'Georgia', serif;
  --font-body:        'Lato', 'Helvetica Neue', sans-serif;
  --font-mono:        'JetBrains Mono', monospace;

  /* Spacing */
  --sp-xxs:  4px;
  --sp-xs:   8px;
  --sp-sm:  12px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-xxl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;
  --sp-5xl: 128px;

  /* Elevation */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.10);
  --shadow-3: 0 8px 24px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.12);
  --shadow-4: 0 20px 60px rgba(0,0,0,0.3), 0 8px 16px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(227,84,34,0.15);

  /* Motion */
  --ease-instant:  100ms ease;
  --ease-fast:     200ms ease-out;
  --ease-normal:   300ms ease-in-out;
  --ease-slow:     500ms cubic-bezier(0.25,0.1,0.25,1);
  --ease-slower:   800ms cubic-bezier(0.175,0.885,0.32,1.275);

  /* Layout */
  --max-w:    1200px;
  --max-w-sm: 800px;
  --max-w-xs: 600px;

  /* Canonical pulse (single language across logo eye, hero micro,
     countdowns, nav active state, store badge). */
  --pulse-duration:  3s;
  --pulse-min:       0.5;
  --pulse-max:       1;
}

/* ---------- Base Typography ---------- */
body {
  font-family: var(--font-body);
  background: var(--near-black);
  color: var(--text-on-dark);
  line-height: 1.6;
  cursor: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h4, h5, h6 {
  font-family: var(--font-sub);
  line-height: 1.3;
  font-style: italic;
}

/* ---------- Smoky Texture Overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--ease-fast), height var(--ease-fast), background var(--ease-fast);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width var(--ease-normal), height var(--ease-normal), border-color var(--ease-normal), opacity var(--ease-normal);
  opacity: 0.4;
}

.cursor-dot.hovering {
  width: 14px;
  height: 14px;
  background: var(--primary-glow);
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--primary-glow);
  opacity: 0.25;
}

/* ---------- Site Logo ---------- */
.site-logo {
  position: fixed;
  top: var(--sp-xl);
  left: var(--sp-xl);
  z-index: 9995;
  height: 36px;
  display: block;
  transition: height 0.4s ease, opacity 0.4s ease;
}

.site-logo.at-hero {
  height: 52px;
}

.site-logo-img {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity 0.4s ease;
}

.site-logo-img--dark { display: none; }

.site-logo.on-light .site-logo-img--light { display: none; }
.site-logo.on-light .site-logo-img--dark  { display: block; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary), var(--amber-light));
  z-index: 9990;
  width: 0%;
}

/* ---------- Brand Bar Element (from guidelines) ---------- */
.brand-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--charcoal-dark), var(--crimson), var(--primary), var(--amber-light));
  border-radius: 2px;
}

.brand-bar--sm { height: 3px; width: 60px; }
.brand-bar--md { height: 4px; width: 120px; }
.brand-bar--lg { height: 5px; width: 200px; }

/* ---------- Side Navigation Dots ---------- */
.side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9000;
}

.side-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,237,230,0.2);
  background: transparent;
  transition: all var(--ease-normal);
  position: relative;
  cursor: pointer;
}

.side-nav-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  transform: scale(1.3);
  animation: subtlePulse var(--pulse-duration, 3s) ease-in-out infinite;
}

.side-nav-dot:hover {
  border-color: var(--primary);
}

.side-nav-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-fast);
}

.side-nav-dot:hover .side-nav-label { opacity: 1; }

/* ---------- Section Framework ---------- */
.section {
  position: relative;
  min-height: 100vh;
  padding: var(--sp-5xl) var(--sp-lg);
  display: flex;
  align-items: center;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-md);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-on-dark);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-bar {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--charcoal-dark), var(--primary), var(--amber-light));
  border-radius: 2px;
  margin-bottom: var(--sp-lg);
}

.section-subtitle {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-on-dark-mid);
  max-width: var(--max-w-xs);
  line-height: 1.6;
  margin-bottom: var(--sp-xxl);
}

/* Dark crimson section */
.section--crimson {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(139,35,50,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(74,16,25,0.3) 0%, transparent 50%),
    var(--near-black);
}

/* Light section */
.section--light {
  background: var(--cream);
  color: var(--text-dark);
}

.section--light .section-label { color: var(--primary); }
.section--light .section-title { color: var(--text-dark); }
.section--light .section-subtitle { color: var(--text-mid); }

/* Cream pink — content pages style from company profile */
.section--cream {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(227,84,34,0.03) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
}

.section--cream .section-label { color: var(--primary); }
.section--cream .section-title { color: var(--text-dark); }
.section--cream .section-subtitle { color: var(--text-mid); }

/* Tribal pattern watermark overlay for light sections */
.section--cream::before,
.section--light::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 15L45 15L37 22L40 32L30 26L20 32L23 22L15 15L25 15Z' fill='none' stroke='%238B2332' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='45' r='8' fill='none' stroke='%238B2332' stroke-width='0.5'/%3E%3Cline x1='30' y1='37' x2='30' y2='53' stroke='%238B2332' stroke-width='0.3'/%3E%3Cline x1='22' y1='45' x2='38' y2='45' stroke='%238B2332' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-xxl);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139,35,50,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,16,25,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(227,84,34,0.1) 0%, transparent 40%),
    var(--near-black);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Pendant — the identity tag + ceremonial bar locked together as one unit.
   The micro text "sits" on the bar, with the bar acting as its plinth/baseline. */
.hero-pendant {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 auto var(--sp-xl);
}

.hero-micro {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
  padding-left: 0.5em;
  opacity: 0;
  animation: fadeIn 0.8s 0.2s ease forwards;
}

.hero-micro .pulse {
  display: inline-block;
  animation: subtlePulse var(--pulse-duration, 3s) ease-in-out infinite;
}

/* Ceremonial bar — sits directly under the micro line as its base/shelf */
.hero-bar {
  display: block;
  width: clamp(300px, 40vw, 520px);
  height: auto;
  margin: 0;
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: center;
  animation: heroBarReveal 1.1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 14px rgba(227, 84, 34, 0.22));
}

@keyframes heroBarReveal {
  0%   { opacity: 0; transform: scaleX(0.55); }
  100% { opacity: 0.95; transform: scaleX(1); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto var(--sp-lg);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-title .word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-secondary {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-on-dark-mid);
  max-width: 540px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.75;
  opacity: 0;
  animation: fadeIn 0.8s 1.4s ease forwards;
}

/* ---------- PRE-ORDER AUDIO BAR (homepage) ---------- */
.preorder-audio {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 10px 18px;
  margin: 0 auto var(--sp-xxl);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(227, 84, 34, 0.25);
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeIn 0.9s 1.8s ease forwards;
  position: relative;
  z-index: 3;
  max-width: 90vw;
}

.preorder-audio-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(227, 84, 34, 0.5);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease-normal), border-color var(--ease-normal);
  flex-shrink: 0;
}

.preorder-audio-toggle:hover {
  background: rgba(227, 84, 34, 0.12);
  border-color: var(--primary);
}

/* Play triangle */
.preorder-audio-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 2px;
  transition: all var(--ease-fast);
}

/* Pause bars — when playing */
.preorder-audio[data-state="playing"] .preorder-audio-icon {
  width: 10px;
  height: 12px;
  border: none;
  margin-left: 0;
  background:
    linear-gradient(to right, var(--primary) 0 3px, transparent 3px 7px, var(--primary) 7px 10px);
}

.preorder-audio-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  opacity: 0.25;
  transition: opacity var(--ease-normal);
}

.preorder-audio-wave span {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform var(--ease-fast);
}

.preorder-audio[data-state="playing"] .preorder-audio-wave {
  opacity: 1;
}

.preorder-audio[data-state="playing"] .preorder-audio-wave span {
  animation: audioWave 1.1s ease-in-out infinite;
}

.preorder-audio[data-state="playing"] .preorder-audio-wave span:nth-child(1) { animation-delay: -0.1s; }
.preorder-audio[data-state="playing"] .preorder-audio-wave span:nth-child(2) { animation-delay: -0.4s; }
.preorder-audio[data-state="playing"] .preorder-audio-wave span:nth-child(3) { animation-delay: -0.2s; }
.preorder-audio[data-state="playing"] .preorder-audio-wave span:nth-child(4) { animation-delay: -0.5s; }
.preorder-audio[data-state="playing"] .preorder-audio-wave span:nth-child(5) { animation-delay: -0.3s; }

@keyframes audioWave {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

.preorder-audio-cta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.8s ease, max-width 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.preorder-audio-cta.visible {
  opacity: 1;
  max-width: 320px;
  pointer-events: auto;
}

.preorder-audio-cta:hover {
  color: var(--primary-glow);
}

/* Track label */
.preorder-audio-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mute button */
.preorder-audio-mute {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  padding: 0;
  flex-shrink: 0;
  transition: color var(--ease-normal);
}

.preorder-audio-mute:hover { color: var(--primary); }

.preorder-audio-mute svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Show/hide sound vs muted icons */
.audio-icon-muted { display: none; }

.preorder-audio[data-muted="true"] .audio-icon-sound { display: none; }
.preorder-audio[data-muted="true"] .audio-icon-muted { display: block; }
.preorder-audio[data-muted="true"] .preorder-audio-mute { color: rgba(255,255,255,0.3); }

/* Dim waveform when paused/blocked */
.preorder-audio[data-state="paused"] .preorder-audio-wave,
.preorder-audio[data-state="blocked"] .preorder-audio-wave {
  opacity: 0.15;
}

/* ── Audio bar wrapper — anchor for the tooltip (bar handles its own margins) ── */
.preorder-audio-wrap {
  position: relative;
  display: inline-block;
}

/* ── Sound nudge tooltip — bubble to the right of the bar, points at the speaker icon ── */
.audio-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  padding: 7px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  /* hidden by default — rest centered vertically, slightly off to the right */
  opacity: 0;
  pointer-events: none;
  transform: translate(4px, -50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 5;
}

.audio-tooltip.visible {
  opacity: 1;
  transform: translate(0, -50%);
  animation: tooltipBob 1.4s ease-in-out infinite;
}

/* Arrow pointing left toward the speaker icon */
.audio-tooltip-arrow {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 7px 6px 0;
  border-color: transparent var(--primary) transparent transparent;
}

@keyframes tooltipBob {
  0%, 100% { transform: translate(0,    -50%); }
  50%       { transform: translate(-5px, -50%); }
}

/* On narrow screens the bar already fills 90vw, so drop the tooltip below */
@media (max-width: 640px) {
  .audio-tooltip {
    top: calc(100% + 14px);
    left: auto;
    right: 12px;
    transform: translateY(-4px);
  }
  .audio-tooltip.visible {
    transform: translateY(0);
    animation: tooltipBobV 1.4s ease-in-out infinite;
  }
  .audio-tooltip-arrow {
    top: auto;
    right: 16px;
    bottom: 100%;
    transform: none;
    border-width: 0 6px 7px 6px;
    border-color: transparent transparent var(--primary) transparent;
  }
  @keyframes tooltipBobV {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-5px); }
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 0.8s 1.8s ease forwards;
  z-index: 2;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--primary);
  opacity: 0.4;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---------- MISSION SECTION ---------- */
.mission {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(139,35,50,0.15) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
  border-bottom: 1px solid var(--rule-light);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='%238B2332' stroke-width='0.4'/%3E%3Ccircle cx='40' cy='40' r='25' fill='none' stroke='%238B2332' stroke-width='0.3'/%3E%3Cpath d='M40 15L45 25L55 25L47 32L50 42L40 36L30 42L33 32L25 25L35 25Z' fill='none' stroke='%238B2332' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.mission-text .section-label { color: var(--primary); }

.mission-text p {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.mission-highlight {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: var(--sp-xl);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mission-highlight em {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-sub);
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1em;
}

.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 400px;
}

.mission-visual canvas {
  width: 100%;
  height: 100%;
}

/* ---------- IP SHOWCASE / CORE NARRATIVE SYSTEMS ---------- */
.ip-showcase {
  background:
    radial-gradient(ellipse at 40% 30%, rgba(139,35,50,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(227,84,34,0.08) 0%, transparent 40%),
    var(--near-black);
  overflow: hidden;
}

.ip-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  margin: 0;
}

/* Silent card: no text, countdown-only */
.ip-card--silent {
  cursor: default;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ip-card--silent .ip-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.75) 0%,
    rgba(10,10,10,0.45) 50%,
    rgba(10,10,10,0.55) 100%
  );
}

.ip-card--silent:hover .ip-card-cover {
  transform: none;
}

.ip-card-logo {
  position: relative;
  z-index: 1;
  width: 60%;
  max-width: 280px;
  height: auto;
  margin-bottom: var(--sp-xl);
  opacity: 0.85;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}

/* ---------- SHARED COUNTDOWN PRIMITIVE ---------- */
.countdown {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: 0.08em;
  color: var(--white);
  position: relative;
  z-index: 2;
  animation: subtlePulse var(--pulse-duration, 3s) ease-in-out infinite;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.countdown--crimson {
  color: #F5EDE6;
  text-shadow: 0 0 28px rgba(227,84,34,0.35), 0 2px 24px rgba(0,0,0,0.6);
}

.countdown--ochre {
  color: var(--amber-light);
  text-shadow: 0 0 28px rgba(184,122,43,0.4), 0 2px 24px rgba(0,0,0,0.6);
}

.ip-card {
  position: relative;
  border-radius: 16px;
  padding: var(--sp-xxl) var(--sp-xl);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  transition: transform var(--ease-slow), box-shadow var(--ease-slow);
}

.ip-card--amane {
  background:
    linear-gradient(160deg, rgba(139,35,50,0.1) 0%, rgba(139,35,50,0.35) 100%),
    var(--dark-card);
  border: 1px solid rgba(227,84,34,0.15);
}

.ip-card--amane .ip-card-cover {
  object-fit: contain;
  object-position: center center;
  background: #080808;
}

.ip-card--akrabaa {
  background:
    linear-gradient(
      160deg,
      rgba(10, 10, 10, 0.72) 0%,
      rgba(10, 10, 10, 0.55) 45%,
      rgba(10, 10, 10, 0.82) 100%
    ),
    linear-gradient(160deg, rgba(184, 122, 43, 0.12) 0%, rgba(184, 122, 43, 0.22) 100%),
    url("../assets/images/akrabaa-card-bg.svg") center center / cover no-repeat,
    #452304;
  border: 1px solid rgba(184, 122, 43, 0.15);
}

.ip-card:hover {
  box-shadow: var(--shadow-4), var(--shadow-glow);
}

.ip-card--has-cover {
  min-height: 520px;
}

.ip-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s cubic-bezier(0.25,0.1,0.25,1), opacity 0.6s ease;
  z-index: 0;
}

.ip-card--has-cover:hover .ip-card-cover {
  transform: scale(1.06);
}

.ip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.75) 35%,
    rgba(10,10,10,0.3) 60%,
    rgba(10,10,10,0.1) 100%
  );
  z-index: 1;
  transition: background var(--ease-slow);
}

.ip-card--has-cover:hover .ip-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.6) 40%,
    rgba(10,10,10,0.15) 70%,
    rgba(10,10,10,0.05) 100%
  );
}

.ip-card--has-cover .ip-card-label,
.ip-card--has-cover .ip-card-title,
.ip-card--has-cover .ip-card-desc,
.ip-card--has-cover .ip-card-detail,
.ip-card--has-cover .ip-card-date,
.ip-card--has-cover .ip-card-expand,
.ip-card--has-cover .ip-card-subtitle {
  position: relative;
  z-index: 2;
}

.ip-card-subtitle {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.03em;
}

.ip-card-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.ip-card--amane .ip-card-label { color: var(--primary); }
.ip-card--akrabaa .ip-card-label { color: var(--amber-light); }

.ip-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: var(--sp-md);
  transform: translateZ(30px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ip-card-desc {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-dark-mid);
  line-height: 1.7;
  max-width: 420px;
  transform: translateZ(15px);
}

.ip-card-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-top: var(--sp-lg);
  transform: translateZ(10px);
}

.ip-card-expand {
  position: absolute;
  top: var(--sp-lg);
  right: var(--sp-lg);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
  opacity: 0;
  transition: opacity var(--ease-fast);
}

.ip-card:hover .ip-card-expand { opacity: 1; }

.ip-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.25,0.1,0.25,1), opacity 0.4s ease;
  opacity: 0;
}

.ip-card.expanded .ip-card-detail {
  max-height: 300px;
  opacity: 1;
  margin-top: var(--sp-md);
}

.ip-card-detail p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-on-dark-mid);
  line-height: 1.7;
}

.ip-section-footer {
  margin-top: var(--sp-xxl);
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-on-dark-mid);
  text-align: center;
}

/* ---------- ABOUT — HORIZONTAL SCROLL ---------- */
.about {
  padding: 0;
  min-height: auto;
  position: relative;
  background: var(--cream-pink);
}

.about-track-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.about-track {
  display: flex;
  height: 100vh;
  will-change: transform;
}

.about-panel {
  min-width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4xl);
  position: relative;
}

.about-panel-inner {
  max-width: 700px;
}

.about-panel:nth-child(1) {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(139,35,50,0.08) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
}

.about-panel:nth-child(2) {
  background:
    radial-gradient(ellipse at 70% 60%, rgba(92,16,16,0.06) 0%, transparent 50%),
    var(--cream);
  color: var(--text-dark);
}

.about-panel:nth-child(3) {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(227,84,34,0.06) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
}

.about-panel:nth-child(4) {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(184,122,43,0.06) 0%, transparent 50%),
    var(--cream);
  color: var(--text-dark);
}

/* About panel background images */
.about-panel--has-bg {
  overflow: hidden;
}

.about-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.35;
  transition: transform 1.5s cubic-bezier(0.25,0.1,0.25,1);
}

.about-panel--dark {
  background: var(--near-black) !important;
}

.about-panel--dark .about-panel-inner {
  position: relative;
  z-index: 2;
}

.about-panel--dark .about-panel-label { color: var(--primary); }
.about-panel--dark .about-panel-title { color: var(--white); }
.about-panel--dark .about-panel-text,
.about-panel--dark .about-panel-text p { color: var(--text-on-dark-mid); }
.about-panel--dark .about-panel-text strong { color: var(--white); }
.about-panel--dark .about-panel-num { color: rgba(227,84,34,0.06); }

.about-panel--has-bg:not(.about-panel--dark) .about-panel-bg {
  opacity: 0.15;
}

/* Fallback background applied via JS when .about-panel-bg fails to load.
   Mirrors the hero section gradient for visual consistency. */
.about-panel--bg-fallback {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139,35,50,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,16,25,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(227,84,34,0.1) 0%, transparent 40%),
    var(--near-black) !important;
}

.about-panel--has-bg .about-panel-num,
.about-panel--has-bg .about-panel-inner {
  position: relative;
  z-index: 2;
}

.about-panel-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(139,35,50,0.06);
  position: absolute;
  top: var(--sp-xxl);
  left: var(--sp-xxl);
  line-height: 1;
}

.about-panel-label {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-md);
}

.about-panel-bar {
  width: clamp(160px, 16vw, 220px);
  aspect-ratio: 34 / 1;
  background-image: url('../assets/images/dk-bar.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  margin-bottom: var(--sp-lg);
  filter: drop-shadow(0 0 8px rgba(227, 84, 34, 0.18));
}

.about-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: var(--sp-lg);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.about-panel-text {
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

.about-panel-text strong {
  font-weight: 600;
  color: var(--text-dark);
}

.about-panel-text .break {
  display: block;
  margin-top: var(--sp-md);
}

/* Values grid inside panel 4 */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
  position: relative;
  z-index: 2;
}

.value-item {
  padding: var(--sp-lg);
  border-radius: 12px;
  background: var(--crimson);
  color: var(--white);
  transition: transform var(--ease-normal), box-shadow var(--ease-normal);
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.value-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.04em;
}

.value-item p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* About scroll indicator */
.about-progress {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.about-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--charcoal-light);
  background: transparent;
  transition: all var(--ease-normal);
  cursor: pointer;
}

.about-progress-dot.active {
  border-color: var(--primary);
  background: var(--primary);
}

/* ---------- ECOSYSTEM SECTION ---------- */
.ecosystem {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(139,35,50,0.06) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
  border-bottom: 1px solid var(--rule-light);
  position: relative;
  overflow: hidden;
}

/* Lift content above the ceremonial staff ornament behind the layers. */
.ecosystem .section-inner {
  position: relative;
  z-index: 1;
}

.ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='%238B2332' stroke-width='0.4'/%3E%3Ccircle cx='40' cy='40' r='25' fill='none' stroke='%238B2332' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.ecosystem .section-label { color: var(--primary); }
.ecosystem .section-title { color: var(--text-dark); }
.ecosystem .section-subtitle { color: var(--text-mid); }

.eco-layers {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: var(--sp-xxl);
}

.eco-layer {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--ease-slow);
  cursor: pointer;
  border: 1px solid transparent;
}

.eco-layer:hover,
.eco-layer.active {
  border-color: var(--rule);
  box-shadow: var(--shadow-2);
  transform: scale(1.01);
}

.eco-layer:hover ~ .eco-layer,
.eco-layer.active ~ .eco-layer {
  opacity: 0.5;
}

.eco-layer-left {
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--crimson);
  color: var(--white);
}

.eco-layer-tag {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-xs);
}

.eco-layer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eco-layer-right {
  padding: var(--sp-xl);
  background: var(--white);
}

.eco-layer-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  max-height: 52px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25,0.1,0.25,1);
}

.eco-layer:hover .eco-layer-desc,
.eco-layer.active .eco-layer-desc {
  max-height: 300px;
}

/* ---------- LEADERSHIP SECTION ---------- */
.leadership {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(139,35,50,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(227,84,34,0.05) 0%, transparent 40%),
    var(--near-black);
  overflow: hidden;
}

/* -- Bento grid -- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: var(--sp-sm);
  margin-top: var(--sp-xxl);
}

/* -- Card: full-bleed photo with overlay info -- */
.team-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-card);
}

.team-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.02);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.team-card:hover .team-card-photo {
  filter: grayscale(100%) contrast(1.05) brightness(1.05);
  transform: scale(1.06);
}

/* -- Tight portrait headshots: keep the natural cover crop, biased toward the head -- */
.team-card-photo--portrait {
  object-fit: cover;
  object-position: center 20%;
}

.team-card:hover .team-card-photo--portrait {
  transform: scale(1.06);
}

/* -- Gradient overlay -- */
.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,11,11,0.9) 0%,
    rgba(11,11,11,0.3) 40%,
    transparent 100%
  );
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.team-card:hover .team-card-overlay {
  background: linear-gradient(
    to top,
    rgba(11,11,11,0.95) 0%,
    rgba(11,11,11,0.6) 50%,
    rgba(11,11,11,0.2) 100%
  );
}

/* -- Info (pinned to bottom) -- */
.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-md);
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1);
}

.team-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.team-card-role {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-card-bio {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-on-dark-mid);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s cubic-bezier(0.25,0.1,0.25,1),
              opacity 0.35s ease 0.1s,
              margin-top 0.4s ease;
}

.team-card:hover .team-card-bio {
  max-height: 80px;
  opacity: 1;
  margin-top: var(--sp-xs);
}

/* -- Founder: 2-col, 2-row featured block -- */
.team-card--founder {
  grid-column: span 2;
  grid-row: span 2;
}

.team-card--founder .team-card-name {
  font-size: 1.1rem;
  margin-bottom: var(--sp-xxs);
}

.team-card--founder .team-card-role {
  font-size: 0.6rem;
}

.team-card--founder .team-card-bio {
  max-height: none;
  opacity: 1;
  margin-top: var(--sp-xs);
  font-size: 0.85rem;
}

.team-card--founder .team-card-info {
  padding: var(--sp-lg) var(--sp-xl);
}

/* -- No-photo cards (initials) -- */
.team-card--no-photo {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(227,84,34,0.06) 0%, transparent 60%),
    linear-gradient(160deg, rgba(139,35,50,0.12), rgba(17,17,17,0.95));
}

.team-card-initials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: rgba(227,84,34,0.1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 0;
  transition: color 0.4s ease;
}

.team-card--no-photo:hover .team-card-initials {
  color: rgba(227,84,34,0.2);
}

/* ---------- IMPACT SECTION ---------- */
.impact {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(227,84,34,0.04) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
  border-bottom: 1px solid var(--rule-light);
  position: relative;
}

.impact .section-label { color: var(--primary); }
.impact .section-title { color: var(--text-dark); }
.impact .section-subtitle { color: var(--text-mid); }

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
  position: relative;
}

.impact-item {
  padding: var(--sp-xl);
  border-radius: 12px;
  background: var(--crimson);
  color: var(--white);
  transition: all var(--ease-slow);
  position: relative;
  overflow: hidden;
}

.impact-item:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}

.impact-item-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: var(--sp-md);
  transition: color var(--ease-normal);
}

.impact-item:hover .impact-item-icon {
  color: rgba(227,84,34,0.4);
}

.impact-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.impact-item-path {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-sm);
}

.impact-item-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ---------- STORE SECTION ---------- */
.store {
  background:
    radial-gradient(ellipse at 60% 30%, rgba(139,35,50,0.4) 0%, transparent 50%),
    var(--near-black);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}

.store-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid rgba(227,84,34,0.08);
  padding: var(--sp-xl);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: all var(--ease-slow);
  position: relative;
}

.store-card:hover {
  border-color: rgba(227,84,34,0.25);
  box-shadow: var(--shadow-3), var(--shadow-glow);
  transform: scale(1.02);
}

.store-card-badge {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(227,84,34,0.15);
  color: var(--primary);
  animation: subtlePulse var(--pulse-duration, 3s) ease-in-out infinite;
}

/* Delivered ornaments — full-color PNG, no masking needed. */
.store-card-ornament {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: var(--sp-md);
  background: var(--cream, #F5EDE6);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(227, 84, 34, 0.08);
  transition: transform var(--ease-normal), box-shadow var(--ease-normal), background-color var(--ease-normal);
}

.store-card:hover .store-card-ornament {
  transform: translateY(-3px) scale(1.04);
  background: #FFFFFF;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(227, 84, 34, 0.25), 0 0 24px rgba(227, 84, 34, 0.25);
}

/* Books tile: white ground to match the asset and align with Merch / Music / Pre-Order tiles */
.store-card-ornament--books {
  background: #FFFFFF;
}

.store-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-card-path {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-on-dark-mid);
  margin-bottom: var(--sp-sm);
}

.store-card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-on-dark-mid);
  line-height: 1.6;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(227,84,34,0.04) 0%, transparent 50%),
    var(--cream-pink);
  color: var(--text-dark);
  position: relative;
}

.contact .section-label { color: var(--primary); }
.contact .section-title { color: var(--text-dark); }
.contact .section-subtitle { color: var(--text-mid); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}

.contact-panel {
  padding: var(--sp-xl);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--rule-light);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--ease-slow);
}

.contact-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.contact-panel:nth-child(1):hover { border-color: var(--primary); }
.contact-panel:nth-child(2):hover { border-color: var(--crimson); }
.contact-panel:nth-child(3):hover { border-color: var(--amber); }
.contact-panel:nth-child(4):hover { border-color: var(--charcoal); }

.contact-panel-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-md);
  opacity: 0.3;
  transition: opacity var(--ease-normal);
}

.contact-panel:hover .contact-panel-icon { opacity: 0.8; }

.contact-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-panel-path {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-light);
  margin-bottom: var(--sp-sm);
}

.contact-panel-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-panel-cta {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--sp-md);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--ease-normal);
}

.contact-panel:nth-child(1) .contact-panel-cta { color: var(--primary); }
.contact-panel:nth-child(2) .contact-panel-cta { color: var(--crimson); }
.contact-panel:nth-child(3) .contact-panel-cta { color: var(--amber); }
.contact-panel:nth-child(4) .contact-panel-cta { color: var(--charcoal); }

.contact-panel:hover .contact-panel-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CONTACT — modal trigger link ---------- */
.contact-modal-trigger-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.contact-modal-trigger {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: transparent;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 0 0 0.2em;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 200ms ease, color 200ms ease;
}

.contact-modal-trigger:hover {
  opacity: 1;
  color: var(--primary);
}

/* ---------- TERMINATION STATE — Join the Reclamation + newsletter ---------- */
.termination {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5xl) var(--sp-lg);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(139, 35, 50, 0.35) 0%, transparent 55%),
    var(--near-black);
}

.termination-inner {
  max-width: 560px;
  margin: 0 auto;
}

.termination-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.termination-sub {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-dark-mid);
  margin: 0 0 var(--sp-xl) 0;
  line-height: 1.7;
}

.termination .newsletter-form,
.termination-form {
  max-width: 100%;
  margin: 0 auto;
}

/* Spam honeypot — leave hidden, FormSubmit will ignore if empty */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- NEWSLETTER CTA (retained for other pages) ---------- */
.newsletter {
  padding: var(--sp-5xl) var(--sp-lg);
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139,35,50,0.6) 0%, transparent 60%),
    var(--near-black);
}

.newsletter-inner {
  max-width: var(--max-w-xs);
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.newsletter-sub {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-dark-mid);
  margin-bottom: var(--sp-xl);
  line-height: 1.7;
}

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

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--dark-card);
  border: 1px solid rgba(227,84,34,0.15);
  border-radius: 8px 0 0 8px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--ease-normal);
}

.newsletter-input::placeholder {
  color: var(--text-on-dark-mid);
  font-family: var(--font-sub);
  font-style: italic;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--ease-normal);
}

.newsletter-btn:hover {
  background: var(--primary-glow);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--sp-4xl) var(--sp-lg);
  text-align: center;
  background: var(--near-black);
  border-top: 1px solid rgba(227,84,34,0.08);
}

.footer-bar {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--charcoal-dark), var(--primary), var(--amber-light));
  border-radius: 2px;
  margin: 0 auto var(--sp-xl);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.1);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
  max-width: 500px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.8;
}

.footer-echo {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-on-dark-mid);
  opacity: 0.35;
}

/* ---------- SITE FOOTER (legal + copyright) ---------- */
.site-footer {
  position: relative;
  padding: var(--sp-3xl) var(--sp-lg) var(--sp-xl);
  text-align: center;
  background: var(--black);
  border-top: 1px solid rgba(227,84,34,0.10);
}

.site-footer-bar {
  display: block;
  width: clamp(200px, 28vw, 320px);
  height: auto;
  margin: 0 auto var(--sp-xl);
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

.site-footer-inner {
  max-width: var(--max-w-sm);
  margin: 0 auto;
}

.site-footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,237,230,0.55);
  margin-bottom: var(--sp-xs);
}

.site-footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: var(--sp-xl);
}

.site-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.site-footer-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color var(--ease-normal);
}

.site-footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease-normal);
}

.site-footer-link:hover,
.site-footer-link:focus-visible {
  color: var(--text-on-dark);
  outline: none;
}

.site-footer-link:hover::after,
.site-footer-link:focus-visible::after {
  transform: scaleX(1);
}

.site-footer-sep {
  color: var(--text-on-dark-mid);
  opacity: 0.4;
  font-size: 0.7rem;
}

.site-footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
  margin-bottom: var(--sp-sm);
}

.site-footer-echo {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-on-dark-mid);
  opacity: 0.5;
  margin: 0;
}

@media (max-width: 480px) {
  .site-footer-mark { letter-spacing: 0.22em; }
  .site-footer-link { font-size: 0.6rem; letter-spacing: 0.18em; }
  .site-footer-copy { font-size: 0.55rem; letter-spacing: 0.14em; }
}

/* ---------- Magnetic Button ---------- */
.magnetic-btn {
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.32s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.38s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.44s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.50s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 48px; }
  50% { opacity: 0.8; height: 56px; }
}

@keyframes subtlePulse {
  0%, 100% { opacity: var(--pulse-max, 1); }
  50%      { opacity: var(--pulse-min, 0.5); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .team-card--founder { grid-column: span 2; grid-row: span 2; }
  .eco-layer { grid-template-columns: 180px 1fr; }
}

@media (max-width: 768px) {
  .site-logo { height: 26px; left: var(--sp-md); top: var(--sp-md); }
  .section { padding: var(--sp-4xl) var(--sp-md); }
  .side-nav { display: none; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  .hero { padding: var(--sp-xl); }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.6rem); max-width: 18ch; }
  .hero-pendant { margin-bottom: var(--sp-lg); }
  .hero-bar { width: clamp(220px, 70vw, 360px); }
  .hero-micro { font-size: 0.7rem; letter-spacing: 0.4em; }

  .mission-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .mission-visual { height: 250px; }

  .ip-cards { grid-template-columns: 1fr; }

  .about-panel { padding: var(--sp-xl); }
  .about-panel-num { font-size: 3rem; }
  /* Keep 2-col grid so all 4 cards stay visible within 100vh panel */
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
    margin-top: var(--sp-md);
  }
  .value-item {
    padding: var(--sp-md);
    border-radius: 8px;
  }
  .value-item h4 { font-size: 0.78rem; }
  .value-item p  { font-size: 0.76rem; line-height: 1.45; }

  .eco-layer { grid-template-columns: 1fr; }
  .eco-layer-left { border-right: none; }

  .team-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .team-card--founder { grid-column: span 2; grid-row: span 2; }

  .impact-grid { grid-template-columns: 1fr; }

  .store-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 8px; }
  .newsletter-btn { border-radius: 8px; }
}

@media (max-width: 480px) {
  .hero-micro { font-size: 0.6rem; letter-spacing: 0.32em; padding-left: 0.32em; }
  .hero-bar { width: clamp(200px, 78vw, 300px); }
  .section-label { font-size: 1rem; letter-spacing: 0.26em; }
}
