:root {
  --accent: #C04E2A;
  --bg-light: #F9F9FB;
  --panel-bg: rgba(255, 255, 255, 0.4);
  --border-color: rgba(0, 0, 0, 0.08);
  --text-dark: #111115;

  
  --font-sf: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;

  
  --track-display: -0.022em;   
  --track-heading: -0.012em;   
  --track-label: 0.06em;       
  --track-label-lg: 0.08em;    
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  cursor: none !important; 
}

body { 
  background: var(--bg-light); 
  color: var(--text-dark); 
  font-family: var(--font-sf); 
  overflow-x: hidden; 
  transition: background 0.8s ease; 
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}



#cursor-dot { 
  position: fixed; 
  width: 8px; 
  height: 8px; 
  background: var(--accent); 
  border-radius: 50%; 
  pointer-events: none; 
  z-index: 20003; 
  transform: translate(-50%, -50%); 
  transition: background 0.4s, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

#cursor-ring { 
  position: fixed; 
  width: 40px; 
  height: 40px; 
  border: 1px solid var(--accent); 
  border-radius: 50%; 
  pointer-events: none; 
  z-index: 20003; 
  transform: translate(-50%, -50%); 
  transition: border-color 0.4s, width 0.3s, height 0.3s; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

#cursor-cross { 
  position: absolute; 
  width: 140%; 
  height: 140%; 
  border-radius: 50%; 
  border: 1px dashed rgba(0,0,0,0.15); 
  animation: spinRing 24s linear infinite; 
  pointer-events: none; 
}

#cursor-canvas { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw; 
  height: 100vh; 
  pointer-events: none; 
  z-index: 20003; 
}


@media (hover: none), (pointer: coarse) {
  * { cursor: auto !important; }
  #cursor-dot, #cursor-ring, #cursor-canvas { display: none !important; }
}

body.is-hovering #cursor-dot { 
  transform: translate(-50%, -50%) scale(2.5); 
  background: #fff; 
  mix-blend-mode: difference; 
}

body.is-hovering #cursor-ring { 
  width: 56px; 
  height: 56px; 
  border-width: 2px; 
}

body.is-dragging #cursor-ring { 
  width: 28px; 
  height: 28px; 
  border-width: 3px; 
  border-style: dotted; 
}

@keyframes spinRing { 
  100% { transform: rotate(360deg); } 
}


header {
  position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 25px 5%; z-index: 100; border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(255,255,255,0.7);
}

.logo { font-family: var(--font-sf); font-weight: 700; font-size: 1.35rem; letter-spacing: var(--track-label-lg); text-decoration: none; color: var(--text-dark); }
.logo span { color: var(--accent); transition: color 0.4s; }
nav { display: flex; gap: 40px; }
nav a { color: var(--text-dark); text-decoration: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 600; opacity: 0.5; transition: 0.3s; }
nav a:hover { opacity: 1; color: var(--accent); }


#atmo-canvas { position: absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index: 1; opacity: 0.75; }
#three-wrap { position: fixed; top:0; right:0; width: 50vw; height: 100vh; z-index: 2; pointer-events: none; }
#three-wrap::after {
  content: ''; position: absolute; left: 50%; bottom: 14%; width: 60%; height: 60px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0) 72%);
  filter: blur(2px); pointer-events: none;
}


section { position: relative; width: 100vw; min-height: 100vh; display: flex; z-index: 3; box-sizing: border-box; }
#stage {
  background:
    radial-gradient(ellipse 60% 50% at 78% 38%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 8% 85%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
  transition: background 0.8s ease;
}

.content-left { width: 50vw; padding: 12% 5% 8% 5%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }


.edition-eyebrow {
  font-family: var(--font-sf); font-size: 0.7rem; letter-spacing: var(--track-label); text-transform: uppercase;
  font-weight: 600; margin-bottom: 1.5rem; transition: color 0.4s, border-color 0.4s; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 30px; width: fit-content; background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.edition-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.edition-name {
  font-family: var(--font-sf); font-size: clamp(3.6rem, 7vw, 6.4rem); font-weight: 700; line-height: 0.94; margin-bottom: 1.75rem;
  text-transform: uppercase; color: var(--text-dark); letter-spacing: var(--track-display);
  background: linear-gradient(180deg, var(--text-dark) 60%, color-mix(in srgb, var(--text-dark) 55%, transparent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.edition-tag { font-size: 1.3rem; opacity: 0.7; font-weight: 400; max-width: 460px; line-height: 1.5; color: var(--text-dark); }


.nav-ctrls { display: flex; align-items: center; gap: 25px; margin-top: 3.5rem; }
.arr { width: 50px; height: 50px; border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-weight: 600; background: #fff; }
.arr:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.05); }
#edition-dots { display: flex; gap: 12px; }
.dot { width: 8px; height: 8px; background: rgba(0,0,0,0.15); border-radius: 50%; transition: 0.3s; }
.dot.active { background: var(--accent); transform: scale(1.6); }


#spotlight { background: transparent; border-top: 1px solid var(--border-color); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); position: relative; }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; padding: 8% 5%; gap: 5%; box-sizing: border-box; background: rgba(255, 255, 255, 0.25); }
.spot-left { display: flex; flex-direction: column; justify-content: center; }
.badge-wrap { display: flex; align-items: baseline; gap: 12px; margin: 1.5rem 0; }
#badge-num { font-size: 3.5rem; font-family: var(--font-sf); font-weight: 700; letter-spacing: var(--track-heading); font-variant-numeric: tabular-nums; transition: color 0.5s; color: var(--text-dark); }


.sp-bar-row { margin-bottom: 1.5rem; }
.sp-bar-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: var(--track-label); display: block; margin-bottom: 6px; opacity: 0.5; font-weight: 600; }
.sp-bar-track { height: 4px; background: rgba(0,0,0,0.06); width: 100%; position: relative; border-radius: 2px; overflow: hidden; }
.sp-bar-fill { height: 100%; width: 0%; transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s; }
.sp-bar-val { font-size: 0.75rem; float: right; margin-top: 4px; opacity: 0.5; font-weight: 600; }

#sp-vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 2.5rem; border-top: 1px solid var(--border-color); padding-top: 2.5rem; }
.vital-l { font-size: 0.75rem; text-transform: uppercase; opacity: 0.4; letter-spacing: var(--track-label); font-weight: 600; }
.vital-v { font-size: 1.05rem; font-weight: 600; margin-top: 5px; color: var(--text-dark); }


#lab { background: transparent; border-top: 1px solid var(--border-color); padding: 8% 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#lab-eyebrow { font-family: var(--font-sf); font-size: 0.75rem; letter-spacing: var(--track-label); margin-bottom: 1.5rem; font-weight: 600; }
.lab-container { display: flex; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(15px); border: 1px solid var(--border-color); width: 100%; max-width: 1200px; height: 600px; box-shadow: 0 30px 60px rgba(0,0,0,0.01); border-radius: 8px; overflow: hidden; }

.lab-interaction { position: relative; width: 65%; height: 100%; background: rgba(250, 249, 246, 0.3); }
#lab-canvas-3d { width: 100%; height: 100%; display: block; touch-action: none; }

.lab-dashboard { width: 35%; border-left: 1px solid var(--border-color); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255, 255, 255, 0.6); }
#ptabs { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 1.2rem; }
.ptab { font-size: 0.75rem; opacity: 0.25; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-label); transition: 0.3s; }
.ptab.active { opacity: 1; color: var(--accent); }
.ptab.done { opacity: 0.5; text-decoration: line-through; }

.lab-status-metrics { margin: 1.5rem 0; }
.metric-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 14px; font-weight: 500; }
.metric-val { font-family: var(--font-sf); font-weight: 700; font-variant-numeric: tabular-nums; transition: color 0.3s; }


.arc-visualizer { display: flex; justify-content: center; align-items: center; position: relative; height: 140px; margin: 1rem 0; }
.arc-svg { transform: rotate(-90deg); width: 120px; height: 120px; }
.arc-bg { fill: none; stroke: rgba(0,0,0,0.03); stroke-width: 5; }
.arc-fill { fill: none; stroke-width: 5; stroke-dasharray: 282.7; stroke-dashoffset: 282.7; transition: stroke-dashoffset 0.1s, stroke 0.4s; }
#arc-p { position: absolute; font-family: var(--font-sf); font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-dark); }

#lab-instr { font-size: 0.85rem; opacity: 0.6; line-height: 1.6; min-height: 45px; text-align: center; font-weight: 500; }


#lab-payoff { opacity: 0; transform: translateY(15px); transition: 0.5s; pointer-events: none; text-align: center; }
#lab-payoff.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.claim-cta { padding: 16px 32px; background: var(--text-dark); border: none; color: #fff; text-transform: uppercase; font-family: var(--font-sf); font-size: 0.75rem; letter-spacing: var(--track-label); font-weight: 600; border-radius: 4px; transition: 0.3s; width: 100%; }
.claim-cta:hover { background: var(--accent); transform: translateY(-2px); }


#collection { background: transparent; padding: 8% 5%; box-sizing: border-box; display: flex; flex-direction: column; border-top: 1px solid var(--border-color); }
.col-title { font-family: var(--font-sf); font-weight: 700; font-size: 2.5rem; margin-bottom: 5rem; text-align: center; letter-spacing: var(--track-heading); }
#editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; width: 100%; }


.ed-card { 
  background: rgba(255, 255, 255, 0.25); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color); 
  padding: 2.5rem; 
  display: flex; 
  flex-direction: column; 
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s, background-color 0.4s; 
  border-radius: 12px; 
  animation: gentleFloat var(--float-dur, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
.ed-card:hover { border-color: var(--c); box-shadow: 0 30px 60px rgba(0,0,0,0.03); background: rgba(255, 255, 255, 0.7); }
.ed-card.active-card { background: rgba(255, 255, 255, 0.65); border-color: var(--c); border-width: 1.5px; }
.ed-icon { font-size: 2.2rem; margin-bottom: 1.5rem; display: block; }
.ed-name { font-family: var(--font-sf); font-weight: 600; font-size: 1.35rem; margin-bottom: 6px; color: var(--text-dark); letter-spacing: var(--track-heading); }
.ed-sub { font-size: 0.8rem; opacity: 0.4; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 600; }
.ed-desc { font-size: 0.9rem; opacity: 0.6; line-height: 1.6; margin-bottom: 2.5rem; height: 90px; overflow: hidden; }

.ed-stat { display: flex; justify-content: space-between; font-size: 0.8rem; padding: 12px 0; border-top: 1px solid var(--border-color); font-weight: 500; }
.st-l { opacity: 0.4; }
.ed-cta { margin-top: auto; padding: 14px; border: 1px solid var(--border-color); background: rgba(255,255,255,0.6); color: var(--text-dark); text-align: center; text-decoration: none; font-size: 0.8rem; letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 600; transition: 0.3s; border-radius: 4px; }
.ed-card:hover .ed-cta { background: var(--c); border-color: transparent; color: #fff; }

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


#reserve { background: transparent; display: flex; justify-content: center; align-items: center; padding: 10% 5%; border-top: 1px solid var(--border-color); }
.res-box { max-width: 520px; width: 100%; text-align: center; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); padding: 4rem 3rem; border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 40px 80px rgba(0,0,0,0.01); }
.res-box h2 { font-family: var(--font-sf); font-weight: 700; font-size: 2.2rem; margin-bottom: 1rem; letter-spacing: var(--track-heading); }
.res-box p { font-size: 0.95rem; opacity: 0.5; margin-bottom: 2.5rem; line-height: 1.6; font-weight: 500; }
.form-group { display: flex; flex-direction: column; gap: 18px; }
.form-group input { background: rgba(255,255,255,0.6); border: 1px solid var(--border-color); padding: 18px; color: var(--text-dark); font-family: inherit; font-size: 0.95rem; outline: none; transition: 0.3s; border-radius: 4px; font-weight: 500; }
.form-group input:focus { border-color: var(--accent); background: #fff; }
.submit-btn { background: var(--text-dark); color: #fff; font-family: var(--font-sf); font-size: 0.8rem; font-weight: 600; letter-spacing: var(--track-label); border: none; padding: 20px; border-radius: 4px; text-transform: uppercase; transition: background 0.4s; }
.submit-btn:hover { background: var(--accent); }


#about-brik {
  background: transparent; border-top: 1px solid var(--border-color); padding: 8% 5%;
  display: flex; justify-content: center; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.about-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 40%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 72%);
  transition: background 0.8s ease;
}
.about-box {
  max-width: 620px; position: relative; z-index: 1;
  background: #ffffff;
  border: 1px solid var(--border-color); border-radius: 20px;
  padding: 3.75rem 3rem; box-shadow: 0 40px 80px rgba(17,17,21,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
.about-brick {
  width: 78px; height: 78px; margin: 0 auto 26px; perspective: 500px;
  filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--accent) 14%, transparent));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.about-brick:hover {
  transform: scale(1.03) rotate(7deg);
  filter: drop-shadow(0 16px 34px color-mix(in srgb, var(--accent) 32%, transparent));
}
.about-divider {
  width: 80px; height: 1px; margin: 1.5rem auto 1.75rem; border: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 55%, var(--border-color)), transparent);
}
.about-box h2 {
  font-family: var(--font-sf); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 1.4rem 0 0; letter-spacing: var(--track-heading); color: var(--text-dark);
}
.about-box p { font-size: 1.05rem; opacity: 0.6; line-height: 1.75; font-weight: 500; margin-bottom: 2.25rem; }
.about-learn-btn { display: inline-flex; align-items: center; gap: 9px; transition: border-color 0.35s, color 0.35s, box-shadow 0.35s, transform 0.35s; }
.about-learn-btn svg { width: 14px; height: 14px; transition: transform 0.35s; }
.about-learn-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 24%, transparent);
}
.about-learn-btn:hover svg { transform: translateX(6px); }
.about-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 2.25rem;
  font-family: var(--font-sf); font-size: 0.65rem; letter-spacing: var(--track-label); text-transform: uppercase;
  font-weight: 600; opacity: 0.4; padding: 7px 15px; border: 1px solid var(--border-color); border-radius: 30px;
}
.about-badge span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }


footer {
  background: rgba(255, 255, 255, 0.82); border-top: 1px solid var(--border-color); padding: 7% 5% 40px 5%;
  font-size: 0.9rem; z-index: 3; position: relative; overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background 0.8s ease;
}
.footer-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 45% 60% at 12% 0%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 88% 100%, color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 70%);
  transition: background 0.8s ease;
}

.footer-top {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.15fr; gap: 30px 48px;
  padding-bottom: 56px;
}

.footer-brand h3 {
  font-family: var(--font-sf); font-weight: 700; font-size: 1.3rem; letter-spacing: var(--track-label-lg);
  margin-bottom: 18px; color: var(--text-dark);
}
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { opacity: 0.5; max-width: 340px; line-height: 1.7; font-weight: 500; font-size: 0.88rem; }

.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.social-lnk {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color); background: rgba(255,255,255,0.6); color: var(--text-dark);
  opacity: 0.6; transition: opacity 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.social-lnk svg { width: 15px; height: 15px; }
.social-lnk:hover { opacity: 1; color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.footer-links h4, .footer-journey h4 {
  font-family: var(--font-sf); font-weight: 600; font-size: 0.7rem; letter-spacing: var(--track-label);
  margin-bottom: 22px; opacity: 0.4; text-transform: uppercase;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: var(--text-dark); text-decoration: none; opacity: 0.6; transition: opacity 0.3s, color 0.3s, padding-left 0.3s; font-weight: 500; font-size: 0.88rem; }
.footer-links a:hover { opacity: 1; color: var(--accent); padding-left: 4px; }

.footer-journey p { opacity: 0.5; font-weight: 500; font-size: 0.85rem; line-height: 1.6; margin-bottom: 22px; max-width: 240px; }
.footer-journey-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-sf); font-size: 0.72rem; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase;
  color: #fff; background: var(--text-dark); padding: 14px 20px; border-radius: 30px;
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s; opacity: 1;
  box-shadow: 0 10px 30px rgba(17,17,21,0.08);
}
.footer-journey-btn svg { width: 15px; height: 15px; transition: transform 0.35s; flex-shrink: 0; }
.footer-journey-btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 30%, transparent); }
.footer-journey-btn:hover svg { transform: translateX(3px); }

.footer-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--border-color);
  font-size: 0.75rem; opacity: 0.4; font-weight: 600; letter-spacing: 0.02em;
}


.footer-brick { width: 78px; height: 78px; margin-bottom: 30px; perspective: 500px; }
.fb-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  animation: footerBrickSpin 14s ease-in-out infinite;
}
.fb-face {
  position: absolute; top: 50%; left: 50%; backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.fb-front, .fb-back  { width: 78px; height: 36px; margin: -18px 0 0 -39px; background: color-mix(in srgb, var(--accent) 82%, #1a1a1a); }
.fb-back              { transform: rotateY(180deg) translateZ(24px); }
.fb-front             { transform: translateZ(24px); }
.fb-right, .fb-left  { width: 48px; height: 36px; margin: -18px 0 0 -24px; background: color-mix(in srgb, var(--accent) 55%, #000); }
.fb-right             { transform: rotateY(90deg) translateZ(39px); }
.fb-left              { transform: rotateY(-90deg) translateZ(39px); }
.fb-top, .fb-bottom  { width: 78px; height: 48px; margin: -24px 0 0 -39px; background: color-mix(in srgb, var(--accent) 35%, #fff); }
.fb-top               { transform: rotateX(90deg) translateZ(18px); }
.fb-bottom            { transform: rotateX(-90deg) translateZ(18px); }

@keyframes footerBrickSpin {
  0%, 100% { transform: rotateX(-16deg) rotateY(0deg) translateY(0px); }
  50%      { transform: rotateX(-16deg) rotateY(180deg) translateY(-6px); }
}


.rv { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.in { opacity: 1; transform: translateY(0); }

#preloader {
  position: fixed; inset: 0; z-index: 100000; background: var(--bg-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-mark { font-family: var(--font-sf); font-weight: 700; font-size: 1.6rem; letter-spacing: var(--track-label-lg); color: var(--text-dark); }
.pre-mark span { color: var(--accent); }
.pre-bar { width: 220px; height: 2px; background: rgba(0,0,0,0.08); border-radius: 2px; overflow: hidden; }
.pre-fill { width: 0%; height: 100%; background: var(--accent); transition: width 0.25s ease; }
.pre-pct { font-family: var(--font-sf); font-size: 0.7rem; letter-spacing: var(--track-label); opacity: 0.4; font-weight: 600; font-variant-numeric: tabular-nums; }


#scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 9997; background: transparent; }
#scroll-progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.05s linear, background-color 0.4s; }


#scroll-cue { position: absolute; bottom: 48px; left: 5%; display: flex; align-items: center; gap: 12px; opacity: 0.5; transition: opacity 0.4s; }
#scroll-cue span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 600; }
#scroll-cue .cue-line { width: 1px; height: 28px; background: var(--text-dark); position: relative; overflow: hidden; }
#scroll-cue .cue-line::after { content: ''; position: absolute; top: -28px; left: 0; width: 100%; height: 28px; background: var(--accent); animation: cueDrop 1.6s ease-in-out infinite; }
@keyframes cueDrop { 0% { top: -28px; } 100% { top: 28px; } }
#scroll-cue.hide { opacity: 0; pointer-events: none; }


nav a.nav-lnk.active-link { opacity: 1; color: var(--accent); }
nav a.nav-lnk { position: relative; }
nav a.nav-lnk::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--accent); transition: width 0.3s ease; }
nav a.nav-lnk.active-link::after { width: 100%; }



#toast-stack { position: fixed; top: 100px; right: 30px; z-index: 20010; display: flex; flex-direction: column; gap: 10px; pointer-events: none; align-items: flex-end; }
.toast-chip {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); border: 1px solid var(--border-color);
  padding: 12px 20px; border-radius: 30px; font-family: var(--font-sf); font-size: 0.7rem;
  letter-spacing: var(--track-label); font-weight: 600; text-transform: uppercase; color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); opacity: 0; transform: translateX(30px) scale(0.9);
}


.magnetic { will-change: transform; }


#editions-grid { perspective: 1200px; }
.ed-card { transform-style: preserve-3d; }


#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 20002; }

@media (prefers-reduced-motion: reduce) {
  .ed-card, .rv, #scroll-cue .cue-line::after, .fb-inner { animation: none !important; transition: none !important; }
}


.hero-pre #stage-eyebrow, .hero-pre #stage-name, .hero-pre #stage-tag, .hero-pre .nav-ctrls { opacity: 0; }


.inspect-cta, .ghost-btn {
  font-family: var(--font-sf); font-size: 0.7rem; letter-spacing: var(--track-label); text-transform: uppercase;
  font-weight: 600; padding: 14px 22px; border-radius: 30px; border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.7); color: var(--text-dark); transition: 0.3s;
}
.inspect-cta:hover, .ghost-btn:hover { border-color: var(--accent); color: var(--accent); }

#inspect-hud {
  position: fixed; top: 110px; right: 5%; z-index: 50; display: none; flex-direction: column; gap: 10px; align-items: flex-end;
}
body.inspecting #inspect-hud { display: flex; }
body.inspecting #three-wrap { pointer-events: auto; cursor: grab; touch-action: none; }
body.inspecting #three-wrap:active { cursor: grabbing; }
body.inspecting .content-left, body.inspecting #scroll-cue { opacity: 0; pointer-events: none; transition: opacity 0.4s; }
body.inspecting header { opacity: 0.3; pointer-events: none; }
#inspect-hint { font-size: 0.7rem; letter-spacing: var(--track-label); text-transform: uppercase; opacity: 0.5; font-weight: 600; background: rgba(255,255,255,0.7); padding: 8px 16px; border-radius: 20px; }
#xray-toggle.active { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }


#inspect-hotspots { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.hotspot {
  position: absolute; top: 0; left: 0; transform: translate(-50%, -50%);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.35s;
}
body.inspecting .hotspot.visible { pointer-events: auto; opacity: 1; cursor: pointer; }
.hotspot-dot {
  display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.55), 0 0 16px var(--accent);
  animation: hotspot-pulse 2.2s ease-in-out infinite;
}
.hotspot:hover .hotspot-dot { animation-play-state: paused; transform: scale(1.35); }
@keyframes hotspot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}
#hotspot-tip {
  position: absolute; top: 0; left: 0; transform: translate(-50%, calc(-100% - 18px));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color); border-radius: 12px; padding: 10px 16px; min-width: 150px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 46;
}
#hotspot-tip.visible { opacity: 1; }
#hotspot-tip-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: var(--track-label); opacity: 0.5; font-weight: 700; margin-bottom: 3px; }
#hotspot-tip-val { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }


.temp-slider-wrap { display: flex; align-items: center; gap: 12px; margin: 1.2rem 0; }
.temp-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: var(--track-label); opacity: 0.5; font-weight: 600; flex-shrink: 0; }
#forge-temp { flex: 1; accent-color: var(--accent); cursor: pointer; }
#temp-readout { font-family: var(--font-sf); font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); width: 64px; text-align: right; flex-shrink: 0; }


body.founder-mode { --accent: #D4AF37; }
body.founder-mode #stage-name, body.founder-mode .col-title, body.founder-mode .res-box h2, body.founder-mode .footer-brand h3 {
  background: linear-gradient(120deg, #D4AF37, #fff6d8, #D4AF37);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.founder-mode header { box-shadow: 0 0 30px rgba(212,175,55,0.25); }


#unbox-overlay {
  position: fixed; inset: 0; z-index: 20000;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 70%),
    rgba(249, 249, 251, 0.88);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: none; align-items: center; justify-content: center; opacity: 0;
  padding: 24px; box-sizing: border-box;
  transition: opacity 0.4s ease;
}
#unbox-overlay.show { display: flex; opacity: 1; }

.unbox-stage {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.25rem; perspective: 1200px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem 3.5rem 3.25rem;
  max-width: 480px; width: 100%;
  box-sizing: border-box;
  box-shadow: 0 50px 110px rgba(0,0,0,0.10), 0 1px 0 rgba(255,255,255,0.8) inset;
}

.unbox-box {
  width: 190px; height: 190px;
  background: linear-gradient(150deg, #ffffff 0%, #f5f3ee 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border-color));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center; position: relative; transform-style: preserve-3d;
  box-shadow:
    0 35px 70px rgba(17,17,21,0.10),
    0 0 70px color-mix(in srgb, var(--accent) 16%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.04);
}
.unbox-lid {
  position: absolute; top: -10px; left: -10px; right: -10px; height: 100px;
  background: linear-gradient(150deg, #ffffff 0%, #ece9e1 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border-color));
  border-bottom: none;
  border-radius: 16px 16px 0 0; transform-origin: top;
  box-shadow: 0 14px 26px rgba(17,17,21,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.unbox-product {
  width: 100%; height: 100%; display: block;
  opacity: 0; transform: scale(0.4) translateY(20px);
  filter: drop-shadow(0 18px 26px rgba(17,17,21,0.18));
}
.unbox-copy { color: var(--text-dark); }
.unbox-eyebrow {
  font-family: var(--font-sf); font-size: 0.68rem; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 30px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.unbox-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.unbox-copy h2 {
  font-family: var(--font-sf); font-size: 2rem; font-weight: 700; line-height: 1.15;
  margin-bottom: 1rem; letter-spacing: var(--track-heading); color: var(--text-dark);
}
.unbox-copy p { opacity: 0.55; margin-bottom: 0; font-weight: 500; font-size: 0.98rem; line-height: 1.6; }
.unbox-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 2rem; width: 100%; }
.unbox-actions .claim-cta { width: auto; flex: 1 1 auto; min-width: 200px; }
.unbox-copy .ghost-btn { background: rgba(255,255,255,0.7); color: var(--text-dark); border-color: var(--border-color); }
.unbox-copy .ghost-btn:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }


#cert-modal {
  position: fixed; inset: 0; z-index: 20001;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 70%),
    rgba(249, 249, 251, 0.9);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box;
}
#cert-modal.show { display: flex; }
.cert-panel { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; width: 100%; }
#cert-canvas {
  width: min(800px, 100%); height: auto; border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 50px 120px rgba(17,17,21,0.16), 0 0 0 1px rgba(255,255,255,0.5) inset;
}
.cert-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert-actions .claim-cta { width: auto; padding: 16px 32px; }
.cert-actions .ghost-btn { background: rgba(255,255,255,0.7); color: var(--text-dark); border-color: var(--border-color); }
.cert-actions .ghost-btn:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }

@media (max-width: 600px) {
  .unbox-stage { padding: 3rem 1.75rem 2.5rem; border-radius: 16px; gap: 1.75rem; }
  .unbox-box { width: 150px; height: 150px; }
  .unbox-copy h2 { font-size: 1.5rem; }
  .unbox-actions { flex-direction: column; }
  .unbox-actions .claim-cta, .unbox-actions .ghost-btn { width: 100%; min-width: 0; }
  .cert-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .cert-actions .claim-cta, .cert-actions .ghost-btn { width: 100%; }
}


@media (max-width: 880px) {
  #three-wrap { position: absolute; width: 100%; height: 60vh; top: 0; right: 0; z-index: 1; opacity: 0.55; }
  #stage { flex-direction: column; }
  .content-left { width: 100%; padding: 32% 6% 8% 6%; position: relative; z-index: 3; }
  .edition-name { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .edition-tag { max-width: 100%; }

  .spot-grid { grid-template-columns: 1fr; padding: 14% 6%; gap: 3rem; }
  #sp-vitals { grid-template-columns: 1fr 1fr; }

  .lab-container { flex-direction: column; height: auto; max-width: 100%; }
  .lab-interaction { width: 100%; height: 340px; }
  .lab-dashboard { width: 100%; border-left: none; border-top: 1px solid var(--border-color); padding: 2rem; }

  #editions-grid { grid-template-columns: 1fr; }

  footer { padding-top: 18%; }
  #about-brik { padding: 14% 6%; }
  .about-box { padding: 2.75rem 1.75rem; border-radius: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; padding-bottom: 40px; }
  .footer-brand p { max-width: 100%; }
  .footer-journey p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  #inspect-hud { top: auto; bottom: 16px; right: 6%; }
  .res-box { padding: 2.5rem 1.5rem; }
}
