/* ============================================
   YANDEX每日大赛 —「舞台入场券」设计系统
   入口即舞台 · Ticket-to-Stage Design
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FFF8F0;
  --paper: #FFFDF9;
  --coral: #FF5A3D;
  --coral-light: #FF8A75;
  --teal: #0DAFA1;
  --teal-dark: #0B6B63;
  --teal-light: #B8EDE7;
  --yellow: #FFC63D;
  --yellow-deep: #FFB800;
  --ink: #2D2A26;
  --muted: #8A8378;
  --border: #E8DFD3;
  --shadow-card: 6px 6px 0 var(--ink);
  --shadow-card-lg: 10px 10px 0 var(--ink);
  --shadow-soft: 0 8px 32px rgba(45, 42, 38, 0.08);
  --radius: 16px;
  --gradient-stage: linear-gradient(135deg, var(--coral) 0%, var(--yellow) 100%);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--coral);
}

body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

html {
  scroll-behavior: smooth;
}

/* —— 背景氛围光斑 —— */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -20%;
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(circle at 30% 70%, rgba(255, 198, 61, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -10%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle at 70% 30%, rgba(13, 175, 161, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   核心布局
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--paper);
  border-top: 1px dashed rgba(138, 131, 120, 0.35);
  border-bottom: 1px dashed rgba(138, 131, 120, 0.35);
}

/* ============================================
   导航 — 票券式顶部
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 2px 0 var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px 4px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--gradient-stage);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
  transition: transform 0.35s var(--ease-spring);
}

.logo:hover .logo-icon {
  transform: rotate(3deg) scale(1.06);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s var(--ease-spring);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--coral);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  color: #fff !important;
  font-weight: 700 !important;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.3s var(--ease-spring) !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--yellow);
  color: var(--ink) !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  box-shadow: 2px 2px 0 var(--ink);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ============================================
   Hero — 舞台聚光
   ============================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  gap: 48px;
}

.hero::before {
  content: '舞台';
  position: absolute;
  right: -20px;
  top: 16%;
  font-size: 14rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(45, 42, 38, 0.07);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 560px;
  flex: 1.1;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  box-shadow: 2px 2px 0 var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '✦';
  display: inline-block;
  animation: spin-slow 5s linear infinite;
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero h1 .text-accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1.5deg);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 38px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* —— Hero 右侧封面图 —— */
.hero-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  background: var(--teal-light);
  transform: rotate(2deg);
  transition: transform 0.5s var(--ease-spring);
  position: relative;
  z-index: 2;
  min-height: 360px;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 14px 14px 0 var(--ink);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.hero-image::before {
  content: '★';
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 3;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-image::after {
  content: '入口即舞台';
  position: absolute;
  top: 28px;
  right: -42px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 3px;
  padding: 7px 44px;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ============================================
   按钮 — 贴纸风
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.5px;
}

.btn-primary {
  color: var(--ink) !important;
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--yellow-deep);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink) !important;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--paper);
}

/* ============================================
   章节标题 — 节目单编号
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  text-transform: uppercase;
}

.section-label::before {
  content: '///';
  color: var(--coral);
  font-weight: 900;
}

.section-label::after {
  content: '';
  flex: 1;
  min-width: 40px;
  height: 2px;
  background: var(--coral);
  opacity: 0.4;
  margin-left: 4px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 40px;
  height: 6px;
  background: var(--coral);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.section:hover .section-title::after {
  width: 80px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================
   卡片网格 — 撕票根效果
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.category-card {
  border-radius: 16px 16px 8px 8px;
  padding: 32px 28px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease-spring);
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 8px;
  background: var(--cream);
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-lg);
}

.category-card:nth-child(1) { background: #FFF2E8; }
.category-card:nth-child(2) { background: #E8F8F6; }
.category-card:nth-child(3) { background: #FFF9DE; }
.category-card:nth-child(4) { background: #F2ECFF; }
.category-card:nth-child(5) { background: #FFF0EC; }
.category-card:nth-child(6) { background: #E8F4F8; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: rotate(4deg) scale(1.08);
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* ============================================
   特性块 — 杂志分栏
   ============================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--teal-light);
  position: relative;
  min-height: 300px;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 60%, rgba(255, 198, 61, 0.35) 100%);
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-text h3 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.3;
}

.feature-text p {
  opacity: 0.72;
  line-height: 1.75;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 11px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px dashed rgba(138, 131, 120, 0.35);
}

.feature-list li::before {
  content: '✦';
  font-weight: 900;
  color: var(--coral);
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ============================================
   数据条 — 参赛徽章
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: all 0.3s ease;
  position: relative;
}

.stat-item:nth-child(1) { background: #FFF2E8; }
.stat-item:nth-child(2) { background: #E8F8F6; }
.stat-item:nth-child(3) { background: #FFF9DE; }
.stat-item:nth-child(4) { background: #F2ECFF; }

.stat-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-number::after {
  content: '+';
  color: var(--coral);
  font-size: 0.6em;
  vertical-align: top;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   内容墙 — 立体报纸风
   ============================================ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  transition: all 0.35s var(--ease-spring);
}

.content-wall-item:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--ink);
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body .tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  border: 1px solid var(--teal);
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.6;
}

/* ============================================
   FAQ — 手风琴票券
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  box-shadow: 4px 4px 0 transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.faq-item.open {
  box-shadow: 4px 4px 0 var(--ink);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  transition: background 0.3s;
}

.faq-item.open .faq-question {
  background: var(--yellow);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--ink);
}

.faq-item .faq-answer {
  padding: 14px 24px 20px;
  display: none;
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px dashed rgba(138, 131, 120, 0.4);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================
   CTA横幅 — 主舞台
   ============================================ */
.cta-banner {
  padding: 72px 40px;
  text-align: center;
  border-radius: 24px;
  background: var(--gradient-stage);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner::after {
  content: '★';
  position: absolute;
  top: -30px;
  right: 20px;
  font-size: 8rem;
  color: var(--ink);
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(15deg);
}

.cta-banner h2 {
  color: var(--ink) !important;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.cta-banner h2 .text-accent {
  color: var(--coral);
}

.cta-banner p {
  color: rgba(45, 42, 38, 0.75);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border-color: var(--ink);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--cream) !important;
  color: var(--ink) !important;
  box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

/* ============================================
   页脚 — 节目单底部
   ============================================ */
.site-footer {
  padding: 56px 0 28px;
  background: var(--paper);
  color: var(--ink);
  margin-top: 40px;
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--ink);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-stage);
  border-radius: 0 0 4px 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.6;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--coral);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col h4::before {
  content: '/ ';
  font-weight: 900;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: rgba(45, 42, 38, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.25s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--coral);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 42, 38, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ============================================
   工具类
   ============================================ */
.text-accent {
  color: var(--coral);
  font-weight: 800;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.75;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   响应式 — 逐层降级
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 110px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
    min-height: 300px;
  }

  .hero-image img {
    min-height: 300px;
  }

  .hero::before {
    font-size: 9rem;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .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: 68px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 8px 24px rgba(45, 42, 38, 0.15);
    gap: 20px;
    align-items: flex-start;
  }

  .main-nav.open a {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero::before {
    font-size: 6rem;
    right: -10px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 56px 0;
  }

  .cta-banner h2 {
    font-size: 2.1rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-image {
    transform: rotate(1deg);
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .hero-image::after {
    right: -30px;
    padding: 5px 32px;
    font-size: 0.7rem;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }
}