/* ═══════════════════════════════════════
   METRIC™ DESIGN SYSTEM
   ═══════════════════════════════════════ */

:root {
  --primary: #F9F829;
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --text: #F0F0F0;
  --muted: #333333;
  --muted-2: #555555;
  --secondary: #95A3A2;
  --tertiary: #DEE6D7;
  --alert: #FF3333;
  --font-heading: 'Instrument Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --border: 1px solid var(--muted);
  --border-light: 1px solid rgba(255,255,255,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
}

a { color: inherit; }

/* ═══════════════════════════════════════
   NOISE TEXTURE OVERLAY
═══════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ═══════════════════════════════════════
   PAGE LOAD ORCHESTRATION
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.35s; }
.reveal-d4 { animation-delay: 0.5s; }
.reveal-d5 { animation-delay: 0.65s; }
.reveal-d6 { animation-delay: 0.8s; }
.reveal-d7 { animation-delay: 0.95s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scanline {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-light);
  z-index: 100;
}

.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 20px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav-link {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.header-nav-link:hover { color: var(--primary); }

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.header-clock {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-wrap {
  margin-top: 56px;
  height: 36px;
  background: var(--primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 0 40px;
}

/* ═══════════════════════════════════════
   MAIN LAYOUT (Landing Page)
═══════════════════════════════════════ */
.page {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  min-height: calc(100vh - 92px);
}

.page > * {
  border-right: var(--border-light);
}
.page > *:last-child {
  border-right: none;
}

/* ═══════════════════════════════════════
   COL 1 — BRAND
═══════════════════════════════════════ */
.col-brand {
  padding: 56px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.col-brand::after {
  content: '';
  position: absolute;
  right: 0;
  top: 56px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--muted), transparent);
}

.tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: var(--border-light);
}

.brand-statement {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 48px;
}

.brand-logo-inline {
  display: block;
  margin-top: 4px;
}

.inline-logo {
  height: 46px;
  width: auto;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  line-height: 1.8;
  max-width: 300px;
  letter-spacing: 0.3px;
}

.brand-footer {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-footer .divider {
  width: 40px;
  height: 1px;
  background: var(--muted);
  transform-origin: left;
  animation: revealLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
  transform: scaleX(0);
}

.year-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.year-badge img {
  height: 10px;
  width: auto;
  opacity: 0.4;
}

/* ═══════════════════════════════════════
   COL 2 — HERO IMAGE
═══════════════════════════════════════ */
.col-hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: var(--surface);
}

.col-hero img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.col-hero:hover img.hero-img {
  transform: scale(1.03);
}

.col-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.3) 100%);
  pointer-events: none;
  z-index: 2;
}

.col-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(249, 248, 41, 0.08);
  z-index: 3;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

.hero-data {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 4;
  line-height: 1.6;
}

.hero-data.top-left { top: 20px; left: 20px; }
.hero-data.top-right { top: 20px; right: 20px; text-align: right; }
.hero-data.bottom-left { bottom: 20px; left: 20px; }
.hero-data.bottom-right { bottom: 20px; right: 20px; text-align: right; }

.hero-data .val {
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
  display: block;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 4;
  pointer-events: none;
}
.corner::before, .corner::after {
  content: '';
  position: absolute;
  background: rgba(249,248,41,0.2);
}
.corner-tl { top: 12px; left: 12px; }
.corner-tl::before { top: 0; left: 0; width: 12px; height: 1px; }
.corner-tl::after { top: 0; left: 0; width: 1px; height: 12px; }
.corner-tr { top: 12px; right: 12px; }
.corner-tr::before { top: 0; right: 0; width: 12px; height: 1px; }
.corner-tr::after { top: 0; right: 0; width: 1px; height: 12px; }
.corner-bl { bottom: 12px; left: 12px; }
.corner-bl::before { bottom: 0; left: 0; width: 12px; height: 1px; }
.corner-bl::after { bottom: 0; left: 0; width: 1px; height: 12px; }
.corner-br { bottom: 12px; right: 12px; }
.corner-br::before { bottom: 0; right: 0; width: 12px; height: 1px; }
.corner-br::after { bottom: 0; right: 0; width: 1px; height: 12px; }

/* ═══════════════════════════════════════
   COL 3 — SPECS + CAPTURE
═══════════════════════════════════════ */
.col-capture {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.specs {
  padding: 20px;
  flex: 1;
}

.specs-header {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding-bottom: 14px;
  border-bottom: var(--border-light);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: var(--border-light);
  font-size: 10px;
  transition: background 0.15s;
}

.spec-row:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 4px;
  padding-right: 4px;
  margin-left: -4px;
  margin-right: -4px;
}

.spec-label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.spec-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.spec-value.hl {
  color: var(--primary);
  font-weight: 700;
}

.coa-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-bottom: 1px solid rgba(249,248,41,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  cursor: pointer;
}

.coa-link:hover {
  border-color: var(--primary);
}

/* ═══════════════════════════════════════
   CAPTURE MODULE
═══════════════════════════════════════ */
.capture-module {
  padding: 24px 20px;
  border-top: var(--border-light);
  background: var(--bg);
  position: relative;
}

.capture-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.capture-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.capture-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.input-wrap {
  position: relative;
}

.input-label {
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted-2);
  background: var(--bg);
  padding: 0 4px;
  z-index: 1;
}

.capture-input {
  width: 100%;
  height: 52px;
  background: transparent;
  border: var(--border);
  border-radius: 0;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  caret-color: var(--primary);
}

.capture-input::placeholder {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}

.capture-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), inset 0 0 20px rgba(249,248,41,0.03);
}

.capture-input.error {
  border-color: var(--alert);
}

.capture-btn {
  width: 100%;
  height: 52px;
  background: var(--primary);
  border: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bg);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.capture-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.4s;
}

.capture-btn:hover {
  background: var(--text);
  letter-spacing: 6px;
}

.capture-btn:hover::after {
  left: 100%;
}

.capture-btn:active {
  transform: scale(0.98);
}

.capture-btn.processing {
  background: var(--muted);
  cursor: wait;
  letter-spacing: 4px;
}

.capture-status {
  font-family: var(--font-mono);
  font-size: 9px;
  margin-top: 10px;
  letter-spacing: 1px;
  min-height: 14px;
}

.capture-status.error { color: var(--alert); }
.capture-status.success { color: var(--primary); }

.capture-legal {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.success-readout {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  line-height: 2;
}

.success-readout .line {
  opacity: 0;
  transform: translateX(-8px);
}

.success-readout .line.dim {
  color: var(--secondary);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  border-top: var(--border-light);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

footer img {
  height: 9px;
  width: auto;
  opacity: 0.35;
  vertical-align: middle;
  position: relative;
  top: -0.5px;
}

/* ═══════════════════════════════════════
   BLOG — INDEX
═══════════════════════════════════════ */
.blog-page {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  padding: 64px 24px 80px;
}

.blog-container {
  max-width: 900px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 56px;
}

.blog-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.blog-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.blog-card {
  background: var(--surface);
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
  background: var(--surface-2);
}

.blog-card:hover::before {
  transform: scaleY(1);
}

.blog-card-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.blog-card-excerpt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2);
  letter-spacing: 1.5px;
  margin-top: auto;
}

/* ═══════════════════════════════════════
   BLOG — ARTICLE
═══════════════════════════════════════ */
.article-page {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.article-nav {
  margin-bottom: 48px;
}

.article-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.article-nav a:hover {
  color: var(--primary);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-date,
.article-read-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2);
  letter-spacing: 1.5px;
}

.article-meta-sep {
  color: var(--muted);
  font-size: 9px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 40px;
}

.article-divider {
  width: 40px;
  height: 1px;
  background: var(--muted);
  margin-bottom: 40px;
}

/* Article prose */
.article-body p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-body ul,
.article-body ol {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(249,248,41,0.3);
  transition: border-color 0.2s;
}

.article-body a:hover {
  border-color: var(--primary);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body blockquote {
  border-left: 2px solid var(--primary);
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
}

.article-body blockquote p {
  color: var(--text);
  font-size: 14px;
}

.article-callout {
  background: var(--surface);
  border: var(--border-light);
  padding: 20px 24px;
  margin: 32px 0;
}

.article-callout-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.article-callout p {
  font-size: 12px;
  margin-bottom: 12px;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

/* Article comparison table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
}

.article-table th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--primary);
  font-weight: 700;
}

.article-table td {
  padding: 12px 14px;
  border-bottom: var(--border-light);
  color: var(--secondary);
  vertical-align: top;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .article-table {
    font-size: 10px;
  }

  .article-table th,
  .article-table td {
    padding: 8px 8px;
  }
}

/* Article CTA section */
.article-cta {
  margin-top: 64px;
  padding-top: 40px;
  border-top: var(--border-light);
}

.article-cta .capture-module {
  border-top: none;
  padding: 0;
}

.article-cta .capture-module::before {
  display: none;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════ */
@media (max-width: 1080px) {
  .page {
    grid-template-columns: 1fr;
  }

  .page > * {
    border-right: none;
    border-bottom: var(--border-light);
  }

  .col-brand {
    padding: 40px 24px 32px;
  }

  .col-brand::after { display: none; }

  .brand-statement {
    font-size: 48px;
  }

  .col-hero {
    min-height: 65vh;
  }

  .col-capture {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .specs {
    border-right: var(--border-light);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════ */
@media (max-width: 640px) {
  header { padding: 0 16px; }

  .header-status { display: none; }

  .page {
    grid-template-columns: 1fr;
  }

  .col-brand {
    padding: 32px 16px 24px;
  }

  .brand-statement {
    font-size: 38px;
  }

  .inline-logo {
    height: 36px;
  }

  .col-hero {
    min-height: 55vh;
  }

  .hero-data { display: none; }
  .corner { display: none; }

  .col-capture {
    display: flex;
    flex-direction: column;
  }

  .specs {
    border-right: none;
  }

  .capture-heading {
    font-size: 28px;
  }

  .marquee-track span {
    padding: 0 24px;
    font-size: 9px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 12px 16px;
  }

  /* Blog responsive */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 32px;
  }

  .article-title {
    font-size: 28px;
  }

  .email-modal .email-modal-panel {
    width: 92vw;
    padding: 28px 20px;
  }

  .email-modal .capture-heading {
    font-size: 28px;
  }
}

/* ═══════════════════════════════════════
   EMAIL CAPTURE MODAL OVERLAY
═══════════════════════════════════════ */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s;
}

.email-modal.active {
  opacity: 1;
  visibility: visible;
}

.email-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: var(--border);
  padding: 36px 32px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-modal.active .email-modal-panel {
  transform: scale(1) translateY(0);
}

.email-modal-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.email-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: var(--border);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}

.email-modal-close:hover {
  color: var(--text);
  border-color: var(--text);
}

.email-modal .capture-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.email-modal .capture-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.email-modal .input-label {
  background: var(--surface);
}

.email-modal .capture-legal {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.email-modal .success-readout {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  line-height: 2;
}

.email-modal .success-readout .line {
  opacity: 0;
  transform: translateX(-8px);
}

.email-modal .success-readout .dim {
  color: var(--muted-2);
}
