/* ===========================================================
   Psychotic Pigeon Studios — Global Styles
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --black: #060406;
  --black-soft: #0c0910;
  --panel: #120e17;
  --panel-2: #17111f;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --purple-glow: #c084fc;
  --purple-dim: #3d2a52;
  --white: #f5f3f7;
  --grey: #b8b1c2;
  --grey-dim: #7a7286;
  --line: rgba(168,85,247,0.18);
  --shadow-glow: 0 0 40px rgba(168,85,247,0.35);
  --ff-display: 'Anton', 'Inter', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

/* Belt-and-suspenders horizontal containment: overflow-x is set on both the
   root and body (some browsers honor one but not the other), and every
   full-bleed / animated / negative-offset element below lives inside an
   ancestor with its own overflow:hidden, so nothing — text, background
   layers, or pseudo-elements — can push the viewport wider than 100%. */
html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body{
  margin:0;
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

main{ overflow-x: hidden; }

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration: none; }

ul{ list-style:none; margin:0; padding:0; }

h1,h2,h3,h4{
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

p{ margin: 0 0 1em; color: var(--grey); }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section{ position: relative; }

::selection{ background: var(--purple-deep); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--black); }
::-webkit-scrollbar-thumb{ background: var(--purple-dim); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--purple-deep); }

/* ===========================================================
   Utility
   =========================================================== */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-glow);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:'';
  width: 26px; height: 2px;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  position: relative;
}
.btn-primary{
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168,85,247,0.55);
}
.btn-ghost{
  background: transparent;
  color: var(--white);
  border-color: rgba(245,243,247,0.25);
}
.btn-ghost:hover{
  border-color: var(--purple-glow);
  color: var(--purple-glow);
  transform: translateY(-2px);
}
.btn-block{ width: 100%; justify-content: center; }

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168,85,247,0.12);
  border: 1px solid var(--line);
  color: var(--purple-glow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .4; transform: scale(.7); }
}

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }
.reveal-delay-4{ transition-delay: .4s; }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
.section-head p{ font-size: 1.05rem; }

/* ===========================================================
   Header / Nav
   =========================================================== */

.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(6,4,6,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 28px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand img{
  width: 42px; height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px rgba(168,85,247,0.35);
  transition: box-shadow .3s ease, transform .3s ease;
}
.brand:hover img{
  box-shadow: 0 0 0 1px var(--purple-glow), 0 0 26px rgba(168,85,247,0.6);
  transform: rotate(-4deg);
}
.brand span{ color: var(--purple-glow); }

.nav-links{
  display:flex;
  align-items:center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}
.nav-links a{
  position: relative;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--grey);
  border-radius: 6px;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover{ color: var(--white); background: rgba(168,85,247,0.08); }
.nav-links a.active{ color: var(--purple-glow); }
.nav-links a.active::after{
  content:'';
  position:absolute;
  left: 18px; right:18px; bottom: 2px;
  height: 2px;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
}

.nav-actions{ display:flex; align-items:center; gap: 14px; flex-shrink: 0; }
.nav-actions .btn{ padding: 10px 22px; font-size: 0.85rem; white-space: nowrap; }

.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span{
  width: 18px; height: 2px; background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */

.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: 160px 0 120px;
  overflow: hidden;
  background: #000;
}
.hero-bg{
  position:absolute; inset:0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift{
  0%{ transform: scale(1.08) translate(0,0); }
  100%{ transform: scale(1.14) translate(-1.5%, -1%); }
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(6,4,6,0.35), transparent 60%),
    linear-gradient(180deg, rgba(6,4,6,0.55) 0%, rgba(6,4,6,0.55) 30%, rgba(6,4,6,0.92) 88%, #060406 100%),
    linear-gradient(90deg, rgba(6,4,6,0.75) 0%, rgba(6,4,6,0.15) 45%, rgba(6,4,6,0.55) 100%);
  z-index: 1;
}
.hero-particles{
  position:absolute; inset:0; z-index:2; pointer-events:none;
}
.hero-particles span{
  position:absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px 2px rgba(192,132,252,0.7);
  opacity: 0.7;
  animation: float-up linear infinite;
}
@keyframes float-up{
  0%{ transform: translateY(0) translateX(0); opacity: 0; }
  10%{ opacity: .8; }
  90%{ opacity: .5; }
  100%{ transform: translateY(-120vh) translateX(20px); opacity: 0; }
}

.hero-content{
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-content h1{
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 0 50px rgba(168,85,247,0.25);
}
.hero-content h1 em{
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-glow), var(--purple-deep) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content .lede{
  font-size: 1.15rem;
  color: var(--grey);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta{
  display:flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-scroll{
  position:absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  color: var(--grey-dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll .line{
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--purple-glow), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse{
  0%,100%{ opacity: .3; }
  50%{ opacity: 1; }
}

/* ===========================================================
   Marquee
   =========================================================== */

.marquee{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  z-index: 4;
  /* Fade the ticker text out before it hits the edge instead of hard-cutting
     mid-word, so nothing reads as stray/bleeding text at the viewport edge. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee-track{
  display:flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track span{
  display:inline-flex;
  align-items:center;
  gap: 18px;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--grey-dim);
  padding: 0 24px;
  white-space: nowrap;
}
.marquee-track span i{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
}
@keyframes marquee-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ===========================================================
   Featured Game
   =========================================================== */

.featured{
  padding: 130px 0;
  background: var(--black);
  position: relative;
}
.featured::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.game-card{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: linear-gradient(150deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.game-card::before{
  content:'';
  position:absolute; inset: -2px;
  background: conic-gradient(from 180deg, transparent, rgba(168,85,247,0.4), transparent 30%);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 0;
  animation: spin 6s linear infinite;
}
.game-card:hover::before{ opacity: .5; }
@keyframes spin{ to{ transform: rotate(360deg); } }

.game-card-media{
  position: relative;
  min-height: 380px;
  overflow: hidden;
  z-index: 1;
  margin: 1px;
  border-radius: 17px 0 0 17px;
}
.game-card-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.game-card:hover .game-card-media img{ transform: scale(1.06); }
.game-card-media::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent 60%, rgba(18,14,23,0.9));
}

.game-card-body{
  padding: 56px 52px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 18px;
  position: relative;
  z-index: 1;
  background: var(--panel);
  margin: 1px 1px 1px 0;
  border-radius: 0 17px 17px 0;
}
.game-card-body h3{
  font-size: 2.4rem;
  color: var(--white);
}
.game-card-body p{ font-size: 1.02rem; }
.game-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 4px;
}
.game-meta span{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ===========================================================
   Pillars / Values
   =========================================================== */

.pillars{
  padding: 130px 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(124,58,237,0.14), transparent 60%),
    var(--black-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card{
  padding: 36px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.pillar-card:hover{
  transform: translateY(-8px);
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 20px 50px -20px rgba(168,85,247,0.35);
}
.pillar-icon{
  width: 52px; height: 52px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(124,58,237,0.05));
  border: 1px solid var(--line);
  margin-bottom: 22px;
  color: var(--purple-glow);
}
.pillar-card h3{
  font-size: 1.25rem;
  color: var(--white);
  text-transform: none;
  font-family: var(--ff-body);
  font-weight: 800;
  margin-bottom: 10px;
}
.pillar-card p{ font-size: 0.95rem; margin:0; }

/* ===========================================================
   About Teaser
   =========================================================== */

.about-teaser{
  padding: 130px 0;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.about-teaser-inner{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items:center;
}
.about-visual{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  background: #000;
}
.about-visual img{
  width:100%; height:100%; object-fit: cover;
  filter: grayscale(0.1);
}
.about-visual::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(160deg, transparent 40%, rgba(6,4,6,0.85));
}
.about-visual .badge{
  position:absolute;
  bottom: 24px; left:24px;
  z-index: 2;
}

.stat-row{
  display:flex;
  gap: 40px;
  margin: 34px 0 38px;
  flex-wrap: wrap;
}
.stat-row .stat b{
  display:block;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--white), var(--purple-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-row .stat span{
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
}

/* ===========================================================
   CTA band
   =========================================================== */

.cta-band{
  padding: 110px 0;
  position: relative;
  background-image: url('../images/section-texture.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
}
.cta-band::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,4,6,0.9), rgba(6,4,6,0.75) 50%, rgba(6,4,6,0.95));
}
.cta-band-inner{
  position:relative; z-index:1;
  text-align:center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band-inner h2{
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 18px;
}
.cta-band-inner p{ font-size: 1.05rem; margin-bottom: 34px; }
.cta-band-actions{
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
}

/* ===========================================================
   Footer
   =========================================================== */

.site-footer{
  position: relative;
  background-image: url('../images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,4,6,0.88), rgba(6,4,6,0.94) 60%, #060406 100%);
}
.footer-inner{
  position: relative; z-index: 1;
  padding: 90px 0 34px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand{ margin-bottom: 18px; }
.footer-brand p{ max-width: 320px; font-size: 0.92rem; }
.footer-social{
  display:flex; gap: 10px; margin-top: 22px;
}
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey);
  transition: all .25s ease;
}
.footer-social a:hover{
  color: var(--purple-glow);
  border-color: var(--purple-glow);
  background: rgba(168,85,247,0.1);
  transform: translateY(-3px);
}

.footer-col h4{
  font-family: var(--ff-body);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--grey-dim);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li{ margin-bottom: 12px; }
.footer-col a{
  font-size: 0.92rem;
  color: var(--grey);
  transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover{ color: var(--purple-glow); padding-left: 4px; }

.footer-col.contact a{
  display:block;
  word-break: break-all;
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p{
  margin:0;
  font-size: 0.82rem;
  color: var(--grey-dim);
}
.footer-bottom-links{ display:flex; gap: 24px; }
.footer-bottom-links a{ font-size: 0.82rem; color: var(--grey-dim); }
.footer-bottom-links a:hover{ color: var(--purple-glow); }

/* ===========================================================
   Inner page hero (Games / About / Support / Privacy)
   =========================================================== */

.page-hero{
  position: relative;
  padding: 200px 0 100px;
  background-image: url('../images/header-banner.jpg');
  background-size: cover;
  background-position: center bottom;
  border-bottom: 1px solid var(--line);
  overflow:hidden;
}
.page-hero::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,4,6,0.55), rgba(6,4,6,0.75) 60%, var(--black) 100%);
}
.page-hero .container{ position: relative; z-index: 1; }
.page-hero h1{ font-size: clamp(2.4rem, 6vw, 4rem); max-width: 760px; }
.page-hero p{ max-width: 560px; font-size: 1.05rem; }
.breadcrumb{
  display:flex; align-items:center; gap:8px;
  font-size: 0.8rem; color: var(--grey-dim);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb a{ color: var(--grey-dim); }
.breadcrumb a:hover{ color: var(--purple-glow); }
.breadcrumb .sep{ color: var(--purple-dim); }
.breadcrumb .current{ color: var(--purple-glow); }

.page-section{ padding: 100px 0; }
.page-section + .page-section{ border-top: 1px solid var(--line); }

/* ===========================================================
   Responsive
   =========================================================== */

@media (max-width: 980px){
  .pillars-grid{ grid-template-columns: repeat(2,1fr); }
  .about-teaser-inner{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .game-card{ grid-template-columns: 1fr; }
  .game-card-media{ min-height: 280px; border-radius: 17px 17px 0 0; margin: 1px 1px 0; }
  .game-card-body{ border-radius: 0 0 17px 17px; margin: 0 1px 1px; }
}

/* Header switches to the hamburger menu well before the full nav gets
   cramped, rather than waiting for the general mobile breakpoint. */
@media (max-width: 1080px){
  .nav-links, .nav-actions .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .site-header .container{ gap: 16px; }
  .brand{ font-size: 1.05rem; }
  .site-header.nav-open .nav-links{
    display:flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(6,4,6,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 110px 32px 40px;
    gap: 6px;
    border-left: 1px solid var(--line);
    animation: slide-in .35s ease;
  }
  @keyframes slide-in{ from{ transform: translateX(100%); } to{ transform: translateX(0); } }
  .site-header.nav-open .nav-links a{ width: 100%; padding: 14px 10px; font-size: 1rem; }
}

@media (max-width: 760px){
  .pillars-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 40px; }
  .stat-row{ gap: 26px; }
  .hero-content h1{ font-size: 2.6rem; }
  .marquee{
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }
}

@media (max-width: 420px){
  .brand{ font-size: 0.95rem; }
  .brand img{ width: 36px; height: 36px; }
  .nav-actions{ gap: 10px; }
  .nav-actions .btn{ padding: 9px 16px; font-size: 0.8rem; }
}

/* Body scroll lock when mobile nav open */
body.nav-open{ overflow: hidden; }
