/* ==========================================================================
   上海库锞职业技能培训学校 · 官网样式
   设计基调：亮色纸感画布 + 品牌藏蓝 + 黄铜点缀 + 编辑式排版
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand: #003090;
  --brand-deep: #00246e;
  --brand-ink: #00173d;
  --ink: #111826;
  --ink-2: #2b3444;
  --muted: #5d6573;
  --paper: #ffffff;
  --cream: #f8f5ef;
  --cream-2: #f1ece2;
  --line: #e2dcd0;
  --line-strong: #cfc6b6;
  --brass: #8a5f2a;
  --brass-soft: #f0e3cf;
  --white: #fff;

  /* 渐变体系：藏蓝纵深 + 黄铜暖光，参考蓝带（Le Cordon Bleu）的深色渐变基调 */
  --navy-950: #030f28;
  --navy-900: #041430;
  --navy-800: #0a2350;
  --gold-300: #e6cf9f;
  --gold-400: #d8b878;
  --gold-500: #c9a45c;
  --grad-ink: linear-gradient(160deg, var(--navy-800) 0%, var(--brand-deep) 42%, var(--navy-950) 100%);
  --grad-ink-soft: linear-gradient(180deg, var(--navy-900) 0%, var(--bridge-navy, #061a3f) 100%);
  --grad-gold: linear-gradient(90deg, rgba(201, 164, 92, 0) 0%, var(--gold-500) 42%, var(--gold-400) 62%, rgba(201, 164, 92, 0) 100%);
  --grad-paper: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  --grad-cream: linear-gradient(180deg, var(--cream) 0%, #ffffff 62%, var(--cream) 100%);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(17, 24, 38, .06), 0 6px 18px rgba(17, 24, 38, .05);
  --shadow-m: 0 18px 40px -22px rgba(7, 26, 61, .35);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 108px);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-soft); color: var(--brand-ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 120;
  padding: 10px 16px; background: var(--brand); color: #fff; border-radius: var(--radius-s);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--cream { background: var(--grad-cream); }
.section--dark {
  background:
    radial-gradient(1100px 460px at 88% -14%, rgba(201, 164, 92, .22) 0%, rgba(201, 164, 92, 0) 62%),
    var(--grad-ink);
  color: #eef2ff;
}
.section--hairline { border-top: 1px solid var(--line); }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.stack > * + * { margin-top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: #d8c39a; }

.display {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -.01em;
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.25;
  text-wrap: balance;
}
.h3 { font-size: clamp(19px, 2vw, 22px); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.serif { font-family: var(--font-serif); }
.balance { text-wrap: balance; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head__text { max-width: 60ch; }
.section-head .h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; color: var(--muted); }
.section--dark .section-head p { color: #b9c4e2; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bg); border-radius: 999px;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-ink); }
.btn--light:hover { background: var(--brass-soft); border-color: var(--brass-soft); color: var(--brand-ink); }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--brand); border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.brand__text { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(9px, 1.3vw, 18px); }
.nav__link {
  position: relative; display: inline-block; padding: 8px 1px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.nav__login {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px;
  padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.nav__login:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.nav__login::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass);
}
.nav__login:hover::before { background: #fff; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { flex: 0 0 auto; margin-left: 8px; }
.header__cta .btn { min-height: 42px; padding: 8px 20px; font-size: 14px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
}
.nav-toggle__bars { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 100; display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer__overlay {
  position: absolute; inset: 0; background: rgba(7, 26, 61, .42);
  opacity: 0; transition: opacity .24s ease;
}
.drawer[data-open="true"] .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px); background: var(--cream);
  padding: 22px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 22px;
  overflow-y: auto;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.22, .8, .3, 1);
}
.drawer[data-open="true"] .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__head img { height: 34px; width: auto; }
.drawer__close {
  width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; cursor: pointer; font-size: 20px; line-height: 1;
}
.drawer__list { display: flex; flex-direction: column; }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--ink);
}
.drawer__list a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.drawer__contact { font-size: 14px; color: var(--muted); line-height: 1.9; }
.drawer__contact strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 640px at 82% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 48, 144, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 48, 144, .05) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 72%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(44px, 6vw, 88px);
}
.hero__title { font-family: var(--font-serif); font-size: clamp(34px, 5vw, 62px); line-height: 1.14; letter-spacing: -.015em; }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__sub { margin-top: 22px; max-width: 46ch; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

.hero__art { position: relative; display: grid; place-items: center; }
.plate {
  width: min(100%, 460px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 44%, transparent 45%),
    conic-gradient(from 210deg, var(--cream-2), #fff 22%, var(--cream-2) 52%, #fff 74%, var(--cream-2));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 14px #fff, inset 0 0 0 15px var(--line), var(--shadow-m);
  display: grid; place-items: center;
}
.plate img { width: 46%; height: auto; opacity: .92; }
.plate__ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px dashed rgba(0, 48, 144, .28);
  animation: plate-spin 60s linear infinite;
}
.hero__badge {
  position: absolute; right: -4px; bottom: 6%; z-index: 2;
  max-width: 216px; padding: 16px 18px;
  background: var(--brand); color: #fff; border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}
.hero__badge b { display: block; font-family: var(--font-serif); font-size: 22px; line-height: 1.3; }
.hero__badge span { display: block; margin-top: 4px; font-size: 12.5px; color: #c9d6f6; letter-spacing: .04em; }

@keyframes plate-spin { to { transform: rotate(360deg); } }

/* ---------- Fact strip ---------- */
.fact-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.fact-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
  padding: 26px 22px; border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--brand); line-height: 1.2; }
.fact span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.card__motif {
  width: 56px; height: 56px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--brass-soft); border-radius: 14px; color: var(--brand);
}
.card__motif svg { width: 30px; height: 30px; }
.card h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 24px); }
.card__en { margin-top: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.card p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.card__foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; font-size: 12.5px; line-height: 1.4;
  color: var(--brand); background: #eef2fb; border: 1px solid #dbe4f7; border-radius: 999px;
}
.chip--brass { color: #7a5626; background: var(--brass-soft); border-color: #e2d1b6; }
.chip--plain { color: var(--muted); background: transparent; border-color: var(--line); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }

.panel {
  border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-ink) 100%);
  color: #fff; padding: clamp(26px, 3vw, 40px);
  position: relative; isolation: isolate;
}
.panel::after {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 320px; height: 320px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); z-index: -1;
}
.panel h3 { font-family: var(--font-serif); font-size: clamp(21px, 2.3vw, 26px); }
.panel p { margin-top: 12px; color: #c8d3ef; font-size: 15px; }
.panel__list { margin-top: 22px; display: grid; gap: 12px; }
.panel__list li { display: flex; gap: 12px; font-size: 14.5px; color: #dbe4f8; }
.panel__list li::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: #d8c39a;
}

.checklist { display: grid; gap: 16px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 34px; font-size: 15.5px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; border: 1px solid var(--brand);
  background:
    linear-gradient(45deg, transparent 46%, var(--brand) 46% 54%, transparent 54%) no-repeat 4px 9px / 12px 2px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -11px; left: 0;
  padding-right: 12px; background: var(--cream);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brass);
}
.section--cream .step::before { background: var(--cream); }
.step b { display: block; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Stats / quote band ---------- */
.quote {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center;
}
.quote blockquote {
  margin: 0; font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5;
}
.quote blockquote span { color: #d8c39a; }
.quote figcaption { margin-top: 18px; font-size: 13.5px; letter-spacing: .06em; color: #a9b7d6; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: clamp(15.5px, 1.6vw, 17px); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); font-weight: 400; color: var(--brand);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq details[open] summary::after { content: "−"; background: var(--brand); color: #fff; border-color: var(--brand); }
.faq__body { padding: 0 0 22px; max-width: 72ch; color: var(--muted); font-size: 15px; }
.faq__body > * + * { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-ink); color: #fff; position: relative; }
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--grad-gold);
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: clamp(40px, 5vw, 64px);
}
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 10px; color: #c9d6f6; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: #aab6d4; }
.site-footer a { color: #cfd9f2; }
.site-footer a:hover { color: #fff; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px); padding-block: clamp(44px, 5vw, 68px);
}
.footer__logo {
  display: inline-block; padding: 12px 16px; border-radius: 10px;
  background: #fff; box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .6);
}
.footer__logo img { height: 34px; width: auto; }
.footer__brand p { margin-top: 18px; font-size: 14px; line-height: 1.9; max-width: 34ch; }
.footer__col h2 {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #8595bb;
}
.footer__col ul { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.footer__contact { display: grid; gap: 12px; font-size: 14px; margin-top: 16px; }
.footer__contact .label { display: block; color: #8595bb; font-size: 12px; letter-spacing: .08em; }
.footer__contact strong { color: #fff; font-size: 18px; letter-spacing: .02em; font-weight: 600; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: #7d8cb0;
}
.footer__bottom a { color: #7d8cb0; }

/* ---------- Page header ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 5.4vw, 76px) clamp(36px, 4.6vw, 64px);
}
.page-hero__inner { position: relative; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.18; margin-top: 14px; max-width: 20ch; }
.page-hero p { margin-top: 18px; max-width: 62ch; color: var(--ink-2); font-size: clamp(15px, 1.5vw, 17px); }
.page-hero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }

/* ---------- Article / prose ---------- */
.prose { max-width: 76ch; }
.prose h2 {
  font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 2.2em; padding-top: .6em; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 19px; color: var(--brand-ink); }
.prose p { margin-top: 1em; color: var(--ink-2); font-size: 16px; }
.prose ul, .prose ol { margin-top: 1em; display: grid; gap: 10px; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15.5px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 28px; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.prose .note {
  margin-top: 1.4em; padding: 16px 18px; border-left: 3px solid var(--brass);
  background: var(--cream); color: var(--muted); font-size: 14.5px; border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius-m);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
thead th, tbody td:first-child { white-space: nowrap; }
caption { text-align: left; padding: 14px 16px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--cream); font-size: 13px; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--brand); }

/* ---------- Level tabs ---------- */
.levels { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--paper); }
.levels__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; background: var(--cream-2); }
.level-tab {
  flex: 1 1 auto; min-height: 44px; padding: 10px 18px;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.level-tab:hover { color: var(--brand); }
.level-tab[aria-selected="true"] { background: var(--paper); color: var(--brand); box-shadow: var(--shadow-s); }
.level-panel { padding: clamp(22px, 2.6vw, 34px); }
.level-panel[hidden] { display: none; }
.level-panel h3 { font-family: var(--font-serif); font-size: 22px; }
.level-panel .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.level-panel p { margin-top: 16px; color: var(--muted); font-size: 15px; }
.level-panel .cols { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.level-panel h4 { font-size: 15px; color: var(--brand-ink); }
.level-panel .cols ul { margin-top: 10px; display: grid; gap: 8px; }
.level-panel .cols li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); }
.level-panel .cols li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- Course layout ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.course-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; background: var(--cream); }
.aside-card h3 { font-family: var(--font-serif); font-size: 20px; }
.aside-card .facts { margin-top: 16px; display: grid; gap: 12px; font-size: 14px; }
.aside-card .facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line-strong); padding-bottom: 10px; }
.aside-card .facts dt { color: var(--muted); }
.aside-card .facts dd { margin: 0; font-weight: 600; text-align: right; }
.aside-card .btn { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-item .label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.contact-item .value { font-size: 17px; font-weight: 600; }
.contact-item .value small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }

.form { border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 2.6vw, 32px); background: var(--paper); box-shadow: var(--shadow-s); }
.form h2 { font-family: var(--font-serif); font-size: clamp(21px, 2.2vw, 26px); }
.form__grid { display: grid; gap: 18px; margin-top: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: #b3372c; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 48, 144, .12);
}
.field__hint { font-size: 12.5px; color: var(--muted); }
.field__error { font-size: 12.5px; color: #b3372c; min-height: 0; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: #b3372c; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.form__result {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-m);
  background: #eef2fb; border: 1px solid #dbe4f7; color: var(--ink-2); font-size: 14px;
}
.form__result[hidden] { display: none; }
.form__result b { color: var(--brand); }

.map {
  margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: linear-gradient(135deg, #f4f7fd, #eef2fb); padding: 22px; font-size: 14px; color: var(--ink-2);
}
.map svg { width: 100%; height: auto; }
.map figcaption { margin-top: 12px; color: var(--muted); font-size: 12.5px; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.notice {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-m);
  background: var(--brass-soft); color: #6f4d22; font-size: 14px;
}
.notice strong { color: #4d3517; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* reveal-on-scroll */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .course-layout { grid-template-columns: 1fr; }
  .course-aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { margin-left: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .brand img { height: 34px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .plate { width: min(74vw, 340px); }
  .hero__badge { right: max(-6px, 2vw); bottom: 2%; padding: 14px 16px; }
  .fact-strip__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .split, .quote, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .level-panel .cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding-block: clamp(44px, 9vw, 64px); }
  .hero__title { font-size: clamp(30px, 8.4vw, 40px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__meta { gap: 8px 18px; font-size: 12.5px; }
  .card { border-radius: var(--radius-m); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .course-aside { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  table { font-size: 14px; min-width: 600px; }
  th, td { padding: 11px 12px; }
  .table-wrap caption::after { content: "（左右滑动查看完整表格）"; color: var(--brass); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 54px; background: #fff; font-size: 15px; font-weight: 600;
  }
  .mobile-cta a.is-primary { background: var(--brand); color: #fff; }
  .site-footer { padding-bottom: 62px; }
  body.drawer-open { overflow: hidden; }
}

@media (max-width: 380px) {
  .plate { width: min(80vw, 280px); }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .drawer, .mobile-cta, .cta-band__actions, .site-footer { display: none !important; }
  body { color: #000; }
  .card, .form, .levels { break-inside: avoid; }
}

/* ==========================================================================
   新闻活动 / 内容列表 / 文章详情
   ========================================================================== */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.news-card__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(140deg, #eef2fb 0%, #f7f4ee 100%);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media--text {
  display: grid; place-items: center; aspect-ratio: 16 / 8;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 34%, transparent 35%),
    conic-gradient(from 200deg, #eef2fb, #f8f5ef 26%, #eef2fb 55%, #f8f5ef 78%, #eef2fb);
}
.news-card__media--text span {
  font-family: var(--font-serif); font-size: 19px; letter-spacing: .26em;
  color: var(--brand); opacity: .28;
}
.news-card__media--video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 61, 0) 45%, rgba(7, 26, 61, .45) 100%);
}
.news-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(7, 26, 61, .84); color: #fff;
  font-size: 11.5px; letter-spacing: .08em;
}
.news-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  color: #fff; font-size: 26px;
}
.news-play span {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.news-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.news-card h3 { font-family: var(--font-serif); font-size: 19px; line-height: 1.45; }
.news-card p { font-size: 14.5px; color: var(--muted); }
.news-card__foot { margin-top: auto; padding-top: 14px; }
.news-empty {
  padding: clamp(38px, 5vw, 56px) 24px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-l);
  background: var(--cream); color: var(--muted);
}
.news-empty b { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--font-serif); font-size: 18px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--ink-2);
}
.filter-row a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.article { max-width: 820px; margin-inline: auto; }
.article__title { margin-top: 16px; font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.28; }
.article__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.article__cover { margin-top: 26px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.article__cover img { width: 100%; height: auto; }
.article__body { margin-top: 26px; }
.article__body h2 {
  font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 24px);
  margin-top: 1.8em;
}
.article__body h2:first-child { margin-top: 0; }
.article__body p { margin-top: 1em; color: var(--ink-2); }
.article__body ul { margin-top: 1em; display: grid; gap: 8px; }
.article__body li { position: relative; padding-left: 18px; color: var(--ink-2); }
.article__body li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.article__foot {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.video-frame {
  position: relative; aspect-ratio: 16 / 9; margin-top: 26px;
  background: #000; border-radius: var(--radius-l); overflow: hidden;
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 厨艺提升页的模块卡 */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.module {
  padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  display: flex; flex-direction: column; gap: 10px;
}
.module__no { font-family: var(--font-serif); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.module h3 { font-family: var(--font-serif); font-size: 19px; }
.module p { font-size: 14.5px; color: var(--muted); }
.module .tag-list { margin-top: auto; padding-top: 12px; }
.module .chip { font-size: 12px; }

/* 对比：适合 / 不适合 */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 26px); }
.fit { padding: 24px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--paper); }
.fit--no { background: #fdf7f5; border-color: #ecd9d2; }
.fit h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.fit h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.fit--no h3::before { background: #b3372c; }
.fit ul { margin-top: 14px; display: grid; gap: 10px; }
.fit li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); }
.fit li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }

@media (max-width: 640px) {
  .fit-grid { grid-template-columns: 1fr; }
  .news-card h3 { font-size: 18px; }
}


/* ==========================================================================
   实拍图片 · 渐变遮罩与照片版块
   ========================================================================== */
.hero--photo { background: var(--brand-ink); }
.hero--photo .hero__bg { position: absolute; inset: 0; }
.hero--photo .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero--photo .hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(4, 20, 48, .90) 0%, rgba(4, 20, 48, .74) 36%, rgba(4, 20, 48, .34) 64%, rgba(4, 20, 48, .10) 100%),
    linear-gradient(180deg, rgba(4, 20, 48, .25) 0%, rgba(4, 20, 48, .18) 55%, rgba(4, 20, 48, .55) 100%),
    linear-gradient(200deg, rgba(201, 164, 92, .16) 0%, rgba(201, 164, 92, 0) 46%);
}
.hero--photo .hero__inner { position: relative; z-index: 2; color: #fff; padding-block: clamp(56px, 8vw, 112px); }
.hero--photo .hero__title { color: #fff; }
.hero--photo .hero__title em { color: #e6cf9f; }
.hero--photo .hero__sub { color: #dfe7f7; }
.hero--photo .hero__meta { color: #c7d4ee; border-top-color: rgba(255, 255, 255, .22); }
.hero--photo .hero__meta span::before { background: #e6cf9f; }
.hero--photo .eyebrow { color: #e6cf9f; }
.hero--photo .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero--photo .btn--ghost:hover { background: #fff; color: var(--brand-ink); border-color: #fff; }
.hero--photo .hero__actions { margin-top: 30px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px;
}
.hero__chips span {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #eef2fb; font-size: 13px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* 页面头：照片 + 渐变 */
.page-hero--photo { position: relative; overflow: hidden; background: var(--brand-ink); border-bottom: 0; padding-block: clamp(52px, 7vw, 96px); }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.page-hero--photo .page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(94deg, rgba(4, 20, 48, .94) 0%, rgba(4, 20, 48, .82) 42%, rgba(4, 20, 48, .42) 74%, rgba(4, 20, 48, .2) 100%),
    linear-gradient(180deg, rgba(4, 20, 48, .3), rgba(4, 20, 48, .5));
}
.page-hero--photo .page-hero__inner { position: relative; z-index: 2; color: #fff; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo p { color: #e2e9f7; }
.page-hero--photo .breadcrumb { color: rgba(255, 255, 255, .72); }
.page-hero--photo .breadcrumb li + li::before { color: rgba(255, 255, 255, .4); }
.page-hero--photo .eyebrow { color: #e6cf9f; }
.page-hero--photo .chip {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #f2f5fd;
}
.page-hero--photo .chip--brass { background: rgba(230, 207, 159, .18); border-color: rgba(230, 207, 159, .4); color: #f3e3c2; }

/* 图片卡（带底部渐变与图注） */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.photo-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-l); background: var(--brand-ink);
  box-shadow: var(--shadow-s);
}
.photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 20, 48, 0) 36%, rgba(4, 20, 48, .55) 70%, rgba(4, 20, 48, .92) 100%);
}
.photo-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px; color: #fff; font-size: 14px; line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.photo-card figcaption span { display: block; font-size: 12px; color: rgba(255, 255, 255, .72); margin-top: 2px; letter-spacing: .04em; }
.photo-card--wide img { height: auto; aspect-ratio: 16 / 7; }

/* 图片 + 文案双栏 */
.photo-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.photo-split .photo-stack { display: grid; gap: 14px; }

/* 课程卡顶部图 */
.course-photo { position: relative; overflow: hidden; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--brand-ink); }
.course-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.course-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 48, 0) 40%, rgba(4, 20, 48, .55) 100%);
}
.course-photo b {
  position: absolute; left: 18px; bottom: 14px; z-index: 2;
  color: #fff; font-family: var(--font-serif); font-size: 18px; letter-spacing: .02em;
}

@media (max-width: 900px) {
  .photo-split { grid-template-columns: 1fr; }
  .hero--photo .hero__bg img { object-position: 58% 42%; }
  .hero--photo .hero__inner { padding-block: clamp(44px, 10vw, 72px); }
  .photo-card img { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .hero--photo .hero__scrim {
    background:
      linear-gradient(180deg, rgba(4, 20, 48, .62) 0%, rgba(4, 20, 48, .82) 45%, rgba(4, 20, 48, .93) 100%);
  }
}

/* ==========================================================================
   栏目体系 · 学校课程 / 智慧烹饪 / 定制服务 / 上门培训 / 菜品研发
   视觉语言：藏蓝纵深渐变 + 黄铜暖光 + 图纸感网格
   ========================================================================== */

/* ---------- 导航密度（九个栏目） ---------- */
.nav__list { gap: clamp(8px, 1vw, 14px); }
.nav__link { font-size: 13.5px; }

/* ---------- 通用 ---------- */
.gold-rule { height: 1px; background: var(--grad-gold); border: 0; margin: clamp(28px, 4vw, 46px) 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-500), var(--gold-300));
  color: #4a3616; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4a3616; }
.badge--quiet {
  background: #eef2fb; color: var(--brand); border: 1px solid #dbe4f7;
}
.badge--quiet::before { background: var(--brand); }
.badge--on-photo { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .34); }
.badge--on-photo::before { background: var(--gold-300); }

/* ---------- 学校课程：五个大类 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.course-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line-strong); }
.course-card__media { position: relative; overflow: hidden; background: var(--navy-900); }
.course-card__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .5s ease; }
.course-card:hover .course-card__media img { transform: scale(1.03); }
.course-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 48, 0) 34%, rgba(4, 20, 48, .62) 74%, rgba(4, 20, 48, .94) 100%);
}
.course-card__tags { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 8px; }
.course-card__title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
.course-card__title b { display: block; font-family: var(--font-serif); font-size: 21px; line-height: 1.3; }
.course-card__title span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-top: 4px; }
.course-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.course-card__body p { font-size: 14.5px; color: var(--muted); }
.course-card__levels { margin-top: 2px; display: flex; flex-wrap: wrap; gap: 6px; }
.course-card__levels .chip { font-size: 12px; padding: 4px 10px; }
.course-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.course-card__price b { font-family: var(--font-serif); font-size: 22px; color: var(--brand); }
.course-card__price span { font-size: 12.5px; color: var(--muted); }

/* ---------- 收费一览表 ---------- */
.price-table td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table thead th { background: var(--grad-cream); }
.price-table tbody th {
  text-align: left; font-family: var(--font-serif); font-size: 15px;
  background: var(--cream); color: var(--brand-ink); white-space: nowrap;
}
.price-table .num { text-align: right; font-weight: 600; color: var(--ink-2); }
.price-table .sub { color: var(--brass); font-weight: 700; }
.price-table tbody tr.total td, .price-table tbody tr.total th { border-top: 1px solid var(--line-strong); }

/* ---------- 等级说明卡 ---------- */
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 22px); }
.level-card {
  padding: 22px 20px; border-radius: var(--radius-l);
  border: 1px solid var(--line); background: var(--grad-paper);
}
.level-card .tag { font-family: var(--font-serif); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.level-card h3 { margin-top: 8px; font-family: var(--font-serif); font-size: 19px; }
.level-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- 深色渐变带 ---------- */
.band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 82% 0%, rgba(201, 164, 92, .2) 0%, rgba(201, 164, 92, 0) 60%),
    var(--grad-ink);
  color: #fff; padding-block: clamp(44px, 6vw, 84px);
}
.band__inner { position: relative; z-index: 2; display: grid; gap: clamp(26px, 4vw, 52px); align-items: center; grid-template-columns: 1.15fr .85fr; }
.band h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.3; }
.band p { margin-top: 14px; color: #ccd7f0; max-width: 56ch; }
.band .eyebrow { color: var(--gold-300); }
.band ul { margin-top: 20px; display: grid; gap: 12px; }
.band ul li { display: flex; gap: 12px; font-size: 14.5px; color: #dbe4f8; }
.band ul li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--gold-400); }
.band__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.band__media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }

/* ---------- 智慧烹饪：能力卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.feature-card {
  position: relative; overflow: hidden; padding: 26px 24px;
  border-radius: var(--radius-l); border: 1px solid var(--line);
  background: var(--grad-paper);
}
.feature-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold);
}
.feature-card__no { font-family: var(--font-serif); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.feature-card h3 { margin-top: 10px; font-family: var(--font-serif); font-size: 20px; }
.feature-card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.feature-card ul { margin-top: 14px; display: grid; gap: 8px; }
.feature-card li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.feature-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ---------- 定制服务：模块列表（复用 .module，加深描边） ---------- */
.module { background: var(--grad-paper); }
.module:hover { border-color: var(--line-strong); box-shadow: var(--shadow-s); }

/* ---------- 后台发布内容区块 ---------- */
.channel-list { display: grid; gap: clamp(16px, 2vw, 24px); }
.channel-empty {
  padding: clamp(30px, 4vw, 44px) 24px; border-radius: var(--radius-l);
  border: 1px dashed var(--line-strong); background: var(--cream); color: var(--muted);
  text-align: center; font-size: 14.5px;
}
.channel-empty b { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--font-serif); font-size: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .band__inner { grid-template-columns: 1fr; }
  .band__media { order: -1; }
}
@media (max-width: 640px) {
  .course-card__title b { font-size: 19px; }
  .band { padding-block: clamp(36px, 8vw, 56px); }
}

/* ==========================================================================
   顶部工具条 · 主导航二级菜单（学校课程）
   ========================================================================== */
.utility-bar {
  background: var(--grad-ink);
  color: #c4d0ec;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 38px;
}
.utility-bar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.utility-bar__item::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-400); flex: 0 0 auto;
}
.utility-bar__right { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.utility-bar a { color: #dfe7f7; }
.utility-bar a:hover { color: #fff; }
.utility-bar__login {
  padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: 12px;
}
.utility-bar__login:hover { background: rgba(255, 255, 255, .12); }
.utility-bar__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }

.nav__item { position: relative; }
.nav__item--has-sub > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__item--has-sub > .nav__link::before {
  content: ""; order: 2; width: 5px; height: 5px; margin-left: 2px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: -14px; z-index: 95;
  min-width: 196px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 22px 44px -28px rgba(7, 26, 61, .5);
  display: none;
}
.nav__sub::before {
  content: ""; position: absolute; inset: -9px -4px auto -4px; height: 10px;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { display: block; }
.nav__sub a {
  display: block; padding: 8px 12px; border-radius: var(--radius-s);
  font-size: 13.5px; color: var(--ink-2); white-space: nowrap;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--cream); color: var(--brand); font-weight: 600; }
.nav__sub .nav__sub-head {
  padding: 4px 12px 8px; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass);
}

/* 移动端抽屉中的二级列表 */
.drawer__group {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 8px; font-size: 16px; color: var(--ink); font-weight: 600;
}
.drawer__sub { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.drawer__sub a {
  padding: 9px 0 9px 14px; font-size: 14.5px; color: var(--ink-2);
  border-left: 2px solid var(--line); border-bottom: 0;
}
.drawer__sub a:hover { border-left-color: var(--brand); color: var(--brand); }

@media (max-width: 900px) {
  .utility-bar__right > *:not(.utility-bar__login) { display: none; }
  .utility-bar__inner { min-height: 34px; }
}

/* ---------- 门头照封面：主体（门头与招牌）保持在画面右侧 ---------- */
.page-hero__bg--right img { object-position: 76% 48%; }
.hero--photo .hero__bg--right img, .hero--photo img.hero__photo--right { object-position: 74% 46%; }
@media (max-width: 900px) {
  .page-hero__bg--right img { object-position: 72% 50%; }
  .hero--photo img.hero__photo--right { object-position: 70% 46%; }
}

/* ---------- 门头照页面首屏：文字收在左侧，右侧留出门头与招牌 ---------- */
.page-hero--right .page-hero__scrim {
  background:
    linear-gradient(94deg, rgba(4, 20, 48, .96) 0%, rgba(4, 20, 48, .93) 34%, rgba(4, 20, 48, .74) 50%, rgba(4, 20, 48, .38) 64%, rgba(4, 20, 48, .14) 82%, rgba(4, 20, 48, .10) 100%),
    linear-gradient(180deg, rgba(4, 20, 48, .28), rgba(4, 20, 48, .46));
}
.page-hero--right h1 { font-size: clamp(27px, 3.1vw, 42px); max-width: 600px; }
.page-hero--right p { max-width: 560px; }
.page-hero--right .page-hero__meta, .page-hero--right .breadcrumb, .page-hero--right .badge { max-width: 560px; }
@media (max-width: 900px) {
  .page-hero--right h1 { max-width: 100%; }
  .page-hero--right p { max-width: 100%; }
}
