/* ============================================
   NVK × Hikvision Fire Safety — Landing System
   Design tokens
   ============================================ */
:root {
  /* surface */
  --bg: #ffffff;
  --bg-warm: #F6F2EA;
  --bg-soft: #FAF8F3;
  --bg-card: #FFFFFF;
  --bg-dark: #0B0D11;
  --bg-night: #14171D;
  --bg-ash: #1F232C;

  /* ink */
  --ink: #15171C;
  --ink-2: #3D4250;
  --ink-mute: #707684;
  --ink-on-dark: #F6F2EA;
  --ink-on-dark-mute: #9BA0AB;

  /* line / divider */
  --line: #E5E1D7;
  --line-soft: #EFEBE2;
  --line-dark: rgba(255,255,255,0.10);

  /* accent */
  --accent: #E03131;          /* fire red */
  --accent-deep: #9D0208;
  --accent-warm: #F77F00;     /* amber/glow */
  --accent-gold: #EAB308;
  --good: #1B9E5A;

  /* radii / shadows */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(15,17,22,0.04), 0 2px 8px rgba(15,17,22,0.05);
  --shadow-2: 0 6px 24px rgba(15,17,22,0.07), 0 2px 6px rgba(15,17,22,0.04);
  --shadow-glow: 0 24px 60px -20px rgba(224,49,49,0.35);

  /* layout */
  --maxw: 1320px;
  --maxw-narrow: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans Thai", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* type ramp */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.eyebrow.dim { color: var(--ink-mute); }
.eyebrow.on-dark { color: var(--accent-warm); }

h1, h2, h3, h4 { font-family: "IBM Plex Sans Thai", "IBM Plex Sans", system-ui, sans-serif; margin: 0; letter-spacing: -0.01em; }
h1.display { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
h4 { font-size: 16px; line-height: 1.3; font-weight: 600; }
p { margin: 0; color: var(--ink-2); }
p.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-mute); }
.thin-line { width: 64px; height: 2px; background: var(--accent); border: 0; }

/* container */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: var(--maxw-narrow); }
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ============================================
   TOP NAV
   ============================================ */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand .logo-img {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}
.brand .logo-img.nvk { height: 30px; }
.brand .logo-img.hikfire { height: 28px; }
.brand .x {
  color: var(--ink-mute); font-weight: 300; padding: 0 2px;
  font-size: 18px;
}
.brand .badge {
  font-size: 11px;
  background: var(--accent);
  color: white;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}
.page-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.page-nav button:hover { background: var(--bg-warm); color: var(--ink); }
.page-nav button.active { background: var(--ink); color: white; }

.top-cta {
  display: flex; gap: 8px; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  transition: all .15s ease;
}
.btn:hover { border-color: var(--ink); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.btn.line {
  background: #06C755;
  border-color: #06C755;
  color: white;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn.line:hover {
  background: #04A148;
  border-color: #04A148;
}
.btn.line svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
.btn.ghost { background: transparent; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================
   PAGE SWITCH
   ============================================ */
.page { display: none; }
.page.active { display: block; }

/* ============================================
   SECTION RHYTHM
   ============================================ */
section.block {
  padding: clamp(64px, 9vw, 120px) 0;
}
section.block.tight { padding: clamp(48px, 6vw, 80px) 0; }
section.dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
section.dark p { color: var(--ink-on-dark-mute); }
section.dark .muted { color: var(--ink-on-dark-mute); }
section.warm { background: var(--bg-warm); }
section.soft { background: var(--bg-soft); }

/* eyebrow + heading combo */
.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 { max-width: 22ch; }
.section-head p.lede { margin-top: 18px; }

/* ============================================
   HERO (per page)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 96px);
}
.hero-grid .body { max-width: 56ch; }
.hero-grid .body p.lede { margin-top: 24px; }
.hero-grid .cta-row {
  display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.hero-grid .visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-warm);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-grid .visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-grid .visual .overlay-meta {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(11,13,17,0.85);
  color: white;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 13px;
  backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .visual { aspect-ratio: 4 / 3; }
}

/* hero pretitle row (breadcrumb + tag) */
.hero-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-meta .crumb {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.hero-meta .crumb span { color: var(--accent); }
.hero-meta .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--bg-warm);
  color: var(--ink-2);
}
.hero-meta .tag.red { background: rgba(224,49,49,0.10); color: var(--accent); }
.hero-meta .tag.gold { background: rgba(234,179,8,0.15); color: #92400E; }
.hero-meta .tag.green { background: rgba(27,158,90,0.12); color: var(--good); }

/* ============================================
   STATS / TICKER
   ============================================ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0;
}
.ticker .item {
  padding: 8px 24px;
  border-right: 1px solid var(--line);
}
.ticker .item:last-child { border-right: 0; }
.ticker .num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ticker .num span { color: var(--accent); }
.ticker .label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 12px;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .ticker-grid { grid-template-columns: repeat(2, 1fr); }
  .ticker .item:nth-child(2) { border-right: 0; }
}

/* ============================================
   PRODUCT CATEGORY GRID (Overview)
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-warm);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 280px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cat-card .img-wrap {
  aspect-ratio: 21/8;
  overflow: hidden;
  background: white;
  position: relative;
}
.cat-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover .img-wrap img { transform: scale(1.04); }
.cat-card .body {
  padding: 18px 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.cat-card .num {
  position: absolute; top: 16px; left: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(255,255,255,0.95);
  padding: 4px 9px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.cat-card h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 12px;
}
.cat-card p {
  font-size: 13.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-card .footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
}
.cat-card .footer .go {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink);
}
.cat-card .footer .tags { color: var(--ink-mute); }
@media (max-width: 800px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* Use Cases — tighter so all 4 cards fit in one viewport */
section#use-cases.block { padding: clamp(48px, 5vw, 72px) 0; }
section#use-cases .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
section#use-cases .section-head h2 { font-size: clamp(22px, 2.4vw, 32px); }

/* ============================================
   PRODUCT CARD (grid in subpages)
   ============================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.prod-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) {
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: 1fr; }
}

.prod-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.prod-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.prod-card .img-box {
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  display: grid; place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.prod-card .img-box img {
  max-width: 80%; max-height: 100%;
  object-fit: contain;
}
.prod-card .img-box .corner-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--ink);
  color: white;
}
.prod-card .img-box .corner-tag.red { background: var(--accent); }
.prod-card .img-box .corner-tag.gold { background: var(--accent-gold); color: #1F1300; }
.prod-card .img-box .corner-tag.soon { background: white; color: var(--ink); border: 1px solid var(--line); }
.prod-card .body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.prod-card .model {
  font-family: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  font-weight: 600;
  text-transform: uppercase;
}
.prod-card .title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.prod-card .desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.prod-card .specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.prod-card .specs .chip {
  font-size: 11.5px;
  background: var(--bg-warm);
  color: var(--ink-2);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-weight: 500;
}
.prod-card .specs .chip.bold { background: var(--ink); color: white; border-color: var(--ink); }
.prod-card .footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--line);
}
.prod-card .price {
  font-size: 15px; font-weight: 600;
}
.prod-card .price .unit { font-size: 11px; color: var(--ink-mute); font-weight: 500; margin-left: 2px; }
.prod-card .link {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink);
  display: inline-flex; gap: 4px; align-items: center;
}

/* ============================================
   FEATURE BLOCKS (3-up icon + copy)
   ============================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .feat-grid, .feat-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feat-grid, .feat-grid.four { grid-template-columns: 1fr; }
}
.feat {
  display: flex; flex-direction: column; gap: 14px;
}
.feat .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: grid; place-items: center;
  color: var(--accent);
}
section.dark .feat .ic { background: rgba(255,255,255,0.06); color: var(--accent-warm); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h4 { font-size: 17px; font-weight: 600; }
.feat p { font-size: 14.5px; line-height: 1.55; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  text-align: left;
}
.cmp-table th, .cmp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cmp-table thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  background: var(--bg-soft);
}
.cmp-table tbody tr:hover { background: var(--bg-soft); }
.cmp-table .model-cell { font-weight: 600; color: var(--ink); }
.cmp-table .model-cell .img-mini {
  width: 64px; height: 64px; display: inline-block;
  background: var(--bg-warm); border-radius: 10px;
  vertical-align: middle; margin-right: 14px;
  overflow: hidden;
  padding: 4px;
}
.cmp-table .model-cell .img-mini img { width: 100%; height: 100%; object-fit: contain; }
.cmp-table .yes { color: var(--good); font-weight: 600; }
.cmp-table .no { color: var(--ink-mute); }
.cmp-table .price-cell { font-weight: 600; }
.cmp-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  overflow-x: auto;
}

/* ============================================
   SYSTEM DIAGRAM (custom drawn)
   ============================================ */
.diagram {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  place-items: center;
}
section.dark .diagram {
  background: var(--bg-night);
  border-color: var(--line-dark);
}
.diagram svg { width: 100%; height: auto; max-width: 900px; }

/* ============================================
   PRE-FIRE TIMELINE (Fusion)
   ============================================ */
.timeline-chart {
  position: relative;
  background: linear-gradient(135deg, #0B0D11 0%, #1A0F12 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  color: white;
  overflow: hidden;
}
.timeline-chart::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(247,127,0,0.20), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(224,49,49,0.15), transparent 50%);
  pointer-events: none;
}

/* ============================================
   SENSOR TECH (Fusion)
   ============================================ */
.sensor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sensor-card {
  background: var(--bg-night);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}
.sensor-card .num {
  position: absolute; top: 16px; right: 20px;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-on-dark-mute);
  font-weight: 600;
}
.sensor-card .ic-big {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(247,127,0,0.12);
  color: var(--accent-warm);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.sensor-card .ic-big svg { width: 28px; height: 28px; }
.sensor-card h4 { font-size: 17px; margin-bottom: 8px; }
.sensor-card p { font-size: 13.5px; color: var(--ink-on-dark-mute); }
.sensor-card .meta {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--accent-warm);
  font-family: "IBM Plex Mono", monospace;
}
@media (max-width: 900px) {
  .sensor-grid { grid-template-columns: 1fr; }
}

/* ============================================
   USE CASE TILES
   ============================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.usecase {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, border-color .2s;
}
.usecase:hover { transform: translateY(-2px); border-color: var(--ink); }
.usecase .ic-small {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-warm);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.usecase .ic-small svg { width: 20px; height: 20px; }
.usecase h5 { font-size: 15px; font-weight: 600; }
.usecase p { font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) {
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CERT BAR
   ============================================ */
.cert-bar {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  padding: 32px 0;
}
.cert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
}
.cert .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--bg-dark);
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(247,127,0,0.18), transparent 40%),
    radial-gradient(circle at 100% 90%, rgba(224,49,49,0.20), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 16px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
}

/* ============================================
   FOOTER
   ============================================ */
footer.site {
  background: var(--bg-night);
  color: var(--ink-on-dark);
  padding: 64px 0 32px;
}
footer.site .foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
footer.site h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
  font-weight: 600;
  margin-bottom: 16px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site a { color: var(--ink-on-dark); font-size: 14px; opacity: 0.85; transition: opacity .15s; }
footer.site a:hover { opacity: 1; color: var(--accent-warm); }
footer.site .copyright {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-on-dark-mute);
}
@media (max-width: 800px) {
  footer.site .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   NEWS / PRESS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--ink);
}
.news-card .news-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
}
.news-card.featured .news-img { aspect-ratio: 16/8; }
.news-card .news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.news-card:hover .news-img img { transform: scale(1.04); }
.news-card .news-img .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.news-card .news-body {
  padding: 24px 26px 26px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.news-card.featured .news-body { padding: 28px 32px 32px; }
.news-card .news-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.news-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.news-card h4 { font-size: 17px; line-height: 1.3; }
.news-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.news-card .news-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap .2s;
}
.news-card .news-link:hover { gap: 10px; }

.tag.green {
  background: rgba(27,158,90,0.12);
  color: var(--good);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.video-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.video-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .video-grid, .video-grid.cols-4, .video-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .video-grid, .video-grid.cols-4, .video-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .video-grid, .video-grid.cols-2, .video-grid.cols-4, .video-grid.cols-5 { grid-template-columns: 1fr; }
}

.video-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-night);
  border: 1px solid var(--line-dark);
  transition: transform .25s ease, border-color .25s;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-3px); border-color: rgba(247,127,0,0.4); }

.video-card .poster {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #0B0D11;
}
.video-card .poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.video-card:hover .poster img { transform: scale(1.04); }

.video-card .play-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.40) 100%);
  transition: background .25s ease;
}
.video-card:hover .play-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%); }

.video-card .play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(224,49,49,0.95);
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 32px -8px rgba(224,49,49,0.6);
}
.video-card:hover .play-btn {
  transform: scale(1.08);
  background: var(--accent);
  box-shadow: 0 16px 40px -8px rgba(224,49,49,0.7);
}
.video-card .play-btn svg { width: 22px; height: 22px; fill: white; margin-left: 4px; }

.video-card .duration {
  position: absolute;
  bottom: 10px; right: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: rgba(0,0,0,0.75);
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.video-card .vinfo {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.video-card .vtitle {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-on-dark);
  line-height: 1.35;
}
.video-card .vmeta {
  font-size: 12px;
  color: var(--ink-on-dark-mute);
  display: flex; gap: 8px; align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.video-card .vmeta .yt-mark {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; color: var(--ink-on-dark);
}
.video-card .vmeta .yt-mark::before {
  content: ""; width: 18px; height: 12px;
  background: #FF0000; border-radius: 3px;
  display: inline-block;
  position: relative;
  mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16"%3E%3Crect width="24" height="16" rx="3" fill="black"/%3E%3Cpolygon points="10,5 16,8 10,11" fill="white"/%3E%3C/svg%3E');
  mask-size: contain;
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16"%3E%3Crect width="24" height="16" rx="3" fill="black"/%3E%3Cpolygon points="10,5 16,8 10,11" fill="white"/%3E%3C/svg%3E');
  -webkit-mask-size: contain;
}

/* light variant (use on warm/soft backgrounds) */
section:not(.dark) .video-card {
  background: white;
  border-color: var(--line);
}
section:not(.dark) .video-card .vtitle { color: var(--ink); }
section:not(.dark) .video-card .vmeta { color: var(--ink-mute); }
section:not(.dark) .video-card .vmeta .yt-mark { color: var(--ink); }

/* ============================================
   MISC UTILITIES
   ============================================ */
.split-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-50.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split-50 { grid-template-columns: 1fr; gap: 40px; }
  .split-50.reverse > :first-child { order: 0; }
}
.split-image {
  position: relative;
  aspect-ratio: 5/4;
  background: var(--bg-warm);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
section.dark .split-image { background: var(--bg-ash); }

.feature-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 16px;
}
.feature-list li {
  padding-left: 32px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 2px;
  background: var(--accent);
}
.feature-list li strong { color: var(--ink); font-weight: 600; }
section.dark .feature-list li { color: var(--ink-on-dark-mute); }
section.dark .feature-list li strong { color: var(--ink-on-dark); }

/* "Why" tile grid (used in overview) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-tile {
  background: white;
  padding: 32px 28px;
}
.why-tile .big-n {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.why-tile h4 { margin-top: 14px; font-size: 16px; }
.why-tile p { margin-top: 10px; font-size: 13.5px; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* spec card (used in conventional) */
.spec-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.spec-card h4 { font-size: 15px; margin-bottom: 14px; }
.spec-card .specs-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.spec-card .specs-list li {
  display: flex; justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.spec-card .specs-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-card .specs-list .k { color: var(--ink-mute); }
.spec-card .specs-list .v { font-weight: 600; color: var(--ink); text-align: right; }
