/* ============================================================
   Red Iron Group × CRG Consulting — Proposal
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: var(--w-book);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--text); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: var(--w-heavy);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rig-red);
  margin: 0 0 1.1rem;
}
.section-title { font-weight: var(--w-black); font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.4rem; }
.accent { color: var(--rig-red); }
.lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: #e9e9e9; max-width: 58ch; margin: 0 0 2rem; }
.aside { color: var(--text-muted); max-width: 60ch; font-style: italic; }
.overline { font-family: var(--font-head); font-weight: var(--w-heavy); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--gray-40); margin: 0 0 1rem; }
.overline.center { text-align: center; margin-top: 4rem; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.sub-head { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 1.4rem; margin: 3rem 0 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--gutter);
  background: rgba(25,25,25,0);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header.scrolled {
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.brand-logo { height: 30px; width: auto; }
.header-nav { display: flex; gap: 1.8rem; align-items: center; }
.header-nav a {
  font-family: var(--font-head); font-weight: var(--w-medium);
  font-size: 0.86rem; letter-spacing: 0.04em; color: var(--gray-20);
  transition: color .2s ease;
}
.header-nav a:hover { color: #fff; }

/* Dropdown navigation */
.nav-group { position: relative; }
.nav-top, .nav-top-link {
  font-family: var(--font-head); font-weight: var(--w-medium);
  font-size: 0.86rem; letter-spacing: 0.04em; color: var(--gray-20);
  background: none; border: none; cursor: pointer; padding: 0.4rem 0;
  transition: color .2s ease;
}
.nav-top::after { content: "\25BE"; font-size: 0.7em; margin-left: 0.4em; opacity: 0.65; }
.nav-top:hover, .nav-top-link:hover,
.nav-group:hover .nav-top, .nav-group:focus-within .nav-top, .nav-group.open .nav-top { color: #fff; }
.nav-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 215px; padding: 0.5rem;
  background: rgba(22,22,22,0.97); backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 60;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(3px);
}
.nav-menu a {
  display: block; padding: 0.6rem 0.9rem; border-radius: 6px;
  font-size: 0.88rem; color: var(--gray-20); white-space: nowrap;
}
.nav-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-cta {
  border: 1px solid var(--rig-red); color: #fff !important;
  padding: 0.45rem 1rem; border-radius: 100px;
  background: var(--rig-red);
}
.nav-cta:hover { background: var(--rig-red-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; filter: grayscale(0.3) contrast(1.05);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.72) 55%, rgba(20,20,20,0.96) 100%),
    radial-gradient(120% 80% at 15% 30%, rgba(193,28,36,0.18), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 7rem var(--gutter) 6rem; }
.hero-title { font-weight: var(--w-black); font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #e6e6e6; max-width: 56ch; margin: 0 0 2.5rem; }
.hero-meta { font-family: var(--font-head); font-weight: var(--w-medium); letter-spacing: 0.06em; color: var(--gray-40); font-size: 0.95rem; }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span {
  display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section.alt { background: var(--bg-raised); }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-bottom: 3rem; }
.two-col p { margin-top: 0; }

/* ---------- Capture grid ---------- */
.capture-grid { list-style: none; padding: 0; margin: 2.5rem 0 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.capture-card { flex: 1 1 280px; max-width: 360px; background: var(--bg-raised); border: 1px solid var(--hairline); border-radius: 10px; padding: 2rem 1.6rem; }
.capture-num { font-family: var(--font-head); font-weight: var(--w-black); color: var(--rig-red); font-size: 0.95rem; letter-spacing: 0.1em; }
.capture-card h3 { font-weight: var(--w-heavy); font-size: 1.25rem; margin: 0.6rem 0 0.6rem; }
.capture-card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Pull quote ---------- */
.pullquote { margin: 3.5rem 0 0; padding: 2.2rem 0 0; border-top: 2px solid var(--rig-red); max-width: 70ch; }
.pullquote blockquote { margin: 0; font-family: var(--font-head); font-weight: var(--w-medium); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
.pullquote figcaption { margin-top: 1.2rem; font-weight: var(--w-heavy); color: var(--gray-40); letter-spacing: 0.04em; font-size: 0.9rem; text-transform: uppercase; }

/* ---------- Proof list ---------- */
.proof-list { list-style: none; padding: 0; margin: 0; }
.proof-list li { padding: 1rem 0 1rem 1.4rem; border-bottom: 1px solid var(--hairline); position: relative; color: var(--text-muted); }
.proof-list li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: 8px; height: 8px; background: var(--rig-red); }
.proof-list strong { color: #fff; }

/* ---------- Format anchor + refs ---------- */
.format-anchor { margin: 2rem 0 0; }
.format-anchor img { width: 100%; border-radius: 6px; }
.caption { color: var(--gray-40); font-size: 0.9rem; margin-top: 0.8rem; font-style: italic; }
.caption.center { text-align: center; }
.style-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0 0; }
.style-frames figure { margin: 0; border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16/10; }
.style-frames img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.style-frames figure:hover img { transform: scale(1.04); }
.ref-note { text-align: center; color: var(--text-muted); margin: 0 0 2rem; font-size: 0.95rem; }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; cursor: pointer; background: #000 center/cover no-repeat; border: 1px solid var(--hairline); }
.yt::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,0.25); transition: background .25s; }
.yt:hover::after { background: rgba(193,28,36,0.22); }
.yt .yt-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 44px; background: rgba(0,0,0,0.6); border-radius: 10px; display: grid; place-items: center; }
.yt .yt-play::before { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.yt:hover .yt-play { background: var(--rig-red); }
.yt .yt-label { position: absolute; z-index: 2; left: 12px; bottom: 10px; font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 0.82rem; letter-spacing: 0.04em; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Deliverables ---------- */
.deliver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.deliver-card { border: 1px solid var(--hairline); border-radius: 8px; padding: 1.8rem 1.6rem; background: rgba(255,255,255,0.02); }
.deliver-k { display: inline-block; font-family: var(--font-head); font-weight: var(--w-black); color: var(--rig-red); font-size: 1.1rem; margin-bottom: 0.8rem; }
.deliver-card h3 { font-weight: var(--w-heavy); font-size: 1.2rem; margin-bottom: 0.5rem; }
.deliver-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.gallery-hero { margin-top: 2.5rem; }
.g-item { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: #000; aspect-ratio: 4/3; }
.g-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.g-item.feature { aspect-ratio: 16/9; }
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img, .g-item:hover video { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem; font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 0.92rem; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.g-item figcaption span { font-weight: var(--w-book); color: var(--gray-40); }
.g-play { position: absolute; inset: 0; margin: auto; z-index: 3; width: 60px; height: 60px; border-radius: 50%; border: none; background: rgba(193,28,36,0.9); color: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
.g-play:hover { background: var(--rig-red); }
.g-item.playing .g-play, .g-item.playing figcaption { opacity: 0; pointer-events: none; }
.g-item.note { background: var(--carbon-deep, #191919); border: 1px solid var(--hairline); display: grid; place-items: center; }
.g-item.note .note-inner { padding: 1.6rem 1.5rem; text-align: center; }
.g-item.note .note-eyebrow { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rig-red); }
.g-item.note h3 { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 1.15rem; margin: 0.5rem 0 0.5rem; }
.g-item.note p { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* ---------- Motion graphics ---------- */
.mg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.mg-hero { margin-top: 2.5rem; }
.mg-hero .mg-card { aspect-ratio: 16/9; }
.mg-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 1.2rem; }
.mg-card { margin: 0; aspect-ratio: 16/9; border-radius: 8px; display: grid; place-content: center; text-align: center; gap: 0.4rem; }
.mg-card.placeholder { border: 1px dashed rgba(255,255,255,0.18); background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px); color: var(--gray-40); }
.mg-card.placeholder span { font-family: var(--font-head); font-weight: var(--w-heavy); color: var(--gray-20); }
.mg-card.placeholder em { font-style: normal; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rig-red); }
.mg-card.media { position: relative; display: block; padding: 0; overflow: hidden; background: #000; border: 1px solid var(--hairline); cursor: zoom-in; }
.mg-card.media video, .mg-card.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.mg-card.media:hover video, .mg-card.media:hover img { transform: scale(1.04); }
.mg-card.media .mg-zoom { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 6px; background: rgba(0,0,0,0.55); color: #fff; display: grid; place-items: center; font-size: 1rem; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 2; }
.mg-card.media:hover .mg-zoom { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; background: rgba(12,12,12,0.93); padding: 4vmin; }
.lightbox.open { display: flex; }
.lightbox .lb-slot { display: flex; align-items: center; justify-content: center; max-width: 92vw; max-height: 88vh; }
.lightbox .lb-media { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.lb-close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lb-close:hover { background: var(--rig-red); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.timeline li:last-child { border-bottom: 1px solid var(--hairline); }
.tl-week { font-family: var(--font-head); font-weight: var(--w-black); color: var(--rig-red); font-size: 0.95rem; letter-spacing: 0.04em; }
.timeline h3 { font-weight: var(--w-heavy); font-size: 1.2rem; margin-bottom: 0.3rem; }
.timeline p { margin: 0; color: var(--text-muted); }
.flags { margin-top: 2.5rem; padding: 1.8rem 2rem; border-left: 3px solid var(--rig-red); background: rgba(255,255,255,0.02); }
.flags ul { margin: 0.6rem 0 1.2rem; padding-left: 1.2rem; }
.flags li { margin-bottom: 0.6rem; color: var(--text-muted); }
.flags strong { color: #fff; }

/* ---------- Investment ---------- */
.alloc { margin: 2.5rem 0 1.5rem; display: grid; gap: 1.1rem; }
.alloc-row { display: grid; grid-template-columns: 240px 1fr 56px; gap: 1.2rem; align-items: center; }
.alloc-label { font-family: var(--font-head); font-weight: var(--w-medium); font-size: 0.98rem; }
.alloc-bar { height: 12px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.alloc-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rig-red-dark), var(--rig-red)); border-radius: 100px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.alloc-row.in-view .alloc-bar span { width: var(--pct); }
.alloc-pct { font-family: var(--font-head); font-weight: var(--w-black); text-align: right; }

.table-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--hairline); border-radius: 8px; }
.loc-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.loc-table th, .loc-table td { text-align: left; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--hairline); }
.loc-table th { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-40); background: rgba(255,255,255,0.02); }
.loc-table td { color: var(--text-muted); }
.loc-table tbody tr:last-child td { border-bottom: none; }
.loc-table td.inc { color: var(--rig-red); font-weight: var(--w-heavy); }

/* ---------- Scope ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.scope-col { border: 1px solid var(--hairline); border-radius: 10px; padding: 1.8rem 1.6rem; background: var(--bg); }
.section.alt .scope-col { background: var(--bg); }
.scope-col h3 { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 1.05rem; margin-bottom: 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hairline); }
.scope-col.included h3 { color: #fff; }
.scope-col.included { border-top: 3px solid var(--rig-red); }
.scope-col.excluded { border-top: 3px solid var(--gray-60); }
.scope-col.assume { border-top: 3px solid var(--blue-prussian); }
.scope-col.collab { border-top: 3px solid var(--teal); }
.scope-col p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.scope-col ul { list-style: none; padding: 0; margin: 0; }
.scope-col li { padding: 0.7rem 0; border-bottom: 1px dashed rgba(255,255,255,0.06); color: var(--text-muted); font-size: 0.95rem; }
.scope-col li:last-child { border-bottom: none; }
.scope-col strong { color: #fff; }

/* ---------- Terms ---------- */
.milestones { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: ms; }
.milestones li { border: 1px solid var(--hairline); border-radius: 10px; padding: 1.6rem 1.4rem; background: rgba(255,255,255,0.02); }
.ms-pct { font-family: var(--font-head); font-weight: var(--w-black); font-size: 2rem; color: var(--rig-red); display: block; margin-bottom: 0.5rem; }
.milestones p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.terms-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.terms-detail h3 { font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 1.15rem; margin-bottom: 0.7rem; color: #fff; }
.terms-detail p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Next steps ---------- */
.section.next { background: linear-gradient(180deg, var(--bg-raised), var(--bg)); text-align: center; }
.next-steps { list-style: none; padding: 0; margin: 2.5rem auto 0; max-width: 760px; display: grid; gap: 1rem; text-align: left; }
.next-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: center; border: 1px solid var(--hairline); border-radius: 12px; padding: 1.4rem 1.6rem; background: rgba(255,255,255,0.02); }
.ns-num { font-family: var(--font-head); font-weight: var(--w-black); font-size: 1.5rem; color: #fff; width: 48px; height: 48px; border-radius: 50%; background: var(--rig-red); display: grid; place-items: center; }
.next-steps h3 { font-weight: var(--w-heavy); font-size: 1.15rem; margin-bottom: 0.2rem; }
.next-steps p { margin: 0; color: var(--text-muted); }
.next-note { max-width: 60ch; margin: 2.2rem auto 2.8rem; color: var(--text-muted); }
.cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.cta {
  display: inline-block; background: var(--rig-red); color: #fff;
  font-family: var(--font-head); font-weight: var(--w-heavy); font-size: 1.05rem;
  padding: 1rem 2.6rem; border-radius: 100px; letter-spacing: 0.02em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgba(193,28,36,0.6);
}
.cta:hover { background: var(--rig-red-dark); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(193,28,36,0.7); }
.cta-email { color: var(--gray-40); font-size: 0.95rem; letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--hairline); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-credit { display: flex; align-items: center; gap: 1rem; }
.prepared { font-family: var(--font-head); font-weight: var(--w-heavy); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--gray-40); }
.crg-mark { height: 46px; width: auto; border-radius: 6px; }
.footer-meta { color: var(--gray-40); font-size: 0.85rem; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .terms-detail { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item.wide { grid-column: span 2; }
  .style-frames { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
  .alloc-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .alloc-pct { text-align: left; }
  .timeline li { grid-template-columns: 1fr; gap: 0.3rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: span 1; }
  .milestones { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .mg-grid.two { grid-template-columns: 1fr; }
}

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