/* =========================================================
   RED REEL — promotional one-page site
   Palette: burgundy #681817, red #A92920, cream #E8D3A3,
   yellow #D9AA45, charcoal #181614, brown #32241D, gray #8B8174
   ========================================================= */

:root{
  --c-burgundy:#681817;
  --c-red:#A92920;
  --c-cream:#E8D3A3;
  --c-yellow:#D9AA45;
  --c-charcoal:#181614;
  --c-brown:#32241D;
  --c-gray:#8B8174;

  --f-display:'Oswald', 'Arial Narrow', sans-serif;
  --f-body:'Bitter', Georgia, serif;
  --f-mono:'Courier Prime', 'Courier New', monospace;

  --container-w:1180px;
  --border-thin: 1px solid rgba(232,211,163,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--c-charcoal);
  color:var(--c-cream);
  font-family:var(--f-body);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; background:none; border:none; color:inherit; }

.container{ max-width:var(--container-w); margin:0 auto; padding:0 24px; }
.section{ position:relative; padding:96px 0; }
.center{ text-align:center; }
.light{ color:var(--c-cream); }

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--c-red); color:var(--c-cream);
  padding:12px 20px; z-index:999; font-family:var(--f-mono);
}
.skip-link:focus{ left:12px; top:12px; }

/* Grain overlay */
.grain-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:500; opacity:0.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
.eyebrow{
  font-family:var(--f-mono); text-transform:uppercase; letter-spacing:0.18em; font-size:0.75rem;
  color:var(--c-yellow); margin:0 0 10px;
}
.section-title{
  font-family:var(--f-display); text-transform:uppercase; font-weight:700; letter-spacing:0.01em;
  font-size:clamp(1.8rem,4vw,2.75rem); color:var(--c-cream); margin:0 0 22px; line-height:1.15;
}
.section-intro{ max-width:680px; margin:0 auto 40px; color:var(--c-gray); font-size:1.05rem; }
.section-intro.light{ color:rgba(232,211,163,0.75); margin-left:auto; margin-right:auto; }
.fine-print{ font-family:var(--f-mono); font-size:0.75rem; color:var(--c-gray); letter-spacing:0.02em; margin-top:28px; }
.fine-print.light{ color:rgba(232,211,163,0.55); }

/* Tags / stamps */
.tag-label{
  display:inline-block; font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.12em;
  text-transform:uppercase; padding:5px 10px; border:1px solid var(--c-yellow); color:var(--c-yellow);
  background:rgba(24,22,20,0.55);
}
.tag-label.tag-warn{ border-color:var(--c-red); color:#f2b3ad; }

/* Buttons */
.btn{
  display:inline-block; font-family:var(--f-display); text-transform:uppercase; letter-spacing:0.06em;
  font-weight:600; font-size:0.9rem; padding:14px 28px; border:2px solid transparent; transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{ background:var(--c-red); color:var(--c-cream); border-color:var(--c-red); }
.btn-primary:hover, .btn-primary:focus-visible{ background:var(--c-burgundy); border-color:var(--c-burgundy); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--c-cream); border-color:var(--c-cream); }
.btn-outline:hover, .btn-outline:focus-visible{ background:var(--c-cream); color:var(--c-charcoal); transform:translateY(-2px); }
.btn:focus-visible{ outline:2px dashed var(--c-yellow); outline-offset:3px; }

/* =========================================================
   NAV
   ========================================================= */
.site-nav{
  position:sticky; top:0; z-index:200; background:rgba(24,22,20,0.55); backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(232,211,163,0.12); transition:background .3s ease, border-color .3s ease;
}
.site-nav.scrolled{ background:rgba(24,22,20,0.96); border-bottom-color:rgba(232,211,163,0.25); }
.nav-inner{
  max-width:var(--container-w); margin:0 auto; padding:12px 24px; display:flex; align-items:center; gap:24px;
}
.nav-brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.nav-logo{ width:38px; height:38px; object-fit:cover; border:1px solid var(--c-yellow); }
.nav-brand-text{ font-family:var(--f-display); font-weight:700; letter-spacing:0.08em; font-size:1.1rem; }
.nav-links{ display:flex; gap:26px; }
.nav-links a{
  position:relative; font-family:var(--f-mono); font-size:0.82rem; text-transform:uppercase; letter-spacing:0.06em;
  padding:6px 2px; color:var(--c-cream);
}
.nav-links a span{ position:relative; }
.nav-links a span::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--c-red); transition:width .25s ease;
}
.nav-links a:hover span::after, .nav-links a:focus-visible span::after{ width:100%; }
.nav-links a:focus-visible{ outline:2px dashed var(--c-yellow); outline-offset:3px; }
.nav-cta{ padding:10px 18px; font-size:0.78rem; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; padding:8px; }
.nav-toggle span{ width:24px; height:2px; background:var(--c-cream); transition:transform .25s ease, opacity .25s ease; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:center; overflow:hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(169,41,32,0.35), transparent 55%),
    linear-gradient(180deg, #100e0d 0%, var(--c-charcoal) 100%);
}
.hero-filmstrip{
  position:absolute; top:0; bottom:0; width:34px; z-index:1;
  background-image: repeating-linear-gradient(0deg, var(--c-brown) 0 26px, #000 26px 30px);
  background-size:100% 60px; opacity:0.6;
}
.hero-filmstrip::before, .hero-filmstrip::after{ content:''; }
.filmstrip-left{ left:0; }
.filmstrip-right{ right:0; }
.hero-filmstrip{
  background-image:
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(0,0,0,0.7) 14px 20px),
    linear-gradient(var(--c-brown), var(--c-brown));
}
.hero-inner{
  position:relative; z-index:2; max-width:var(--container-w); margin:0 auto; padding:80px 60px;
  display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center; width:100%;
}
.stamp-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.hero-logo{ width:120px; margin-bottom:20px; border:2px solid var(--c-yellow); }
.hero-title{
  font-family:var(--f-display); text-transform:uppercase; font-weight:700; color:var(--c-cream);
  font-size:clamp(2rem,4.6vw,3.4rem); line-height:1.12; letter-spacing:0.01em; margin:0 0 22px;
}
.hero-title-accent{ color:var(--c-red); }
.hero-sub{ max-width:520px; color:rgba(232,211,163,0.8); font-size:1.05rem; margin-bottom:32px; }
.hero-btns{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-visual{ position:relative; }
.monitor-frame{
  position:relative; border:3px solid var(--c-brown); background:#000; box-shadow:0 0 0 8px rgba(50,36,29,0.4), 0 20px 60px rgba(0,0,0,0.6);
}
.monitor-label{ position:absolute; top:10px; left:10px; right:10px; display:flex; justify-content:space-between; z-index:3; gap:8px; flex-wrap:wrap; }
.monitor-video{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; filter:saturate(0.85) contrast(1.05); }
.monitor-scanline{
  position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(180deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 4px);
  mix-blend-mode:multiply;
}
.hero-fade{ position:absolute; bottom:0; left:0; right:0; height:120px; background:linear-gradient(180deg, transparent, var(--c-charcoal)); pointer-events:none; z-index:2; }

/* =========================================================
   SPLIT LAYOUT (premise / daily-life)
   ========================================================= */
.split-layout{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.split-layout.reverse{ grid-template-columns:1fr 1fr; }
.split-layout.reverse .split-text{ order:2; }
.split-layout.reverse .split-media{ order:1; }
.split-media{ position:relative; }
.paper-frame{
  border:6px solid var(--c-cream); box-shadow:0 18px 40px rgba(0,0,0,0.5); filter:sepia(0.15) contrast(1.02);
}
.corner-stamp{
  position:absolute; bottom:-14px; right:14px; background:var(--c-red); color:var(--c-cream);
  font-family:var(--f-mono); font-size:0.7rem; letter-spacing:0.1em; padding:6px 12px; transform:rotate(-3deg);
  box-shadow:0 6px 14px rgba(0,0,0,0.4);
}
.premise{ background:linear-gradient(180deg, var(--c-charcoal), #14110f); }
.premise p{ color:rgba(232,211,163,0.85); }
.stamp-quote{
  margin:28px 0 0; padding:18px 22px; border:2px solid var(--c-yellow); position:relative; transform:rotate(-1deg);
  background:rgba(217,170,69,0.06);
}
.stamp-quote p{ font-family:var(--f-mono); font-style:italic; color:var(--c-yellow); margin:0; font-size:0.95rem; }

/* =========================================================
   GAMEPLAY LOOP
   ========================================================= */
.gameplay{ background:var(--c-charcoal); }
.loop-chain{
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin:0 0 56px; counter-reset:step;
}
.loop-step{
  display:flex; align-items:center; gap:10px; border:var(--border-thin); padding:14px 18px; background:rgba(232,211,163,0.03);
  position:relative;
}
.loop-step:not(:last-child)::after{
  content:'→'; position:absolute; right:-24px; top:50%; transform:translateY(-50%); color:var(--c-red); font-size:1.1rem;
}
.loop-num{ font-family:var(--f-mono); color:var(--c-red); font-weight:700; }
.loop-label{ font-family:var(--f-display); text-transform:uppercase; font-size:0.85rem; letter-spacing:0.03em; }

.video-showcase{ max-width:860px; margin:0 auto; }
.video-frame-border{
  border:10px solid var(--c-brown); position:relative; background:#000; transition:box-shadow .3s ease;
  box-shadow:0 0 0 1px rgba(217,170,69,0.3);
}
.video-frame-border:hover, .video-frame-border:focus-within{ box-shadow:0 0 0 1px rgba(217,170,69,0.3), 0 0 30px rgba(169,41,32,0.45); }
.video-frame-border::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:2;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.55) 0 4px, transparent 4px 30px);
  opacity:0.5;
}
.showcase-video{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.video-controls-bar{
  display:flex; align-items:center; gap:10px; padding:8px 10px; background:var(--c-brown); position:relative; z-index:3;
}
.vid-btn{ width:34px; height:34px; display:flex; align-items:center; justify-content:center; border:1px solid var(--c-yellow); color:var(--c-yellow); transition:background .2s ease, color .2s ease; }
.vid-btn:hover, .vid-btn:focus-visible{ background:var(--c-yellow); color:var(--c-brown); }
.vid-btn svg{ width:18px; height:18px; fill:currentColor; }
.vid-caption{ font-family:var(--f-mono); font-size:0.75rem; color:var(--c-cream); letter-spacing:0.04em; }

/* =========================================================
   RISK SECTION
   ========================================================= */
.risk{ background:linear-gradient(180deg, #100e0d, #060504); }
.suspicion-meter{ max-width:560px; margin:0 auto 56px; display:flex; align-items:center; gap:14px; }
.suspicion-tick-label{ font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.1em; color:var(--c-gray); white-space:nowrap; }
.suspicion-track{ flex:1; height:10px; border:1px solid var(--c-gray); background:rgba(255,255,255,0.03); position:relative; overflow:hidden; }
.suspicion-fill{ height:100%; width:8%; background:linear-gradient(90deg, var(--c-yellow), var(--c-red)); transition:width .2s ease-out; }

.risk-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.risk-card{ border:var(--border-thin); padding:32px; position:relative; }
.risk-card h3{ font-family:var(--f-display); text-transform:uppercase; font-size:1.4rem; margin:14px 0 18px; }
.risk-card ul{ margin-bottom:22px; }
.risk-card li{ font-family:var(--f-body); font-size:0.95rem; padding:6px 0 6px 18px; position:relative; color:rgba(232,211,163,0.8); }
.risk-card li::before{ content:'—'; position:absolute; left:0; color:var(--c-gray); }
.risk-legal{ background:rgba(232,211,163,0.04); border-color:rgba(232,211,163,0.35); }
.risk-black{ background:rgba(169,41,32,0.08); border-color:rgba(169,41,32,0.5); }
.risk-black li::before{ color:var(--c-red); }
.risk-img{ width:100%; aspect-ratio:16/9; object-fit:cover; filter:grayscale(0.15); border:1px solid rgba(232,211,163,0.2); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section{ background:var(--c-charcoal); padding-bottom:60px; }
.gallery-grid{
  max-width:1400px; margin:0 auto; padding:0 24px; display:grid;
  grid-template-columns:repeat(4, 1fr); grid-auto-rows:220px; gap:6px;
}
.gallery-item{
  position:relative; overflow:hidden; border:1px solid rgba(232,211,163,0.15); cursor:pointer; padding:0;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.gallery-item.span-2{ grid-column:span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
.gallery-item:hover img, .gallery-item:focus-visible img{ transform:scale(1.08); }
.gallery-item:hover, .gallery-item:focus-visible{ border-color:var(--c-red); box-shadow:0 0 0 1px var(--c-red), 0 10px 26px rgba(0,0,0,0.5); }
.gallery-item:focus-visible{ outline:2px dashed var(--c-yellow); outline-offset:2px; }
.gallery-item::after{
  content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55)); opacity:0; transition:opacity .25s ease;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after{ opacity:1; }

/* =========================================================
   FEATURES
   ========================================================= */
.features{ background:linear-gradient(180deg, #14110f, var(--c-charcoal)); }
.feature-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.feature-card{
  border:var(--border-thin); padding:26px 22px; background:rgba(232,211,163,0.03); transition:transform .2s ease, border-color .2s ease;
}
.feature-card:hover, .feature-card:focus-within{ transform:translateY(-4px); border-color:var(--c-yellow); }
.feature-icon{ font-size:1.6rem; display:block; margin-bottom:10px; }
.feature-card h3{ font-family:var(--f-display); text-transform:uppercase; font-size:1.02rem; margin:0 0 8px; letter-spacing:0.02em; }
.feature-card p{ font-size:0.9rem; color:rgba(232,211,163,0.7); margin:0; }

/* =========================================================
   CHARACTERS
   ========================================================= */
.characters{ background:var(--c-charcoal); }
.case-file-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.case-file{ position:relative; border:1px solid rgba(232,211,163,0.25); background:var(--c-brown); overflow:hidden; }
.case-file img{ width:100%; aspect-ratio:3/4; object-fit:cover; filter:sepia(0.25) contrast(1.05); }
.case-file-tab{ padding:14px; border-top:2px dashed rgba(232,211,163,0.3); }
.case-file-tab h3{ font-family:var(--f-display); text-transform:uppercase; font-size:1rem; margin:8px 0 0; }

/* =========================================================
   DAILY LIFE / LEDGER
   ========================================================= */
.daily-life{ background:linear-gradient(180deg, var(--c-charcoal), #14110f); }
.daily-life p{ color:rgba(232,211,163,0.8); }
.ledger-panel{
  background:var(--c-cream); color:var(--c-charcoal); padding:28px 26px; border:2px solid var(--c-brown);
  box-shadow:0 18px 40px rgba(0,0,0,0.5); font-family:var(--f-mono); position:relative;
}
.ledger-title{ font-weight:700; letter-spacing:0.05em; font-size:0.8rem; margin:0 0 18px; border-bottom:1px solid var(--c-brown); padding-bottom:10px; }
.ledger-row{ display:flex; justify-content:space-between; font-size:0.85rem; padding:7px 0; border-bottom:1px dotted rgba(50,36,29,0.3); }
.ledger-value{ font-weight:700; }
.ledger-neg{ color:var(--c-burgundy); }
.ledger-warn{ color:var(--c-red); }
.ledger-stamp{
  margin-top:18px; text-align:right; color:var(--c-red); font-weight:700; letter-spacing:0.08em; font-size:0.75rem;
  border:2px solid var(--c-red); display:inline-block; padding:4px 10px; transform:rotate(-4deg); float:right;
}

/* =========================================================
   DEV STATUS
   ========================================================= */
.dev-status{ background:linear-gradient(180deg, #14110f, #0c0a09); }
.notice-box{
  max-width:720px; margin:0 auto 48px; text-align:center; font-family:var(--f-mono); font-size:0.92rem;
  color:var(--c-yellow); border:1px dashed var(--c-yellow); padding:18px 24px; background:rgba(217,170,69,0.05);
}
.progress-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; margin-bottom:60px; }
.progress-item{ border:var(--border-thin); padding:18px; text-align:center; background:rgba(232,211,163,0.03); }
.progress-item p{ margin:12px 0 0; font-size:0.85rem; color:rgba(232,211,163,0.8); }
.status-pill{
  display:inline-block; font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:5px 10px; border:1px solid currentColor;
}
.status-dev{ color:#e0955c; }
.status-proto{ color:var(--c-yellow); }
.status-planned{ color:var(--c-gray); }
.status-polish{ color:#c96a63; }

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap{ background:var(--c-charcoal); }
.roadmap-timeline{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; position:relative; counter-reset:phase; }
.roadmap-timeline::before{
  content:''; position:absolute; top:20px; left:5%; right:5%; height:2px; background:repeating-linear-gradient(90deg, var(--c-yellow) 0 8px, transparent 8px 14px);
}
.roadmap-phase{ position:relative; }
.roadmap-marker{
  width:40px; height:40px; border:2px solid var(--c-red); background:var(--c-charcoal); color:var(--c-red);
  display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-weight:700; margin-bottom:18px; position:relative; z-index:2;
}
.roadmap-content{ border:var(--border-thin); padding:18px; background:rgba(232,211,163,0.03); height:100%; }
.roadmap-content h3{ font-family:var(--f-display); text-transform:uppercase; margin:0 0 12px; font-size:1.05rem; }
.roadmap-content li{ font-size:0.85rem; color:rgba(232,211,163,0.75); padding:4px 0 4px 14px; position:relative; }
.roadmap-content li::before{ content:'·'; position:absolute; left:0; color:var(--c-yellow); }

/* =========================================================
   SUPPORT / CTA
   ========================================================= */
.support{
  position:relative; background:linear-gradient(180deg, var(--c-burgundy), #4a1110); overflow:hidden; text-align:center;
}
.support-seal{
  position:absolute; top:50%; left:50%; width:520px; transform:translate(-50%,-50%); opacity:0.06; pointer-events:none;
}
.support .container{ position:relative; z-index:2; }
.support-btns{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin:20px 0 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:#0c0a09; padding:44px 0 18px; border-top:1px solid rgba(232,211,163,0.15); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer-brands{ display:flex; align-items:center; gap:14px; }
.footer-logo{ width:44px; height:44px; object-fit:cover; border:1px solid rgba(232,211,163,0.3); }
.footer-logo-round{ border-radius:50%; }
.footer-text p{ margin:2px 0; font-size:0.8rem; color:var(--c-gray); font-family:var(--f-mono); }
.footer-links{ display:flex; gap:18px; }
.footer-links a{ font-family:var(--f-mono); font-size:0.78rem; color:var(--c-gray); border-bottom:1px solid transparent; transition:color .2s ease, border-color .2s ease; }
.footer-links a:hover, .footer-links a:focus-visible{ color:var(--c-yellow); border-color:var(--c-yellow); }
.footer-bureaucratic{
  text-align:center; font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.14em; color:rgba(139,129,116,0.6);
  margin:30px 0 0; text-transform:uppercase;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox{
  position:fixed; inset:0; background:rgba(6,5,4,0.94); z-index:999; display:flex; align-items:center; justify-content:center;
  flex-direction:column; padding:24px;
}
.lightbox[hidden]{ display:none; }
.lightbox-img{ max-width:min(90vw, 1100px); max-height:76vh; object-fit:contain; border:4px solid var(--c-brown); box-shadow:0 20px 60px rgba(0,0,0,0.7); }
.lightbox-caption{ font-family:var(--f-mono); color:var(--c-cream); margin-top:16px; font-size:0.85rem; text-align:center; }
.lightbox-close{
  position:absolute; top:20px; right:24px; font-size:2rem; color:var(--c-cream); line-height:1; width:44px; height:44px;
  border:1px solid var(--c-cream); display:flex; align-items:center; justify-content:center;
}
.lightbox-close:hover, .lightbox-close:focus-visible{ background:var(--c-red); border-color:var(--c-red); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); font-size:1.6rem; color:var(--c-cream);
  width:52px; height:52px; border:1px solid var(--c-cream); display:flex; align-items:center; justify-content:center;
}
.lightbox-nav:hover, .lightbox-nav:focus-visible{ background:var(--c-red); border-color:var(--c-red); }
.lightbox-prev{ left:24px; }
.lightbox-next{ right:24px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .hero-inner{ grid-template-columns:1fr; padding:64px 32px; text-align:left; }
  .split-layout, .split-layout.reverse{ grid-template-columns:1fr; }
  .split-layout.reverse .split-text{ order:1; }
  .split-layout.reverse .split-media{ order:2; }
  .risk-grid{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:repeat(2, 1fr); }
  .case-file-grid{ grid-template-columns:repeat(2, 1fr); }
  .progress-grid{ grid-template-columns:repeat(2, 1fr); }
  .roadmap-timeline{ grid-template-columns:repeat(2, 1fr); }
  .roadmap-timeline::before{ display:none; }
  .gallery-grid{ grid-template-columns:repeat(3, 1fr); grid-auto-rows:180px; }
}

@media (max-width:768px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw, 320px); background:var(--c-charcoal);
    flex-direction:column; padding:100px 32px 32px; gap:26px; transform:translateX(100%); transition:transform .3s ease;
    border-left:1px solid rgba(232,211,163,0.2); z-index:150;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .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); }

  .loop-chain{ flex-direction:column; align-items:stretch; }
  .loop-step::after{ display:none; }
  .feature-grid{ grid-template-columns:1fr; }
  .case-file-grid{ grid-template-columns:1fr 1fr; }
  .progress-grid{ grid-template-columns:1fr 1fr; }
  .roadmap-timeline{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); grid-auto-rows:160px; }
  .gallery-item.span-2{ grid-column:span 2; }
  .section{ padding:64px 0; }
  .footer-inner{ flex-direction:column; text-align:center; }
}

@media (max-width:480px){
  .hero-inner{ padding:48px 20px; }
  .hero-btns{ flex-direction:column; }
  .hero-btns .btn{ text-align:center; }
  .case-file-grid{ grid-template-columns:1fr; }
  .progress-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:140px; }
  .support-btns{ flex-direction:column; align-items:center; }
  .lightbox-nav{ width:40px; height:40px; font-size:1.2rem; }
}
