/* ============================================================================
 * 青少年 AI（人工智能）工程思维书院官网 · 温暖手绘书院编辑风样式系统
 * 遵循 GoogleChrome/modern-web-guidance 现代原生 Web 规范
 * ============================================================================ */

@view-transition {
  navigation: auto;
}

:root {
  /* 宣纸米白与自然森林色板 */
  --paper: #f8f5ee;
  --paper-soft: #f2ece0;
  --surface: #ffffff;
  --forest: #1e4d40;
  --forest-deep: #14362d;
  --forest-soft: #e7f1ec;
  --amber: #c2762b;
  --amber-soft: #fbf1e2;
  --sky-soft: #eaf2f6;
  --sky: #2d627d;
  --brick: #a8423b;
  --brick-soft: #faeae8;
  --ink: #222b28;
  --ink-soft: #4e5c57;
  --muted: #6e7b76;
  --line: #e4ddd0;
  --line-strong: #d3c9b7;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(30, 52, 44, 0.06);
  --shadow-card: 0 4px 16px rgba(30, 52, 44, 0.045);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "STHeiti", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: var(--forest-deep);
  line-height: 1.38;
  word-break: normal;
  overflow-wrap: break-word;
}

.phrase {
  display: inline-block;
}

.nowrap-desktop {
  white-space: nowrap;
}

.br-desktop {
  display: inline;
}

p {
  line-height: 1.8;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--paper-soft);
  color: var(--forest-deep);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}

.code-sheet code,
.mail-card code {
  background: transparent;
  color: inherit;
  padding: 0;
}

section[id], div[id] {
  scroll-margin-top: 84px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

/* ---------------------------------------------------------------------------
 * 顶部书院导航栏
 * --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-seal {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--forest);
  color: #f8f5ee;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(30, 77, 64, 0.22);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--forest-deep);
  line-height: 1.25;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-links a:hover {
  background: var(--paper-soft);
  color: var(--forest);
}

.nav-links a.active {
  background: var(--forest-soft);
  color: var(--forest);
  font-weight: 700;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--forest-deep);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
 * 按钮体系（克制温润）
 * --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-forest {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 77, 64, 0.2);
}

.btn-forest:hover {
  background: var(--forest-deep);
}

.btn-amber {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 6px 16px rgba(194, 118, 43, 0.24);
}

.btn-outline {
  background: var(--surface);
  color: var(--forest);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--forest);
  background: var(--forest-soft);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 13.5px;
}

/* ---------------------------------------------------------------------------
 * 杂志感首屏与页面头部
 * --------------------------------------------------------------------------- */
.hero-editorial {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  background: var(--forest-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-editorial h1 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.1vw, 39px);
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero-editorial h1 em {
  font-style: normal;
  color: var(--amber);
}

.lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.meta-strip dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.meta-strip dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest-deep);
}

/* 场景插画画框（吉卜力手绘风呈现） */
.art-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #dce9e2, #f5e6cf);
}

.art-frame.wide img {
  aspect-ratio: 16 / 9;
}

.art-caption {
  padding: 10px 6px 2px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* 二级频道页眉 */
.page-banner {
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f3eee3 0%, var(--paper) 100%);
}

.page-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.8vw, 34px);
  margin: 0 0 14px;
  line-height: 1.38;
}

.page-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------------------------------------------------------------------------
 * 通用内容区块与卡片
 * --------------------------------------------------------------------------- */
.section {
  padding: 64px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-warm {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-header {
  max-width: 900px;
  margin-bottom: 34px;
}

.sec-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sec-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card-paper {
  background: var(--paper);
}

.card-span-2 {
  grid-column: span 2;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: var(--forest);
  box-shadow: var(--shadow-soft);
}

.card-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.more-arrow {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--forest);
}

.quote-box {
  background: var(--forest-soft);
  border-left: 4px solid var(--forest);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  color: var(--forest-deep);
  margin: 20px 0;
}

.quote-box.amber {
  background: var(--amber-soft);
  border-left-color: var(--amber);
  color: #5c3a12;
}

/* ---------------------------------------------------------------------------
 * 原生交互式四层能力金字塔（取代静态图片！）
 * --------------------------------------------------------------------------- */
.pyramid-interactive {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.pyramid-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pyr-layer {
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--forest-deep);
  border-radius: 14px;
  padding: 15px 18px;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all 0.18s ease;
}

.pyr-layer:hover {
  border-color: var(--forest);
  background: var(--forest-soft);
}

.pyr-layer.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 77, 64, 0.22);
}

.pyr-layer strong {
  display: block;
  font-size: 15.5px;
}

.pyr-layer span {
  font-size: 12.5px;
  opacity: 0.85;
}

.pyr-l4 { width: 64%; }
.pyr-l3 { width: 76%; }
.pyr-l2 { width: 88%; }
.pyr-l1 { width: 100%; }

.pyramid-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

/* ---------------------------------------------------------------------------
 * 表格排版（干净杂志风）
 * --------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

table.clean-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.2px;
}

table.clean-table th {
  background: var(--paper-soft);
  color: var(--forest-deep);
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
}

table.clean-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}

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

table.clean-table td.hl-col {
  background: #f5faf7;
  color: var(--forest-deep);
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
 * 12 讲深度大纲与筛选
 * --------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.lesson-list {
  display: grid;
  gap: 18px;
  container-type: inline-size;
}

.lesson-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.lesson-row.featured {
  border: 1.5px solid var(--amber);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 45%);
}

.lesson-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.lesson-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--forest-soft);
  color: var(--forest);
}

.lesson-row.featured .lesson-tag {
  background: var(--amber-soft);
  color: #8c5114;
}

.lesson-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.lesson-output-bar {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ---------------------------------------------------------------------------
 * 120 分钟原生比例时间条 & 红绿灯三色公约
 * --------------------------------------------------------------------------- */
.rhythm-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.rhythm-seg {
  border-radius: 12px;
  padding: 14px 10px;
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.35;
}

.rhythm-seg strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.traffic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.traffic-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.traffic-card.green { border-top: 5px solid #2a6b52; background: linear-gradient(180deg, #f4faf7 0%, #fff 36%); }
.traffic-card.yellow { border-top: 5px solid #c2762b; background: linear-gradient(180deg, #fdf8ef 0%, #fff 36%); }
.traffic-card.red { border-top: 5px solid #a8423b; background: linear-gradient(180deg, #fdf4f3 0%, #fff 36%); }

.traffic-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  display: grid;
  gap: 9px;
}

/* ---------------------------------------------------------------------------
 * 手风琴（原生 details 互斥平滑展开）
 * --------------------------------------------------------------------------- */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.accordion summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--forest-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 20px;
  color: var(--amber);
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details::details-content {
  transition: block-size 0.26s ease, content-visibility 0.26s ease allow-discrete;
  overflow: hidden;
  block-size: 0;
}

.accordion details[open]::details-content {
  block-size: auto;
}

.acc-body {
  padding: 12px 20px 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------
 * 互动实验与代码块（目录树 / 战报样板）
 * --------------------------------------------------------------------------- */
.code-sheet {
  background: #202b27;
  color: #e8efe9;
  border-radius: 14px;
  padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.2px;
  line-height: 1.75;
  overflow-x: auto;
  margin: 0;
}

.task-sheet {
  background: #fffdf8;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-q {
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
}

.quiz-ans {
  display: none;
  background: var(--amber-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #5b3a12;
}

.quiz-ans.open {
  display: block;
}

/* ---------------------------------------------------------------------------
 * 表单与 AgentMail 智能体邮箱卡片
 * --------------------------------------------------------------------------- */
.mail-card {
  background: var(--forest);
  color: #f4f7f5;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.mail-card h2,
.mail-card h3 {
  color: #fff;
}

.mail-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
}

.mail-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #f7cf7d;
  word-break: break-all;
  margin: 6px 0 12px;
}

.form-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fdfcf9;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 77, 64, 0.1);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}

.form-msg.ok {
  display: block;
  background: var(--forest-soft);
  color: var(--forest-deep);
  border: 1px solid #b5d8c8;
}

.form-msg.err {
  display: block;
  background: var(--brick-soft);
  color: var(--brick);
  border: 1px solid #e7b5b0;
}

/* ---------------------------------------------------------------------------
 * 页脚与原生 Popover 轻提示
 * --------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: #c5d6cf;
  padding: 38px 0;
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.footer-links a:hover {
  color: #f7cf7d;
}

.toast {
  position: fixed;
  inset: auto 0 28px 0;
  margin: 0 auto;
  width: fit-content;
  max-width: min(90vw, 460px);
  background: var(--forest-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  border: 1px solid rgba(247, 207, 125, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast:popover-open,
.toast.show {
  opacity: 1;
}

@media (max-width: 920px) {
  .hero-grid,
  .page-banner-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .pyramid-interactive,
  .lesson-cols,
  .traffic-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .rhythm-bar {
    flex-direction: column;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .pyr-l4, .pyr-l3, .pyr-l2, .pyr-l1 {
    width: 100%;
  }

  .card-span-2 {
    grid-column: auto;
  }

  .nowrap-desktop {
    white-space: normal;
  }

  .br-desktop {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-wrap {
    min-height: 60px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand-seal {
    width: 32px;
    height: 32px;
    font-size: 12.5px;
    border-radius: 9px;
  }

  .brand-title {
    display: block;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-editorial {
    padding: 32px 0 44px;
  }

  .page-banner {
    padding: 30px 0 28px;
  }

  .section {
    padding: 44px 0;
  }

  .meta-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
