@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===========================
   CSS 变量
   =========================== */
:root {
  --c-bg: #0D0D0D;
  --c-accent: #C0392B;
  --c-ink: #F5F5F5;
  --c-ink-muted: rgba(245,245,245,0.55);
  --c-ink-dim: rgba(245,245,245,0.25);
  --c-surface: #161616;
  --c-surface-2: #1e1e1e;
  --c-border: rgba(245,245,245,0.08);
  --c-accent-dim: rgba(192,57,43,0.18);

  --font: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  --header-h: 64px;
  --max-w: 1200px;
  --prose-w: 720px;

  --r: 10px;

  --ease: cubic-bezier(0.16,1,0.3,1);
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }

/* ===========================
   Header / Nav
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo-mark {
  height: 36px;
  width: auto;
}

.logo-text-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 4px;
}

.main-nav {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.main-nav p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.main-nav p a {
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.main-nav p a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav p a:hover {
  color: var(--c-ink);
  background: rgba(245,245,245,0.04);
}

.main-nav p a:hover::after {
  transform: scaleX(1);
}

.nav-search {
  flex-shrink: 0;
}

.search-input {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  outline: none;
  width: 180px;
  transition: border-color 0.2s, width 0.3s var(--ease);
}

.search-input:focus {
  border-color: var(--c-accent);
  width: 240px;
}

.search-input::placeholder { color: var(--c-ink-dim); }

/* ===========================
   Hero — full parallax
   =========================== */
.hero-section {
  position: relative;
  height: 45vh;
  min-height: 320px;
  max-height: 600px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transform: translateY(0);
}

.parallax-hero .hero-bg-img {
  animation: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,245,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,245,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.72) 0%,
    rgba(13,13,13,0.45) 50%,
    rgba(13,13,13,0.15) 100%
  );
  z-index: 2;
}

.hero-aside {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  text-align: right;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 15px;
  color: var(--c-ink-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  min-height: 44px;
}

.hero-cta:hover {
  background: #a93226;
  color: #fff;
  transform: translateY(-1px);
}

/* Small hero for inner pages */
.hero-figure-sm { position: absolute; inset: 0; overflow: hidden; }
.parallax-hero-sm,
.article-hero-section,
.about-hero-section {
  position: relative;
  height: 38vh;
  min-height: 280px;
  max-height: 440px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-aside-sm {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  text-align: right;
  max-width: 680px;
}

.article-h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.breadcrumb-nav p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 12px;
  color: var(--c-ink-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.breadcrumb-nav p a { color: var(--c-accent); }
.breadcrumb-nav p span { color: var(--c-ink-dim); }

.article-meta {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.article-date {
  font-size: 12px;
  color: var(--c-ink-muted);
  letter-spacing: 0.02em;
}

.article-date-mod {
  color: var(--c-ink-dim);
}

/* ===========================
   Section Layout: aside + figure
   =========================== */
.content-section,
.article-body-section,
.about-body-section,
.privacy-body-section,
.default-body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.section-main-content { min-width: 0; }

/* ===========================
   Aside (sidebar)
   =========================== */
.section-aside,
.article-aside,
.about-aside,
.privacy-aside,
.default-aside,
.stats-aside,
.article-nav-aside,
.cinematic-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.aside-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}

.aside-title span { display: inline; }

.quick-nav-dl { display: flex; flex-direction: column; gap: 12px; }

.quick-nav-dl dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.4;
}

.quick-nav-dl dt a {
  color: var(--c-ink);
  transition: color 0.2s;
  display: block;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.quick-nav-dl dt a:hover { color: var(--c-accent); }

.quick-nav-dl dd {
  font-size: 12px;
  color: var(--c-ink-muted);
  line-height: 1.5;
  padding-left: 0;
  margin-top: -8px;
}

.related-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-link {
  font-size: 13px;
  color: var(--c-ink-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  display: block;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.related-link:hover { color: var(--c-accent); }

/* ===========================
   Section headings
   =========================== */
.section-heading {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading span { display: inline; }

.section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--c-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.full-width-heading {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  padding: 0 32px;
}

/* ===========================
   Cards Grid
   =========================== */
.cards-section {
  padding: 48px 32px 80px;
  background: var(--c-surface);
}

.cards-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--c-surface-2);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.card-figure {
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.card:hover .card-img { transform: scale(1.04); }

.card-body {
  padding: 20px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.card-title span { display: inline; }

.card-desc {
  font-size: 13px;
  color: var(--c-ink-muted);
  line-height: 1.6;
  flex: 1;
}

.card-date {
  font-size: 11px;
  color: var(--c-ink-dim);
  letter-spacing: 0.04em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  margin-top: 8px;
  gap: 4px;
  transition: gap 0.2s;
  min-height: 40px;
}

.card-link:hover { gap: 8px; color: var(--c-accent); }

.card-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
  border-radius: 0 0 var(--r) var(--r);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card:hover .card-accent-line { transform: scaleX(1); }

/* ===========================
   Cinematic Section
   =========================== */
.cinematic-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.cinematic-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.cinematic-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--c-accent), transparent);
  opacity: 0.6;
}

.cinematic-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.cinematic-heading span { display: inline; }

.cinematic-text {
  font-size: 15px;
  color: var(--c-ink-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.cinematic-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}

.cinematic-link:hover {
  background: var(--c-accent);
  color: #fff;
}

/* ===========================
   Article / About / Privacy content
   =========================== */
.article-content-figure,
.about-content-figure,
.privacy-content-figure,
.default-content-figure {
  min-width: 0;
}

.article-figcaption,
.about-figcaption,
.privacy-figcaption,
.default-body-section figcaption {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--c-ink-muted);
}

.figcap-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  width: 100%;
  margin-bottom: 8px;
}

.figcap-title span { display: inline; }

.privacy-note {
  font-size: 12px;
  color: var(--c-ink-muted);
  width: 100%;
}

.privacy-note a { color: var(--c-accent); }
.about-privacy-link {
  display: inline-flex;
  align-items: center;
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
}

/* ===========================
   Prose styles
   =========================== */
.prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  max-width: var(--prose-w);
}

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 2em 0 0.75em;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prose h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--c-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 1.6em 0 0.6em;
}

.prose p { margin-bottom: 1.2em; }

.prose a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { opacity: 0.8; }

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  list-style: initial;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.4em; }

.prose strong { font-weight: 600; color: var(--c-ink); }

.prose em { font-style: italic; color: var(--c-ink-muted); }

.prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--c-surface);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--c-ink-muted);
  font-style: italic;
}

.prose code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  background: var(--c-surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--c-accent);
}

.prose pre {
  background: var(--c-surface-2);
  padding: 20px;
  border-radius: var(--r);
  overflow-x: auto;
  margin-bottom: 1.5em;
  border: 1px solid var(--c-border);
}

.prose pre code {
  background: none;
  padding: 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2.5em 0;
}

.prose img {
  border-radius: var(--r);
  margin: 1.5em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 14px;
}

.prose th, .prose td {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  text-align: left;
}

.prose th {
  background: var(--c-surface);
  font-weight: 600;
  color: var(--c-ink);
}

/* ===========================
   Article footer section
   =========================== */
.article-footer-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.section-divider-figure {
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}

.section-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--c-accent), transparent);
}

/* ===========================
   About stats
   =========================== */
.about-stats-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.stats-figure {
  display: flex;
  align-items: center;
}

.stats-accent-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--c-accent) 40%, transparent);
}

.stats-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
}

.stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats-label {
  font-size: 13px;
  color: var(--c-ink-muted);
  font-weight: 400;
}

/* ===========================
   Privacy / Default header sections
   =========================== */
.privacy-header-section,
.default-header-section {
  margin-top: var(--header-h);
  padding: 64px 32px 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-header-section { margin-top: var(--header-h); }

.privacy-header-figure,
.default-header-figure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.privacy-accent-bar {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
}

.privacy-h1, .default-h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.privacy-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--c-border);
  padding: 48px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  align-items: start;
}

.footer-brand { grid-column: 1; }

.footer-mega {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.15;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: var(--c-ink-muted);
  line-height: 1.6;
  max-width: 380px;
}

.footer-nav { grid-column: 2; }

.footer-nav p {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav p a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  color: var(--c-ink-muted);
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s, padding-left 0.2s;
  min-height: 44px;
}

.footer-nav p a:hover {
  color: var(--c-accent);
  padding-left: 6px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  margin-top: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--c-ink-dim);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: var(--c-ink-dim);
  transition: color 0.2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover { color: var(--c-ink); }

/* ===========================
   Scroll Reveal
   =========================== */
.reveal-section,
.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-section.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive — Tablet
   =========================== */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .content-section,
  .article-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-body-section,
  .cinematic-section,
  .article-footer-section,
  .about-stats-section {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .section-aside,
  .article-aside,
  .about-aside,
  .privacy-aside,
  .stats-aside,
  .article-nav-aside,
  .cinematic-aside,
  .default-aside {
    position: static;
  }

  .cinematic-figure,
  .stats-figure,
  .section-divider-figure {
    display: none;
  }

  .privacy-header-section,
  .default-header-section {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    margin-top: var(--header-h);
  }

  .privacy-header-figure,
  .default-header-figure {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
    gap: 32px;
  }

  .footer-nav { grid-column: 1; }
  .footer-bottom { grid-column: 1; }
}

/* ===========================
   Responsive — Mobile
   =========================== */
@media (max-width: 600px) {
  :root { --header-h: 56px; }

  .site-header {
    padding: 0 16px;
    gap: 12px;
  }

  .search-input {
    width: 120px;
    font-size: 12px;
  }

  .search-input:focus { width: 150px; }

  .hero-section {
    height: 52vh;
    min-height: 300px;
  }

  .hero-aside {
    right: 5%;
    left: 5%;
    text-align: left;
    max-width: 100%;
  }

  .parallax-hero-sm,
  .article-hero-section,
  .about-hero-section {
    height: 44vh;
    min-height: 260px;
  }

  .hero-aside-sm {
    right: 5%;
    left: 5%;
    text-align: left;
    max-width: 100%;
  }

  .article-meta { justify-content: flex-start; }

  .breadcrumb-nav p { justify-content: flex-start; }

  .cards-section { padding: 32px 16px 56px; }

  .full-width-heading { padding: 0 16px; }

  .cards-grid { grid-template-columns: 1fr; gap: 16px; }

  .content-section,
  .article-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-body-section,
  .cinematic-section,
  .article-footer-section,
  .about-stats-section {
    padding: 32px 16px;
    gap: 32px;
  }

  .privacy-header-section,
  .default-header-section {
    padding: 32px 16px 24px;
  }

  .stats-list { gap: 24px; }

  .stats-num { font-size: 2rem; }

  .site-footer {
    padding: 32px 16px 0;
    gap: 24px;
  }

  .footer-mega { font-size: 1.4rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .prose { font-size: 16px; }
}

/* ===========================
   Reduced motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg-img { animation: none; }

  .card { transition: none; }
  .card-accent-line { transform: scaleX(1); }
  .main-nav p a::after { transform: scaleX(1); }

  * { scroll-behavior: auto !important; }
}
