/* ===================================================================
   FLASHBANG MEDIA — Redesign
   Modern gaming media company. Dark-first + light mode.
   =================================================================== */

:root {
  --accent: #ffc400;
  --accent-2: #ff7a00;
  --accent-ink: #17130a;

  /* Dark (default) */
  --bg: #0b0b0f;
  --bg-2: #101015;
  --surface: #15151b;
  --surface-2: #1c1c24;
  --text: #f5f5f2;
  --text-2: #b6b6bf;
  --muted: #7c7c88;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.85);
  --card-img: brightness(0.92);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --maxw: 1200px;
  --pad: clamp(18px, 5vw, 52px);
  --r: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f7f6f1;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --text: #12120f;
  --text-2: #4c4c47;
  --muted: #86867d;
  --line: rgba(18, 18, 15, 0.10);
  --line-2: rgba(18, 18, 15, 0.18);
  --shadow: 0 30px 60px -34px rgba(18, 18, 15, 0.28);
  --card-img: none;
  --accent-ink: #17130a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

/* Fixed-nav anchor offset: every in-page target clears the navbar so its
   heading is never hidden underneath the fixed header. Permanent fix. */
:target { scroll-margin-top: var(--nav-h); }
#top, #hero, #about, #products, #work, #events, #stats, #contact {
  scroll-margin-top: var(--nav-h);
}
body {
  background: var(--bg); color: var(--text); font-family: var(--f-body);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  --e: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-2); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--e); }

.h-lg { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display);
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  padding: 8px 16px; border-radius: 100px;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-family: var(--f-display); font-weight: 600; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: gap .25s, color .25s; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: .92rem;
  padding: 12px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--lg { padding: 15px 28px; font-size: .98rem; }
.btn--accent { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--accent-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { }
.brand__name { font-family: var(--f-display); font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.brand__dot { color: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: .92rem; color: var(--text-2); font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width .28s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 2px; padding: 12px var(--pad) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 72px; }
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero__glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 90vw; height: 60vw; max-height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,196,0,.16), rgba(255,122,0,.06) 55%, transparent 75%); }
/* Minimal floating game controller motif */
.hero__pad { position: absolute; top: 20%; right: clamp(4%, 8vw, 12%); width: clamp(120px, 16vw, 240px); height: auto; color: var(--accent); opacity: .16; pointer-events: none; z-index: 1; animation: pad-float 6s ease-in-out infinite; }
@keyframes pad-float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(-4deg); } }
@media (max-width: 720px) { .hero__pad { top: 8%; right: -6%; opacity: .1; } }
.hero__content { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 90px); max-width: 960px; }
.hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; margin: 22px 0 24px; }
.hero__subtitle { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 60ch; }
.hero__actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__logos { display: flex; align-items: center; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.hero__logos-label { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__logos-label svg { color: var(--accent); }
.hero__logo-chip { font-family: var(--f-display); font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line-2); position: relative; }
.hero__logo-chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); margin-right: 9px; box-shadow: 0 0 10px var(--c); }
.hero__logo-chip[data-c="#ff3d3d"] { --c: #ff3d3d; }
.hero__logo-chip[data-c="#3d7bff"] { --c: #3d7bff; }

/* Marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: auto; }
.marquee__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.4rem); color: var(--muted); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 40px; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--bg-2); border-top: 1px solid var(--line); }
.about__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.about__lead { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5; color: var(--text-2); }
.about__points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.point { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; background: var(--surface); transition: transform .35s var(--ease), border-color .35s; }
.point:hover { transform: translateY(-5px); border-color: var(--accent); }
.point__k { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.point__k span { color: var(--accent); }
.point__v { color: var(--text-2); font-size: .94rem; }

/* ---------- Products ---------- */
.prod-list { display: flex; flex-direction: column; gap: 22px; }
.prod {
  --c: var(--accent);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); overflow: hidden;
  background: var(--surface); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.prod:hover { border-color: color-mix(in srgb, var(--c) 60%, var(--line)); box-shadow: var(--shadow); transform: translateY(-4px); }
.prod:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.prod:nth-child(even) .prod__media { order: 2; }
.prod__media { position: relative; min-height: 340px; overflow: hidden; }
.prod__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--card-img); transition: transform .7s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--c) 22%, transparent)); mix-blend-mode: screen; opacity: .5; }
.prod__badge { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--c); padding: 6px 13px; border-radius: 100px; }
.prod__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.prod__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; }
.prod__tagline { color: var(--c); font-weight: 600; font-family: var(--f-display); margin: 4px 0 16px; }
.prod__desc { color: var(--text-2); margin-bottom: 22px; }
.prod__metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.prod__metric b { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--c); }
.prod__metric span { color: var(--muted); font-size: .88rem; }
.prod__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.prod__tags span { font-size: .74rem; color: var(--text-2); border: 1px solid var(--line-2); padding: 5px 12px; border-radius: 100px; }
.prod__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prod__actions .btn--accent { background: var(--c); color: #fff; }
.prod__actions .btn--accent:hover { box-shadow: 0 14px 34px -12px var(--c); }

/* ---------- Work: videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.video-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--card-img); transition: transform .5s var(--ease); }
.video-card:hover .video-card__thumb img { transform: scale(1.06); }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.2); transition: background .3s; }
.video-card:hover .video-card__play { background: rgba(0,0,0,.08); }
.video-card__play span { width: 54px; height: 54px; border-radius: 50%; background: #ff3d3d; color: #fff; display: grid; place-items: center; font-size: 1rem; padding-left: 3px; transition: transform .3s var(--ease); }
.video-card:hover .video-card__play span { transform: scale(1.12); }
.video-card__body { padding: 16px 18px 20px; }
.video-card__cat { font-family: var(--f-display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #ff5a5a; font-weight: 700; }
.video-card__title { font-weight: 600; margin-top: 7px; font-size: 1rem; line-height: 1.35; }

/* ---------- Work: articles ---------- */
.work--articles { background: var(--bg-2); border-block: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.article-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--card-img); transition: transform .5s var(--ease); }
.article-card:hover .article-card__thumb img { transform: scale(1.05); }
.article-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 10px; font-size: .74rem; margin-bottom: 10px; }
.article-card__cat { font-family: var(--f-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b9bff; }
.article-card__date { color: var(--muted); }
.article-card__title { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.article-card__more { margin-top: auto; padding-top: 16px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: #6b9bff; }

.article-card__thumb--empty { background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); position: relative; }
.article-card__thumb--empty::after { content: "TheGameVoice"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--muted); font-size: .9rem; letter-spacing: .04em; }

/* ---------- Live dot (shown when feeds refresh) ---------- */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #37d67a; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #37d67a; animation: live-pulse 1.8s var(--ease) infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: .7; } 70%,100% { transform: scale(2.6); opacity: 0; } }
.section-head__sub { color: var(--text-2); font-size: 1.05rem; margin-top: 14px; max-width: 60ch; }

/* ---------- Events ---------- */
.events__list { display: flex; flex-direction: column; gap: 20px; }
.event { border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(24px, 3.5vw, 40px); background: var(--surface); transition: border-color .35s, box-shadow .35s; }
.event:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.event__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.event__id { display: flex; align-items: baseline; gap: 14px; }
.event__year { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.event__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.event__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.event__full { color: var(--text-2); font-size: .92rem; }
.event__loc { color: var(--muted); font-size: .84rem; }
.event__role { font-family: var(--f-display); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 11px; border-radius: 100px; margin-top: 4px; }
.event__desc { color: var(--text-2); margin: 16px 0 22px; max-width: 68ch; }
.ev-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ev-clip { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: transform .3s var(--ease), border-color .3s; }
.ev-clip:hover { transform: translateY(-4px); border-color: var(--accent); }
.ev-clip__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.ev-clip__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--card-img); transition: transform .5s var(--ease); }
.ev-clip:hover .ev-clip__thumb img { transform: scale(1.07); }
.ev-clip__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #ff3d3d; color: #fff; display: grid; place-items: center; font-size: .85rem; padding-left: 2px; box-shadow: 0 6px 18px -4px rgba(0,0,0,.5); }
.ev-clip__title { display: block; padding: 12px 14px 14px; font-weight: 600; font-size: .9rem; line-height: 1.35; }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: 34px 28px; background: var(--surface); text-align: center; transition: border-color .3s, transform .3s var(--ease); }
.stat:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat__value { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--text-2); margin-top: 8px; font-size: .92rem; }

/* ---------- Mission / Vision ---------- */
.mv-sec { padding-top: 0; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(28px, 4vw, 46px); background: linear-gradient(160deg, var(--surface), var(--bg-2)); position: relative; overflow: hidden; }
.mv__card::before { content: ""; position: absolute; top: -50px; right: -50px; width: 170px; height: 170px; background: radial-gradient(circle, rgba(255,196,0,.16), transparent 70%); }
.mv__card p { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.3; position: relative; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.contact__wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::before { display: none; }
.contact .eyebrow { justify-content: center; }
.contact__lead { color: var(--text-2); font-size: 1.12rem; margin: 18px auto 0; max-width: 52ch; }
.contact__email-big {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 36px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 3.6vw, 2rem);
  letter-spacing: -0.01em; color: var(--accent-ink);
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 18px 30px; border-radius: 16px;
  box-shadow: 0 18px 44px -16px var(--accent-2);
  transition: transform .3s var(--ease), box-shadow .3s;
  word-break: break-word;
}
.contact__email-big:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 26px 56px -16px var(--accent-2); }
.contact__email-big svg { flex: 0 0 auto; }
.contact__hint { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(54px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 52px; }
.footer__desc { color: var(--muted); margin-top: 16px; max-width: 34ch; font-size: .94rem; }
.footer__col h3 { font-family: var(--f-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; color: var(--text-2); padding: 6px 0; font-size: .94rem; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer__cin { font-size: .8rem; margin-top: 4px; }
.footer__legal a { color: var(--text-2); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Floating contact button ---------- */
.fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  height: 58px; width: 58px; padding: 0 18px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  border-radius: 100px; font-family: var(--f-display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 34px -10px rgba(255,122,0,.55);
  transition: width .4s var(--ease), transform .3s var(--ease), box-shadow .3s;
  animation: fab-in .6s var(--ease) both, fab-float 3.4s ease-in-out 1s infinite;
}
.fab__icon { flex: 0 0 auto; }
.fab__label { white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .4s var(--ease), opacity .3s, margin-left .4s var(--ease); }
.fab:hover { width: 172px; transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -10px rgba(255,122,0,.7); animation-play-state: paused, paused; }
.fab:hover .fab__label { max-width: 120px; opacity: 1; margin-left: 10px; }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fab__pulse { position: absolute; inset: 0; border-radius: 100px; background: var(--accent); z-index: -1; animation: fab-pulse 2.6s var(--ease) infinite; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(1.5); opacity: 0; } }
@keyframes fab-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes fab-in { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }

/* ---------- Animated aurora background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx__blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .4; will-change: transform; }
.bg-fx__blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw; background: radial-gradient(circle, rgba(255,196,0,.55), transparent 66%); animation: blob1 22s var(--ease) infinite alternate; }
.bg-fx__blob.b2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw; background: radial-gradient(circle, rgba(255,122,0,.45), transparent 66%); animation: blob2 26s var(--ease) infinite alternate; }
.bg-fx__blob.b3 { width: 50vw; height: 50vw; left: 30vw; bottom: -14vw; background: radial-gradient(circle, rgba(61,123,255,.38), transparent 66%); animation: blob3 30s var(--ease) infinite alternate; }
[data-theme="light"] .bg-fx__blob { opacity: .35; }
[data-theme="light"] .bg-fx__blob.b1 { background: radial-gradient(circle, rgba(255,196,0,.6), transparent 66%); }
[data-theme="light"] .bg-fx__blob.b3 { background: radial-gradient(circle, rgba(61,123,255,.28), transparent 66%); }
.bg-fx__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000, transparent 75%);
}
@keyframes blob1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(10vw, 8vh) scale(1.15); } }
@keyframes blob2 { 0% { transform: translate(0,0) scale(1.05); } 100% { transform: translate(-8vw, 12vh) scale(.9); } }
@keyframes blob3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-10vw, -8vh) scale(1.2); } }

/* Content sits above the background; nav & fab keep their own layers */
main, .footer { position: relative; z-index: 1; }

/* Sections become transparent so the aurora shows through site-wide.
   Cards keep solid surfaces for readability; separation via subtle tints. */
.about, .work--articles, .stats, .contact { background: transparent; }
.about, .work--articles { border-block: 1px solid var(--line); }
.stats, .contact { border-top: 1px solid var(--line); }

/* ---------- Cinematic hero title (word-by-word rise) ---------- */
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .04em; }
.hero__title .word i { display: inline-block; font-style: normal; transform: translateY(115%); transition: transform .9s var(--ease); will-change: transform; }
.hero__title.animate .word i { transform: none; }

/* ---------- Typewriter caret ---------- */
.tw-caret {
  display: inline-block; width: 3px; height: 1em; margin-left: .04em;
  background: var(--accent); vertical-align: -0.14em; border-radius: 2px;
  box-shadow: 0 0 10px var(--accent);
  animation: caret-blink .85s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- Cinematic scan-wipe on product images ---------- */
.prod .prod__media img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease), transform .7s var(--ease); }
.prod.reveal.in .prod__media img { clip-path: inset(0 0 0 0); }

/* ---------- Scroll reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Extra content effects ---------- */
/* Scroll progress bar */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent-2); }

/* Shimmering gradient text */
.grad { background-size: 220% auto; animation: grad-shimmer 6s linear infinite; }
@keyframes grad-shimmer { to { background-position: 220% center; } }

/* Tiltable cards */
.tiltable { transform-style: preserve-3d; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; will-change: transform; }

/* Shine sweep on hover */
.card-shine { position: relative; }
.card-shine::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 62%);
  transform: translateX(-120%);
}
.card-shine:hover::after { animation: shine .85s var(--ease); }
@keyframes shine { 0% { transform: translateX(-120%); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }

/* Count-up numbers pop slightly when they land */
.stat.counted .stat__value { animation: num-pop .5s var(--ease); }
@keyframes num-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
/* Directional variants (add data-anim="left|right|zoom") */
[data-anim="left"] { transform: translateX(-48px); }
[data-anim="right"] { transform: translateX(48px); }
[data-anim="zoom"] { transform: scale(.9); }
[data-anim].in { transform: none; }
/* Cards get a little lift + scale as they enter */
.eco-card.reveal, .prod.reveal, .video-card.reveal, .article-card.reveal, .event.reveal, .point.reveal, .stat.reveal, .mv__card.reveal {
  transform: translateY(44px) scale(.97);
}
.eco-card.reveal.in, .prod.reveal.in, .video-card.reveal.in, .article-card.reveal.in, .event.reveal.in, .point.reveal.in, .stat.reveal.in, .mv__card.reveal.in {
  transform: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 941px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .about__top { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .about__points { grid-template-columns: 1fr 1fr; }
  .prod, .prod:nth-child(even) { grid-template-columns: 1fr; }
  .prod:nth-child(even) .prod__media { order: 0; }
  .prod__media { min-height: 240px; }
  .video-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .ev-clips { grid-template-columns: 1fr 1fr; }
  .event__head { flex-direction: column; }
  .event__meta { align-items: flex-start; text-align: left; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .mv, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .about__points, .video-grid, .article-grid, .stats__grid, .footer__grid, .ev-clips { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section-head--row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep gentle fades + the ambient background, but drop large/looping motion. */
  .reveal { transition-duration: .5s !important; }
  .hero__title .word i { transform: none !important; }
  .prod .prod__media img { clip-path: none !important; }
  .tw-caret { display: none !important; }
  .hero__pad { animation: none; }
  .grad { animation: none !important; }
  .card-shine::after { display: none !important; }
  html { scroll-behavior: auto; }
}
