/* =========================================================
   AegisCore System — site styles
   Brand: navy ground, red-orange → amber gradient (from logo)
   ========================================================= */

:root {
  --bg: #0B1020;
  --bg-2: #0F1528;
  --panel: #121A30;
  --panel-2: #161F38;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F2F4F8;
  --muted: #A3ABC0;
  --dim: #7A839B;
  --red: #EF4136;
  --orange: #F15A29;
  --amber: #FBB040;
  --amber-soft: #FFCF8A;
  --grad: linear-gradient(90deg, #EF4136 0%, #F7941D 55%, #FBB040 100%);
  --grad-btn: linear-gradient(90deg, #F15A29, #FBB040);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-brand: "Saira Stencil One", "Saira", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-soft); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--amber); color: var(--bg); padding: 8px 12px; border-radius: 6px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad-btn); color: #10131F; box-shadow: 0 8px 30px -10px rgba(241, 90, 41, .6); }
.btn-primary:hover { color: #10131F; filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  padding: 6px 12px; border: 1px solid rgba(251, 176, 64, .35); border-radius: 6px;
  background: rgba(251, 176, 64, .06);
}
.eyebrow-plain { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: rgba(13, 18, 34, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 26px; height: 30px; }
.brand-name { font-family: var(--font-brand); font-size: 18px; letter-spacing: .04em; line-height: 1; }
.brand-tag { font-family: var(--font-mono); font-size: 11px; color: var(--dim); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px;
  color: var(--muted); font-family: var(--font-display); font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(241, 90, 41, .14); border-color: rgba(241, 90, 41, .45); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 40px;
  background:
    linear-gradient(90deg, rgba(11,16,32,.96) 0%, rgba(11,16,32,.75) 45%, rgba(11,16,32,.35) 100%),
    linear-gradient(180deg, rgba(11,16,32,.2) 0%, rgba(11,16,32,.6) 70%, var(--bg) 100%),
    url("../assets/img/city.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before { /* faint engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.hero-frame { position: absolute; inset: 84px 24px 24px; pointer-events: none; }
.hero-frame span { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.35); border-style: solid; }
.hero-frame .tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-frame .tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-frame .bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero-frame .br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.hero .container { position: relative; width: 100%; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 700; max-width: 960px; margin: 22px 0 22px; }
.hero-lede { max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); color: #D3D8E4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stat-strip {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
}
.stat .val { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: var(--text); line-height: 1.1; }
.stat .unit { font-size: .5em; color: var(--amber); margin-left: 6px; font-weight: 500; }
.stat .lbl { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 56px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(247, 148, 29, .35); }
.card .icon { width: 24px; height: 24px; color: var(--amber); margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }
.card .sub { font-family: var(--font-mono); font-size: 12px; color: var(--amber); margin: -4px 0 10px; }

.big-stat .num { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; margin-bottom: 10px; }
.big-stat p { font-size: 15px; }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; margin-top: 20px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.chart-card h3 { font-size: 22px; }
.chart-card .caption { font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-top: 6px; }
.legend { display: flex; gap: 20px; margin: 22px 0; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; height: 260px; border-bottom: 1px solid var(--line-2); position: relative; }
.chart .col { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 100%; }
.chart .bar { width: 32%; border-radius: 4px 4px 0 0; height: calc(var(--v) * 1.6px); }
.chart .supply { background: #5D6785; }
.chart .demand { background: var(--grad-btn); background: linear-gradient(180deg, #FBB040, #F15A29); }
.chart-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-top: 10px; }
.shortfall { position: absolute; right: 0; top: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--amber); text-align: right; line-height: 1.3; }

/* ---------- Compare (old vs new) ---------- */
.compare .card { padding: 0; overflow: hidden; }
.compare img { width: 100%; height: 320px; object-fit: cover; }
.compare .old img { filter: grayscale(.6) brightness(.85); }
.compare .body { padding: 26px 30px 30px; }
.compare .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.compare .new { border-color: rgba(247, 148, 29, .45); }
.compare .new .tag { color: var(--amber); }
.compare p { font-size: 17px; color: #D3D8E4; }
.lego { font-family: var(--font-brand); font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: .02em; }

/* ---------- Offer cards ---------- */
.offer { display: flex; flex-direction: column; gap: 14px; padding: 40px; color: var(--text); }
.offer:hover { color: var(--text); transform: translateY(-2px); }
.offer .idx { font-family: var(--font-mono); font-size: 13px; color: var(--amber); letter-spacing: .1em; }
.offer h3 { font-size: 32px; font-weight: 700; margin: 0; }
.offer .more { font-family: var(--font-display); font-weight: 600; color: var(--amber); margin-top: auto; padding-top: 8px; }
.offer.featured { background: linear-gradient(135deg, rgba(239,65,54,.16), rgba(251,176,64,.08)), var(--panel); border-color: rgba(247,148,29,.45); }

/* ---------- Media + text ---------- */
.media-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.media-row + .media-row { margin-top: 96px; }
.media { border-radius: var(--radius); border: 1px solid var(--line); background: #EDEFF3; padding: 14px; }
.media img { width: 100%; height: auto; border-radius: 8px; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature { display: flex; gap: 16px; }
.feature .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(247, 148, 29, .12); border: 1px solid rgba(247, 148, 29, .3); color: var(--amber);
}
.feature .ico svg { width: 20px; height: 20px; }
.feature h4 { font-size: 18px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.mini-grid .card { padding: 22px; }
.mini-grid .card h3 { font-size: 17px; margin-bottom: 6px; }
.mini-grid .card p { font-size: 14px; }

/* ---------- Module chips ---------- */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 96px; }
.modules-title { grid-column: 1 / -1; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.modules-title h3 { font-size: 26px; }
.module {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 18px;
  font-family: var(--font-display); font-weight: 500; background: rgba(255,255,255,.02);
}
.module span { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--amber); margin-bottom: 8px; }

/* ---------- CCHP panel ---------- */
.panel {
  margin-top: 96px; border-radius: 20px; border: 1px solid var(--line-2);
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(241,90,41,.12), transparent 60%),
    var(--panel);
  padding: 48px;
}
.panel h3 { font-size: clamp(26px, 3vw, 36px); max-width: 760px; margin: 14px 0 12px; }
.panel > p { color: var(--muted); max-width: 760px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 36px; font-family: var(--font-mono); font-size: 13px; }
.flow .node { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.flow .arrow { color: var(--amber); }
.numbered { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.numbered .n { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--amber); }
.numbered h4 { font-size: 18px; margin: 8px 0 6px; }
.numbered p { color: var(--muted); font-size: 14px; }

/* ---------- Timeline ---------- */
.race { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.race .row-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.race .bar { height: 48px; border-radius: 10px; display: flex; align-items: center; padding: 0 18px; font-family: var(--font-mono); font-weight: 600; }
.race .old { background: #222B45; border: 1px solid var(--line-2); justify-content: space-between; }
.race .old em { font-style: normal; color: var(--dim); font-weight: 400; font-size: 12px; }
.race .new { width: 28%; min-width: 160px; background: var(--grad-btn); color: #10131F; }
.race .new-label { color: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step-num { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-num b { font-family: var(--font-mono); font-size: 34px; font-weight: 600; }
.step-num small { font-family: var(--font-mono); font-size: 12px; color: var(--amber); letter-spacing: .08em; }
.advantages { margin-top: 20px; }

/* ---------- Compute ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
.checks strong { color: var(--text); }
.checks span { color: var(--muted); font-size: 15px; }

.sizer { margin-top: 64px; }
.sizer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.sizer-head h3 { font-size: 30px; margin-top: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); }
.seg button {
  min-height: 40px; min-width: 70px; padding: 0 14px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--muted); font-family: var(--font-mono); font-size: 14px; font-weight: 600;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--grad-btn); color: #10131F; }
.sizer-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sizer-stats > div { background: rgba(11,16,32,.85); padding: 24px; }
.sizer-stats .val { font-family: var(--font-mono); font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.sizer-stats .val.hl { color: var(--amber); }
.sizer-stats .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.sizer-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.sizer-foot strong { color: var(--text); }
.fineprint { font-size: 12px; color: var(--dim); margin-top: 14px; }

.spec-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec th, table.spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec th { font-weight: 500; color: var(--muted); padding-right: 24px; white-space: nowrap; width: 38%; }
table.spec td { font-family: var(--font-mono); font-size: 14px; color: var(--text); }

.tl { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(247,148,29,.45); }
.tl li { position: relative; padding: 0 0 20px 22px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(251,176,64,.15); }
.tl b { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--amber); font-weight: 600; }
.tl span { color: var(--muted); font-size: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #D3D8E4; }
.pill.hot { background: rgba(247,148,29,.14); border-color: rgba(247,148,29,.45); color: var(--amber-soft); }
.portfolio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center; margin-top: 20px; }
.portfolio h3 { font-size: 22px; margin-top: 8px; }

/* ---------- Business model ---------- */
.model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
.model dl { margin: 0; }
.model dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.model dl > div:first-child { padding-top: 0; }
.model dl > div:last-child { border-bottom: 0; }
.model dt { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.model dd { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  border-radius: 24px; border: 1px solid var(--line-2); padding: 72px 48px; text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(241,90,41,.22), transparent 70%),
    var(--panel);
}
.cta h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 700; }
.cta > p { max-width: 640px; margin: 20px auto 0; font-size: 18px; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 168px 0 56px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(241, 90, 41, .2), transparent 65%),
    radial-gradient(700px 300px at 0% 100%, rgba(251, 176, 64, .07), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; max-width: 900px; margin: 22px 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.email-card { padding: 40px; background: linear-gradient(135deg, rgba(239,65,54,.14), rgba(251,176,64,.06)), var(--panel); border-color: rgba(247,148,29,.4); }
.email-addr { font-size: clamp(28px, 4.4vw, 52px); margin: 18px 0 14px; word-break: break-word; }
.email-addr a { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.email-card > p { color: var(--muted); font-size: 16px; max-width: 520px; }
.email-card .cta-actions { margin-top: 28px; }
.copy-status { font-family: var(--font-mono); font-size: 13px; color: var(--amber); margin-top: 12px; min-height: 1.4em; }
.contact-list { margin: 18px 0 0; }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 16px; }
.topic { display: flex; flex-direction: column; color: var(--text); }
.topic:hover { color: var(--text); transform: translateY(-2px); }
.topic .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(251,176,64,.35); border-radius: 6px; padding: 4px 8px; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer p.about { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #D3D8E4; font-size: 15px; }
.footer ul a:hover { color: var(--text); }
.disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); line-height: 1.7; }
.legal { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 10px #3DDC97; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .sizer-stats, .modules, .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .split, .media-row, .spec-split, .portfolio, .model, .page-hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding-top: 128px; }
  .page-hero-grid { gap: 32px; }
  .media-row { gap: 32px; }
  .media-row.flip .media { order: -1; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; padding: 8px;
    background: rgba(13,18,34,.97); border: 1px solid var(--line-2); border-radius: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .model dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 88px 0; }
  .container { padding: 0 16px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .sizer-stats, .modules, .numbered, .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .panel, .cta, .email-card { padding: 32px 20px; }
  .offer { padding: 28px; }
  .hero-frame { display: none; }
  .brand-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
