/* ═══════════════════════════════════════════════════════════
   「三年片段」— CINEMATIC EDITORIAL DESIGN SYSTEM
   A warm retro-hollywood language · terracotta × teal × amber
   Film reels · ticket stubs · hard shadows · ivory paper
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Reset & Tokens ──────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ivory: #FFFBF5;
  --peach: #FFF2EA;
  --cream-surface: #FFFDF9;
  --terracotta: #E85D3F;
  --terracotta-deep: #C44325;
  --teal: #2A9D8F;
  --teal-deep: #1F7A6F;
  --amber: #F2A65A;
  --ink: #2B2825;
  --ink-muted: #6E675F;
  --border-warm: #EADFD3;
  --line-warm: #D8CCC0;
  --font-display: "Georgia", "Palatino Linotype", "Songti SC", "SimSun", serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "PingFang TC", "Noto Sans CJK SC", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(232, 93, 63, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Cinematic film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--terracotta);
  color: var(--ivory);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb {
  background: var(--terracotta);
  border-radius: 8px;
  border: 2px solid var(--ivory);
}

img { display: block; max-width: 100%; }

/* ── 2. Layout Core ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 92px 0;
  position: relative;
}

/* Film-sprocket hairline at section base */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 90%);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 5px,
    var(--line-warm) 5px, var(--line-warm) 9px
  );
  opacity: 0.45;
}

.section:nth-child(even) {
  background: var(--peach);
}

/* ── 3. Header & Navigation ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 245, 0.9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 2px solid var(--border-warm);
  transition: box-shadow 0.3s ease;
}

.site-header:hover {
  box-shadow: 0 4px 24px rgba(45, 42, 38, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s;
}

.logo:hover {
  color: var(--terracotta);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--amber));
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow:
    3px 3px 0 var(--terracotta-deep),
    inset 0 0 0 3px rgba(255, 251, 245, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(20deg) scale(1.06);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--terracotta);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
  color: var(--terracotta);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--terracotta);
  color: var(--ivory) !important;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--terracotta-deep);
  transition: all 0.2s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--terracotta-deep);
  color: var(--ivory) !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--terracotta-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--cream-surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 3px 3px 0 rgba(45, 42, 38, 0.12);
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: var(--peach);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(45, 42, 38, 0.12);
}

/* ── 4. Hero — Cinematic Opening ───────────────────────── */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(242, 166, 90, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 6% 82%, rgba(42, 157, 143, 0.16) 0%, transparent 32%),
    var(--ivory);
}

/* spinning film reel backdrop */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 4%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(232, 93, 63, 0.07) 0deg 9deg,
    transparent 9deg 18deg
  );
  transform: translateY(-64%) rotate(0deg);
  animation: hemReelSpin 70s linear infinite;
  pointer-events: none;
}

@keyframes hemReelSpin {
  to { transform: translateY(-64%) rotate(360deg); }
}

/* perforated film footer line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 8px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--terracotta) 0px, var(--terracotta) 14px,
    transparent 14px, transparent 20px
  );
  opacity: 0.55;
}

.hero-content {
  flex: 1;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 100px;
  background: #FFF4EC;
  border: 2px solid var(--amber);
  color: var(--terracotta-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 3px 3px 0 rgba(242, 166, 90, 0.28);
}

.hero-eyebrow::before {
  content: '❐';
  font-size: 0.9em;
  color: var(--teal);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4.1rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  color: var(--terracotta);
  position: relative;
  white-space: nowrap;
}

.hero h1::after {
  content: '●';
  display: inline-block;
  margin-left: 14px;
  color: var(--teal);
  font-size: 0.24em;
  vertical-align: super;
  line-height: 1;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 min(420px, 38vw);
  position: relative;
  z-index: 2;
  border-radius: 24px 24px 24px 64px;
  overflow: hidden;
  border: 5px solid var(--cream-surface);
  box-shadow:
    12px 14px 0 rgba(232, 93, 63, 0.16),
    0 20px 40px rgba(45, 42, 38, 0.08);
  transform: rotate(1.8deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image:hover {
  transform: rotate(0.5deg) translateY(-4px);
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ── 5. Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--ivory);
  border-color: var(--terracotta);
  box-shadow: 5px 5px 0 var(--terracotta-deep);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--terracotta-deep);
}

.btn-primary:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--terracotta-deep);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  box-shadow: 5px 5px 0 rgba(42, 157, 143, 0.18);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--ivory);
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(42, 157, 143, 0.25);
}

.btn-outline:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 rgba(42, 157, 143, 0);
}

/* ── 6. Section Headings ───────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42, 157, 143, 0.1);
  border: 1.5px solid rgba(42, 157, 143, 0.28);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '▶';
  font-size: 0.62rem;
  letter-spacing: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 800;
}

.section-desc {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: 48px;
}

/* ── 7. Card Grid — Film Tickets ───────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--cream-surface);
  border: 2px solid var(--border-warm);
  border-radius: 18px 5px 18px 18px;
  padding: 32px 28px 26px;
  position: relative;
  box-shadow: 0 2px 0 rgba(45, 42, 38, 0.05);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* corner film-fold accent */
.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 26px solid var(--terracotta);
  border-left: 26px solid transparent;
  border-top-right-radius: 3px;
  opacity: 0.85;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 93, 63, 0.5);
  box-shadow: 8px 10px 0 rgba(232, 93, 63, 0.15);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50% 50% 50% 6px;
  background: var(--peach);
  border: 2px solid rgba(232, 93, 63, 0.3);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card:hover .card-icon {
  background: var(--terracotta);
  color: var(--ivory);
  transform: rotate(-12deg) scale(1.08);
  border-radius: 6px 50% 50% 50%;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.2s;
}

.card-link::after {
  content: '→';
  transition: transform 0.25s ease;
  font-size: 1.1em;
}

.card-link:hover {
  color: var(--terracotta-deep);
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* ── 8. Feature Block — Directorʼs Cut ─────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 60px 18px 18px 18px;
  overflow: hidden;
  border: 4px solid var(--cream-surface);
  box-shadow: -12px 12px 0 rgba(42, 157, 143, 0.14);
  transform: rotate(-1.6deg);
  transition: transform 0.4s ease;
}

.feature-image:hover {
  transform: rotate(0deg) translateY(-3px);
}

.feature-image::after {
  content: '●';
  position: absolute;
  bottom: 14px;
  right: 18px;
  color: var(--amber);
  font-size: 1.7rem;
  text-shadow: 2px 2px 0 rgba(45, 42, 38, 0.12);
}

.feature-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-text {
  position: relative;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-text p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px dashed var(--border-warm);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '▶';
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--terracotta);
  background: var(--peach);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 9. Stats — Box Office ─────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 34px 16px 28px;
  border-radius: 22px;
  border: 2px solid var(--border-warm);
  background: var(--cream-surface);
  position: relative;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--amber);
  box-shadow: 0 12px 28px rgba(242, 166, 90, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.03em;
}

.stat-number::after {
  content: '+';
  color: var(--teal);
  font-size: 0.45em;
  font-weight: 800;
  vertical-align: super;
  margin-left: 3px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 10px;
}

/* ── 10. Content Wall — Episode Posters ────────────────── */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.content-wall-item {
  border-radius: 20px 20px 20px 5px;
  overflow: hidden;
  border: 2px solid var(--border-warm);
  background: var(--cream-surface);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.content-wall-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(43, 40, 37, 0.06) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}

.content-wall-item:hover {
  transform: translateY(-7px) rotate(0.8deg);
  border-color: rgba(242, 166, 90, 0.6);
  box-shadow: 9px 11px 0 rgba(242, 166, 90, 0.22);
}

.content-wall-item:hover::after {
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 4px solid var(--amber);
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 22px 24px;
  position: relative;
  z-index: 1;
}

.content-wall-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ── 11. FAQ — Backstage ───────────────────────────────── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border-warm);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--cream-surface);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(232, 93, 63, 0.35);
}

.faq-item.open {
  border-color: var(--terracotta);
  box-shadow: 5px 5px 0 rgba(232, 93, 63, 0.14);
}

.faq-item .faq-question {
  padding: 19px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.faq-item .faq-question::after {
  content: '✕';
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-question {
  color: var(--terracotta-deep);
}

.faq-item.open .faq-question::after {
  transform: rotate(0deg);
  background: var(--terracotta);
  color: var(--ivory);
}

.faq-item .faq-answer {
  padding: 0 24px 0;
  display: none;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
  padding: 0 24px 20px;
  animation: hemFaqFade 0.35s ease;
}

@keyframes hemFaqFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 12. CTA Banner — Premiere Night ───────────────────── */
.cta-banner {
  padding: 70px 48px;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 20%, rgba(232, 93, 63, 0.14) 0%, transparent 32%),
    radial-gradient(circle at 88% 80%, rgba(42, 157, 143, 0.16) 0%, transparent 30%),
    linear-gradient(135deg, #FFE9DE 0%, #FFF3EA 55%, #E8F4F0 100%);
  border: 2px solid var(--border-warm);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(232, 93, 63, 0.12);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -48px;
  left: -48px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid rgba(42, 157, 143, 0.18);
}

.cta-banner h2 {
  color: var(--terracotta-deep);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.04rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: var(--terracotta);
  border-color: var(--terracotta-deep);
  color: var(--ivory);
  box-shadow: 5px 5px 0 var(--terracotta-deep);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--terracotta-deep);
}

/* ── 13. Footer — End Credits ──────────────────────────── */
.site-footer {
  padding: 60px 0 30px;
  background: #EAF2EF;
  border-top: 4px solid var(--teal);
  color: var(--ink);
  position: relative;
  margin-top: 40px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--teal) 0px, var(--teal) 14px,
    transparent 14px, transparent 20px
  );
  border-radius: 4px;
  opacity: 0.7;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.footer-brand p {
  color: #4A5753;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(42, 157, 143, 0.22);
}

.footer-col a {
  display: block;
  color: #4A5753;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: var(--terracotta);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px solid rgba(42, 157, 143, 0.2);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.84rem;
  color: #4A5753;
  letter-spacing: 0.04em;
}

/* ── 14. Utilities ─────────────────────────────────────── */
.text-accent {
  color: var(--terracotta);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.85;
  font-size: 1.02rem;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ── 15. Responsive ────────────────────────────────────── */
@media (max-width: 992px) {
  .hero {
    gap: 40px;
    padding: 130px 0 72px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-image {
    flex-basis: 340px;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 249, 0.98);
    padding: 24px 28px;
    gap: 18px;
    border-bottom: 3px solid var(--terracotta);
    box-shadow: 0 20px 40px rgba(45, 42, 38, 0.12);
    align-items: flex-start;
  }

  .main-nav.open a {
    width: 100%;
    font-size: 1.05rem;
    padding: 8px 2px;
  }

  .main-nav.open a::after {
    display: none;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    flex-direction: column;
    padding: 110px 0 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-image {
    flex-basis: auto;
    width: 100%;
    max-width: 420px;
    transform: rotate(1.2deg);
  }

  .hero-image:hover {
    transform: rotate(0.5deg);
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .cards-grid,
  .content-wall {
    gap: 20px;
  }

  .cta-banner {
    padding: 50px 28px;
    border-radius: 24px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-item {
    padding: 26px 14px;
  }

  .stat-number {
    font-size: 2.7rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .site-header .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .main-nav.open {
    top: 64px;
  }
}