/* ============================================================
   ASSEMBLE — 6-Hour Vibe Coding Hackathon
   Design tokens
   ============================================================ */
:root{
  --void:        #09090c;
  --void-soft:   #0f0f14;
  --panel:       #15151b;
  --panel-line:  #232330;
  --blood:       #c81e3a;
  --blood-deep:  #7a0f22;
  --blood-glow:  rgba(200,30,58,0.45);
  --vibranium:   #8b5cf6;
  --vibranium-deep:#4c2889;
  --chrome:      #edeef3;
  --graphite:    #8d8d99;
  --graphite-dim:#5a5a66;
  --amber:       #e8a33d;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 2px;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--void);
  color: var(--chrome);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, transparent 0%, var(--void) 88%);
  z-index: 4;
  pointer-events: none;
}

.hero-web-seam {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.75;
}

.hero-web-seam svg {
  width: 100%;
  height: 100%;
  display: block;
}
#about-gridscan-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5; /* keep it subtle behind text */
  pointer-events: none; /* let clicks/scroll pass through to content */
}

.seam-strand {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.25));
}

.seam-strand.thin {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.75;
}

.seam-node {
  fill: var(--blood);
}

.seam-node-glow {
  fill: var(--blood);
  opacity: 0.35;
  filter: blur(6px);
  animation: seam-pulse 2.4s ease-in-out infinite;
}

@keyframes seam-pulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.4); }
}

@media (max-width: 768px) {
  .hero-fade { height: 180px; }
  .hero-web-seam { height: 140px; opacity: 0.5; }
}


.hero-fracture {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}
#showcase {
  padding-top: 0;
  margin-top: -20px; /* pulls content up so jagged line + text feel connected */
  position: relative;
  z-index: 1;
}

.hero-fracture svg {
  display: block;
  width: 100%;
  height: 90px;
}

.fracture-fill {
  fill: var(--void);
}

.fracture-line {
  fill: none;
  stroke: var(--blood);
  stroke-width: 2;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px var(--blood)) drop-shadow(0 0 14px var(--blood));
}

@media (max-width: 768px) {
  .hero-fracture svg { height: 50px; }
}

a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
img{ max-width: 100%; display:block; }
button{ font-family: inherit; cursor: pointer; }

::selection{ background: var(--blood); color: var(--chrome); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* content always sits above background media */
section{ overflow: hidden; }
section > .wrap, footer > .wrap{ position: relative; z-index: 1; }

/* ============================================================
   IMAGE PLACEHOLDER SYSTEM
   Drop a file at the path shown in the slot and it appears
   automatically — no code changes needed. Until then it shows
   an animated placeholder so the layout still looks intentional.
   ============================================================ */


.img-slot{
  position: relative;

  overflow: hidden;
}
.img-slot img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-slot:not(.has-img) img{ display: none; }
.img-slot.has-img:hover img{ transform: scale(1.045); }

/* LEFT HERO CHARACTER */



.img-slot.slot-portrait-left{
    position: absolute;
    top: 0;
    left: -40px;          /* Adjust until it looks right */
    bottom: 0;

    width: 430px;         /* Increase if needed */
    height: 100%;

    z-index: 1;
    pointer-events: none;

    display: flex;
    align-items: flex-end;
    animation: floatyLeft 6s ease-in-out infinite;
}


.img-slot.slot-portrait-left img{
    width: 100%;
    height: 100%;

    object-fit: cover;          /* Fill the full height */
    object-position: left center;

    filter:
        drop-shadow(0 20px 35px rgba(0,0,0,.75))
        drop-shadow(0 0 18px rgba(255,255,255,.15))
        drop-shadow(0 0 25px rgba(255,0,0,.18));

    transition: .4s ease;
}

@keyframes floatyLeft{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
}
.img-slot.slot-portrait-left.empty::before{
  content:"";
  position:absolute; inset:10px;
  border: 1.5px dashed rgba(237,238,243,0.16);
  border-radius: var(--radius);
}
.img-slot.slot-portrait-left.empty::after{
  content: "🖼   " attr(data-label);
  position:absolute; inset:26px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; white-space:pre-line;
  font-family: var(--font-mono); font-size:10.5px; letter-spacing:0.06em; line-height:1.6;
  color: var(--graphite-dim);
  background: linear-gradient(120deg, transparent 30%, rgba(200,30,58,0.10) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer{
  0%{ background-position: 220% 0; }
  100%{ background-position: -220% 0; }
}

/* full-bleed background slots (hero, auth panel, prizes, footer) —
   label tucks into a corner instead of covering the middle, since
   real content sits on top of these the whole time. */
.img-slot.slot-bleed{ position:absolute; inset:0; z-index:0; }
.img-slot.slot-bleed.dim.has-img::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(9,9,12,0.55) 0%, rgba(9,9,12,0.82) 100%);
}
.img-slot.slot-bleed.empty::before{ inset:18px; }
.img-slot.slot-bleed.empty::after{
  inset: auto; top: 92px; right: 18px; left: auto; bottom: auto;
  width: auto; max-width: 220px;
  justify-content: flex-end; text-align: right;
  padding: 8px 12px;
  background: rgba(9,9,12,0.55);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  animation: none;
  opacity: 0.65;
}

/* right-side character cutout in hero, gently floating */
.img-slot.slot-portrait{
    position:absolute;

    right:-15%;
    bottom:-40px;

    width:820px;
    height:110%;

    z-index:5;

    animation:floatSpider 10s ease-in-out infinite;
}

.img-slot.slot-portrait img{
    width:100%;
    height:100%;
    object-fit:contain;

    /* filter:
        drop-shadow(0 0 8px rgba(255,0,0,.18))
        drop-shadow(0 0 18px rgba(255,40,40,.12))
        drop-shadow(0 0 35px rgba(255,0,0,.08)); */

    transition:.4s ease;
}
.img-slot.slot-portrait.empty::before{ inset:24px; }
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-16px); }
}
.img-slot.slot-portrait::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    right:80px;
    top:120px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,0,0,.45) 0%,
    rgba(255,0,0,.18) 45%,
    transparent 80%);

    filter:blur(90px);

    z-index:-1;

    animation:glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse{

    0%,100%{
        transform:scale(1);
        opacity:.5;
    }

    50%{
        transform:scale(1.15);
        opacity:1;
    }

}

/* inline card-style slots (about, timeline, venue, codename) */
.img-slot.slot-card{ width:100%; aspect-ratio: 4 / 3; border: 1px solid var(--panel-line); border-radius: var(--radius); }
.img-slot.slot-card-wide{ width:100%; aspect-ratio: 16 / 9; border: 1px solid var(--panel-line); border-radius: var(--radius); }
.img-slot.slot-card-sm{ width:100%; aspect-ratio: 16 / 10; border: 1px solid var(--panel-line); border-radius: var(--radius); margin-bottom: 16px; }

@media (max-width: 700px){
  .img-slot.slot-portrait{ display:none; }
}

@keyframes floatSpider{

0%{

transform:
translateY(0px)
rotate(-2deg);

}

50%{

transform:
translateY(-15px)
rotate(2deg);

}

100%{

transform:
translateY(0px)
rotate(-2deg);

}

}
/* ============================================================
   SCROLL-REVEAL + STAGGER ANIMATION
   ============================================================ */
.reveal{
  opacity:0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible{ opacity:1; transform: translateY(0); }

.reveal-stagger > *{
  opacity:0; transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > *{ opacity:1; transform: translateY(0); }

/* gentle looping glow on the primary hero CTA to draw the eye */
.hero-actions .btn-primary{ animation: ctaGlow 3.4s ease-in-out infinite; }
@keyframes ctaGlow{
  0%,100%{ box-shadow: 0 0 0 rgba(200,30,58,0); }
  50%{ box-shadow: 0 10px 34px -10px var(--blood-glow); }
}

/* ---------- comic halftone texture ---------- */
.halftone{
  position: relative;
  background-image: radial-gradient(circle, rgba(200,30,58,0.16) 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.halftone::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, var(--void) 0%, transparent 12%, transparent 88%, var(--void) 100%);
  pointer-events:none;
}


/* ---------- eyebrow / mono labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood);
  display:flex; align-items:center; gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--blood);
  display:inline-block;
}

h1,h2,h3{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  font-weight: 400;
}

h2.section-title{
  font-size: clamp(32px, 5vw, 56px);
  color: var(--chrome);
  margin-bottom: 8px;
}
.section-sub{
  color: var(--graphite);
  max-width: 560px;
  font-size: 15.5px;
  margin-bottom: 44px;
}

section{ padding: 108px 0; position: relative; }
.section-alt{ background: var(--void-soft); border-top:1px solid var(--panel-line); border-bottom:1px solid var(--panel-line); }

/* ============================================================
   NAV
   ============================================================ */
header.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled{
  background: rgba(9,9,12,0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 1px solid var(--panel-line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  display:flex; align-items:center; gap:10px;
}
.brand .dot{ width:9px; height:9px; background: var(--blood); display:inline-block; border-radius: 50%; box-shadow: 0 0 10px var(--blood-glow); }
.nav-links{ display:flex; gap:34px; align-items:center; }
.nav-links a{
  font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--graphite);
  font-family: var(--font-mono);
  transition: color 0.2s ease;
}
.nav-links a:hover{ color: var(--chrome); }
.nav-cta{ display:flex; gap:12px; align-items:center; }
.nav-toggle{ display:none; background:none; border:none; color:var(--chrome); font-size:22px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--chrome);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ border-color: var(--graphite); transform: translateY(-1px); }
.btn-primary{
  background: var(--blood);
  border-color: var(--blood);
  color: #fff;
  box-shadow: 0 0 0 rgba(200,30,58,0.5);
}
.btn-primary:hover{ background: #e02545; border-color:#e02545; box-shadow: 0 6px 24px -8px var(--blood-glow); }
.btn-ghost{ color: var(--graphite); }
.btn-ghost:hover{ color: var(--chrome); }
.btn-block{ width:100%; }
.btn-sm{ padding: 9px 16px; font-size: 11.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  min-height: 100vh;
  display:flex; flex-direction:column; justify-content:center;
  position: relative;
  padding-top: 110px;
  background:
    radial-gradient(ellipse 900px 500px at 78% 8%, rgba(139,92,246,0.16), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 15% 100%, rgba(200,30,58,0.20), transparent 60%),
    var(--void);
  overflow: hidden;
}
.web-canvas{
  position:absolute; inset:0; width:100%; height:100%;
  opacity: 0.55;
  pointer-events:none;
}
.hero-inner{ position: relative; z-index: 2; }
.hero-tag{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vibranium);
  margin-bottom: 22px;
  display:flex; align-items:center; gap:12px;
}
.hero-tag span.pulse{
  width:8px; height:8px; border-radius:50%; background: var(--blood);
  box-shadow: 0 0 0 0 var(--blood-glow);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 var(--blood-glow); }
  70%{ box-shadow: 0 0 0 10px rgba(200,30,58,0); }
  100%{ box-shadow: 0 0 0 0 rgba(200,30,58,0); }
}
.hero h1{
  font-size: clamp(64px, 13vw, 168px);
  background: linear-gradient(180deg, #ffffff 0%, #cfcfd8 45%, #7c7c8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.6));
  letter-spacing: -0.01em;
}
.hero h1 .sub{
  display:block;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--blood);
  -webkit-text-fill-color: var(--blood);
  margin-top: 6px;
  letter-spacing: 0.08em;
}
.hero-desc{
  max-width: 540px;
  color: var(--graphite);
  font-size: 16.5px;
  margin: 26px 0 40px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 56px; }

.hero-meta{
  display:flex; gap: 48px; flex-wrap:wrap;
  border-top: 1px solid var(--panel-line);
  padding-top: 26px;
}
.hero-meta .item .k{ font-family: var(--font-mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--graphite-dim); margin-bottom:6px; }
.hero-meta .item .v{ font-size: 15.5px; color: var(--chrome); font-weight:500; }

/* countdown */
.countdown{ display:flex; gap: 18px; margin-top: 4px; }
.countdown .box{
  background: var(--panel);
  border:1px solid var(--panel-line);
  padding: 12px 16px;
  text-align:center;
  min-width: 68px;
  border-radius: var(--radius);
}
.countdown .box .num{ font-family: var(--font-mono); font-size: 26px; color: var(--amber); }
.countdown .box .lbl{ font-family: var(--font-mono); font-size: 9.5px; color: var(--graphite-dim); letter-spacing:0.15em; text-transform:uppercase; margin-top:4px; }

/* ============================================================
   ABOUT / CONCEPT
   ============================================================ */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items:start;
}
.about-text p{ color: var(--graphite); font-size: 16px; margin-bottom: 18px; max-width: 520px; }
.about-text p b{ color: var(--chrome); font-weight: 600; }
.quote-block{
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  text-transform: none;
  color: var(--chrome);
  border-left: 3px solid var(--blood);
  padding-left: 20px;
  margin-top: 28px;
}
.stat-cards{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.stat-card{
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 26px 22px;
  border-radius: var(--radius);
  position:relative;
  overflow:hidden;
}
.stat-card::before{
  content:"";
  position:absolute; top:0; left:0; width:3px; height:100%;
  background: var(--blood);
}
.stat-card .n{ font-family: var(--font-mono); font-size: 34px; color: var(--chrome); }
.stat-card .l{ font-family: var(--font-mono); font-size: 11px; color: var(--graphite); letter-spacing:0.1em; text-transform:uppercase; margin-top:8px; }

/* ============================================================
   DOMAINS ("POWERS")
   ============================================================ */
.domain-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--panel-line); border:1px solid var(--panel-line); }
.domain-card{
  background: var(--void-soft);
  padding: 34px 28px;
  transition: background 0.25s ease;
  position: relative;
}
.domain-card:hover{ background: var(--panel); }
.domain-card .idx{ font-family: var(--font-mono); font-size:11px; color: var(--graphite-dim); letter-spacing:0.2em; }
.domain-card .icon{ font-size: 30px; margin: 18px 0 14px; }
.domain-card h3{ font-family: var(--font-body); font-weight:700; text-transform:none; font-size: 18px; letter-spacing:0; color: var(--chrome); margin-bottom: 10px; }
.domain-card p{ font-size: 13.5px; color: var(--graphite); }
.domain-card .power-tag{
  display:inline-block; margin-top:16px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--vibranium); border:1px solid var(--vibranium-deep); padding: 4px 10px; border-radius: 20px;
}

/* ============================================================
   TIMELINE (comic strip)
   ============================================================ */
.timeline{ position: relative; }
.timeline-track{
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--panel-line);
}
.t-item{
  position: relative;
  padding-bottom: 46px;
}
.t-item:last-child{ padding-bottom: 0; }
.t-item::before{
  content:"";
  position:absolute; left:-46px; top:2px;
  width: 12px; height: 12px;
  background: var(--void);
  border: 2px solid var(--blood);
  border-radius: 50%;
}
.t-item.peak::before{ background: var(--blood); box-shadow: 0 0 0 4px rgba(200,30,58,0.2); }
.t-time{ font-family: var(--font-mono); font-size: 12px; color: var(--amber); letter-spacing:0.12em; margin-bottom:6px; }
.t-title{ font-size: 19px; font-weight: 700; color: var(--chrome); margin-bottom: 6px; }
.t-desc{ color: var(--graphite); font-size: 14.5px; max-width: 480px; }

/* ============================================================
   PRIZE POOL
   ============================================================ */
.prize-total{
  text-align:center; padding: 50px 0 60px;
  border-bottom: 1px solid var(--panel-line);
  margin-bottom: 60px;
}
.prize-total .amt{
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 110px);
  background: linear-gradient(90deg, var(--amber), var(--blood) 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.prize-total .lbl{ font-family: var(--font-mono); letter-spacing:0.2em; text-transform:uppercase; color: var(--graphite); font-size:12px; }

.podium{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items:end; margin-bottom: 50px; }
.p-card{
  background: var(--panel); border:1px solid var(--panel-line); padding: 30px 22px; text-align:center; border-radius: var(--radius);
  position:relative;
}
.p-card.first{ border-color: var(--amber); padding-top: 44px; transform: translateY(-14px); }
.p-card .rank{ font-family: var(--font-mono); font-size: 11px; color: var(--graphite-dim); letter-spacing:0.2em; text-transform:uppercase; }
.p-card .place{ font-family: var(--font-display); font-size: 30px; margin: 10px 0; }
.p-card.first .place{ color: var(--amber); }
.p-card.second .place{ color: #c7c7d1; }
.p-card.third .place{ color: #b9793f; }
.p-card .amount{ font-size: 22px; font-weight:700; color: var(--chrome); }
.p-card .note{ font-size: 12.5px; color: var(--graphite); margin-top:6px; }

.side-prizes{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.side-prize{ background: var(--void-soft); border:1px solid var(--panel-line); padding: 20px; border-radius: var(--radius); }
.side-prize .t{ font-weight:600; font-size:14.5px; margin-bottom:4px; }
.side-prize .a{ font-family: var(--font-mono); color: var(--amber); font-size:13px; }

/* ============================================================
   ELIGIBILITY / COLLEGE
   ============================================================ */
.elig-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.elig-list li{
  display:flex; gap:14px; padding: 16px 0; border-bottom: 1px solid var(--panel-line);
  font-size: 14.5px; color: var(--graphite);
}
.elig-list li b{ color: var(--chrome); font-weight:600; min-width: 150px; display:inline-block; }
.venue-card{
  background: var(--panel); border:1px solid var(--panel-line); padding: 32px; border-radius: var(--radius);
}
.venue-card h3{ font-family: var(--font-body); text-transform:none; font-weight:700; font-size:19px; margin-bottom: 14px; }
.venue-card p{ color: var(--graphite); font-size: 14.5px; margin-bottom: 18px; }
.rules-list li{ font-size: 13.5px; color: var(--graphite); padding: 8px 0; border-top:1px solid var(--panel-line); }
.rules-list li:before{ content:"— "; color: var(--blood); }

/* ============================================================
   CODENAME GENERATOR (signature interactive)
   ============================================================ */
.codename-box{
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 56px;
  border-radius: var(--radius);
  text-align:center;
  position: relative;
  overflow:hidden;
}
.codename-box::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.14), transparent 60%);
  pointer-events:none;
}
.codename-result{
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  margin: 26px 0 8px;
  color: var(--chrome);
  min-height: 1.2em;
}
.codename-result .accent{ color: var(--blood); }
.codename-sub{ font-family: var(--font-mono); font-size:12px; color: var(--graphite-dim); letter-spacing: 0.1em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-list li{ display:flex; justify-content:space-between; padding: 18px 0; border-bottom: 1px solid var(--panel-line); font-size: 14.5px; }
.contact-list li .role{ color: var(--graphite); }
.contact-list li .val{ color: var(--chrome); font-family: var(--font-mono); font-size: 13px; }
.faq-item{ border-bottom: 1px solid var(--panel-line); padding: 18px 0; }
.faq-item summary{ cursor:pointer; font-weight:600; font-size:15px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; color: var(--blood); font-size: 20px; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ color: var(--graphite); font-size: 13.5px; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  border-top: 1px solid var(--panel-line);
  padding: 70px 0 30px;
  position: relative;
}
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{ color: var(--graphite); font-size: 13.5px; max-width: 280px; }
.footer-col h4{ font-family: var(--font-mono); font-size: 11px; letter-spacing:0.15em; text-transform:uppercase; color: var(--graphite-dim); margin-bottom: 16px; }
.footer-col a{ display:block; font-size: 13.5px; color: var(--graphite); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover{ color: var(--chrome); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  padding-top: 26px; border-top: 1px solid var(--panel-line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--graphite-dim);
}
.socials{ display:flex; gap: 16px; }
.socials a{ color: var(--graphite); }
.socials a:hover{ color: var(--blood); }

/* ============================================================
   AUTH PAGES (login / register)
   ============================================================ */
.auth-shell{
  min-height: 100vh;
  display:grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual{
  position:relative;
  background:
    radial-gradient(ellipse 700px 500px at 30% 20%, rgba(200,30,58,0.28), transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 80%, rgba(139,92,246,0.22), transparent 60%),
    var(--void-soft);
  display:flex; flex-direction:column; justify-content:space-between;
  padding: 48px;
  border-right: 1px solid var(--panel-line);
  overflow:hidden;
}
.auth-visual .web-canvas{ opacity:0.45; }
.auth-visual .quote{
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  color: var(--chrome);
  max-width: 460px;
  position: relative; z-index:2;
}
.auth-visual .quote span{ color: var(--blood); }
.auth-visual .quote-by{ font-family: var(--font-mono); font-size:12px; color: var(--graphite); margin-top:18px; letter-spacing:0.1em; }
.auth-form-side{
  display:flex; align-items:center; justify-content:center;
  padding: 40px;
}
.auth-form{ width:100%; max-width: 420px; }
.auth-form .eyebrow{ justify-content:flex-start; }
.auth-form h1{
  font-size: 40px; margin-bottom: 10px; color: var(--chrome);
}
.auth-form .sub{ color: var(--graphite); font-size: 14.5px; margin-bottom: 36px; }

.field{ margin-bottom: 20px; }
.field label{
  display:block; font-family: var(--font-mono); font-size: 11px; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--graphite); margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width:100%;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--chrome);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--blood); outline:none; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field-hint{ font-size: 12px; color: var(--graphite-dim); margin-top: 6px; }
.field-error{ font-size: 12px; color: var(--blood); margin-top: 6px; display:none; }
.field.invalid input, .field.invalid select{ border-color: var(--blood); }
.field.invalid .field-error{ display:block; }

.form-foot{ display:flex; justify-content:space-between; align-items:center; margin-top: 8px; font-size: 13px; color: var(--graphite); }
.form-foot a{ color: var(--vibranium); }
.divider{ display:flex; align-items:center; gap:14px; margin: 28px 0; color: var(--graphite-dim); font-family: var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:0.15em; }
.divider::before, .divider::after{ content:""; flex:1; height:1px; background: var(--panel-line); }

.toast{
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  background: var(--panel); border:1px solid var(--blood); color: var(--chrome);
  padding: 16px 20px; border-radius: var(--radius);
  font-size: 13.5px; max-width: 320px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: translateY(20px); opacity:0; pointer-events:none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.toast.show{ transform: translateY(0); opacity:1; }
.toast .tt{ font-family: var(--font-mono); font-size:10.5px; color: var(--blood); letter-spacing:0.15em; text-transform:uppercase; margin-bottom:6px; }

.reg-result{
  display:none;
  background: var(--panel); border:1px solid var(--amber);
  padding: 30px; border-radius: var(--radius); margin-top: 26px; text-align:center;
}
.reg-result.show{ display:block; }
.reg-result .id{ font-family: var(--font-mono); color: var(--amber); font-size: 13px; letter-spacing:0.1em; margin-top: 10px; }
.reg-result .codename{ font-family: var(--font-display); font-size: 30px; margin: 14px 0 6px; }

/* small back-link */
.back-home{ display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12px; color: var(--graphite); margin-bottom: 30px; }
.back-home:hover{ color: var(--chrome); }


/* ============================================================
   ABOUT SECTION — FLOATING IMAGES & ANIMATIONS
   ============================================================ */

#about {
  position: relative;
  overflow: hidden;
}

/* ---- Floating Image Base ---- */
.about-float-img {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  transition: opacity 0.6s ease;
}

.about-float-img:hover {
  opacity: 0.35;
}

/* Left floating character */
.about-float-left {
  left: -20px;
  top: 15%;
  width: 200px;
  height: auto;
  animation: floatLeft 8s ease-in-out infinite;
  z-index: 0;
}

.about-float-left img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(139, 92, 246, 0.3));
  opacity: 0.7;
}

/* Right floating element */
.about-float-right {
  right: 40px;
  bottom: 10%;
  width: 160px;
  height: auto;
  animation: floatRight 9s ease-in-out infinite;
  z-index: 0;
}

.about-float-right img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(200, 30, 58, 0.25));
  opacity: 0.5;
}

/* Center floating orb */
.about-float-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  z-index: 0;
  opacity: 1;
}

.float-orb {
  width: 100%;
  height: 100%;
  position: relative;
}

.orb-inner {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(200, 30, 58, 0.15) 0%, 
    rgba(139, 92, 246, 0.10) 40%, 
    transparent 70%
  );
  animation: orbPulse 6s ease-in-out infinite;
  filter: blur(20px);
}

/* Glow rings around floating images */
.float-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(200, 30, 58, 0.08);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.about-float-right .float-glow-ring {
  border-color: rgba(139, 92, 246, 0.08);
  animation-delay: 1.5s;
}

/* ---- Floating Particles ---- */
.about-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blood);
  opacity: 0;
  animation: particleFloat 12s ease-in-out infinite;
}

.particle.p1 { left: 10%; top: 20%; animation-delay: 0s; width: 8px; height: 8px; background: var(--vibranium); }
.particle.p2 { left: 85%; top: 30%; animation-delay: 2s; width: 5px; height: 5px; background: var(--amber); }
.particle.p3 { left: 20%; bottom: 25%; animation-delay: 4s; width: 10px; height: 10px; background: var(--blood); opacity: 0.06; }
.particle.p4 { right: 15%; top: 60%; animation-delay: 6s; width: 6px; height: 6px; background: var(--vibranium); }
.particle.p5 { left: 50%; top: 10%; animation-delay: 8s; width: 4px; height: 4px; background: var(--amber); }
.particle.p6 { right: 30%; bottom: 40%; animation-delay: 10s; width: 12px; height: 12px; background: var(--blood); opacity: 0.04; }

/* ---- Animations ---- */

/* Float left-right */
@keyframes floatLeft {
  0%, 100% { transform: translate(0, 0) rotate(-3deg) scale(1); }
  25% { transform: translate(10px, -20px) rotate(0deg) scale(1.02); }
  50% { transform: translate(-5px, -40px) rotate(3deg) scale(0.98); }
  75% { transform: translate(15px, -15px) rotate(0deg) scale(1.01); }
}

@keyframes floatRight {
  0%, 100% { transform: translate(0, 0) rotate(3deg) scale(1); }
  25% { transform: translate(-10px, -25px) rotate(0deg) scale(1.03); }
  50% { transform: translate(5px, -45px) rotate(-3deg) scale(0.97); }
  75% { transform: translate(-15px, -20px) rotate(0deg) scale(1.02); }
}

/* Orb pulse */
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Glow ring pulse */
@keyframes ringPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Particle float */
@keyframes particleFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translate(var(--tx, 30px), var(--ty, -80px)) scale(0); opacity: 0; }
}

.particle.p1 { --tx: 40px; --ty: -100px; }
.particle.p2 { --tx: -30px; --ty: -120px; }
.particle.p3 { --tx: 50px; --ty: -90px; }
.particle.p4 { --tx: -40px; --ty: -110px; }
.particle.p5 { --tx: 20px; --ty: -130px; }
.particle.p6 { --tx: -50px; --ty: -80px; }
#about {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.hero-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-stat-card {
  position: relative;
  background: rgba(12, 8, 16, 0.7);
  border: 1px solid rgba(233, 30, 60, 0.25);
  border-radius: 12px;
  padding: 18px 18px 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--blood);
  box-shadow: 0 0 10px var(--blood);
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 30, 60, 0.6);
}
/* ---------- STAT CARDS (updated with web & spider) ---------- */
.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  padding: 24px 20px 20px;
  border-radius: var(--radius);
  position: relative;
  overflow: visible; /* IMPORTANT: so spider doesn't clip */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Keep the red side bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--blood);
  border-radius: var(--radius) 0 0 var(--radius);
  z-index: 3;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 30, 58, 0.4);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.stat-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.stat-card .n {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--chrome);
  line-height: 1.1;
}

.stat-card .l {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ----- Web Container ----- */
.web-container {
  position: absolute;
  bottom: 8px;
  right: 12px;
  width: 80px;
  height: 70px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  overflow: visible;
}

.web-container svg {
  width: 100%;
  height: 100%;
  display: block;
}

.web-thread {
  stroke-dasharray: 60 120;
  stroke-dashoffset: 60;
  animation: webDraw 3.2s ease-in-out infinite;
}

.stat-card:nth-child(2) .web-thread { animation-delay: 0.6s; }
.stat-card:nth-child(3) .web-thread { animation-delay: 1.2s; }
.stat-card:nth-child(4) .web-thread { animation-delay: 1.8s; }

@keyframes webDraw {
  0%   { stroke-dashoffset: 60; opacity: 0.2; }
  40%  { stroke-dashoffset: 10; opacity: 0.8; }
  70%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}

/* ----- Spider image (hanging from the web) ----- */
.spider-img {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: auto;
  animation: spiderSwing 2.6s ease-in-out infinite;
  transform-origin: top center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.stat-card:nth-child(2) .spider-img { animation-delay: 0.3s; }
.stat-card:nth-child(3) .spider-img { animation-delay: 0.9s; }
.stat-card:nth-child(4) .spider-img { animation-delay: 1.5s; }

@keyframes spiderSwing {
  0%   { transform: translateX(-50%) rotate(-5deg); }
  30%  { transform: translateX(-50%) rotate(4deg); }
  60%  { transform: translateX(-50%) rotate(-4deg); }
  100% { transform: translateX(-50%) rotate(-5deg); }
}
.hs-icon {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 8px;
}
@import url('https://fonts.googleapis.com/css2?family=Anton&family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@400;500;600&display=swap');

  :root{
    --bg:#0a0a0d;
    --panel:#131217;
    --panel-line:#232028;
    --blood:#e0293e;
    --amber:#f2a541;
    --text:#eee9e4;
    --muted:#9a949c;
    --muted-2:#6b6670;
  }

  *{ box-sizing:border-box; }
  html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; }

  #about{
    position:relative;
    padding:110px 0 90px;
    overflow:hidden;
    background:
      radial-gradient(60% 50% at 78% 20%, rgba(224,41,62,0.10), transparent 70%),
      linear-gradient(180deg, #0a0a0d 0%, #0c0a0e 100%);
  }

  /* faint scan grid, quieter than the original */
  #about::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(224,41,62,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(224,41,62,0.05) 1px, transparent 1px);
    background-size:42px 42px;
    -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, black 0%, transparent 75%);
    mask-image: radial-gradient(70% 60% at 30% 30%, black 0%, transparent 75%);
    pointer-events:none;
  }

  .wrap{ max-width:1180px; margin:0 auto; padding:0 40px; position:relative; z-index:2; }

  .about-grid{ display:grid; grid-template-columns: 1fr; position:relative; z-index:2; }

  /* ---------- eyebrow / badge row ---------- */
  .eyebrow-row{ display:flex; align-items:center; gap:14px; margin-bottom:22px; flex-wrap:wrap; }
  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12px; letter-spacing:.22em; text-transform:uppercase;
    color:var(--blood); display:flex; align-items:center; gap:8px;
  }
  .eyebrow::before{ content:""; width:7px; height:7px; background:var(--blood); border-radius:50%;
    box-shadow:0 0 8px var(--blood); animation:pulse 1.8s ease-in-out infinite; }
  @keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.35} }

  .codename-badge{
    font-family:'JetBrains Mono', monospace;
    font-size:11px; letter-spacing:.08em; text-transform:uppercase;
    color:var(--amber); border:1px solid rgba(242,165,65,0.35);
    background:rgba(242,165,65,0.06); padding:5px 10px; border-radius:3px;
  }
  @media (max-width: 600px){
  .nav-inner{ padding: 0 16px; } /* wrap already adds 28px, this is extra control if needed */
  .brand{ font-size: 18px; }
  .nav-cta{ gap: 8px; }
  .nav-cta .btn{ padding: 8px 12px; font-size: 11px; }
}

  /* ---------- headline ---------- */
  h2.section-title{
    font-family:'Anton', sans-serif;
    font-weight:400;
    font-size:clamp(40px, 5vw, 64px);
    line-height:0.96;
    letter-spacing:0.5px;
    text-transform:uppercase;
    margin:0 0 26px;
  }
  h2.section-title .accent{ color:var(--blood); }

  p{ color:var(--muted); line-height:1.7; font-size:16px; margin:0 0 18px; max-width:52ch; }
  p b{ color:var(--text); font-weight:600; }

  .quote-block{
    font-family:'JetBrains Mono', monospace;
    font-size:15px;
    color:var(--text);
    border-left:2px solid var(--blood);
    background:linear-gradient(90deg, rgba(224,41,62,0.07), transparent 60%);
    padding:14px 18px;
    margin:8px 0 40px;
    max-width:48ch;
  }
  .quote-block .ship{ color:var(--blood); font-weight:700; }

  /* ---------- op-log / process steps (replaces 2nd paragraph) ---------- */
  .op-log{ display:flex; flex-direction:column; gap:0; margin:0 0 40px; border-top:1px solid var(--panel-line); }
  .op-step{
    display:grid; grid-template-columns: 64px 1fr; gap:16px;
    padding:16px 0; border-bottom:1px solid var(--panel-line);
  }
  .op-step .tag{
    font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--blood);
    letter-spacing:.05em; padding-top:2px;
  }
  .op-step .body h4{ margin:0 0 4px; font-size:15px; font-weight:600; color:var(--text); text-transform:uppercase; letter-spacing:.03em; }
  .op-step .body p{ margin:0; font-size:14px; max-width:44ch; }

  /* ---------- stat cards, single row, terminal style ---------- */
  .stat-cards{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;
  }
  .stat-card{
    position:relative;
    background:var(--panel);
    border:1px solid var(--panel-line);
    border-left:2px solid var(--card-accent, var(--blood));
    border-radius:4px;
    padding:18px 16px 16px;
    overflow:hidden;
    transition:transform .25s ease, border-color .25s ease, background .25s ease;
  }
  .stat-card:nth-child(2){ --card-accent: var(--amber); }
  .stat-card:nth-child(4){ --card-accent: var(--amber); }
  .stat-card:hover{
    transform:translateY(-3px);
    background:#17151b;
    border-left-color:var(--card-accent, var(--blood));
  }
  .stat-card .n{
    font-family:'JetBrains Mono', monospace; font-weight:700;
    font-size:26px; color:var(--text); line-height:1;
  }
  .stat-card .l{
    margin-top:8px; font-size:11px; letter-spacing:.08em; text-transform:uppercase;
    color:var(--muted-2); font-family:'JetBrains Mono', monospace;
  }
  .stat-card .cursor{
    display:inline-block; width:7px; height:14px; background:var(--card-accent, var(--blood));
    margin-left:4px; vertical-align:middle; animation:blink 1s steps(1) infinite;
  }
  @keyframes blink{ 50%{ opacity:0 } }

  /* ---------- floating character (full-bleed, over the section) ---------- */
  .char-float{
    position:absolute;
    top:0;
    right:0;
    height:100%;
    width:48%;
    z-index:1;
    pointer-events:none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%);
    mask-image: linear-gradient(90deg, transparent 0%, black 22%);
  }
  .char-float img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
  }

  /* keep text from running under the character on wide screens */
  .about-text{ max-width:640px; }

  @media (max-width: 880px){
    .stat-cards{ grid-template-columns:repeat(2,1fr); }
    .char-float{ display:none; }
    .about-text{ max-width:none; }
  }
.hs-value {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}

.hs-label {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hs-bar {
  margin-top: 12px;
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hs-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 70%;
  background: linear-gradient(to right, var(--blood), rgba(233,30,60,0.4));
  animation: hs-fill 2.4s ease-in-out infinite alternate;
}

@keyframes hs-fill {
  0%   { width: 40%; opacity: 0.7; }
  100% { width: 85%; opacity: 1; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
.about-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.10;
  pointer-events: none;
}
.about-watermark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Characters sized and positioned like the hero's Iron Man / Spider-Man cutouts */
.about-char-left,
.about-char-right {
  position: absolute;
  bottom: 0;
  width: 480px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}
.about-char-left img,
.about-char-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.about-char-left {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 95%);
  mask-image: linear-gradient(to right, black 55%, transparent 95%);
}

.about-char-right {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 55%, transparent 95%);
  mask-image: linear-gradient(to left, black 55%, transparent 95%);
}

/* Text block: left-aligned like hero-inner, not centered */
.about-grid {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-text {
  max-width: 620px;
}

@media (max-width: 1300px) {
  .about-char-left, .about-char-right { width: 320px; opacity: 0.7; }
}

@media (max-width: 900px) {
  .about-char-left, .about-char-right { display: none; }
  #about { padding: 70px 0; min-height: 0; }
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-float-left { width: 140px; left: -10px; top: 20%; }
  .about-float-right { width: 120px; right: 10px; bottom: 15%; }
  .about-float-center { width: 200px; height: 200px; }
  .about-float-center .orb-inner { inset: 10%; }
}

@media (max-width: 768px) {
  .about-float-left { display: none; }
  .about-float-right { display: none; }
  .about-float-center { width: 150px; height: 150px; }
  .about-particles { display: none; }
}

@media (max-width: 480px) {
  .about-float-center { width: 100px; height: 100px; }
  .about-float-center .orb-inner { inset: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .about-grid{ grid-template-columns:1fr; gap: 40px; }
  .domain-grid{ grid-template-columns: repeat(2,1fr); }
  .podium{ grid-template-columns: 1fr; }
  .p-card.first{ transform:none; }
  .elig-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .auth-shell{ grid-template-columns: 1fr; }
  .auth-visual{ display:none; }
  .side-prizes{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  section{ padding: 72px 0; }
  .domain-grid{ grid-template-columns: 1fr; }
  .hero-meta{ gap: 26px; }
  .field-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .countdown{ gap:10px; }
  .countdown .box{ min-width: 56px; padding: 10px; }
}

/* Footer college location */
.footer-location {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 52px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 14, 0.78);
  backdrop-filter: blur(12px);
}

.footer-location-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
}

.footer-location-info h3 {
  margin: 12px 0;
  color: var(--white, #fff);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}

.footer-location-info p {
  max-width: 430px;
  margin: 0 0 24px;
  color: var(--graphite, #a4a7b2);
  line-height: 1.7;
}

.footer-map {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  filter: grayscale(25%) contrast(105%);
}

/* Tablet and mobile */
@media (max-width: 800px) {
  .footer-location {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
    padding: 16px;
  }

  .footer-location-info {
    padding: 12px 4px;
  }

  .footer-map,
  .footer-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .footer-location {
    padding: 12px;
  }

  .footer-location-info h3 {
    font-size: 30px;
  }

  .footer-map,
  .footer-map iframe {
    min-height: 240px;
  }
}