/* ==========================================================================
   匠心烘焙 · 官网样式
   配色：暖米白 + 深咖 + 焦糖金，简约、克制、手工质感
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #fbf7f1;
  --bg-deep: #f3ebdf;
  --surface: #ffffff;
  --ink: #231b15;
  --ink-2: #4e4137;
  --muted: #877767;
  --line: #e6dacb;
  --brand: #8b5a2b;
  --brand-2: #b98a55;
  --brand-soft: #f1e2cf;
  --sage: #6c7a5b;
  --deep: #241c16;
  --cream: #f3e9dc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 24px -18px rgba(60, 40, 25, 0.35);
  --shadow: 0 26px 60px -32px rgba(60, 40, 25, 0.35);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --max: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

::selection { background: #e7d3b6; color: var(--ink); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 13px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 7vw, 104px) 0; }
.section--tint { background: var(--bg-deep); }
.section--deep { background: var(--deep); color: var(--cream); }
.section--deep h2,
.section--deep h3 { color: #fbf7f1; }
.section--tight { padding: clamp(44px, 4vw, 64px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(32px, 3.4vw, 50px);
}

.section-head__text { max-width: 42em; }

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  margin-top: 14px;
}

.section-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section--deep .eyebrow { color: var(--brand-2); }

.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 36em;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
  white-space: nowrap;
}

.more-link:hover { color: var(--brand); gap: 12px; }
.more-link svg { width: 16px; height: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 12px 26px -18px rgba(35, 27, 21, 0.9);
}

.btn--primary:hover { background: var(--brand); }

.btn--ghost {
  border-color: rgba(35, 27, 21, 0.22);
  color: var(--ink);
}

.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.6); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: #764a22; }

.btn--light { background: #fbf7f1; color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 241, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px -28px rgba(60, 40, 25, 0.6);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--brand);
  flex: none;
}

.brand__text { display: grid; line-height: 1.1; }

.brand__name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.brand__sub {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-nav { margin-left: 8px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 11px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.22s var(--ease), background 0.22s var(--ease);
}

.site-nav a:hover { color: var(--ink); background: rgba(230, 218, 203, 0.35); }

.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  place-items: center;
}

.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 24px 24px;
}

.mobile-nav.is-open { display: block; }

.mobile-nav ul { display: grid; gap: 2px; margin-bottom: 16px; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.mobile-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.mobile-nav .mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.6vw, 84px) 0 clamp(36px, 4vw, 60px);
  background:
    radial-gradient(900px 520px at 88% -12%, #f6e6d1 0%, rgba(246, 230, 209, 0) 62%),
    radial-gradient(600px 380px at 2% 100%, #f2e7d8 0%, rgba(242, 231, 216, 0) 70%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 4.6vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.16;
  margin: 22px 0 22px;
  letter-spacing: 0.01em;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  height: 10px;
  background: linear-gradient(180deg, transparent 45%, #e8d3b2 45%, #e8d3b2 88%, transparent 88%);
  z-index: -1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero__note svg { width: 15px; height: 15px; color: var(--sage); flex: none; }

.hero__media { position: relative; }

.hero__media::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 16px;
  border: 1px solid rgba(139, 90, 43, 0.28);
  border-radius: 30px;
  z-index: 0;
}

.hero__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.hero__badge strong {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
}

.hero__badge span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 数字条 ---------- */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(38px, 4.6vw, 62px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  color: var(--ink);
}

.stat__num small {
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--brand);
  margin-left: 3px;
}

.stat__label {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 快捷资源条 ---------- */
.quick-strip { background: var(--deep); color: var(--cream); }

.quick-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 30px;
  text-align: left;
  color: inherit;
  border-left: 1px solid rgba(243, 233, 220, 0.12);
  transition: background 0.28s var(--ease);
  width: 100%;
}

.quick-link:first-child { border-left: 0; padding-left: 0; }
.quick-link:hover { background: rgba(255, 255, 255, 0.05); }

.quick-link__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 233, 220, 0.28);
  border-radius: 50%;
  color: var(--brand-2);
}

.quick-link__icon svg { width: 20px; height: 20px; }

.quick-link__text { display: grid; gap: 3px; }
.quick-link__text strong { font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.quick-link__text span { font-size: 12px; color: rgba(243, 233, 220, 0.6); }
.quick-link__arrow { margin-left: auto; color: rgba(243, 233, 220, 0.5); transition: transform 0.28s var(--ease), color 0.28s; }
.quick-link:hover .quick-link__arrow { transform: translateX(4px); color: var(--brand-2); }
.quick-link__arrow svg { width: 18px; height: 18px; }

/* ---------- 理念/优势 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.feature__num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--brand-2);
  letter-spacing: 0.16em;
}

.feature h3 { margin: 16px 0 10px; font-size: 17.5px; }
.feature p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- 课程卡片 ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(139, 90, 43, 0.28);
}

.course-card__media { overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--bg-deep); }

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

.course-card:hover .course-card__media img { transform: scale(1.05); }

.course-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 22px 22px 24px;
}

.course-card__kicker {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--brand);
  text-transform: uppercase;
}

.course-card h3 { font-size: 19px; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; }

.course-card__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.course-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}

.course-card__price {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--brand);
}

.course-card__price small { font-family: var(--font-sans); font-size: 11px; color: var(--muted); }

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

.split__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(251, 247, 241, 0.9);
  border-radius: 999px;
}

.check-list { display: grid; gap: 16px; margin: 28px 0 34px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.check-list li strong { color: var(--ink); font-weight: 600; }

.check-list .check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.check-list .check svg { width: 12px; height: 12px; }

.section--deep .check-list li { color: rgba(243, 233, 220, 0.78); }
.section--deep .check-list .check { background: rgba(185, 138, 85, 0.22); color: var(--brand-2); }

/* ---------- 教学团队 ---------- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.faculty-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.monogram {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #efe3d2, #dcc7a9);
  font-family: var(--font-serif);
  font-size: 23px;
  color: #6f4a26;
  margin-bottom: 20px;
}

.faculty-card h3 { font-size: 18px; }
.faculty-card__role {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.faculty-card p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- 环境图集 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-deep);
}

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

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

.gallery-item--hero { grid-row: span 2; }
.gallery-item--hero img { aspect-ratio: 4 / 4.6; }

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 13px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  background: rgba(36, 28, 22, 0.62);
  color: #fbf7f1;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.gallery-grid--three { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
.gallery-grid--three .gallery-item img { aspect-ratio: 4 / 3.4; }

/* ---------- 资讯 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }

.news-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.news-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

.news-card h3 { font-size: 18px; line-height: 1.55; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }

.news-card p { font-size: 13px; line-height: 1.8; color: var(--muted); }

.news-card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__more svg { width: 14px; height: 14px; }

/* 资讯列表（左大右小） */
.news-lead {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: clamp(32px, 4vw, 52px);
  margin-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.news-lead__media { border-radius: var(--radius-lg); overflow: hidden; display: block; }
.news-lead__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-lead h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 16px 0 14px; line-height: 1.45; }
.news-lead p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* 短讯列表 */
.brief-list { border-top: 1px solid var(--line); }
.brief-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.brief-item time { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.brief-item h3 { font-size: 16.5px; font-weight: 600; }
.brief-item p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.brief-item .tag { flex: none; }

/* ---------- CTA / 表单 ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(32px, 4vw, 60px);
  padding: clamp(32px, 4.4vw, 60px);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(185, 138, 85, 0.22), transparent 62%),
    var(--deep);
  color: var(--cream);
  border-radius: 28px;
}

.cta-panel h2 { color: #fbf7f1; font-size: clamp(26px, 3vw, 38px); margin-top: 14px; }
.cta-panel .lede { color: rgba(243, 233, 220, 0.72); }

.cta-panel__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(243, 233, 220, 0.8);
}

.contact-line svg { width: 17px; height: 17px; color: var(--brand-2); }

.cta-panel__hours {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(243, 233, 220, 0.5);
}

.form-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(24px, 2.6vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

.form-card__head { margin-bottom: 20px; }
.form-card__head h3 { font-size: 19px; }
.form-card__head p { margin-top: 6px; font-size: 12px; color: var(--muted); }

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

.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.field label .req { color: var(--brand); }

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: #fcfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
  appearance: none;
}

.field textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.7; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23877767' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder { color: #b3a596; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(185, 138, 85, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b4553f; }

.form-note { margin-top: 12px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.form-status { margin-top: 10px; font-size: 12.5px; color: #b4553f; min-height: 18px; }
.form-status:empty { display: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 22px 6px;
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.form-success__icon svg { width: 24px; height: 24px; }
.form-success h4 { font-size: 19px; margin-bottom: 8px; }
.form-success p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.form-success .btn { margin-top: 20px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #211a14;
  color: #c8b8a6;
  padding-top: clamp(48px, 5vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.15fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer .brand__name { color: #f6ecdf; }
.site-footer .brand__sub { color: #9c8a78; }
.site-footer .brand__mark { color: var(--brand-2); }

.footer-desc {
  margin-top: 18px;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.9;
  color: #a4927f;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 14px;
  color: #f6ecdf;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 13px; color: #a4927f; transition: color 0.2s; }
.footer-links a:hover { color: #e5c9a8; }

.footer-contact { display: grid; gap: 13px; font-size: 13px; color: #a4927f; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; color: var(--brand-2); flex: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(246, 236, 223, 0.1);
  font-size: 12px;
  color: #8d7c6a;
}

.footer-bottom a { color: #a4927f; }
.footer-bottom a:hover { color: #e5c9a8; }

/* ---------- 悬浮快捷入口 ---------- */
.dock {
  position: fixed;
  right: 18px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 44px -26px rgba(60, 40, 25, 0.5);
  backdrop-filter: blur(8px);
}

.dock button {
  width: 52px;
  padding: 8px 2px;
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--ink-2);
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.dock button svg { width: 19px; height: 19px; }
.dock button:hover { background: var(--bg); color: var(--brand); }
.dock .dock__primary { background: var(--ink); color: var(--bg); }
.dock .dock__primary:hover { background: var(--brand); color: #fff; }

.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-dock button {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 4px 2px;
  font-size: 10px;
  color: var(--ink-2);
  border-radius: 8px;
}

.mobile-dock button svg { width: 19px; height: 19px; color: var(--brand); }
.mobile-dock button:active { background: var(--bg); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }

.modal.is-open { display: grid; place-items: center; padding: 20px; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 16, 0.55);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.25s var(--ease);
}

.modal__panel {
  position: relative;
  width: min(580px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.35s var(--ease);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover { background: var(--bg); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }

.modal__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--brand);
  text-transform: uppercase;
}

.modal__title { margin-top: 10px; font-size: clamp(21px, 2.4vw, 26px); }
.modal__desc { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--muted); }

.tabs {
  display: flex;
  gap: 4px;
  margin: 20px 0 18px;
  padding: 4px;
  background: var(--bg);
  border-radius: 999px;
}

.tabs button {
  flex: 1;
  height: 36px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 3px 10px -6px rgba(60, 40, 25, 0.5);
}

.pane { display: none; }
.pane.is-active { display: block; }

.modal .form-grid { gap: 13px; }
.modal .btn--block { margin-top: 4px; }

.modal__foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal__foot svg { width: 14px; height: 14px; color: var(--sage); flex: none; }

body.is-locked { overflow: hidden; }

/* ---------- 子页 Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.4vw, 64px) 0 clamp(40px, 4.6vw, 68px);
  background:
    radial-gradient(820px 420px at 92% -20%, #f6e7d2 0%, rgba(246, 231, 210, 0) 62%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.28;
  margin: 20px 0 18px;
}

.page-hero .lede { max-width: 40em; }

.page-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { color: #c3b3a1; }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }

/* ---------- 正文排版 ---------- */
.prose {
  max-width: 760px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
}

.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(21px, 2.2vw, 27px);
  margin-top: 42px;
  padding-top: 6px;
}
.prose h3 { font-size: 18px; margin-top: 30px; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { display: grid; gap: 8px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}
.prose blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 2px solid var(--brand-2);
  background: var(--bg-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
}
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.prose a { color: var(--brand); border-bottom: 1px solid rgba(139, 90, 43, 0.35); }
.prose a:hover { border-color: var(--brand); }

.article-head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.4; margin: 16px 0 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  background: var(--bg-deep);
  border-radius: var(--radius);
}

.article-aside h2 { font-size: 16px; margin-bottom: 16px; }
.article-aside ul { display: grid; gap: 12px; }
.article-aside a { font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; }
.article-aside a:hover { color: var(--brand); }
.article-aside .aside-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.article-aside .aside-cta .btn { margin-top: 14px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; display: grid; gap: 30px; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--brand-2);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--brand);
}
.timeline__item h3 { font-size: 16px; margin: 6px 0 8px; }
.timeline__item p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.data-table th,
.data-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th {
  background: var(--bg-deep);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--muted); }
.data-table td strong { color: var(--ink); font-weight: 600; }
.data-table .price { color: var(--brand); font-family: var(--font-serif); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(139, 90, 43, 0.3); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

/* ---------- 通用卡片网格 ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.info-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 18px; margin-bottom: 10px; }
.info-card p { font-size: 13.5px; line-height: 1.9; color: var(--muted); }

.info-card__num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--brand);
}

/* ---------- 联系信息 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card svg { width: 22px; height: 22px; color: var(--brand); margin-bottom: 14px; }
.contact-card h3 { font-size: 14px; letter-spacing: 0.04em; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.contact-card strong { color: var(--ink); }

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(230, 218, 203, 0.5) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(230, 218, 203, 0.5) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-deep);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}

.map-card__pin {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.map-card h3 { font-size: 20px; }
.map-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.map-card .btn { margin-top: 18px; }

/* ---------- 品牌理念 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.value-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.value-card__cn {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--brand-2);
  line-height: 1;
}
.value-card h3 { margin: 18px 0 10px; font-size: 18px; }
.value-card p { font-size: 13.5px; line-height: 1.9; color: var(--muted); }

/* ---------- 荣誉/资质 ---------- */
.honor-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.honor {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.honor svg { width: 20px; height: 20px; color: var(--brand-2); flex: none; margin-top: 2px; }
.honor strong { display: block; font-size: 14px; margin-bottom: 4px; }
.honor span { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 面包屑/分页等 ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
}
.pagination .is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(72px, 12vw, 140px);
  line-height: 1;
  color: var(--brand-soft);
  letter-spacing: 0.04em;
}
.error-page h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 14px; }
.error-page p { font-size: 14px; color: var(--muted); }
.error-page .btn { margin-top: 26px; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .header-inner { gap: 18px; }
  .site-nav a { padding: 10px 8px; font-size: 13.5px; }
  .header-actions .btn { padding: 0 18px; }
}

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: grid; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .honor-list { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 900px) {
  .hero__grid,
  .page-hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 620px; width: 100%; }
  .hero__media::before { inset: 12px -10px -12px 10px; }
  .hero__badge { left: 12px; bottom: 12px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .cta-panel { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-lead { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .value-grid { grid-template-columns: 1fr; }
  .quick-strip__grid { grid-template-columns: 1fr; }
  .quick-link { border-left: 0; border-top: 1px solid rgba(243, 233, 220, 0.12); padding: 20px 0; }
  .quick-link:first-child { border-top: 0; }
  .quick-link__arrow { display: none; }
  .gallery-grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }

  .container { padding: 0 20px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .dock { display: none; }
  .mobile-dock { display: grid; }

  .hero { padding-top: 26px; }
  .hero__title { font-size: clamp(32px, 8vw, 44px); }
  .hero__badge { padding: 12px 16px; }
  .hero__badge strong { font-size: 24px; }
  .hero__actions .btn { flex: 1; min-width: 140px; }

  .section-head { display: block; }
  .section-head .more-link { margin-top: 18px; }

  .course-grid,
  .news-grid,
  .faculty-grid,
  .feature-grid,
  .card-grid--2,
  .card-grid--3,
  .card-grid--4,
  .contact-cards,
  .honor-list { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item--hero { grid-row: auto; }
  .gallery-item--hero img { aspect-ratio: 4 / 3.2; }
  .gallery-grid--three { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }

  .news-lead__media img { aspect-ratio: 16 / 10; }
  .brief-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .brief-item .tag { justify-self: start; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .modal { padding: 12px; }
  .modal.is-open { padding: 12px; }
  .modal__panel { padding: 24px 20px; border-radius: 18px; }
  .modal__title { padding-right: 30px; }

  .article-layout { gap: 36px; }
  .prose { font-size: 15px; }

  .data-table th, .data-table td { padding: 12px 14px; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 19px; }
  .brand__mark { width: 34px; height: 34px; }
  .hero__media::before { display: none; }
  .hero__badge { left: 8px; bottom: 8px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
}
