/* ============== GrandCraft · tokens ============== */
:root {
  --bg:        #0a0612;
  --bg-2:      #0c0717;
  --panel:     #140a26;
  --panel-2:   #1a0f33;
  --violet:    #8b5cf6;
  --violet-br: #a78bfa;
  --violet-dk: #6d28d9;
  --magenta:   #c026d3;
  --gold:      #f5b942;
  --gold-soft: #ffd479;
  --gold-deep: #c98a1d;
  --text:      #ece6f7;
  --muted:     #a99fc4;
  --muted-2:   #7d7399;
  --line:      rgba(167,139,250,0.18);
  --line-str:  rgba(167,139,250,0.40);
  --line-gold: rgba(245,185,66,0.35);
  --grad-violet: linear-gradient(135deg, #8b5cf6 0%, #c026d3 100%);
  --grad-gold:   linear-gradient(135deg, #ffd479 0%, #f5b942 45%, #c98a1d 100%);
  --grad-mix:    linear-gradient(110deg, #a78bfa 0%, #c026d3 45%, #f5b942 110%);
  --grad-panel:  linear-gradient(160deg, rgba(26,15,51,0.85) 0%, rgba(12,7,23,0.92) 100%);
  --glow:      0 0 40px rgba(139,92,246,0.35);
  --glow-gold: 0 0 34px rgba(245,185,66,0.30);
  --radius:    18px;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet); color: #fff; }

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(139,92,246,0.20), transparent 60%),
    radial-gradient(700px 500px at 92% 8%, rgba(245,185,66,0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(192,38,211,0.14), transparent 60%),
    var(--bg);
  z-index: -3;
}

/* ============== scroll progress ============== */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 120; transform-origin: 0 50%;
  background: var(--grad-mix);
  box-shadow: 0 0 16px rgba(192,38,211,0.6);
}

/* ============== FX overlays ============== */
.fx-noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx-vignette {
  position: fixed; inset: 0; z-index: 99; pointer-events: none;
  box-shadow: inset 0 0 320px rgba(0,0,0,0.85);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow .35s var(--ease), background .3s, border-color .3s;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}
.btn--primary {
  background: var(--grad-violet);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139,92,246,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary::after { /* sheen */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn--primary:hover { box-shadow: 0 16px 44px rgba(192,38,211,0.5), 0 0 24px rgba(245,185,66,0.25), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--primary:hover::after { left: 130%; }
.btn--ghost {
  background: rgba(167,139,250,0.06);
  border-color: var(--line-str);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(167,139,250,0.14); border-color: var(--gold); color: #fff; box-shadow: var(--glow-gold); }
.btn--lg { font-size: 1.05rem; padding: 1.15rem 2.3rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-br);
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(139,92,246,0.07);
  margin-bottom: 1.3rem;
}
.eyebrow--gold {
  color: var(--gold-soft);
  border-color: var(--line-gold);
  background: rgba(245,185,66,0.07);
  box-shadow: var(--glow-gold);
}

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,6,18,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__mark { display: inline-flex; color: var(--gold); filter: drop-shadow(0 0 8px rgba(245,185,66,0.5)); }
.nav__mark svg { width: 26px; height: 26px; }
.nav__name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.01em; }
.nav__name em { font-style: normal; background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.92rem; color: var(--muted); font-weight: 500;
  position: relative; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-gold); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: 0.82rem; padding: 0.6rem 1.1rem; }
.nav__links-cta { display: none; }
/* hamburger (mobile only) */
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: rgba(167,139,250,0.06); border: 1px solid var(--line-str);
  border-radius: 11px; cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), opacity .25s;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem clamp(1.2rem, 5vw, 4rem) 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: -15% 0 0 0; z-index: -2; will-change: transform; }
.hero__bg img { width: 100%; height: 116%; object-fit: cover; object-position: center top; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,6,18,0.95) 0%, rgba(10,6,18,0.6) 45%, rgba(10,6,18,0.25) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 45%),
    radial-gradient(900px 600px at 70% 30%, rgba(139,92,246,0.18), transparent 60%);
}
.hero__embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-soft); box-shadow: 0 0 8px rgba(245,185,66,0.8);
  opacity: 0;
}
.ember--violet { background: var(--violet-br); box-shadow: 0 0 8px rgba(167,139,250,0.8); }
.hero__inner { max-width: 760px; position: relative; z-index: 1; }
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.8rem, 12vw, 9.5rem);
  line-height: 0.9; letter-spacing: -0.01em;
  margin: 0.4rem 0 1.6rem;
  display: flex; flex-direction: column; position: relative;
}
/* shine band baked into the text fill, clipped to glyph shape.
   Band layer sits over a slightly dimmed base so the sweep is visible
   even on the light "GRAND" line. */
.hero__title .line {
  display: block; position: relative;
  background-image: linear-gradient(105deg, transparent 42%, #fff5d6 50%, transparent 58%);
  background-color: #cfc6e6;
  background-size: 250% 100%; background-repeat: no-repeat; background-position: 200% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: heroShine 6s ease-in-out 1.4s infinite;
}
.hero__title .line--accent {
  background-image:
    linear-gradient(105deg, transparent 42%, #fff5d6 50%, transparent 58%),
    var(--grad-mix);
  background-color: transparent;
  background-size: 250% 100%, 100% 100%;
  background-position: 200% 0, 0 0;
  filter: drop-shadow(0 6px 30px rgba(139,92,246,0.45));
  animation: heroShineAccent 6s ease-in-out 1.4s infinite;
}
@keyframes heroShine {
  0% { background-position: 200% 0; }
  22%, 100% { background-position: -70% 0; }
}
@keyframes heroShineAccent {
  0% { background-position: 200% 0, 0 0; }
  22%, 100% { background-position: -70% 0, 0 0; }
}
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  color: var(--muted); max-width: 600px; margin-bottom: 2.2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.status {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  padding: 1.3rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-panel);
  backdrop-filter: blur(10px);
  max-width: fit-content;
  box-shadow: var(--glow);
  position: relative;
}
.status::before { /* gold top edge */
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 1px;
  background: var(--grad-gold); opacity: 0.5;
}
.status__item { display: flex; flex-direction: column; }
.status__num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; filter: drop-shadow(0 0 18px rgba(245,185,66,0.3));
}
.status__lbl { font-size: 0.72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.45rem; }
.status__sep { width: 1px; height: 38px; background: var(--line-str); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid var(--line-str); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold-soft); animation: scroll 1.6s infinite; }
@keyframes scroll { 0%{opacity:0;transform:translateY(0);} 40%{opacity:1;} 80%{opacity:0;transform:translateY(14px);} 100%{opacity:0;} }

/* ============== MARQUEE ============== */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(26,15,51,0.6), rgba(12,7,23,0.6));
  overflow: hidden; padding: 0.85rem 0;
}
.marquee__track {
  display: inline-block; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em;
  font-size: 0.95rem; color: var(--violet-br);
}
.marquee__track span { padding-right: 2rem; }

/* ============== SECTION base ============== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 11vw, 9rem) clamp(1.2rem, 5vw, 2.5rem); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 3.6rem; display: flex; flex-direction: column; align-items: center; }
.section__title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04; margin-bottom: 1.8rem; position: relative; display: inline-block;
  padding-bottom: 1rem;
}
.section__title[data-underline]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--grad-gold); border-radius: 3px; box-shadow: var(--glow-gold);
  transition: width .9s var(--ease) .15s;
}
.section__title[data-underline].is-drawn::after { width: 100%; }
.section__head .section__title[data-underline]::after { left: 50%; transform: translateX(-50%); }
.section__head .section__title[data-underline].is-drawn::after { width: 70%; }
.section__sub { color: var(--muted); font-size: 1.06rem; }

/* ============== FEATURES ============== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  position: relative; padding: 2.2rem 2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--grad-panel);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(380px 220px at var(--mx,50%) var(--my,0%), rgba(245,185,66,0.14), rgba(139,92,246,0.12) 35%, transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-str); box-shadow: 0 24px 50px rgba(0,0,0,0.45); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.2rem;
  color: var(--gold-soft);
  background: rgba(245,185,66,0.08); border: 1px solid var(--line-gold);
  box-shadow: var(--glow-gold);
  transition: transform .4s var(--ease), color .3s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); color: var(--gold); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.98rem; position: relative; }

/* ============== SHOWCASE / WYSPA ============== */
.showcase {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.showcase__media {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--line-str);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), var(--glow);
  padding: 8px; background: var(--grad-panel);
  transform-style: preserve-3d; will-change: transform;
}
.showcase__imgwrap {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 11;
}
.showcase__imgwrap::after { /* bottom fade */
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,6,18,0.55) 100%);
}
.showcase__imgwrap img {
  position: absolute; inset: -8%;            /* oversize so parallax never reveals an edge */
  width: 116%; height: 116%; object-fit: cover;
  will-change: transform;
}
/* corner brackets */
.corner { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--grad-gold); border-radius: 2px; box-shadow: var(--glow-gold); }
.corner::before { width: 100%; height: 2px; }
.corner::after  { width: 2px;  height: 100%; }
.corner--tl { top: 0; left: 0; }
.corner--tr { top: 0; right: 0; } .corner--tr::after { right: 0; } .corner--tr::before { right: 0; }
.corner--bl { bottom: 0; left: 0; } .corner--bl::before { bottom: 0; }
.corner--br { bottom: 0; right: 0; } .corner--br::before { bottom: 0; right: 0; } .corner--br::after { right: 0; }
/* floating glow orbs */
.showcase__orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 3; pointer-events: none; }
.showcase__orb--1 { width: 14px; height: 14px; top: 18%; right: -7px; background: var(--gold-soft); box-shadow: var(--glow-gold); }
.showcase__orb--2 { width: 10px; height: 10px; bottom: 12%; left: -5px; background: var(--violet-br); box-shadow: 0 0 18px rgba(167,139,250,0.7); }

.showcase__text p { color: var(--muted); margin-bottom: 1.1rem; }
.checklist { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text); font-size: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px;
  background: var(--grad-gold); box-shadow: var(--glow-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);  /* diamond */
}

/* ============== DUNGEONS ============== */
.dungeons { position: relative; max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.dungeons__bg { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.dungeons__bg img { width: 100%; height: 120%; object-fit: cover; object-position: center; }
.dungeons__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,6,18,0.6) 25%, rgba(10,6,18,0.78) 75%, var(--bg) 100%),
    radial-gradient(800px 500px at 50% 40%, rgba(192,38,211,0.18), transparent 60%);
}
.dungeons__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2.5rem); text-align: center; display: flex; flex-direction: column; align-items: center; }
.dungeons__lead { color: var(--muted); max-width: 640px; margin: 0 auto 3rem; font-size: 1.1rem; }
.stats { display: flex; justify-content: center; gap: clamp(1.4rem, 5vw, 4rem); flex-wrap: wrap; }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem; justify-content: center; }
.stat__num, .stat__plus {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(245,185,66,0.35));
}
.stat__plus { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.stat__lbl { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.6rem; }

/* ============== DEVLOG ============== */
.log { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.log__entry {
  position: relative; padding: 1.8rem 1.7rem 1.8rem 2.2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--grad-panel);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.log__entry::after {
  content: ""; position: absolute; left: 0; top: 1.8rem; bottom: 1.8rem; width: 3px;
  border-radius: 3px; background: var(--grad-gold); box-shadow: var(--glow-gold);
}
.log__entry:hover { transform: translateY(-5px); border-color: var(--line-str); box-shadow: 0 22px 46px rgba(0,0,0,0.45); }
.log__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; gap: 0.5rem; flex-wrap: wrap; }
.log__date { font-size: 0.76rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.log__tag {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold-soft);
  padding: 0.2rem 0.65rem; border: 1px solid var(--line-gold); border-radius: 999px;
  background: rgba(245,185,66,0.07);
}
.log__entry h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.6rem; }
.log__entry p { color: var(--muted); font-size: 0.93rem; }
.devlog__note { text-align: center; color: var(--muted-2); margin-top: 2.4rem; font-size: 0.95rem; }

/* ============== CTA ============== */
.cta { display: flex; justify-content: center; }
.cta__card {
  position: relative; text-align: center; /*max-width: 760px;*/ width: 100%;
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 3.5rem);
  border-radius: 26px; border: 1px solid var(--line-str);
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(192,38,211,0.25), transparent 60%),
    radial-gradient(500px 300px at 50% 120%, rgba(245,185,66,0.12), transparent 60%),
    var(--grad-panel);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), var(--glow);
  overflow: hidden;
}
.cta__card::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1px;
  background: var(--grad-mix);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6; pointer-events: none;
}
.cta__icon { display: inline-flex; color: var(--gold-soft); filter: drop-shadow(0 0 18px rgba(245,185,66,0.6)); margin-bottom: 1rem; }
.cta__icon svg { width: 52px; height: 52px; }
.cta__card h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 1.1rem; }
.cta__card p { color: var(--muted); max-width: 660px; margin: 0 auto 2rem; }
.cta__small { display: block; margin-top: 1.2rem; font-size: 0.8rem; color: var(--muted-2); letter-spacing: 0.04em; }

/* ============== FOOTER ============== */
.footer { text-align: center; padding: 3.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__brand { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.8rem; }
.footer__tag { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer__legal { color: var(--muted-2); font-size: 0.76rem; max-width: 520px; margin: 0 auto; }

/* ============== anim init ============== */
[data-anim] { will-change: transform, opacity; }

/* ============== Responsive ============== */
@media (max-width: 1000px) {
  .log { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  /* links become a slide-down panel */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 0.4rem clamp(1rem, 4vw, 3rem) 1rem;
    background: rgba(10,6,18,0.96);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a {
    padding: 0.95rem 0.2rem; font-size: 1rem; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after { display: none; }
  .nav__links-cta {
    display: block; margin-top: 0.9rem; text-align: center;
    border-bottom: none !important;
    padding: 0.85rem 1.2rem; border-radius: 12px;
    font-family: var(--font-display); font-weight: 700;
    color: #fff; background: var(--grad-violet);
    box-shadow: 0 10px 30px rgba(139,92,246,0.35);
  }
  .cards { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { order: -1; }
}
@media (max-width: 560px) {
  .hero { padding-top: 6rem; min-height: 92svh; }
  .hero__title { margin-bottom: 1.2rem; }
  .status { flex-wrap: wrap; gap: 1rem 1.4rem; padding: 1.1rem 1.3rem; width: 100%; max-width: none; }
  .status__sep { display: none; }
  .status__item { flex: 1 1 40%; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .section { padding-left: 1.2rem; padding-right: 1.2rem; }
  .card { padding: 1.8rem 1.5rem; }
  .stats { gap: 1.8rem 2rem; }
  .stat { flex: 1 1 40%; }
  .marquee__track { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
