:root {
  --red: #c86910;
  --red-dark: #8e4708;
  --ink: #35291f;
  --muted: #756b5e;
  --line: #e3d4bd;
  --paper: #fff9ef;
  --cream: #fff1d7;
  --green: #1f8a5b;
  --mint: #dff5ea;
  --blue: #2577c8;
  --gold: #f4a43a;
  --shadow: 0 18px 50px rgba(33, 29, 24, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button, input { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 230, 238, .75);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red);
  color: white;
  font-weight: 800;
}

.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #334252;
  font-size: 15px;
}

.nav a:hover { color: var(--red); }

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--red);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 90px);
  overflow: hidden;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(44px, 7vw, 90px) clamp(20px, 6vw, 90px);
}

.home-hero-image,
.home-hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image { object-fit: cover; }

.home-hero-layer {
  background:
    linear-gradient(90deg, rgba(246, 248, 251, .98) 0%, rgba(246, 248, 251, .9) 44%, rgba(246, 248, 251, .36) 100%),
    linear-gradient(0deg, rgba(246, 248, 251, .92) 0%, rgba(246, 248, 251, 0) 34%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 760px) minmax(300px, 380px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.home-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.title-mobile {
  display: none;
}

.home-hero-copy p {
  max-width: 650px;
  color: #425162;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.home-status {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1d6;
  color: #9b6200;
  font-weight: 900;
  font-size: 13px;
}

.home-status h2 {
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.home-status p {
  color: var(--muted);
  line-height: 1.75;
}

.status-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.status-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--red);
  font-weight: 800;
}

.hero-image, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 248, 251, .98) 0%, rgba(246, 248, 251, .88) 38%, rgba(246, 248, 251, .22) 82%),
    linear-gradient(0deg, rgba(246, 248, 251, .92) 0%, rgba(246, 248, 251, 0) 32%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #425162;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

button.primary, button.secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}

.link-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 10px;
}

.link-button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 24px rgba(181, 22, 34, .24);
}

.link-button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 24px rgba(181, 22, 34, .24);
}

button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(22px, 5vw, 64px);
  z-index: 2;
  width: min(320px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 22px;
}

.hero-panel p { margin: 0; color: var(--muted); line-height: 1.65; }

.section-pad {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 6vw, 90px);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72)),
    url("assets/library.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.map-section h1,
.dorm h1,
.food h1,
.growth h1,
.parents h1,
.checklist h1 {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 24px;
  align-items: start;
  background: white;
}

.quick-search h2, .section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head p { color: var(--muted); line-height: 1.7; }
.section-head.compact { margin-bottom: 22px; }

.key-points {
  background: #fbfcfe;
}

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

.key-grid article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.key-grid svg {
  color: var(--red);
}

.key-grid strong {
  font-size: 22px;
}

.key-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 16px;
}

.search-box svg { color: var(--muted); margin-right: 10px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }

.search-results {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
}

.result-chip, .chips span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--cream);
  color: #684200;
  font-size: 13px;
}

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

.phase-section,
.stage-helper { background: #fbfcfe; }

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

.phase-grid article {
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

.phase-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.phase-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.phase-grid p {
  min-height: 76px;
  color: var(--muted);
  line-height: 1.7;
}

.phase-grid a {
  color: var(--red);
  font-weight: 900;
}

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

.stage-grid article {
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

.stage-grid svg {
  color: var(--red);
  width: 28px;
  height: 28px;
}

.stage-grid h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.stage-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.stage-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stage-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--cream);
  color: #684200;
  font-size: 13px;
  font-weight: 900;
}

.week-section {
  background: white;
}

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

.week-timeline article {
  position: relative;
  min-height: 236px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.week-timeline span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1d6;
  color: #9b6200;
  font-size: 13px;
  font-weight: 900;
}

.week-timeline h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.week-timeline p {
  min-height: 76px;
  color: var(--muted);
  line-height: 1.7;
}

.week-timeline a {
  color: var(--red);
  font-weight: 900;
}

.home-modules { background: white; }

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

.module-card {
  min-height: 164px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px 16px;
  align-content: center;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(181, 22, 34, .28);
}

.module-card svg {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--red);
}

.module-card strong {
  font-size: 22px;
}

.module-card span {
  color: var(--muted);
  line-height: 1.55;
}

.campus-preview { background: #fbfcfe; }

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
  grid-template-rows: repeat(3, 180px);
  gap: 14px;
}

.preview-large,
.preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: white;
}

.preview-large { grid-row: span 3; }

.preview-large img,
.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.preview-large:hover img,
.preview-card:hover img { transform: scale(1.035); }

.preview-large::after,
.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 18, 28, .72), rgba(9, 18, 28, 0) 64%);
}

.preview-large div,
.preview-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.preview-large strong,
.preview-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 5px;
}

.preview-large span,
.preview-card span {
  color: rgba(255,255,255,.82);
}

.source-strip {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.source-strip h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.source-strip > p {
  margin: 0;
  color: #695a44;
  line-height: 1.85;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card svg { color: var(--red); }
.feature-card h3 { margin: 18px 0 10px; font-size: 22px; }
.feature-card p { color: var(--muted); line-height: 1.65; }
.feature-card a { color: var(--red); font-weight: 800; }

.arrival { background: #fbfcfe; }

.life-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.78)),
    url("assets/service-lockers.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.life-hero h1 {
  margin-bottom: 14px;
  max-width: 840px;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.life-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.life-hero-card {
  padding: 24px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.life-hero-card svg { color: var(--red); }
.life-hero-card strong { display: block; margin: 16px 0 8px; font-size: 24px; }
.life-hero-card span { color: var(--muted); line-height: 1.65; }

.life-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--ink);
}

.life-dashboard article {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .14);
}

.life-dashboard svg { color: var(--gold); }
.life-dashboard span { display: block; margin-top: 18px; color: rgba(255, 255, 255, .66); font-size: 13px; }
.life-dashboard strong { display: block; margin-top: 6px; font-size: 22px; line-height: 1.25; }
.life-dashboard p { margin: 10px 0 0; color: rgba(255, 255, 255, .68); line-height: 1.55; }

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

.life-grid article {
  min-height: 268px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.life-grid svg { color: var(--red); }
.life-grid h3 { margin: 18px 0 10px; font-size: 22px; }
.life-grid p { color: var(--muted); line-height: 1.7; }
.life-grid a { color: var(--red); font-weight: 900; }

.promotion-risk {
  margin-top: 42px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 38, 57, .08);
}

.promotion-risk-head {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: 28px;
}

.promotion-risk-head h3 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 38px);
}

.promotion-risk-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.risk-guide-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.risk-guide-grid svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.risk-guide-grid h4 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.risk-guide-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.promotion-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.promotion-sources a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.promotion-sources span {
  color: var(--muted);
  font-size: 13px;
}

.promotion-sources strong {
  font-size: 16px;
}

.promotion-sources svg {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--red);
}

.parcel-route-head {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: 28px;
  margin: 42px 0 18px;
}

.parcel-route-head h3 {
  margin: 6px 0 0;
  font-size: clamp(25px, 3vw, 36px);
}

.parcel-route-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.parcel-route-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.parcel-route-gallery li,
.parcel-route-gallery figure {
  min-width: 0;
  margin: 0;
}

.parcel-route-gallery figure {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 38, 57, .09);
}

.parcel-route-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #edf1f5;
}

.parcel-route-gallery figcaption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 84px;
  padding: 14px 16px 16px;
  color: var(--muted);
  line-height: 1.55;
}

.parcel-route-gallery figcaption span {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.life-flow {
  background: white;
}

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

.flow-grid article {
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.flow-grid h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.flow-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.flow-grid li + li {
  margin-top: 8px;
}

.life-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.life-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.life-note > p {
  margin: 0;
  color: #695a44;
  line-height: 1.85;
}

.arrival-hero {
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
  min-height: 520px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.arrival-hero > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.arrival-hero-copy {
  align-self: center;
  padding: clamp(34px, 6vw, 76px);
}

.arrival-hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 1.06;
  letter-spacing: 0;
}

.arrival-hero-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.arrival-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--ink);
}

.arrival-dashboard article {
  min-height: 172px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .14);
}

.arrival-dashboard svg { color: var(--gold); }
.arrival-dashboard span { display: block; margin-top: 18px; color: rgba(255, 255, 255, .66); font-size: 13px; }
.arrival-dashboard strong { display: block; margin-top: 6px; font-size: 24px; }
.arrival-dashboard p { margin: 10px 0 0; color: rgba(255, 255, 255, .68); line-height: 1.55; }

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

.route-flow article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.route-flow span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff1d6;
  color: #9b6200;
  font-weight: 900;
  font-size: 13px;
}

.route-flow h3 { margin: 18px 0 10px; font-size: 22px; }
.route-flow p { margin: 0; color: var(--muted); line-height: 1.7; }

.arrival-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  background: #fbfcfe;
}

.arrival-split h2,
.transport h2,
.parent-note h2,
.faq h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.material-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 64px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  line-height: 1.5;
}

.material-list input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }

.notice-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(244, 181, 66, .45);
  background: var(--cream);
}

.notice-card svg { color: #a86400; }
.notice-card h3 { margin: 16px 0 10px; font-size: 24px; }
.notice-card p { margin: 0; color: #6d593a; line-height: 1.75; }

.transport { background: white; }

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

.transport-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.transport-grid svg { color: var(--blue); }
.transport-grid h3 { margin: 18px 0 10px; font-size: 22px; }
.transport-grid p { margin: 0; color: var(--muted); line-height: 1.7; }

.parent-note {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(520px, 1.15fr);
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.parent-note p { color: #695a44; line-height: 1.85; }

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

.parent-mini-grid span {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(157, 110, 18, .18);
  color: var(--muted);
  line-height: 1.55;
}

.parent-mini-grid svg { color: var(--red); }
.parent-mini-grid strong { color: var(--ink); font-size: 22px; }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

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

.step {
  padding: 22px;
  min-height: 236px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.step h3 { margin: 18px 0 10px; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-rows: auto minmax(460px, 72vh);
  gap: 16px;
}

.map-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.78)),
    url("assets/map-xianlin.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.map-hero h1 {
  margin-bottom: 14px;
  max-width: 840px;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.map-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.map-shell.enhanced {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.map-toolbar, .food-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-toolbar { grid-column: 1 / -1; }

.map-open-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.map-open-link svg { width: 16px; height: 16px; }

.pill {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.pill.active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.map-stage {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eceff2;
  padding: 14px;
}

.map-frame {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.map-frame > a { display: block; }

.map-stage img {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  height: auto;
  margin: 0 auto;
}

.route-map { background: white; }

.route-strip {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  gap: 10px;
  align-items: center;
}

.route-strip > svg {
  justify-self: center;
  color: var(--muted);
}

.route-strip article {
  min-height: 170px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.route-strip article svg { color: var(--red); }
.route-strip strong { display: block; margin: 16px 0 8px; font-size: 22px; }
.route-strip span { color: var(--muted); line-height: 1.55; }

.map-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--cream);
}

.map-related a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(157, 110, 18, .18);
  background: white;
}

.map-related svg { color: var(--red); }
.map-related strong { font-size: 22px; }
.map-related span { color: var(--muted); line-height: 1.55; }

.next-steps {
  background: #fbfcfe;
}

.next-steps .section-head {
  margin-bottom: 22px;
}

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

.next-grid a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.next-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(181, 22, 34, .26);
}

.next-grid svg { color: var(--red); }
.next-grid strong { font-size: 22px; }
.next-grid span { color: var(--muted); line-height: 1.55; }

.tab-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.tabs.vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-align: left;
  padding: 0 14px;
}

.tab.active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.info-card, .food-card {
  display: grid;
  grid-template-columns: minmax(280px, 48%) 1fr;
  gap: 26px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.info-card img, .food-media #foodImage {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper);
}

.info-card > div, .food-card-copy {
  padding: 18px 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.info-card h3, .food-card h3 { margin: 18px 0 12px; font-size: 30px; }
.info-card p, .food-card p { color: var(--muted); line-height: 1.8; }

.dorm-card {
  grid-template-columns: minmax(320px, 52%) 1fr;
  align-items: start;
}

.dorm-card .dorm-media {
  padding: 0;
}

.dorm-media figure {
  margin: 0;
}

.dorm-media #dormImage {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 0;
  object-fit: cover;
}

.dorm-media figcaption {
  min-height: 42px;
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.dorm-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.dorm-gallery button {
  min-height: 58px;
  border: 2px solid transparent;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  opacity: .72;
}

.dorm-gallery button[aria-pressed="true"] {
  border-color: var(--red);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(181, 22, 34, .12);
}

.dorm-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
}

.dorm-facts div {
  min-width: 0;
}

.dorm-facts dd {
  line-height: 1.45;
}

.dorm-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.dorm-source svg {
  width: 17px;
  height: 17px;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

dt { color: var(--muted); font-size: 13px; }
dd { margin: 4px 0 0; font-weight: 900; }

.food { background: white; }
.food-switch { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.food-card {
  grid-template-columns: minmax(340px, 52%) 1fr;
  align-items: start;
}

.food-card .food-media {
  min-width: 0;
  padding: 0;
}

.food-media figure {
  margin: 0;
}

.food-media #foodImage {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 0;
  object-fit: cover;
}

.food-media figcaption {
  min-height: 42px;
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.food-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.food-facts dd {
  line-height: 1.45;
}

.food-chip-label {
  margin: 18px 0 0;
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 800;
}

.food-chip-label + .chips {
  margin-top: 10px;
}

.food-history {
  background: var(--paper);
}

.food-history-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.food-history-grid article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.food-history-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 26px;
  font-weight: 900;
}

.food-history-grid strong {
  display: block;
  font-size: 17px;
}

.food-history-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.food-official {
  background: var(--paper);
}

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

.food-source-grid > a {
  display: block;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.food-source-grid > a:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 22, 34, .34);
  box-shadow: 0 12px 28px rgba(27, 38, 49, .08);
}

.food-source-grid span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.food-source-grid strong {
  display: block;
  margin-top: 16px;
  font-size: 20px;
}

.food-source-grid p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.food-source-grid em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.food-source-grid svg {
  width: 15px;
  height: 15px;
}

.food-scenarios {
  background: var(--paper);
}

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

.scenario-grid article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.scenario-grid svg {
  color: var(--red);
}

.scenario-grid span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.scenario-grid h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.scenario-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.venue-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--red);
  font-weight: 800;
  line-height: 1.5;
}

.venue-card-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.sports-venue-list {
  display: grid;
  gap: 20px;
}

.sports-venue-card {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 38, 57, .07);
}

.sports-venue-copy {
  padding: 28px;
  align-self: center;
}

.sports-venue-copy > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.sports-venue-copy h3 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.sports-venue-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sports-venue-gallery {
  display: grid;
  align-self: stretch;
  gap: 1px;
  min-width: 0;
  background: var(--line);
}

.sports-venue-gallery.two-images,
.sports-venue-gallery.four-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sports-venue-gallery.one-image {
  grid-template-columns: 1fr;
}

.sports-venue-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #edf1f5;
}

.sports-venue-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sports-venue-gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 31, 45, .82);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}

.sports-venue-card.compact-card .sports-venue-gallery img {
  aspect-ratio: 16 / 8;
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  background: white;
}

.city-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.city-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.city-hero-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.city-hero-card svg {
  color: var(--gold);
}

.city-hero-card strong {
  font-size: 26px;
}

.city-hero-card span {
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.city-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--paper);
}

.city-cards article,
.city-route-grid article {
  min-height: 284px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

.city-cards svg {
  color: var(--red);
}

.city-cards span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.city-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.city-cards p,
.city-route-grid p,
.city-note > p {
  color: var(--muted);
  line-height: 1.75;
}

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

.city-route-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.city-route-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.city-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.city-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

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

.growth-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.growth-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.growth-grid h3, .growth-grid p { margin-left: 20px; margin-right: 20px; }
.growth-grid h3 { margin-top: 20px; }
.growth-grid p { margin-bottom: 24px; color: var(--muted); line-height: 1.7; }

.growth-roadmap {
  background: #fbfcfe;
}

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

.roadmap-grid article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.roadmap-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.roadmap-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.roadmap-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.growth-choices {
  background: white;
}

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

.choice-layout article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.choice-layout svg {
  color: var(--red);
}

.choice-layout h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.choice-layout p {
  color: var(--muted);
  line-height: 1.75;
}

.growth-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.growth-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.growth-note > p {
  color: #695a44;
  line-height: 1.85;
}

.training-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  background: white;
}

.training-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.training-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.training-summary {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.training-summary svg { color: var(--gold); }
.training-summary strong { font-size: 26px; }
.training-summary span { color: rgba(255, 255, 255, .72); line-height: 1.7; }

.training-dashboard,
.training-supplies {
  background: #fbfcfe;
}

.training-dashboard,
.training-flow,
.supply-panel-grid,
.health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.training-dashboard article,
.training-flow article,
.supply-panel-grid article,
.health-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.training-dashboard svg,
.supply-panel-grid svg { color: var(--red); }

.training-dashboard span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.training-dashboard strong,
.supply-panel-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.training-dashboard p,
.training-flow p,
.supply-panel-grid p,
.health-grid p,
.hike-card p,
.hike-card li,
.training-note > p {
  color: var(--muted);
  line-height: 1.75;
}

.training-timeline,
.training-health {
  background: white;
}

.training-flow article {
  background: var(--paper);
}

.training-flow span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.training-flow h3,
.health-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.training-hike {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: var(--cream);
}

.training-hike h2,
.training-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.hike-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(157, 110, 18, .2);
  background: white;
}

.hike-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.hike-card li + li {
  margin-top: 8px;
}

.supply-panel-grid article {
  min-height: 280px;
}

.health-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.health-grid article {
  min-height: 190px;
  background: var(--paper);
}

.training-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: white;
}

.training-note .eyebrow,
.training-note h2 {
  color: white;
}

.training-note > p {
  color: rgba(255, 255, 255, .72);
}

.health-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  background: white;
}

.health-hero h1 {
  max-width: 840px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.health-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.health-hero-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.health-hero-card svg { color: var(--gold); }
.health-hero-card strong { font-size: 26px; }
.health-hero-card span { color: rgba(255, 255, 255, .72); line-height: 1.7; }

.health-dashboard,
.health-run,
.health-clinic {
  background: #fbfcfe;
}

.health-dashboard,
.run-grid,
.insurance-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.health-dashboard article,
.run-grid article,
.insurance-steps article,
.venue-grid article,
.clinic-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.health-dashboard svg,
.venue-grid svg,
.clinic-grid svg { color: var(--red); }

.health-dashboard span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.health-dashboard strong,
.clinic-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.health-dashboard p,
.run-grid p,
.venue-grid p,
.clinic-grid p,
.insurance-steps p,
.health-note > p {
  color: var(--muted);
  line-height: 1.75;
}

.run-grid span,
.insurance-steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.run-grid h3,
.insurance-steps h3,
.venue-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.health-venue {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: white;
}

.health-venue h2,
.health-insurance h2,
.health-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

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

.venue-grid article {
  background: var(--paper);
}

.health-insurance {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: var(--cream);
}

.health-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: white;
}

.health-note .eyebrow,
.health-note h2 { color: white; }
.health-note > p { color: rgba(255, 255, 255, .72); }

.official-links {
  background: #fbfcfe;
}

.parents {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 28px;
  background: var(--cream);
}

.parent-copy p { color: #695a44; line-height: 1.8; }

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

.parent-grid div {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(157, 110, 18, .2);
  border-radius: 8px;
  background: white;
}

.parent-grid svg { color: var(--red); }
.parent-grid strong { font-size: 22px; }
.parent-grid span { color: var(--muted); }

.parent-action {
  background: white;
}

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

.parent-action-grid article,
.adapt-grid article,
.boundary-list article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.parent-action-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.parent-action-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.parent-action-grid p,
.money-card p,
.money-card li,
.adapt-grid span,
.boundary-list p {
  color: var(--muted);
  line-height: 1.75;
}

.parent-money {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: var(--cream);
}

.parent-money h2,
.parent-boundary h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.money-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(157, 110, 18, .2);
  background: white;
}

.money-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.money-card li + li {
  margin-top: 8px;
}

.parent-adapt {
  background: #fbfcfe;
}

.adapt-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adapt-grid svg {
  color: var(--red);
}

.adapt-grid strong {
  font-size: 22px;
}

.parent-boundary {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: white;
}

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

.boundary-list article {
  min-height: 180px;
  background: var(--paper);
}

.boundary-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
}

.dorm-supplies {
  background: #fbfcfe;
}

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

.supply-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.supply-grid svg { color: var(--red); }
.supply-grid strong { font-size: 22px; }
.supply-grid span { color: var(--muted); line-height: 1.65; }

.dorm-first-night {
  background: white;
}

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

.first-night-grid article,
.utility-grid article,
.rule-list article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.first-night-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.first-night-grid h3,
.utility-grid h3 {
  margin: 18px 0 10px;
  font-size: 23px;
}

.first-night-grid p,
.utility-grid p,
.rule-list span,
.dorm-note > p {
  color: var(--muted);
  line-height: 1.75;
}

.dorm-utilities {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
  align-items: start;
  background: #fbfcfe;
}

.dorm-utilities h2,
.dorm-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.utility-grid article {
  min-height: 260px;
}

.utility-grid svg,
.rule-list svg { color: var(--red); }

.dorm-rules {
  background: white;
}

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

.rule-list article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  background: var(--paper);
}

.rule-list strong {
  font-size: 22px;
}

.dorm-note {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 24px;
  align-items: center;
  background: var(--cream);
}

.checklist { background: white; }

.progress {
  width: min(520px, 100%);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width .2s ease;
}

.check-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.check-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.check-group h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 24px;
}

.check-group h2 svg {
  color: var(--red);
}

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

.check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  line-height: 1.55;
}

.check-grid input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--red);
}

.clubs-hero .content-hero-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.baituan-facts,
.club-count-grid,
.club-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.baituan-facts article,
.club-count-grid article,
.club-check-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.baituan-facts span,
.club-count-grid strong {
  display: block;
  color: var(--red);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  line-height: 1;
}

.baituan-facts svg {
  width: 44px;
  height: 44px;
  color: var(--red);
}

.baituan-facts strong,
.club-count-grid span {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.45;
}

.baituan-facts p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.baituan-reference {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 38, 57, .08);
}

.baituan-reference figure {
  margin: 0;
}

.baituan-reference img {
  width: 100%;
  border-radius: 10px;
  background: var(--paper);
}

.baituan-reference figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.baituan-reference h3 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
}

.baituan-reference > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.reference-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.reference-list dt {
  color: var(--muted);
  font-size: 13px;
}

.reference-list dd {
  margin: 5px 0 0;
  font-weight: 850;
  line-height: 1.45;
}

.club-count-grid article {
  min-height: 150px;
}

.club-category-head {
  margin-top: 46px;
}

.club-category-head h3 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 36px);
}

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

.club-category-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.club-category-grid svg {
  width: 26px;
  height: 26px;
  color: var(--red);
}

.club-category-grid h4 {
  margin: 16px 0 8px;
  font-size: 21px;
}

.club-category-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.club-directory {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.club-list-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.club-list-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.club-list-panel summary::-webkit-details-marker {
  display: none;
}

.club-list-panel summary span {
  min-width: 0;
}

.club-list-panel summary strong,
.club-list-panel summary small {
  display: block;
}

.club-list-panel summary small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.club-list-panel summary b {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(181, 22, 34, .09);
  color: var(--red);
}

.club-list-panel[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.club-chip-list,
.club-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.club-chip-list span,
.club-group-list article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  line-height: 1.6;
}

.club-group-list h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.club-group-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.directory-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.directory-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.directory-actions .primary-button {
  white-space: nowrap;
}

.club-check-grid article {
  min-height: 230px;
}

.club-check-grid span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.club-check-grid h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.club-check-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

footer {
  padding: 28px clamp(20px, 6vw, 90px);
  color: var(--muted);
  background: #101820;
}

footer p { margin: 0; line-height: 1.7; }

footer .analytics-scope {
  margin-top: 7px;
  font-size: 12px;
  opacity: .78;
}

.last-updated {
  display: inline-flex;
  margin-right: 10px;
  color: white;
  font-weight: 800;
}

svg { width: 20px; height: 20px; stroke-width: 2; }

@media (max-width: 980px) {
  .topbar { height: auto; min-height: 66px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand { min-width: auto; }
  .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .hero { min-height: 760px; align-items: start; }
  .hero-panel { left: 20px; right: auto; }
  .quick-search, .parents, .map-shell, .tab-layout, .info-card, .food-card, .arrival-hero, .arrival-split, .parent-note, .home-hero-content, .source-strip, .map-hero, .map-shell.enhanced, .life-hero, .life-note, .city-hero, .city-note, .growth-note, .training-hero, .training-hike, .training-note, .health-hero, .health-venue, .health-insurance, .health-note, .dorm-utilities, .dorm-note, .parent-money, .parent-boundary { grid-template-columns: 1fr; }
  .search-results { grid-column: auto; }
  .cards-grid, .timeline, .growth-grid, .check-grid, .arrival-dashboard, .route-flow, .transport-grid, .material-list, .phase-grid, .stage-grid, .week-timeline, .module-grid, .map-related, .life-dashboard, .life-grid, .flow-grid, .next-grid, .key-grid, .supply-grid, .scenario-grid, .city-cards, .city-route-grid, .roadmap-grid, .choice-layout, .training-dashboard, .training-flow, .supply-panel-grid, .health-grid, .health-dashboard, .run-grid, .insurance-steps, .venue-grid, .clinic-grid, .first-night-grid, .utility-grid, .rule-list, .parent-action-grid, .adapt-grid, .boundary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sports-venue-card { grid-template-columns: 1fr; }
  .parcel-route-head { grid-template-columns: 1fr; gap: 10px; }
  .parcel-route-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promotion-risk-head { grid-template-columns: 1fr; gap: 10px; }
  .baituan-reference { grid-template-columns: 1fr; }
  .baituan-facts, .club-count-grid, .club-check-grid, .club-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-actions { grid-template-columns: 1fr; }
  .tabs.vertical { flex-direction: row; overflow-x: auto; }
  .tab { text-align: center; white-space: nowrap; }
  .map-shell { grid-template-rows: auto auto auto; }
  .arrival-hero > img { min-height: 300px; }
  .preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .preview-large,
  .preview-card { min-height: 260px; }
  .map-shell.enhanced { grid-template-rows: auto auto; }
  .route-strip {
    grid-template-columns: 1fr;
  }
  .route-strip > svg {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    gap: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .icon-button {
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
  }

  .nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
    padding-top: 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(246, 248, 251, .97) 0%, rgba(246, 248, 251, .88) 58%, rgba(246, 248, 251, .3) 100%);
  }

  .hero-panel { position: relative; left: auto; bottom: auto; margin-top: 28px; }
  .cards-grid, .timeline, .growth-grid, .check-grid, .parent-grid, .arrival-dashboard, .route-flow, .transport-grid, .material-list, .parent-mini-grid, .phase-grid, .stage-grid, .week-timeline, .module-grid, .status-actions, .map-related, .life-dashboard, .life-grid, .flow-grid, .next-grid, .key-grid, .supply-grid, .scenario-grid, .city-cards, .city-route-grid, .roadmap-grid, .choice-layout, .training-dashboard, .training-flow, .supply-panel-grid, .health-grid, .health-dashboard, .run-grid, .insurance-steps, .venue-grid, .clinic-grid, .first-night-grid, .utility-grid, .rule-list, .parent-action-grid, .adapt-grid, .boundary-list { grid-template-columns: 1fr; }
  .sports-venue-copy { padding: 22px; }
  .sports-venue-gallery img { min-height: 150px; }
  .parcel-route-gallery { grid-template-columns: 1fr; }
  .risk-guide-grid, .promotion-sources { grid-template-columns: 1fr; }
  .baituan-facts, .club-count-grid, .club-check-grid, .club-category-grid, .club-chip-list, .club-group-list { grid-template-columns: 1fr; }
  .reference-list { grid-template-columns: 1fr; }
  .section-pad { padding-left: 16px; padding-right: 16px; }
  .map-stage img { min-width: 0; }
  .info-card img, .food-media #foodImage { min-height: 250px; }
  .dorm-media #dormImage { height: 280px; min-height: 0; }
  .dorm-facts { grid-template-columns: 1fr; }
  .arrival-hero-copy { padding-left: 16px; padding-right: 16px; }
  .home-hero-copy h1,
  .training-hero h1,
  .health-hero h1,
  .city-hero h1,
  .life-hero h1,
  .map-hero h1,
  .arrival-hero-copy h1 {
    font-size: clamp(30px, 9vw, 34px);
  }
  .title-desktop {
    display: none;
  }
  .title-mobile {
    display: inline;
  }
  .home-hero-copy p,
  .training-hero p,
  .health-hero p,
  .city-hero p,
  .life-hero p,
  .map-hero p,
  .arrival-hero-copy p {
    font-size: 16px;
    line-height: 1.7;
  }
  .quick-search h2,
  .section-head h2,
  .source-strip h2,
  .life-note h2,
  .city-note h2,
  .growth-note h2,
  .training-hike h2,
  .training-note h2,
  .health-venue h2,
  .health-insurance h2,
  .health-note h2,
  .dorm-utilities h2,
  .dorm-note h2,
  .parent-money h2,
  .parent-boundary h2 {
    font-size: clamp(28px, 9vw, 38px);
  }
  .week-timeline p,
  .phase-grid p {
    min-height: auto;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .link-button {
    width: 100%;
    justify-content: center;
  }
  .home-hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .home-hero-layer {
    background:
      linear-gradient(0deg, rgba(246, 248, 251, .98) 0%, rgba(246, 248, 251, .92) 70%, rgba(246, 248, 251, .42) 100%);
  }
  .module-card { grid-template-columns: 38px 1fr; }
}

/* 2026 product upgrade */
.icon-fallback {
  width: 20px;
  height: 20px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  font-family: "Segoe UI Symbol", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

:focus-visible {
  outline: 3px solid rgba(37, 119, 200, .72);
  outline-offset: 3px;
}

.nav a {
  position: relative;
  padding: 9px 0;
}

.nav a.active,
.nav a[aria-current="page"] {
  color: var(--red);
  font-weight: 900;
}

.nav a.active::after,
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
}

.icon-button[aria-current="page"] {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.trust-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 20px;
  background: #fff8e9;
  border-bottom: 1px solid #f0dfb9;
  color: #6e5317;
  font-size: 13px;
}

.trust-bar span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
}

.trust-bar svg,
.trust-bar .icon-fallback { width: 16px; height: 16px; font-size: 14px; }

.trust-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 0 12px;
  border: 1px solid rgba(181, 22, 34, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 900;
}

.trust-pill svg,
.trust-pill .icon-fallback { width: 16px; height: 16px; font-size: 14px; }

.home-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.home-hero-copy h1 span { color: var(--red); }

.home-status {
  border-radius: 18px;
  padding: 26px;
}

.progress-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.local-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.local-note svg,
.local-note .icon-fallback { width: 15px; height: 15px; font-size: 13px; }

.home-status h2 {
  margin: 24px 0 14px;
  font-size: 48px;
}

.home-status h2 span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.home-status .progress { width: 100%; }

.status-main-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-weight: 900;
}

.stage-planner { background: #fbfcfe; }

.stage-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.stage-switch button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #334252;
  cursor: pointer;
  font-weight: 800;
}

.stage-switch button.active,
.stage-switch button[aria-pressed="true"] {
  background: var(--red);
  color: white;
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(181, 22, 34, .18);
}

.stage-plan-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, .8fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 20px;
}

.stage-plan-head h3 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 42px);
}

.stage-plan-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.stage-action {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-content: start;
  gap: 14px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.stage-action:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 22, 34, .28);
  box-shadow: var(--shadow);
}

.stage-action-number {
  position: absolute;
  right: 14px;
  top: 6px;
  color: #edf1f5;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.stage-action > svg,
.stage-action > .icon-fallback {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  color: var(--red);
}

.stage-action > strong {
  position: relative;
  z-index: 1;
  align-self: center;
  font-size: 21px;
}

.stage-action > span:not(.stage-action-number) {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.7;
}

.stage-action > b {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--red);
  font-size: 14px;
}

.stage-action > b svg,
.stage-action > b .icon-fallback { width: 16px; height: 16px; font-size: 14px; }

.search-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.quick-search { grid-template-columns: minmax(240px, 380px) 1fr; }

.result-chip {
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

a.result-chip:hover { border-color: #e8c77b; background: #fff3d5; }

.source-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.source-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #176c47;
  font-size: 12px;
  font-weight: 900;
}

.source-status span.pending { background: #fff1d6; color: #8a5900; }
.source-status svg,
.source-status .icon-fallback { width: 15px; height: 15px; font-size: 13px; }

.device-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.device-note svg,
.device-note .icon-fallback { width: 17px; height: 17px; font-size: 15px; }

.mobile-dock,
.mobile-sheet { display: none; }

@media (max-width: 1100px) and (min-width: 641px) {
  .home-hero-copy h1 { font-size: clamp(46px, 6vw, 64px); }
  .home-hero-content { grid-template-columns: minmax(320px, 1fr) minmax(280px, 340px); gap: 28px; }
}

@media (max-width: 640px) {
  html,
  body { overflow-x: hidden; }

  body { padding-bottom: 72px; }
  body.menu-open { overflow: hidden; }

  .topbar {
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr 42px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .topbar .nav { display: none; }
  .brand-mark { width: 40px; height: 40px; }

  .trust-bar {
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 16px;
    overflow: hidden;
    white-space: nowrap;
  }

  .trust-bar span:last-child {
    min-width: 0;
    overflow: hidden;
    color: #8a6a27;
    text-overflow: ellipsis;
  }

  .home-hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .home-hero-copy h1 {
    max-width: 330px;
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.05;
  }

  .home-hero-copy p { max-width: 330px; }
  .trust-pill { margin-bottom: 16px; }
  .home-status { padding: 22px; border-radius: 16px; }
  .home-status h2 { font-size: 42px; }
  .progress-card-head { align-items: flex-start; }
  .local-note { max-width: 100px; text-align: right; }

  .stage-switch {
    flex-wrap: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .stage-switch::-webkit-scrollbar { display: none; }
  .stage-switch button { flex: 0 0 auto; }

  .stage-plan-head { grid-template-columns: 1fr; gap: 12px; }
  .stage-action-grid { grid-template-columns: 1fr; }
  .stage-action { min-height: 220px; }
  .quick-search { grid-template-columns: 1fr; }
  .search-results { grid-column: 1; }

  .source-strip { gap: 20px; }

  .map-stage { overflow: hidden; }
  .map-frame { overflow: hidden; }

  .mobile-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 8px;
    z-index: 60;
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px;
    border: 1px solid rgba(223, 230, 238, .88);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 38px rgba(24, 38, 57, .22);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #5d6b79;
    font-size: 11px;
    cursor: pointer;
  }

  .mobile-dock a[aria-current="page"] {
    background: #fff0f1;
    color: var(--red);
    font-weight: 900;
  }

  .mobile-dock svg,
  .mobile-dock .icon-fallback { width: 21px; height: 21px; }
  .dock-icon { position: relative; line-height: 0; }

  .dock-icon b {
    position: absolute;
    left: 14px;
    top: -7px;
    min-width: 30px;
    padding: 2px 4px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    font-size: 8px;
    line-height: 1.2;
  }

  .mobile-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    align-items: flex-end;
    padding: 12px;
    background: rgba(9, 15, 23, .46);
  }

  .mobile-sheet.open { display: flex; }

  .mobile-sheet-panel {
    width: 100%;
    max-height: min(720px, 88vh);
    overflow-y: auto;
    padding: 20px;
    border-radius: 22px;
    background: white;
    box-shadow: 0 24px 70px rgba(9, 15, 23, .28);
  }

  .mobile-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .mobile-sheet-head span,
  .mobile-sheet-head strong { display: block; }
  .mobile-sheet-head span { color: var(--muted); font-size: 12px; }
  .mobile-sheet-head strong { margin-top: 3px; font-size: 24px; }

  .mobile-sheet-head button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    cursor: pointer;
  }

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

  .mobile-sheet-grid a {
    min-height: 88px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
  }

  .mobile-sheet-grid a > svg { color: var(--red); }
  .mobile-sheet-grid strong,
  .mobile-sheet-grid small { display: block; }
  .mobile-sheet-grid strong { font-size: 15px; }
  .mobile-sheet-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
}

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

/* Concise guide structure inspired by documentation-style navigation */
.guide-directory { background: #fbfcfe; }

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

.guide-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.guide-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.guide-group-head > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.guide-group-head h3,
.guide-group-head p { margin: 0; }

.guide-group-head h3 { font-size: 22px; }
.guide-group-head p { margin-top: 4px; color: var(--muted); font-size: 13px; }

.guide-group nav { display: grid; }

.guide-group nav a {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease, color .18s ease;
}

.guide-group nav a:last-child { border-bottom: 0; }
.guide-group nav a:hover { background: #fff8f8; color: var(--red); }
.guide-group nav strong,
.guide-group nav small { display: block; }
.guide-group nav strong { font-size: 16px; }
.guide-group nav small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.guide-group nav svg { width: 17px; height: 17px; color: var(--red); }

.source-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: #fff8e9;
  color: #6e5317;
  text-align: center;
}

.source-line p { margin: 0; line-height: 1.6; }
.source-line svg { flex: 0 0 auto; width: 18px; height: 18px; }

.fact-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #fff8e9;
  color: #6e5317 !important;
  font-size: 13px;
  line-height: 1.55;
}

.fact-status svg { flex: 0 0 auto; width: 17px; height: 17px; }

.parents { grid-template-columns: minmax(0, 820px); }
.route-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-cards,
.scenario-grid,
.utility-grid,
.rule-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roadmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .guide-groups { grid-template-columns: 1fr; }
  .route-flow,
  .city-cards,
  .scenario-grid,
  .utility-grid,
  .rule-list,
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .guide-groups,
  .route-flow,
  .city-cards,
  .scenario-grid,
  .utility-grid,
  .rule-list,
  .roadmap-grid,
  .choice-layout { grid-template-columns: 1fr; }

  .guide-group nav a { min-height: 68px; }
  .source-line { align-items: flex-start; text-align: left; }
}

/* Keep the overview concise while preserving useful depth on demand. */
.stage-rail {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.stage-rail-copy h2,
.stage-rail-copy p { margin: 0; }
.stage-rail-copy h2 { margin-top: 4px; font-size: clamp(26px, 3vw, 38px); }
.stage-rail-copy p:last-child { margin-top: 9px; color: var(--muted); line-height: 1.65; }

.stage-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.stage-links a {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  transition: background .18s ease, color .18s ease;
}

.stage-links a:last-child { border-right: 0; }
.stage-links a:hover { background: #fff8f8; color: var(--red); }
.stage-links span,
.stage-links strong,
.stage-links small { display: block; }
.stage-links span { color: var(--red); font-size: 12px; font-weight: 900; }
.stage-links strong { margin-top: 8px; font-size: 16px; }
.stage-links small { margin-top: 4px; color: var(--muted); font-size: 12px; }

.detail-section { background: #fbfcfe; }

.detail-stack {
  width: min(100%, 920px);
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.detail-section > .detail-stack:first-child { margin-top: 0; }

.detail-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.detail-panel summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.detail-panel summary::-webkit-details-marker { display: none; }
.detail-panel summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1f2;
  color: var(--red);
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
}

.detail-panel[open] summary::after { content: "−"; }
.detail-panel[open] summary { color: var(--red); }

.detail-body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.75;
}

.detail-body > :first-child { margin-top: 16px; }
.detail-body > :last-child { margin-bottom: 0; }
.detail-body ul,
.detail-body ol { margin: 14px 0 0; padding-left: 1.25em; }
.detail-body li + li { margin-top: 8px; }

.optional-checks { background: var(--paper); }
.optional-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.optional-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: border-color .18s ease, transform .18s ease;
}

.optional-card:hover { border-color: #e6a7ad; transform: translateY(-2px); }
.optional-card strong { font-size: 16px; }
.optional-card span { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.optional-card small { margin-top: auto; padding-top: 14px; color: var(--red); font-weight: 800; }

@media (max-width: 1080px) {
  .stage-rail { grid-template-columns: 1fr; }
  .optional-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .stage-rail { gap: 18px; }
  .stage-links {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .stage-links a {
    flex: 0 0 142px;
    scroll-snap-align: start;
  }
  .optional-grid { grid-template-columns: 1fr; }
  .optional-card { min-height: 0; }
}

/* v22 information architecture and shared guide shell */
.nav { gap: 10px; }

.nav-menu {
  position: relative;
  color: #334252;
}

.nav-menu summary {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 10px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 15px; height: 15px; transition: transform .18s ease; }
.nav-menu[open] summary svg { transform: rotate(180deg); }
.nav-menu[data-active="true"] summary,
.nav-menu summary:hover { background: #fff1f2; color: var(--red); }

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 260px;
  display: grid;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 20px 50px rgba(23, 33, 43, .16);
  transform: translateX(-50%);
}

.nav-menu-panel a,
.nav-menu-panel .nav-menu-overview {
  position: static;
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
}

.nav-menu-panel a::after { display: none !important; }
.nav-menu-panel a:hover,
.nav-menu-panel a[aria-current="page"] { background: var(--paper); color: var(--red); }
.nav-menu-panel strong,
.nav-menu-panel span { display: block; }
.nav-menu-panel strong { font-size: 14px; }
.nav-menu-panel span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.nav-menu-overview { margin-bottom: 5px; background: #fff7f7; }

.topbar .header-search { margin-left: auto; }
.topbar .header-search + .icon-button { margin-left: -14px; }

.guide-sidebar {
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  z-index: 15;
  width: 248px;
  overflow-y: auto;
  padding: 18px 14px 30px;
  border-right: 1px solid var(--line);
  background: #fbfcfe;
}

.guide-sidebar-home {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
}

.guide-sidebar-home svg { width: 20px; height: 20px; }
.guide-sidebar-home small,
.guide-sidebar-home strong { display: block; }
.guide-sidebar-home small { opacity: .68; font-size: 10px; }
.guide-sidebar-home strong { margin-top: 2px; font-size: 14px; }

.guide-sidebar-group {
  padding: 9px 4px 12px;
  border-bottom: 1px solid var(--line);
}

.guide-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.guide-sidebar-title span {
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e9edf3;
  text-align: center;
  font-size: 10px;
}

.guide-sidebar-group nav { display: grid; gap: 2px; }
.guide-sidebar-group nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #4c5c6c;
  font-size: 13px;
  line-height: 1.35;
}
.guide-sidebar-group nav a:hover { background: #edf1f6; }
.guide-sidebar-group nav a[aria-current="page"] { background: #fff0f1; color: var(--red); font-weight: 900; }
.guide-sidebar-group:not(.active) nav { display: none; }

.guide-sidebar-status {
  display: flex;
  gap: 9px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #fff8e9;
  color: #765918;
  font-size: 11px;
  line-height: 1.55;
}
.guide-sidebar-status svg { flex: 0 0 auto; width: 17px; height: 17px; }

.guide-page main,
.guide-page footer { margin-left: 248px; }
.guide-page main { min-height: calc(100vh - 72px); background: white; }

.checklist-progress-title { margin: 8px 0 14px !important; color: var(--muted); font-size: 18px; }
.checklist-progress-title strong { color: var(--red); font-size: 34px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb strong { min-width: 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }

.page-jump {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}
.page-jump > strong { flex: 0 0 auto; color: var(--red); font-size: 12px; }
.page-jump > div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.page-jump > div::-webkit-scrollbar { display: none; }
.page-jump a { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--paper); color: #506071; font-size: 12px; }
.page-jump a:hover { background: #fff0f1; color: var(--red); }

.page-toc {
  position: fixed;
  top: 98px;
  right: 22px;
  z-index: 10;
  width: 180px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.page-toc > strong { display: block; margin-bottom: 10px; font-size: 12px; }
.page-toc nav { display: grid; gap: 8px; }
.page-toc a { color: var(--muted); font-size: 11px; line-height: 1.45; }
.page-toc a:hover { color: var(--red); }

.guide-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 34px clamp(24px, 4vw, 64px) 60px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.guide-next a {
  display: flex;
  flex-direction: column;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.guide-next a:last-child { text-align: right; }
.guide-next small { color: var(--muted); font-size: 11px; }
.guide-next a > span { color: var(--muted); font-size: 11px; }
.guide-next strong { margin-top: 7px; font-size: 17px; }
.guide-next a:hover { border-color: #e6a7ad; color: var(--red); }

.global-search {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 9vh 20px 20px;
  background: rgba(16, 24, 33, .58);
  backdrop-filter: blur(8px);
}
.global-search.open { display: flex; }
.global-search-panel {
  width: min(720px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  padding: 22px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.global-search-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.global-search-head small,
.global-search-head strong { display: block; }
.global-search-head small { color: var(--muted); font-size: 11px; }
.global-search-head strong { margin-top: 3px; font-size: 24px; }
.global-search-head button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.global-search-box { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; margin-top: 20px; padding: 14px 16px; border: 2px solid #e2e7ed; border-radius: 13px; }
.global-search-box:focus-within { border-color: var(--red); }
.global-search-box input { width: 100%; border: 0; outline: 0; font-size: 16px; }
.global-search-results { display: grid; gap: 8px; margin-top: 14px; }
.global-search-results .result-chip { display: flex; align-items: baseline; gap: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.global-search-results .result-chip strong { flex: 0 0 auto; color: var(--ink); font-size: 13px; }
.global-search-results .result-chip span { color: var(--muted); font-size: 12px; }
.global-search-results .result-chip:hover { border-color: #e6a7ad; background: #fffafa; }
body.search-open { overflow: hidden; }

.search-results .result-chip {
  min-height: 58px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 11px;
}
.search-results .result-chip strong,
.search-results .result-chip span { display: block; }
.search-results .result-chip strong { font-size: 12px; }
.search-results .result-chip span { margin-top: 3px; font-size: 10px; line-height: 1.35; }

.mobile-sheet-groups { display: grid; gap: 16px; }
.mobile-sheet-group { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.mobile-sheet-title { display: block; padding: 13px 14px; background: var(--paper); }
.mobile-sheet-title strong,
.mobile-sheet-title small { display: block; }
.mobile-sheet-title small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.mobile-sheet-group nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; }
.mobile-sheet-group nav a { padding: 9px; border-radius: 8px; font-size: 12px; }
.mobile-sheet-group nav a[aria-current="page"] { background: #fff0f1; color: var(--red); font-weight: 900; }

/* Home manual */
.home-roles { background: white; }
.role-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
a.role-entry {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfe;
}
a.role-entry > svg { width: 28px; height: 28px; color: var(--red); }
a.role-entry small,
a.role-entry strong,
a.role-entry em { display: block; }
a.role-entry small { color: var(--red); font-size: 11px; font-weight: 900; }
a.role-entry strong { margin-top: 6px; font-size: 19px; line-height: 1.35; }
a.role-entry em { margin-top: 8px; color: var(--muted); font-size: 12px; font-style: normal; }
a.role-entry:hover { border-color: #e6a7ad; transform: translateY(-2px); }

.manual-catalog { background: #f1f4f8; }
.manual-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.catalog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.catalog-card header { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.catalog-card header > span { color: var(--red); font-size: 12px; font-weight: 900; }
.catalog-card h3,
.catalog-card p { margin: 0; }
.catalog-card h3 { font-size: 22px; }
.catalog-card p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.catalog-card header > a { padding: 7px 10px; border-radius: 999px; background: #fff0f1; color: var(--red); font-size: 11px; font-weight: 900; }
.catalog-card nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
.catalog-card nav a { padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 800; }
.catalog-card nav a:hover { background: var(--paper); color: var(--red); }
.catalog-card nav small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }

.home-questions { background: white; }
.question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.question-grid a { padding: 18px; border: 1px solid var(--line); border-radius: 13px; }
.question-grid strong,
.question-grid span { display: block; }
.question-grid strong { font-size: 15px; }
.question-grid span { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.question-grid a:hover { background: #fff8f8; color: var(--red); }

/* Hub pages */
.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 62%, #fff0f1 100%);
  border-bottom: 1px solid var(--line);
}
.hub-hero h1 { max-width: 760px; margin: 8px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; }
.hub-hero-copy > p:last-of-type { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.75; }
aside.role-entry { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
aside.role-entry > a { display: grid; grid-template-columns: 26px 1fr 18px; gap: 10px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
aside.role-entry > a:first-of-type { margin-top: 12px; }
aside.role-entry > a > svg { color: var(--red); }
aside.role-entry span strong,
aside.role-entry span small { display: block; }
aside.role-entry span small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.hub-path { background: white; }
.hub-path ol { display: grid; gap: 0; margin: 26px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; list-style: none; }
.hub-path li { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.hub-path li:last-child { border-bottom: 0; }
.hub-path li > span { color: var(--red); font-size: 12px; font-weight: 900; }
.hub-path li strong { font-size: 17px; }
.hub-path li p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.hub-path li > a { display: flex; align-items: center; gap: 5px; color: var(--red); font-size: 12px; font-weight: 800; }
.hub-path li > a svg { width: 15px; height: 15px; }

.hub-groups { background: #f5f7fa; }
.hub-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hub-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.hub-group-head { display: flex; gap: 13px; align-items: center; padding: 19px; border-bottom: 1px solid var(--line); }
.hub-group-head > svg { color: var(--red); }
.hub-group-head h3,
.hub-group-head p { margin: 0; }
.hub-group-head h3 { font-size: 20px; }
.hub-group-head p { margin-top: 4px; color: var(--muted); font-size: 11px; }
.hub-link { display: flex; justify-content: space-between; gap: 12px; padding: 15px 19px; border-bottom: 1px solid var(--line); }
.hub-link:last-child { border-bottom: 0; }
.hub-link strong,
.hub-link small { display: block; }
.hub-link small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.hub-link > svg { width: 16px; height: 16px; color: var(--red); }
.hub-link:hover { background: #fffafa; color: var(--red); }

/* Article pages */
.content-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 34px; align-items: center; background: white; }
.content-hero-copy h1 { max-width: 760px; margin: 8px 0 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; }
.content-hero-copy > p:last-of-type { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.content-hero-media { margin: 0; }
.content-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.content-hero-media figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.content-hero-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff8e9; color: #6e5317; }
.content-hero-card > svg { width: 30px; height: 30px; margin-bottom: 16px; }
.content-hero-card strong,
.content-hero-card span { display: block; }
.content-hero-card strong { color: var(--ink); font-size: 21px; }
.content-hero-card span { margin-top: 9px; line-height: 1.7; }
.primary-button,
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 9px; font-weight: 800; }
.primary-button { background: var(--red); color: white; }
.secondary-button { border: 1px solid var(--line); background: white; }

.answer-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcfe; }
.answer-strip > a,
.answer-strip > article { padding: 14px 18px; border-right: 1px solid var(--line); }
.answer-strip > a:last-child,
.answer-strip > article:last-child { border-right: 0; }
.answer-strip > article > svg { width: 22px; height: 22px; margin-bottom: 9px; color: var(--red); }
.answer-strip span,
.answer-strip strong,
.answer-strip small { display: block; }
.answer-strip span { color: var(--red); font-size: 10px; font-weight: 900; }
.answer-strip strong { margin-top: 5px; font-size: 15px; }
.answer-strip small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.article-section { background: white; border-bottom: 1px solid var(--line); }
.article-section:nth-of-type(even) { background: #fafbfd; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.article-grid > article { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.article-grid > article > svg { width: 25px; height: 25px; margin-bottom: 14px; color: var(--red); }
.article-grid h3 { margin: 0 0 9px; font-size: 18px; }
.article-grid p { color: var(--muted); line-height: 1.7; }
.article-grid .eyebrow { color: var(--red); }

.info-band { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr) auto; gap: 22px; align-items: center; margin-top: 18px; padding: 20px; border-radius: 14px; background: var(--ink); color: white; }
.info-band h3,
.info-band p { margin: 0; }
.info-band h3 { margin-top: 5px; font-size: 18px; }
.info-band > p { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.65; }
.info-band > a { display: flex; align-items: center; gap: 6px; color: #ffd9dc; font-size: 12px; font-weight: 900; }
.info-band > a svg { width: 15px; height: 15px; }

.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.path-grid article { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.path-grid article > span { color: var(--red); font-size: 11px; font-weight: 900; }
.path-grid h3 { margin: 9px 0 8px; font-size: 17px; }
.path-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.source-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; background: #fff8e9; }
.source-panel > svg { display: none; }
.source-panel > svg + div:last-child { grid-column: 1 / -1; }
.source-panel > div:not(.source-links) > p { color: #71571e; }
.source-links { display: grid; gap: 8px; }
.source-links a { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; padding: 13px; border: 1px solid #ead9af; border-radius: 11px; background: rgba(255,255,255,.64); }
.source-links a > svg { color: #876318; }
.source-links strong,
.source-links small { display: block; }
.source-links small { margin-top: 4px; color: #765f2d; font-size: 10px; }
.source-links a:hover { background: white; }

@media (max-width: 1440px) {
  .page-toc { display: none; }
}

@media (min-width: 1441px) {
  .guide-page main,
  .guide-page footer { margin-right: 210px; }
  .page-jump { display: none; }
}

@media (max-width: 1120px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-catalog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .guide-sidebar { display: none; }
  .guide-page main,
  .guide-page footer { margin-left: 0; }
  .content-hero,
  .hub-hero,
  .source-panel { grid-template-columns: 1fr; }
  .content-hero-media { max-width: 680px; }
  .page-jump { top: 72px; }
}

@media (max-width: 720px) {
  .topbar { grid-template-columns: minmax(0, 1fr) 42px 42px; gap: 8px; }
  .topbar .header-search { margin-left: 0; }
  .topbar .header-search + .icon-button { margin-left: 0; }
  .brand { min-width: 0; }
  .brand > span:last-child { min-width: 0; }
  .brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb { padding-left: 16px; padding-right: 16px; }
  .page-jump { top: 66px; padding: 10px 16px; }
  .guide-next { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .guide-next a:last-child { text-align: left; }
  .guide-next > span { display: none; }
  .global-search { padding: 0; align-items: stretch; }
  .global-search-panel { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; padding: 18px 16px 90px; }
  .global-search-results .result-chip { align-items: flex-start; flex-direction: column; gap: 4px; }
  .mobile-sheet-group nav { grid-template-columns: 1fr 1fr; }
  .role-entry-grid,
  .question-grid,
  .hub-group-grid,
  .article-grid,
  .path-grid { grid-template-columns: 1fr; }
  .manual-catalog { padding-left: 14px; padding-right: 14px; }
  .catalog-card header { grid-template-columns: auto 1fr; }
  .catalog-card header > a { grid-column: 2; justify-self: start; }
  .catalog-card nav { grid-template-columns: 1fr; }
  .hub-path li { grid-template-columns: 34px 1fr; }
  .hub-path li > a { grid-column: 2; }
  .content-hero-copy h1,
  .hub-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .answer-strip { display: flex; overflow-x: auto; padding-left: 12px; padding-right: 12px; }
  .answer-strip > a,
  .answer-strip > article { flex: 0 0 170px; }
  .info-band { grid-template-columns: 1fr; }
  .source-panel { gap: 8px; }
}

/* v23 editorial hierarchy and density polish */
.guide-page {
  --guide-gutter: clamp(24px, 4.2vw, 64px);
  --guide-section-space: clamp(56px, 5.6vw, 76px);
}

.guide-page h1,
.guide-page h2,
.guide-page h3 {
  text-wrap: balance;
}

.guide-page p {
  text-wrap: pretty;
}

.guide-page main > .article-section.section-pad {
  padding: var(--guide-section-space) var(--guide-gutter);
}

.guide-page main > .source-panel.section-pad {
  padding: clamp(48px, 5vw, 64px) var(--guide-gutter);
}

.guide-page .content-hero.section-pad,
.guide-page .hub-hero.section-pad {
  padding: clamp(56px, 6.5vw, 86px) var(--guide-gutter);
}

.guide-page .content-hero-copy h1,
.guide-page .hub-hero h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  font-size: clamp(42px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.guide-page .content-hero-copy > p:last-of-type,
.guide-page .hub-hero-copy > p:last-of-type {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.72;
}

/* In section heads, the stable topic is the visual title and the sentence is the lead. */
.guide-page .section-head:has(> h2) {
  display: grid;
  max-width: 820px;
  gap: 0;
  margin-bottom: 28px;
}

.guide-page .section-head:has(> h2) > .eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 11px;
  color: var(--ink);
  font-size: clamp(32px, 2.5vw, 36px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.guide-page .section-head:has(> h2) > .eyebrow::before {
  width: 4px;
  height: 1.02em;
  flex: 0 0 auto;
  margin-top: .08em;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.guide-page .section-head:has(> h2) > h2 {
  max-width: 740px;
  margin: 0 0 10px;
  color: #405062;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -.012em;
}

.guide-page .section-head:has(> h2) > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.guide-page .section-head.compact:has(> h2) {
  margin-bottom: 18px;
}

.guide-page .section-head.compact:has(> h2) > .eyebrow {
  margin-bottom: 8px;
  font-size: clamp(22px, 1.9vw, 28px);
}

.guide-page .section-head.compact:has(> h2) > h2 {
  margin-bottom: 8px;
  font-size: clamp(17px, 1.45vw, 20px);
}

.guide-page .section-head.compact:has(> h2) > p:not(.eyebrow) {
  font-size: 15px;
}

/* Card hierarchy: labels recede, titles stay consistent, body copy remains readable. */
.guide-page .article-grid,
.guide-page .life-grid,
.guide-page .route-flow,
.guide-page .path-grid {
  gap: 16px;
  margin-top: 0;
}

.guide-page .article-grid > article,
.guide-page .article-section .life-grid > article,
.guide-page .article-section .route-flow > article,
.guide-page .path-grid > article {
  min-height: 0;
  padding: 21px;
}

.guide-page .article-grid > article > .eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  color: #788696;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}

.guide-page .article-grid h3,
.guide-page .article-section .life-grid h3,
.guide-page .article-section .route-flow h3,
.guide-page .path-grid h3 {
  font-size: 18px;
  line-height: 1.38;
}

.guide-page .article-section .life-grid h3,
.guide-page .article-section .route-flow h3 {
  margin: 14px 0 8px;
}

.guide-page .article-grid p,
.guide-page .article-section .life-grid p,
.guide-page .article-section .route-flow p,
.guide-page .path-grid p {
  font-size: 14px;
  line-height: 1.72;
}

.guide-page .info-card h3,
.guide-page .food-card h3 {
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.35;
}

/* Auxiliary copy should support scanning without becoming unreadably small. */
.guide-page .content-hero-media figcaption,
.guide-page .source-links small,
.guide-page .catalog-card nav small,
.guide-page .hub-link small,
.guide-page .answer-strip small {
  font-size: 12px;
  line-height: 1.5;
}

.guide-page .answer-strip span {
  font-size: 11px;
}

.guide-page .answer-strip strong {
  font-size: 16px;
  line-height: 1.4;
}

.guide-page .hub-path li p,
.guide-page .question-grid span,
.guide-page .catalog-card p,
.guide-page .info-band > p {
  font-size: 14px;
  line-height: 1.62;
}

.guide-page .info-band > a {
  font-size: 13px;
}

/* Keep five-card groups visually balanced instead of leaving an orphan card. */
@media (min-width: 1121px) and (max-width: 1679px) {
  .guide-page .article-grid:has(> article:nth-child(5):last-child),
  .guide-page .path-grid:has(> article:nth-child(5):last-child) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .guide-page .article-grid:has(> article:nth-child(5):last-child) > article,
  .guide-page .path-grid:has(> article:nth-child(5):last-child) > article {
    grid-column: span 2;
  }

  .guide-page .article-grid:has(> article:nth-child(5):last-child) > article:nth-last-child(-n + 2),
  .guide-page .path-grid:has(> article:nth-child(5):last-child) > article:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
}

@media (min-width: 1680px) {
  .guide-page .article-grid:has(> article:nth-child(5):last-child),
  .guide-page .path-grid:has(> article:nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .guide-page {
    --guide-gutter: 18px;
    --guide-section-space: 42px;
  }

  .guide-page .content-hero.section-pad,
  .guide-page .hub-hero.section-pad {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .guide-page .content-hero-copy h1,
  .guide-page .hub-hero h1 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.1;
  }

  .guide-page .content-hero-copy > p:last-of-type,
  .guide-page .hub-hero-copy > p:last-of-type {
    font-size: 16px;
    line-height: 1.7;
  }

  .guide-page .content-hero-media img {
    max-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .guide-page .section-head:has(> h2) {
    margin-bottom: 22px;
  }

  .guide-page .section-head:has(> h2) > .eyebrow {
    gap: 9px;
    margin-bottom: 8px;
    font-size: clamp(26px, 7.4vw, 30px);
    line-height: 1.22;
  }

  .guide-page .section-head:has(> h2) > .eyebrow::before {
    width: 3px;
  }

  .guide-page .section-head:has(> h2) > h2 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.5;
  }

  .guide-page .section-head:has(> h2) > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.72;
  }

  .guide-page .section-head.compact:has(> h2) > .eyebrow {
    font-size: 23px;
  }

  .guide-page .section-head.compact:has(> h2) > h2 {
    font-size: 17px;
  }

  .guide-page main > .source-panel.section-pad {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .guide-page .article-grid,
  .guide-page .life-grid,
  .guide-page .route-flow,
  .guide-page .path-grid {
    gap: 12px;
  }

  .guide-page .article-grid > article,
  .guide-page .article-section .life-grid > article,
  .guide-page .article-section .route-flow > article,
  .guide-page .path-grid > article {
    padding: 18px;
  }

  .guide-page .article-grid h3,
  .guide-page .article-section .life-grid h3,
  .guide-page .article-section .route-flow h3,
  .guide-page .path-grid h3 {
    font-size: 18px;
  }
}

/* Homepage priority update: official sources first, then the current admission stage. */
.home-hero-copy h1 > .title-desktop,
.home-hero-copy h1 > .title-mobile {
  color: var(--ink);
}

.home-hero-copy h1 b {
  color: var(--red);
  font-weight: inherit;
}

.home-status-overall {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.home-status-overall strong { color: var(--ink); }

#officialHub,
#currentStage { scroll-margin-top: 72px; }

.official-hub {
  background:
    radial-gradient(circle at 88% 4%, rgba(244, 181, 66, .18), transparent 28%),
    linear-gradient(145deg, #121d29 0%, #1b2a39 100%);
  color: white;
}

.official-hub-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.official-hub-head .eyebrow { color: #f6c765; }

.official-hub-head h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.official-hub-head p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
}

.official-update {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.official-update svg { color: #f6c765; }
.official-update span,
.official-update strong { display: block; }
.official-update strong { margin-top: 2px; color: white; font-size: 14px; }

.official-status-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.official-status-card {
  min-height: 264px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.official-status-card.is-ready { border-top: 4px solid var(--green); }
.official-status-card.is-pending { border-top: 4px solid var(--gold); }
.official-status-card.is-reference { border-top: 4px solid var(--blue); }

.official-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.official-status-top > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #176c47;
  font-size: 12px;
  font-weight: 900;
}

.official-status-card.is-pending .official-status-top > span {
  background: #fff1d6;
  color: #8a5900;
}

.official-status-card.is-reference .official-status-top > span {
  background: #e8f2fc;
  color: #155fa7;
}

.official-status-top svg { width: 15px; height: 15px; }
.official-status-top small { color: var(--muted); }

.official-status-card h3 {
  margin: 20px 0 10px;
  font-size: 23px;
}

.official-status-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.official-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.official-card-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f7f9fb;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 900;
}

.official-card-actions a:first-child {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.official-card-actions svg { width: 15px; height: 15px; }

.official-site-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px auto 0;
}

.official-site-grid > a {
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.official-site-grid > a:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 199, 101, .58);
  background: rgba(255, 255, 255, .12);
}

.official-site-grid > a > svg { color: #f6c765; }
.official-site-grid span,
.official-site-grid strong,
.official-site-grid small { display: block; }
.official-site-grid small { margin-top: 4px; color: rgba(255, 255, 255, .56); font-size: 11px; }
.official-site-grid b { color: rgba(255, 255, 255, .66); font-size: 12px; }

.official-safety-note {
  max-width: 1180px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.65;
}

.official-safety-note svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #f6c765;
}

.official-safety-note strong { color: white; }

.current-stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: 32px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 26px;
}

.current-stage-head h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
}

.current-stage-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.current-stage-actions {
  max-width: 1180px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.current-stage-actions .stage-action {
  min-height: 232px;
  padding: 22px;
}

.current-stage-actions .stage-action-official {
  border-color: rgba(181, 22, 34, .28);
  background: linear-gradient(145deg, #fff, #fff5f5);
}

.stage-compact-links {
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.stage-compact-links span { margin-right: 3px; font-weight: 900; }

.stage-compact-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #334252;
  font-weight: 800;
}

.stage-compact-links a:hover { border-color: var(--red); color: var(--red); }

.official-result-mark {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 7px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--mint);
  color: #176c47;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  vertical-align: 2px;
}

.search-empty { color: var(--muted); }

@media (max-width: 1100px) {
  .official-site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .current-stage-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-hero-copy h1 > .title-desktop { display: none; }
  .home-hero-copy h1 > .title-mobile { display: block; }

  .home-hero-copy h1 {
    max-width: 320px;
    font-size: clamp(40px, 11.2vw, 46px);
    line-height: 1.04;
  }

  .official-hub-head,
  .current-stage-head { grid-template-columns: 1fr; gap: 16px; }

  .official-hub-head h2,
  .current-stage-head h2 { font-size: 34px; }

  .official-update { width: fit-content; }
  .official-status-grid,
  .official-site-grid,
  .current-stage-actions { grid-template-columns: 1fr; }

  .official-status-card { min-height: 0; padding: 20px; }
  .official-status-card h3 { font-size: 21px; }
  .official-card-actions { padding-top: 18px; }

  .official-site-grid > a {
    min-height: 72px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 12px 14px;
  }

  .official-site-grid b { font-size: 11px; }
  .current-stage-actions .stage-action { min-height: 206px; }

  .stage-compact-links {
    flex-wrap: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

.stage-compact-links::-webkit-scrollbar { display: none; }
.stage-compact-links > * { flex: 0 0 auto; }
}

/* 2026 transfer-major decision helper */
.transfer-section {
  --transfer-soft: #f5f7fa;
  --transfer-blue: #174c78;
  background: #f7f8fa;
}

.transfer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: end;
}

.transfer-intro h2 {
  max-width: 760px;
  margin: 9px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.transfer-intro > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.transfer-status {
  padding: 20px;
  border: 1px solid rgba(23, 76, 120, .16);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #eef5fa);
  box-shadow: 0 14px 32px rgba(28, 48, 66, .08);
}

.transfer-status span,
.transfer-status strong,
.transfer-status small { display: block; }

.transfer-status span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #176c47;
  font-size: 12px;
  font-weight: 900;
}

.transfer-status span svg { width: 16px; height: 16px; }
.transfer-status strong { margin-top: 12px; font-size: 21px; }
.transfer-status small { margin-top: 7px; color: var(--muted); line-height: 1.6; }

.transfer-status a,
.transfer-explorer-head > a,
.transfer-subsection-head > a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

.transfer-status a svg,
.transfer-explorer-head > a svg,
.transfer-subsection-head > a svg { width: 14px; height: 14px; }

.transfer-basics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.transfer-basics article {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.transfer-basics article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.transfer-basics strong { display: block; font-size: 15px; }
.transfer-basics p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.transfer-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.transfer-quick-actions > a {
  min-height: 88px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.transfer-quick-actions > a:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 22, 34, .35);
  box-shadow: 0 12px 26px rgba(28, 48, 66, .08);
}

.transfer-quick-actions > a > svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.transfer-quick-actions span,
.transfer-quick-actions strong,
.transfer-quick-actions small { display: block; }
.transfer-quick-actions strong { font-size: 16px; }
.transfer-quick-actions small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.transfer-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.transfer-scope-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid rgba(23, 76, 120, .16);
  border-radius: 10px;
  background: #eef5fa;
}

.transfer-scope-note > svg { width: 22px; height: 22px; color: var(--transfer-blue); }
.transfer-scope-note strong { display: block; }
.transfer-scope-note p { margin: 4px 0 0; color: #40576a; font-size: 12px; line-height: 1.7; }

.transfer-overview article {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.transfer-overview strong,
.transfer-overview span,
.transfer-overview small { display: block; }
.transfer-overview strong { color: var(--red); font-size: 28px; line-height: 1; }
.transfer-overview span { margin-top: 8px; font-size: 13px; font-weight: 900; }
.transfer-overview small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.transfer-policy-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  margin-top: 14px;
  padding: 17px 19px;
  border-left: 4px solid #d09322;
  border-radius: 10px;
  background: #fff7e5;
}

.transfer-policy-note > svg { width: 22px; height: 22px; color: #9a6611; }
.transfer-policy-note strong { display: block; margin-bottom: 4px; }
.transfer-policy-note p { margin: 0; color: #71571e; font-size: 12px; line-height: 1.65; }

.transfer-explorer,
.transfer-subsection {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.transfer-explorer-head,
.transfer-subsection-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.transfer-explorer-head :is(h2, h3),
.transfer-subsection-head :is(h2, h3) { margin: 7px 0 7px; font-size: clamp(23px, 3vw, 31px); }
.transfer-explorer-head p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.transfer-explorer-head > a,
.transfer-subsection-head > a { flex: 0 0 auto; margin: 0; }
.transfer-subsection-head > span { color: var(--muted); font-size: 11px; }

.transfer-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(170px, .7fr));
  gap: 10px;
  margin-top: 20px;
}

.transfer-controls label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.transfer-controls input,
.transfer-controls select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.transfer-search > div { position: relative; }
.transfer-search svg { position: absolute; top: 14px; left: 12px; width: 17px; height: 17px; color: var(--muted); }
.transfer-search input { padding-left: 38px; }
.transfer-controls input:focus,
.transfer-controls select:focus { outline: 3px solid rgba(181, 22, 34, .11); border-color: var(--red); }

.transfer-result-line {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.transfer-result-line p { margin: 0; color: var(--muted); font-size: 11px; }
.transfer-result-line button,
.transfer-compare-head button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--red-dark);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

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

.transfer-college-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(28, 48, 66, .04);
}

.transfer-college-card.is-restricted { border-color: rgba(208, 147, 34, .45); background: #fffcf5; }
.transfer-card-top { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.transfer-card-top p { margin: 0; color: var(--red); font-size: 11px; font-weight: 900; }
.transfer-card-top h4 { margin: 5px 0 0; font-size: 21px; line-height: 1.25; }
.transfer-card-top > strong { flex: 0 0 auto; padding: 7px 9px; border-radius: 8px; background: var(--transfer-soft); color: var(--transfer-blue); font-size: 11px; }
.transfer-college-full { min-height: 32px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.transfer-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.transfer-card-tags span { padding: 5px 7px; border-radius: 999px; background: #eef3f7; color: #40576a; font-size: 11px; font-weight: 800; }
.transfer-card-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; padding: 11px 12px; border-radius: 9px; background: #f8f9fb; font-size: 12px; line-height: 1.5; }
.transfer-card-summary span { color: var(--muted); }
.transfer-card-summary strong { text-align: right; }

.transfer-major-table-wrap { width: 100%; min-width: 0; overflow-x: auto; margin-top: 12px; }
.transfer-college-card table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.transfer-college-card th,
.transfer-college-card td { padding: 9px 6px; border-bottom: 1px solid #edf0f2; text-align: center; overflow-wrap: anywhere; }
.transfer-college-card th:first-child { width: 52%; text-align: left; }
.transfer-college-card thead th { color: var(--muted); font-size: 11px; line-height: 1.35; }
.transfer-college-card tbody th { font-weight: 700; }

.transfer-college-card details { margin-top: 10px; border-bottom: 1px solid var(--line); }
.transfer-college-card summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--red-dark); font-size: 13px; font-weight: 900; list-style: none; }
.transfer-college-card summary::-webkit-details-marker { display: none; }
.transfer-college-card summary svg { width: 15px; height: 15px; transition: transform .2s ease; }
.transfer-college-card details[open] summary svg { transform: rotate(180deg); }
.transfer-card-detail { min-width: 0; padding: 2px 0 12px; }
.transfer-card-detail > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.transfer-card-detail dl { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; gap: 9px; margin: 0; }
.transfer-card-detail dl > div { min-width: 0; padding: 11px 12px; border-radius: 8px; background: #f5f7fa; }
.transfer-card-detail dt { color: var(--red-dark); font-size: 11px; font-weight: 900; }
.transfer-card-detail dd { min-width: 0; margin: 5px 0 0; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; }

.transfer-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.transfer-card-actions button,
.transfer-card-actions a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}
.transfer-card-actions button:hover,
.transfer-card-actions button.is-selected { border-color: var(--red); color: var(--red); }
.transfer-card-actions button:disabled { cursor: not-allowed; opacity: .38; }
.transfer-card-actions a { border-color: var(--red); background: var(--red); color: white; }
.transfer-card-actions a svg { width: 13px; height: 13px; }

.transfer-empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.transfer-empty svg { width: 30px; height: 30px; }
.transfer-empty strong { display: block; margin-top: 10px; color: var(--ink); }
.transfer-empty p { margin: 6px 0 0; font-size: 11px; }

.transfer-compare {
  position: relative;
  margin-top: 14px;
  padding: 17px;
  border: 1px solid rgba(181, 22, 34, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 45px rgba(20, 34, 46, .18);
}
.transfer-compare-head { display: flex; justify-content: space-between; align-items: center; }
.transfer-compare-head h3 { margin: 4px 0 0; font-size: 17px; }
.transfer-compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.transfer-compare-grid article { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.transfer-compare-grid article > button { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; padding: 4px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.transfer-compare-grid article > button svg { width: 15px; height: 15px; }
.transfer-compare-grid h4 { margin: 0 24px 5px 0; font-size: 15px; }
.transfer-compare-grid article > p { margin: 0; color: var(--red-dark); font-size: 9px; font-weight: 900; }
.transfer-compare-grid dl { display: grid; gap: 6px; margin: 11px 0; }
.transfer-compare-grid dl > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 7px; }
.transfer-compare-grid dt { color: var(--muted); font-size: 8px; font-weight: 900; }
.transfer-compare-grid dd { margin: 0; font-size: 9px; line-height: 1.4; }
.transfer-compare-grid a { display: flex; align-items: center; gap: 5px; color: var(--red-dark); font-size: 9px; font-weight: 900; }
.transfer-compare-grid a svg { width: 12px; height: 12px; }

.transfer-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.transfer-timeline li { position: relative; padding: 28px 15px 0 0; }
.transfer-timeline li::before { content: ""; position: absolute; top: 9px; left: 0; width: 11px; height: 11px; border: 3px solid white; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.transfer-timeline li::after { content: ""; position: absolute; top: 14px; left: 13px; right: 0; height: 1px; background: #e5c0c3; }
.transfer-timeline li:last-child::after { display: none; }
.transfer-timeline time { color: var(--red); font-size: 10px; font-weight: 900; }
.transfer-timeline strong { display: block; margin-top: 6px; font-size: 13px; }
.transfer-timeline p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.transfer-history-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 22px; margin-top: 22px; }
.transfer-bars { display: grid; gap: 10px; }
.transfer-bars > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; }
.transfer-bars span { color: var(--muted); font-size: 10px; }
.transfer-bars b { position: relative; min-height: 29px; display: flex; align-items: center; padding: 0 9px; border-radius: 6px; color: white; font-size: 10px; overflow: hidden; isolation: isolate; }
.transfer-bars b::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: var(--bar); border-radius: inherit; background: linear-gradient(90deg, var(--red), #d34852); }
.transfer-history-notes { display: grid; gap: 9px; }
.transfer-history-notes article { padding: 15px; border-radius: 11px; background: #f4f7f9; }
.transfer-history-notes article > strong,
.transfer-history-notes article > span { display: block; }
.transfer-history-notes article > strong { font-size: 23px; }
.transfer-history-notes article > span { margin-top: 4px; font-size: 11px; font-weight: 900; }
.transfer-history-notes p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.transfer-history-notes .is-warning { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; background: #fff5dd; }
.transfer-history-notes .is-warning svg { width: 19px; height: 19px; color: #9a6611; }
.transfer-history-notes .is-warning strong { font-size: 12px; }

.transfer-experience-note {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed #bdc5cc;
  border-radius: 13px;
  background: #fafbfc;
}
.transfer-experience-note > span { height: fit-content; padding: 6px 8px; border-radius: 999px; background: #e9edf0; color: #4d5b66; text-align: center; font-size: 9px; font-weight: 900; }
.transfer-experience-note strong { display: block; font-size: 14px; }
.transfer-experience-note p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

@media (max-width: 900px) {
  .transfer-intro { grid-template-columns: 1fr; align-items: start; }
  .transfer-basics { grid-template-columns: 1fr; }
  .transfer-quick-actions { grid-template-columns: 1fr; }
  .transfer-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transfer-controls { grid-template-columns: 1fr 1fr; }
  .transfer-search { grid-column: 1 / -1; }
  .transfer-card-grid { grid-template-columns: 1fr; }
  .transfer-compare-grid { grid-template-columns: 1fr; max-height: 52vh; overflow-y: auto; }
  .transfer-timeline { grid-template-columns: 1fr; gap: 0; }
  .transfer-timeline li { padding: 0 0 20px 28px; }
  .transfer-timeline li::before { top: 2px; }
  .transfer-timeline li::after { top: 14px; bottom: 0; left: 5px; width: 1px; height: auto; }
  .transfer-history-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .transfer-intro h2 { font-size: 33px; }
  .transfer-status { padding: 17px; }
  .transfer-overview article { padding: 14px; }
  .transfer-overview strong { font-size: 24px; }
  .transfer-basics article { padding: 15px; }
  .transfer-explorer,
  .transfer-subsection { margin-left: -6px; margin-right: -6px; padding: 17px; border-radius: 14px; }
  .transfer-explorer-head,
  .transfer-subsection-head { display: block; }
  .transfer-explorer-head > a,
  .transfer-subsection-head > a { margin-top: 12px; }
  .transfer-controls { grid-template-columns: 1fr; }
  .transfer-search { grid-column: auto; }
  .transfer-card-top { display: block; }
  .transfer-card-top > strong { width: fit-content; display: block; margin-top: 10px; }
  .transfer-card-summary { flex-direction: column; gap: 4px; }
  .transfer-card-summary strong { display: block; text-align: left; }
  .transfer-college-card { padding: 16px; }
  .transfer-college-card table { font-size: 11px; }
  .transfer-card-actions { grid-template-columns: 1fr; }
  .transfer-compare { padding: 13px; }
  .transfer-history-layout { gap: 14px; }
  .transfer-bars > div { grid-template-columns: 72px minmax(0, 1fr); }
  .transfer-experience-note { grid-template-columns: 1fr; gap: 10px; }
  .transfer-experience-note > span { width: fit-content; }
}

/* Progressive disclosure: keep the homepage complete without showing everything at once. */
.official-hub {
  padding-top: clamp(52px, 6vw, 72px);
  padding-bottom: clamp(52px, 6vw, 72px);
}

.official-hub-head {
  margin-bottom: 22px;
}

.official-hub-head h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.official-overview {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
  margin: 0 auto;
}

.official-status-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: white;
  color: var(--ink);
}

.official-status-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}

.official-status-row + .official-status-row {
  border-top: 1px solid var(--line);
}

.official-status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--mint);
  color: #176c47;
  font-size: 12px;
  font-weight: 900;
}

.official-status-row.is-pending .official-status-badge {
  background: #fff1d6;
  color: #8a5900;
}

.official-status-badge svg { width: 15px; height: 15px; }
.official-status-row div strong,
.official-status-row div small { display: block; }
.official-status-row div strong { margin-bottom: 5px; font-size: 17px; }
.official-status-row div small { color: var(--muted); line-height: 1.55; }

.official-status-row > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.official-status-row > a:hover { border-color: var(--red); }
.official-status-row > a svg { width: 14px; height: 14px; }

.official-entry-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

.official-entry-card > .eyebrow { color: #f6c765; }
.official-entry-card > h3 { margin: 8px 0 16px; font-size: 22px; }

.official-primary-links {
  display: grid;
  gap: 9px;
}

.official-primary-links > a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 11px;
  background: white;
  color: var(--ink);
}

.official-primary-links > a > svg:first-child { color: var(--red); }
.official-primary-links > a > svg:last-child { width: 16px; height: 16px; color: var(--muted); }
.official-primary-links span,
.official-primary-links strong,
.official-primary-links small { display: block; }
.official-primary-links small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.official-more {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
}

.official-more summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.official-more summary::-webkit-details-marker { display: none; }
.official-more summary svg { width: 16px; height: 16px; transition: transform .2s ease; }
.official-more[open] summary svg { transform: rotate(180deg); }

.official-more nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 8px 8px;
}

.official-more nav a {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.official-more nav strong,
.official-more nav small { display: block; }
.official-more nav strong { font-size: 12px; }
.official-more nav small { margin-top: 3px; color: rgba(255, 255, 255, .58); font-size: 10px; line-height: 1.35; }

.stage-planner {
  padding-top: clamp(52px, 6vw, 72px);
  padding-bottom: clamp(52px, 6vw, 72px);
}

.current-stage-head { margin-bottom: 20px; }

.current-task-list {
  max-width: 1180px;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.current-task-item {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 18px;
  transition: background .2s ease;
}

.current-task-item + .current-task-item { border-top: 1px solid var(--line); }
.current-task-item:hover { background: #fffafa; }

.current-task-item > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f1;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.current-task-item div strong,
.current-task-item div small { display: block; }
.current-task-item div strong { margin-bottom: 4px; font-size: 17px; }
.current-task-item div small { color: var(--muted); line-height: 1.5; }

.current-task-item > b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-size: 12px;
  white-space: nowrap;
}

.current-task-item > b svg { width: 14px; height: 14px; }

.quick-search .search-results:empty { display: none; }

.manual-catalog {
  background: white;
}

.manual-catalog > .section-head {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.guide-library-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.guide-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfe;
}

.guide-category summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

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

.guide-category summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff0f1;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.guide-category summary strong,
.guide-category summary small { display: block; }
.guide-category summary strong { font-size: 20px; }
.guide-category summary small { margin-top: 4px; color: var(--muted); }
.guide-category summary > svg { color: var(--muted); transition: transform .2s ease; }
.guide-category[open] summary > svg { transform: rotate(180deg); }

.guide-category nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.guide-category nav a {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 13px;
  font-weight: 900;
}

.guide-category nav small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.guide-category nav a:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 900px) {
  .official-overview { grid-template-columns: 1fr; }
  .guide-library-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .official-hub,
  .stage-planner,
  .manual-catalog { padding-top: 44px; padding-bottom: 44px; }

  .official-hub-head h2,
  .current-stage-head h2 { font-size: 31px; }

  .official-status-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 15px;
  }

  .official-status-row > a {
    grid-column: 2;
    width: fit-content;
  }

  .official-entry-card { padding: 18px; }
  .official-more nav { grid-template-columns: 1fr; }

  .current-task-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .current-task-item > b {
    grid-column: 2;
    width: fit-content;
  }

  .current-task-item div strong { font-size: 16px; }
  .current-task-item div small { font-size: 12px; }

  .guide-category summary { min-height: 78px; padding: 12px 14px; }
  .guide-category summary strong { font-size: 18px; }
  .guide-category nav { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) {
  .food-history-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .food-media #foodImage {
    height: 260px;
    min-height: 0;
  }

  .food-facts,
  .food-history-grid,
  .food-source-grid {
    grid-template-columns: 1fr;
  }

  .food-history-grid article,
  .food-source-grid > a {
    min-height: 0;
  }
}

/* 培养方案摘要 */
.curriculum-section {
  background: #f7f9fc;
}

.curriculum-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
}

.curriculum-facts article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.curriculum-facts strong,
.curriculum-facts span {
  display: block;
}

.curriculum-facts strong {
  color: var(--red);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.curriculum-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.curriculum-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #efd5d8;
  border-radius: 12px;
  background: #fff8f8;
}

.curriculum-note svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.curriculum-note p {
  margin: 0;
  color: #4d5868;
}

.curriculum-note a {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.curriculum-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 28px;
  margin: 0 0 24px;
  padding: 26px 28px;
  border: 1px solid #e7c9cd;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.curriculum-contact-copy h3 {
  margin: 6px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
}

.curriculum-contact-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #4d5868;
  font-size: 16px;
  line-height: 1.8;
}

.curriculum-contact-copy small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.curriculum-contact-copy small svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--red);
}

.curriculum-contact-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.curriculum-contact-qr img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.curriculum-contact-qr span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.curriculum-contact-qr span svg {
  width: 15px;
  height: 15px;
}

.curriculum-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr);
  gap: 12px;
}

.curriculum-controls label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.curriculum-controls label > div,
.curriculum-controls select {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.curriculum-controls label > div:focus-within,
.curriculum-controls select:focus {
  border-color: var(--red);
  outline: 3px solid rgba(181, 22, 34, .1);
}

.curriculum-controls label > div svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
}

.curriculum-controls input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.curriculum-result-line {
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.curriculum-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.curriculum-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.curriculum-card h3 {
  margin: 8px 0 5px;
  font-size: 21px;
  line-height: 1.3;
}

.curriculum-card > p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
}

.curriculum-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.curriculum-courses small {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #344054;
  font-size: 12px;
  line-height: 1.25;
}

.curriculum-more {
  display: block;
  min-width: 180px;
  min-height: 46px;
  margin: 22px auto 0;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: white;
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.curriculum-more:hover {
  background: var(--red);
  color: white;
}

@media (max-width: 980px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curriculum-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .curriculum-note a {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .curriculum-facts,
  .curriculum-controls,
  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-facts {
    gap: 10px;
  }

  .curriculum-card {
    padding: 17px;
  }

  .curriculum-contact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .curriculum-contact-qr {
    width: min(100%, 280px);
    justify-self: center;
  }
}

/* Postal Impression homepage */
.postal-home {
  --postal-orange: #f4a43a;
  --postal-orange-deep: #d46f12;
  --postal-cream: #fff7e8;
  --postal-ink: #35291f;
  --postal-night: #e2cbaa;
  background: var(--postal-cream);
  color: var(--postal-ink);
}

.postal-home .postal-topbar {
  border-bottom-color: rgba(33, 29, 24, .12);
  background: rgba(255, 250, 239, .9);
}

.postal-brand-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 2px solid var(--postal-ink);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 3px 3px 0 var(--postal-ink);
}

.postal-home .postal-brand strong { font-size: 17px; }
.postal-home .postal-brand small { color: #756b5e; }
.postal-home .nav-menu[data-active="true"] summary,
.postal-home .nav-menu summary:hover { background: #fff0d5; color: #a84d00; }
.postal-home .icon-button { border-color: #e3cda8; color: #a84d00; }
.postal-home .icon-button:hover { background: #fff0d5; }

.postal-hero {
  position: relative;
  min-height: max(640px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 5vw, 68px) clamp(20px, 5vw, 72px) 76px;
  background:
    radial-gradient(circle at 74% 36%, rgba(244, 164, 58, .2), transparent 28%),
    linear-gradient(145deg, #171714 0%, #24221d 62%, #121210 100%);
  color: white;
}

.postal-hero::before {
  content: "";
  position: absolute;
  left: -9vw;
  bottom: -26vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: var(--postal-orange);
  opacity: .95;
}

.postal-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 34%, black 100%);
}

.postal-orbit {
  position: absolute;
  border: 2px solid rgba(244, 164, 58, .65);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.postal-orbit-one { right: 4vw; top: 11%; width: 40vw; height: 18vw; }
.postal-orbit-two { right: 9vw; top: 17%; width: 30vw; height: 12vw; border-color: rgba(255, 255, 255, .3); }

.postal-bolt {
  position: absolute;
  z-index: 1;
  color: var(--postal-orange);
  font-family: Impact, sans-serif;
  font-size: clamp(54px, 7vw, 100px);
  line-height: 1;
  transform: rotate(13deg);
  text-shadow: 5px 5px 0 rgba(0, 0, 0, .38);
}

.postal-bolt-one { right: 3.4vw; top: 9%; }
.postal-bolt-two { left: 2.8vw; top: 24%; font-size: 44px; opacity: .5; transform: rotate(-18deg); }

.postal-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1260px);
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(480px, 1.18fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  margin: 0 auto;
}

.postal-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #ffd89f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.postal-kicker span {
  width: 34px;
  height: 3px;
  background: var(--postal-orange);
  box-shadow: 9px 7px 0 white;
  transform: rotate(-7deg);
}

.postal-hero-copy h1 {
  margin: 0;
  font-size: clamp(82px, 9.2vw, 138px);
  font-weight: 1000;
  line-height: .8;
  letter-spacing: -.11em;
  text-shadow: 8px 8px 0 rgba(0, 0, 0, .26);
}

.postal-hero-copy h1 span { display: block; width: fit-content; }
.postal-hero-copy h1 span:last-child {
  margin-top: 24px;
  margin-left: .3em;
  color: var(--postal-orange);
  transform: rotate(-2deg);
}

.postal-lead {
  max-width: 540px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .48);
}

.postal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

.postal-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 222, 174, .42);
  border-radius: 999px;
  background: rgba(24, 23, 20, .86);
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 700;
}

.postal-facts b { color: #ffc66c; font-weight: 950; }

.postal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.postal-primary,
.postal-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 2px solid var(--postal-ink);
  border-radius: 12px;
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease;
}

.postal-primary {
  background: #fff5e4;
  color: var(--postal-ink);
  box-shadow: 5px 5px 0 var(--postal-ink);
}

.postal-secondary {
  border-color: rgba(255, 245, 228, .78);
  background: rgba(24, 23, 20, .82);
  color: white;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, .16);
}

.postal-primary:hover,
.postal-secondary:hover { transform: translate(-2px, -2px); }
.postal-primary:hover { box-shadow: 8px 8px 0 var(--postal-ink); }
.postal-secondary:hover { box-shadow: 7px 7px 0 rgba(255, 255, 255, .2); }

.postal-hero-collage {
  position: relative;
  min-height: 520px;
}

.postal-photo,
.postal-logo-card {
  position: absolute;
  margin: 0;
  border: 3px solid var(--postal-ink);
  background: white;
  box-shadow: 12px 14px 0 rgba(244, 164, 58, .94);
}

.postal-photo { padding: 10px 10px 0; }
.postal-photo img { width: 100%; height: 100%; object-fit: cover; }

.postal-photo figcaption {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--postal-ink);
  font-size: 14px;
  font-weight: 950;
}

.postal-photo figcaption span { color: #a85c10; font-size: 10px; letter-spacing: .12em; }

.postal-photo-main {
  left: 3%;
  top: 2%;
  width: 58%;
  height: 72%;
  transform: rotate(-4deg);
}

.postal-photo-side {
  right: 1%;
  bottom: 2%;
  z-index: 2;
  width: 48%;
  height: 54%;
  transform: rotate(5deg);
  box-shadow: -10px 12px 0 rgba(255, 255, 255, .86);
}

.postal-logo-card {
  right: 6%;
  top: 2%;
  z-index: 3;
  width: 144px;
  padding: 8px;
  transform: rotate(8deg);
  box-shadow: 8px 8px 0 white;
}

.postal-logo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.postal-signal {
  position: absolute;
  left: 0;
  bottom: 5%;
  z-index: 4;
  width: 110px;
  display: grid;
  gap: 9px;
  transform: rotate(-7deg);
}

.postal-signal i { display: block; height: 5px; background: white; box-shadow: 4px 4px 0 var(--postal-ink); }
.postal-signal i:nth-child(2) { width: 82%; }
.postal-signal i:nth-child(3) { width: 64%; }
.postal-signal i:nth-child(4) { width: 42%; }

.postal-route {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  width: min(100% - 40px, 1080px);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 9px 18px;
  border: 2px solid var(--postal-ink);
  border-radius: 14px;
  background: rgba(255, 247, 232, .96);
  color: var(--postal-ink);
  box-shadow: 7px 7px 0 rgba(244, 164, 58, .72);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  font-size: 13px;
}

.postal-route span {
  padding: 6px 10px;
  border: 1px solid var(--postal-ink);
  border-radius: 999px;
  background: var(--postal-orange);
  color: var(--postal-ink);
  font-weight: 900;
}

.postal-route b { font-weight: 900; }
.postal-route i { width: 34px; height: 2px; background: rgba(33, 29, 24, .62); }

.postal-team,
.postal-guide {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 6vw, 88px);
}

.postal-team { background: var(--postal-cream); }

.postal-section-head,
.postal-guide-heading {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: 48px;
  align-items: end;
  margin: 0 auto 34px;
}

.postal-section-no {
  margin: 0 0 10px;
  color: #aa570a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.postal-section-head h2,
.postal-guide-heading h2,
.postal-moments-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.postal-section-head > p,
.postal-guide-heading > p {
  margin: 0;
  color: #675f54;
  line-height: 1.8;
}

.postal-guide-heading h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.postal-team-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.postal-team-card {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 2px solid var(--postal-ink);
  background: white;
  box-shadow: 8px 8px 0 var(--postal-ink);
  transition: transform .22s ease, box-shadow .22s ease;
}

.postal-project-card { grid-column: span 5; background: #fffdf8; }
.postal-media-card { grid-column: span 7; }
.postal-ai-card { grid-column: 1 / -1; min-height: 0; }
.postal-team-card > * { position: relative; z-index: 1; }

.postal-team-card:hover { transform: translate(-4px, -5px) rotate(-.5deg); box-shadow: 13px 14px 0 var(--postal-orange); }

.postal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #936227;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.postal-card-top b { color: var(--postal-ink); font-size: 34px; letter-spacing: -.05em; }

.postal-team-card > svg {
  width: 56px;
  height: 56px;
  margin-top: 48px;
  padding: 12px;
  border-radius: 50%;
  background: var(--postal-orange);
  stroke-width: 2.4;
}

.postal-team-card h3 { margin: 4px 0 0; font-size: 30px; letter-spacing: -.045em; }
.postal-team-card > p { margin: 0; color: #685f54; line-height: 1.75; }

.postal-dept-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
}

.postal-dept-heading > svg {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 50%;
  background: var(--postal-orange);
  stroke-width: 2.4;
}

.postal-dept-heading span {
  color: #9a5d1d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}

.postal-dept-intro {
  margin: 22px 0 0 !important;
  color: #685f54;
  line-height: 1.78;
}

.postal-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.postal-project-list span {
  padding: 10px 11px;
  border: 1px solid #ddcbaa;
  background: #fff8e9;
  color: #604c32;
  font-size: 12px;
  font-weight: 850;
}

.postal-project-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.postal-project-case {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(33, 29, 24, .28);
  background: #ead9bd;
  color: white;
  text-decoration: none;
}

.postal-project-case::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(20, 16, 12, .84));
  pointer-events: none;
}

.postal-project-case img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .28s ease;
}

.postal-project-case-beads img { object-position: 50% 35%; }
.postal-project-case-mystery img { object-position: 50% 39%; }
.postal-project-case:hover img { transform: scale(1.035); }

.postal-project-case-name {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}

.postal-project-case-name small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, .76);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
}

.postal-project-case-name b {
  display: block;
  color: white;
  font-size: 16px;
  letter-spacing: 0;
}

.postal-project-open {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(25, 20, 15, .74);
}

.postal-project-open svg { width: 15px; height: 15px; }

.postal-project-enterprise {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(33, 29, 24, .16);
  border-bottom: 1px solid rgba(33, 29, 24, .16);
}

.postal-project-enterprise > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--postal-orange);
  color: var(--postal-ink);
  stroke-width: 2.2;
}

.postal-project-enterprise-copy > span {
  display: block;
  margin-bottom: 4px;
  color: #9a500e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}

.postal-project-enterprise b {
  display: block;
  color: var(--postal-ink);
  font-size: 14px;
  line-height: 1.45;
}

.postal-project-enterprise p {
  margin: 6px 0 0;
  color: #6b5c4c;
  font-size: 12px;
  line-height: 1.7;
}

.postal-project-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.postal-project-flow li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(33, 29, 24, .12);
}

.postal-project-flow span {
  color: #9a500e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .06em;
}

.postal-project-flow b {
  display: block;
  color: #4e4134;
  font-size: 13px;
  line-height: 1.4;
}

.postal-project-flow small {
  display: block;
  margin-top: 4px;
  color: #756757;
  font-size: 10px;
  line-height: 1.5;
}

.postal-project-more {
  margin-bottom: 22px;
}

.postal-project-more > b {
  display: block;
  margin-bottom: 9px;
  color: #9a500e;
  font-size: 10px;
  letter-spacing: .12em;
}

.postal-project-more dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
}

.postal-project-more dl > div {
  min-width: 0;
  padding: 9px 0;
  border-top: 1px solid rgba(33, 29, 24, .12);
}

.postal-project-more dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

.postal-project-more dt {
  color: #4e4134;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
}

.postal-project-more dd {
  margin: 3px 0 0;
  color: #756757;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .postal-project-flow { grid-template-columns: 1fr; }
  .postal-project-more dl { grid-template-columns: 1fr; }
}

.postal-dept-fit {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(33, 29, 24, .16);
}

.postal-dept-fit b {
  display: block;
  margin-bottom: 6px;
  color: #9a500e;
  font-size: 11px;
  letter-spacing: .14em;
}

.postal-dept-fit p { margin: 0; color: #655a4d; font-size: 13px; line-height: 1.65; }

.postal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 28px;
}

.postal-tags span {
  padding: 6px 9px;
  border: 1px solid #d7c7ad;
  border-radius: 999px;
  background: #fff8e9;
  color: #715c3e;
  font-size: 11px;
  font-weight: 850;
}

.postal-media-card { background: #fff0d6; }

.postal-media-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  color: var(--postal-ink);
}

.postal-media-stat strong { font-size: 48px; line-height: 1; letter-spacing: -.06em; }
.postal-media-stat span { color: #765d3c; font-size: 12px; font-weight: 850; }

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

.postal-platform-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(33, 29, 24, .22);
  background: rgba(255, 255, 255, .5);
}

.postal-platform-grid > div:last-child { grid-column: 1 / -1; }
.postal-platform-grid dt { color: #9b520e; font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.postal-platform-grid dd { margin: 6px 0 0; color: #433a31; font-size: 12px; line-height: 1.55; }
.postal-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #914b0d;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.postal-platform-link svg { width: 14px; height: 14px; }
.postal-platform-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; }
.postal-platform-links .postal-platform-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(145, 75, 13, .34);
  text-decoration: none;
}
.postal-platform-links .postal-platform-link:hover { color: #653006; border-bottom-color: currentColor; }
.postal-service-name { display: block; color: var(--postal-ink); font-size: 12px; font-weight: 950; }
.postal-contact-links { margin-top: 8px; }

.postal-ai-card {
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    #1b1b18;
  background-size: 28px 28px;
  color: white;
}

.postal-ai-card .postal-card-top { color: #ffc56e; }
.postal-ai-card .postal-card-top b { color: white; }
.postal-ai-card > p { color: rgba(255, 255, 255, .68); }
.postal-ai-card .postal-tags span { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #ffe0ae; }
.postal-ai-card:hover { box-shadow: 13px 14px 0 var(--postal-orange); }

.postal-ai-lines { position: absolute; right: -32px; top: 134px; width: 150px; height: 150px; opacity: .55; }
.postal-ai-lines i { position: absolute; display: block; border: 2px solid var(--postal-orange); border-radius: 50%; }
.postal-ai-lines i:nth-child(1) { inset: 0; }
.postal-ai-lines i:nth-child(2) { inset: 28px; }
.postal-ai-lines i:nth-child(3) { inset: 57px; background: var(--postal-orange); }

.postal-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: stretch;
}

.postal-ai-copy { display: flex; flex-direction: column; }
.postal-ai-card .postal-dept-heading { margin-top: 28px; }
.postal-ai-card .postal-dept-heading span { color: #ffc56e; }
.postal-ai-card .postal-dept-intro { color: rgba(255, 255, 255, .72); }
.postal-ai-card .postal-dept-fit { margin-top: 24px; border-top-color: rgba(255, 255, 255, .16); }
.postal-ai-card .postal-dept-fit b { color: #ffc56e; }
.postal-ai-card .postal-dept-fit p { color: rgba(255, 255, 255, .72); }

.postal-ai-use-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
}

.postal-ai-use-cases span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .065);
  color: #ffe1b1;
  font-size: 12px;
  font-weight: 850;
}

.postal-ai-use-cases svg { width: 17px; height: 17px; color: var(--postal-orange); }

.postal-ai-proof {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 26px;
  border: 2px solid white;
  background: var(--postal-orange);
  color: var(--postal-ink);
  box-shadow: 8px 8px 0 white;
  transform: rotate(1deg);
}

.postal-ai-proof span { font-size: 10px; font-weight: 950; letter-spacing: .16em; }
.postal-ai-proof strong { margin-top: auto; font-size: clamp(62px, 8vw, 104px); line-height: .9; letter-spacing: -.08em; }
.postal-ai-proof h4 { margin: 14px 0 8px; font-size: 22px; }
.postal-ai-proof p { margin: 0; color: #503719; font-size: 12px; line-height: 1.65; }

.postal-ai-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 2px solid var(--postal-ink);
  background: rgba(255, 250, 240, .72);
  box-shadow: 5px 5px 0 rgba(53, 41, 31, .16);
}
.postal-ai-apply > div { min-width: 0; }
.postal-ai-apply > div > span { display: block; color: #9b500c; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.postal-ai-apply strong { display: block; margin-top: 5px; color: var(--postal-ink); font-size: 21px; }
.postal-ai-apply p { margin: 5px 0 0; color: #665747; font-size: 12px; line-height: 1.65; }
.postal-ai-apply button {
  min-height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 2px solid var(--postal-ink);
  border-radius: 8px;
  background: var(--postal-orange);
  color: var(--postal-ink);
  box-shadow: 3px 3px 0 var(--postal-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.postal-ai-apply button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--postal-ink); }
.postal-ai-apply button svg { width: 16px; height: 16px; }

.postal-work {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    #1b1b18;
  background-size: 42px 42px;
  color: white;
}

.postal-work .postal-section-head { margin-bottom: 38px; }
.postal-work .postal-section-no { color: #ffc56e; }
.postal-work .postal-section-head > p { color: rgba(255, 255, 255, .66); }

.postal-work-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.postal-work-card {
  grid-column: span 4;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 2px solid white;
  background: #292822;
  box-shadow: 7px 7px 0 var(--postal-orange);
  transition: transform .22s ease, box-shadow .22s ease;
}

.postal-work-card:hover { transform: translate(-3px, -4px); box-shadow: 11px 12px 0 var(--postal-orange); }
.postal-work-card-light { border-color: var(--postal-ink); background: var(--postal-cream); color: var(--postal-ink); }
.postal-work-card-orange { border-color: white; background: var(--postal-orange); color: var(--postal-ink); box-shadow: 7px 7px 0 white; }
.postal-work-card-orange:hover { box-shadow: 11px 12px 0 white; }

.postal-work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffc56e;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
}

.postal-work-card-light .postal-work-top,
.postal-work-card-orange .postal-work-top { color: #74400d; }
.postal-work-top b { color: inherit; font-size: 26px; letter-spacing: -.04em; }
.postal-work-card > svg { width: 40px; height: 40px; margin-top: 38px; color: var(--postal-orange); stroke-width: 2.2; }
.postal-work-card-light > svg,
.postal-work-card-orange > svg { color: var(--postal-ink); }
.postal-work-card h3 { margin: 15px 0 9px; font-size: 24px; letter-spacing: -.035em; }
.postal-work-card p { margin: 0; color: rgba(255, 255, 255, .67); font-size: 13px; line-height: 1.72; }
.postal-work-card-light p,
.postal-work-card-orange p { color: #5d4c39; }

.postal-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.postal-work-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #ffe0ae;
  font-size: 10px;
  font-weight: 850;
}

.postal-work-card-light .postal-work-tags span,
.postal-work-card-orange .postal-work-tags span { border-color: rgba(33, 29, 24, .28); color: #67451f; }

.postal-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(53, 41, 31, .18);
}

.postal-work-actions > button,
.postal-work-actions > a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(53, 41, 31, .35);
  background: rgba(255, 250, 240, .62);
  color: #704313;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.postal-work-actions > button { background: var(--postal-orange); color: var(--postal-ink); }
.postal-work-card-orange .postal-work-actions > button { background: #fff8eb; }
.postal-work-actions svg { width: 14px; height: 14px; flex: 0 0 auto; }
.postal-work-actions > button:hover,
.postal-work-actions > a:hover { border-color: var(--postal-ink); box-shadow: 3px 3px 0 rgba(53, 41, 31, .22); }
.postal-work-actions > button:focus-visible,
.postal-work-actions > a:focus-visible { outline: 3px solid rgba(164, 82, 10, .42); outline-offset: 2px; }

.postal-work-note {
  width: min(100%, 1180px);
  margin: 28px auto 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  line-height: 1.7;
}

.postal-moments {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(36px, 7vw, 94px);
  align-items: center;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 88px);
  background: var(--postal-orange);
}

.postal-moments-copy { max-width: 480px; justify-self: end; }
.postal-moments-copy .postal-section-no { color: #71400d; }
.postal-moments-copy p:not(.postal-section-no) { margin: 22px 0 0; color: #563817; line-height: 1.8; }
.postal-moments-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--postal-ink);
  font-weight: 950;
}

.postal-moments-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
  padding-right: max(0px, calc((100vw - 1260px) / 2));
}

.postal-moments-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--postal-ink);
  background: #ddd;
  box-shadow: 7px 7px 0 rgba(255, 255, 255, .8);
}

.postal-moments-grid .postal-moment-large { grid-row: 1 / 3; }
.postal-moments-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.postal-moments-grid figure:hover img { transform: scale(1.035); }
.postal-moments-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: var(--postal-ink);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.postal-guide {
  background:
    radial-gradient(circle at 95% 8%, rgba(244, 164, 58, .24), transparent 23%),
    #fffaf0;
}

.postal-guide-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.postal-guide-card {
  min-height: 226px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 2px solid var(--postal-ink);
  background: white;
  box-shadow: 7px 7px 0 #e6c797;
  transition: transform .2s ease, box-shadow .2s ease;
}

.postal-guide-card:hover { transform: translateY(-4px); box-shadow: 7px 12px 0 var(--postal-orange); }
.postal-guide-card > span { color: #9b5c19; font-size: 13px; font-weight: 950; letter-spacing: .14em; }
.postal-guide-card > svg { width: 30px; height: 30px; color: #a24c00; }
.postal-guide-card > div { align-self: end; }
.postal-guide-card h3 { margin: 0 0 8px; font-size: 25px; }
.postal-guide-card p { margin: 0; color: #6f665a; font-size: 13px; line-height: 1.65; }
.postal-guide-card > b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: end;
  border-radius: 50%;
  background: var(--postal-orange);
}

.postal-guide-actions {
  width: min(100%, 1180px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px auto 0;
}

.postal-guide-actions .postal-primary { box-shadow: 5px 5px 0 var(--postal-ink); }
.postal-official-links { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; color: #706454; font-size: 13px; }
.postal-official-links span { font-weight: 950; }
.postal-official-links a { display: inline-flex; align-items: center; gap: 5px; color: #9c4c08; font-weight: 850; }
.postal-official-links svg { width: 14px; height: 14px; }

.postal-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px;
  border-top: 1px solid #e5d4b5;
  background: #fff1d6;
}

.postal-source img { width: 48px; height: 48px; border-radius: 11px; }
.postal-source p { max-width: 860px; margin: 0; color: #5e5141; line-height: 1.7; }
.postal-source strong { color: var(--postal-ink); }

.postal-footer { background: var(--postal-night); color: rgba(255, 255, 255, .65); }
.postal-footer .last-updated { color: var(--postal-orange); }

@media (max-width: 1050px) {
  .postal-hero { min-height: auto; padding-top: 72px; }
  .postal-hero-inner { grid-template-columns: 1fr; }
  .postal-hero-copy { max-width: 720px; }
  .postal-hero-copy h1 { font-size: clamp(86px, 16vw, 130px); }
  .postal-hero-collage { width: min(100%, 760px); min-height: 620px; justify-self: end; }
  .postal-team-grid { grid-template-columns: 1fr; }
  .postal-project-card,
  .postal-media-card,
  .postal-ai-card { grid-column: 1; min-height: 0; }
  .postal-work-card { grid-column: span 6; }
  .postal-moments { grid-template-columns: 1fr; }
  .postal-moments-copy { max-width: 760px; justify-self: start; }
  .postal-moments-grid { width: 100%; max-width: 860px; padding-right: 0; }
}

@media (max-width: 720px) {
  .postal-home .postal-topbar { grid-template-columns: minmax(0, 1fr) 42px 42px; }
  .postal-brand-avatar { width: 40px; height: 40px; border-radius: 10px; box-shadow: 2px 2px 0 var(--postal-ink); }
  .postal-home .postal-brand strong { font-size: 15px; }
  .postal-hero { padding: 54px 16px 88px; }
  .postal-hero::before { left: -35vw; bottom: -12vw; width: 90vw; height: 90vw; opacity: .76; }
  .postal-orbit-one { right: -24vw; top: 8%; width: 80vw; height: 36vw; }
  .postal-orbit-two { right: -16vw; top: 13%; width: 58vw; height: 26vw; }
  .postal-bolt-one { right: 4vw; top: 5%; font-size: 54px; }
  .postal-bolt-two { display: none; }
  .postal-hero-copy h1 { font-size: clamp(72px, 25vw, 102px); text-shadow: 5px 5px 0 rgba(0, 0, 0, .3); }
  .postal-hero-copy h1 span:last-child { margin-top: 18px; }
  .postal-lead { margin-top: 28px; font-size: 17px; }
  .postal-actions { display: grid; grid-template-columns: 1fr; }
  .postal-actions a { width: 100%; }
  .postal-hero-collage { min-height: 480px; margin-top: 16px; }
  .postal-photo-main { left: 0; width: 72%; height: 66%; }
  .postal-photo-side { right: 0; width: 58%; height: 52%; }
  .postal-logo-card { right: 1%; width: 112px; }
  .postal-signal { left: 1%; width: 76px; }
  .postal-route {
    width: calc(100% - 24px);
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .postal-route::-webkit-scrollbar { display: none; }
  .postal-route > * { flex: 0 0 auto; }
  .postal-route i { width: 18px; }
  .postal-team,
  .postal-guide,
  .postal-moments { padding: 70px 16px; }
  .postal-section-head,
  .postal-guide-heading { grid-template-columns: 1fr; gap: 18px; }
  .postal-section-head h2,
  .postal-guide-heading h2,
  .postal-moments-copy h2 { font-size: clamp(38px, 12vw, 52px); }
  .postal-team-grid,
  .postal-guide-grid { grid-template-columns: 1fr; }
  .postal-project-card,
  .postal-media-card,
  .postal-ai-card { grid-column: 1; }
  .postal-team-card { min-height: 0; padding: 23px; }
  .postal-team-card > svg { margin-top: 34px; }
  .postal-dept-heading { margin-top: 26px; }
  .postal-project-list,
  .postal-platform-grid,
  .postal-ai-layout,
  .postal-ai-use-cases { grid-template-columns: 1fr; }
  .postal-platform-grid > div:last-child { grid-column: auto; }
  .postal-ai-proof { min-height: 290px; margin: 2px 4px 8px 0; }
  .postal-work-card { grid-column: 1 / -1; min-height: 0; }
  .postal-moments-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 190px; }
  .postal-moments-grid .postal-moment-large { grid-column: 1 / -1; grid-row: auto; }
  .postal-guide-actions { align-items: stretch; flex-direction: column; }
  .postal-guide-actions .postal-primary { width: 100%; }
  .postal-official-links { justify-content: center; }
  .postal-source { align-items: flex-start; padding-bottom: 34px; }
}

@media (max-width: 420px) {
  .postal-kicker { font-size: 10px; letter-spacing: .1em; }
  .postal-facts { display: grid; grid-template-columns: 1fr; }
  .postal-facts span { width: fit-content; }
  .postal-hero-collage { min-height: 430px; }
  .postal-photo-main { width: 78%; height: 64%; }
  .postal-photo-side { width: 62%; height: 50%; }
  .postal-photo { padding: 7px 7px 0; }
  .postal-photo figcaption { min-height: 40px; font-size: 12px; }
  .postal-logo-card { width: 90px; }
  .postal-moments-grid { grid-template-rows: 260px 160px; gap: 9px; }
  .postal-moments-grid figure { border-width: 2px; box-shadow: 4px 4px 0 rgba(255, 255, 255, .8); }
  .postal-guide-card { min-height: 205px; }
}

@media (prefers-reduced-motion: no-preference) {
  .postal-logo-card { animation: postal-float 5.5s ease-in-out infinite; }
  .postal-bolt-one { animation: postal-pulse 2.6s ease-in-out infinite; }
}

@keyframes postal-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes postal-pulse {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

/* v36 Postal Impression site-wide visual system */
body:not(.postal-home) {
  background:
    radial-gradient(circle at 92% 4%, rgba(244, 164, 58, .12), transparent 24rem),
    #fffaf1;
  color: var(--ink);
}

body:not(.postal-home) .topbar {
  border-bottom: 1px solid rgba(33, 29, 24, .14);
  background: rgba(255, 249, 238, .94);
  box-shadow: 0 5px 18px rgba(33, 29, 24, .05);
}

.brand-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 3px 3px 0 var(--ink);
}

body:not(.postal-home) .brand strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -.02em;
}

body:not(.postal-home) .brand small { color: #7c6f5f; }

body:not(.postal-home) .icon-button {
  border-color: #d9c6a8;
  border-radius: 11px;
  background: #fffaf1;
  color: #a5520a;
  box-shadow: 2px 2px 0 rgba(33, 29, 24, .1);
}

body:not(.postal-home) .icon-button:hover,
body:not(.postal-home) .icon-button[aria-current="page"] {
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
}

body:not(.postal-home) .nav-menu summary { color: #3f3932; }
body:not(.postal-home) .nav-menu[data-active="true"] summary,
body:not(.postal-home) .nav-menu summary:hover {
  background: #ffebc9;
  color: #914608;
}

body:not(.postal-home) .nav-menu-panel {
  border-color: #d9c5a5;
  background: #fffaf1;
  box-shadow: 6px 7px 0 rgba(33, 29, 24, .16), 0 22px 48px rgba(33, 29, 24, .14);
}

body:not(.postal-home) .nav-menu-overview { background: #ffedcf; }
body:not(.postal-home) .nav-menu-panel a:hover,
body:not(.postal-home) .nav-menu-panel a[aria-current="page"] {
  background: #ffe7be;
  color: #8e4708;
}

body:not(.postal-home) .guide-sidebar {
  border-right-color: #decbae;
  background:
    linear-gradient(rgba(33, 29, 24, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 29, 24, .035) 1px, transparent 1px),
    #fff6e6;
  background-size: 32px 32px;
}

body:not(.postal-home) .guide-sidebar-home {
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--gold);
}

body:not(.postal-home) .guide-sidebar-title span { background: #eddcc2; }
body:not(.postal-home) .guide-sidebar-group nav a:hover { background: #ffebca; }
body:not(.postal-home) .guide-sidebar-group nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

body:not(.postal-home) .guide-sidebar-status {
  border: 1px solid #e0c89d;
  background: #ffedcc;
  color: #6f4b16;
}

body:not(.postal-home) :is(.breadcrumb, .page-jump) {
  border-color: #e4d5be;
  background: rgba(255, 250, 241, .95);
}

body:not(.postal-home) .page-jump a { background: #f4e8d5; }
body:not(.postal-home) .page-jump a:hover { background: var(--gold); color: var(--ink); }

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 87% 78%, rgba(244, 164, 58, .2), transparent 24rem),
    var(--ink);
  color: #fff7e8;
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 54px 54px;
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents
)::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -16rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border: 2px solid rgba(244, 164, 58, .65);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(244, 164, 58, .035);
  pointer-events: none;
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) .eyebrow { color: #ffc66c; }

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) h1 {
  color: #fff7e8;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) p { color: rgba(255, 247, 232, .76); }

body:not(.postal-home) .arrival-hero > img {
  position: relative;
  z-index: 1;
  margin: 28px;
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  min-height: 400px;
  border: 8px solid #fff7e8;
  outline: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--gold);
  transform: rotate(-1.3deg);
}

body:not(.postal-home) :is(.content-hero-media img, .clubs-hero img) {
  border: 8px solid #fff7e8;
  border-radius: 8px;
  outline: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--gold);
  transform: rotate(1deg);
}

body:not(.postal-home) .content-hero-media figcaption { color: rgba(255, 247, 232, .66); }

body:not(.postal-home) :is(.content-hero-card, aside.role-entry, .city-hero-card, .training-summary) {
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: #fff4df;
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--gold);
}

body:not(.postal-home) :is(.content-hero-card, aside.role-entry, .city-hero-card, .training-summary) :is(strong, span, p) {
  color: inherit;
}

body:not(.postal-home) :is(.content-hero-card, aside.role-entry, .city-hero-card, .training-summary) svg {
  color: #a9560b;
}

body:not(.postal-home) .link-button.primary,
body:not(.postal-home) button.primary,
body:not(.postal-home) .primary-button,
body:not(.postal-home) .status-main-link {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}

body:not(.postal-home) .link-button.secondary,
body:not(.postal-home) button.secondary,
body:not(.postal-home) .secondary-button {
  border: 2px solid #d7c3a5;
  border-radius: 10px;
  background: #fff9ef;
  color: var(--ink);
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .arrival-hero
) .link-button.secondary {
  border-color: rgba(255, 247, 232, .55);
  background: rgba(255, 247, 232, .08);
  color: #fff7e8;
}

body:not(.postal-home) :is(.link-button, .primary-button, .secondary-button, button.primary, button.secondary) {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body:not(.postal-home) :is(.link-button, .primary-button, .secondary-button, button.primary, button.secondary):hover {
  transform: translateY(-2px);
}

body:not(.postal-home) .section-head { max-width: 880px; }
body:not(.postal-home) .section-head h2 {
  color: var(--ink);
  letter-spacing: -.045em;
  text-wrap: balance;
}

body:not(.postal-home) .eyebrow {
  color: #a6530a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body:not(.postal-home) :is(.hub-path, .article-section, .detail-section, .map-section) {
  background: rgba(255, 251, 244, .92);
}

body:not(.postal-home) :is(.hub-groups, .article-section:nth-of-type(even), .training-supplies, .food-history, .food-official, .optional-checks) {
  background: #fff2dd;
}

body:not(.postal-home) :is(
  .hub-group,
  .article-grid > article,
  .path-grid article,
  .route-flow article,
  .scenario-grid article,
  .supply-grid article,
  .supply-panel-grid article,
  .health-grid article,
  .adapt-grid article,
  .parent-action-grid article,
  .first-night-grid article,
  .sports-venue-card,
  .optional-card
) {
  border: 1.5px solid #d9c7aa;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 4px 5px 0 rgba(33, 29, 24, .1);
}

body:not(.postal-home) :is(
  .hub-group,
  .article-grid > article,
  .path-grid article,
  .route-flow article,
  .scenario-grid article,
  .supply-grid article,
  .supply-panel-grid article,
  .health-grid article,
  .adapt-grid article,
  .parent-action-grid article,
  .first-night-grid article,
  .optional-card
):hover {
  border-color: #bf7a35;
  box-shadow: 6px 7px 0 rgba(244, 164, 58, .24);
}

body:not(.postal-home) .hub-path ol {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 7px 7px 0 rgba(244, 164, 58, .44);
}

body:not(.postal-home) .hub-path li > span,
body:not(.postal-home) :is(.path-grid, .route-flow, .training-flow, .food-history-grid) article > span {
  color: #a9540b;
}

body:not(.postal-home) .answer-strip {
  border-color: #dfceb5;
  background: #fff1d8;
}

body:not(.postal-home) .info-band {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
  box-shadow: 6px 6px 0 var(--gold);
}

body:not(.postal-home) .info-band > a { color: #ffc66c; }

body:not(.postal-home) .source-panel {
  border-top: 2px solid var(--ink);
  background: #ffebc8;
}

body:not(.postal-home) .source-links a {
  border-color: #d7bc8a;
  background: rgba(255, 253, 247, .78);
}

body:not(.postal-home) .detail-panel {
  border: 1.5px solid #dac8ab;
  border-radius: 11px;
  background: #fffdf8;
  box-shadow: 3px 4px 0 rgba(33, 29, 24, .08);
}

body:not(.postal-home) .detail-panel[open] summary { color: #96500f; }

body:not(.postal-home) :is(.tabs, .food-switch, .map-toolbar) .tab,
body:not(.postal-home) :is(.tabs, .food-switch, .map-toolbar) .pill {
  border-color: #d9c7aa;
  background: #fff9ef;
  color: var(--ink);
}

body:not(.postal-home) :is(.tab, .pill).active,
body:not(.postal-home) :is(.tab, .pill)[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

body:not(.postal-home) :is(.dorm, .food) {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
  color: #fff7e8;
}

body:not(.postal-home) :is(.dorm, .food) .section-head :is(h1, p) { color: #fff7e8; }
body:not(.postal-home) :is(.dorm, .food) .section-head > p:last-child { color: rgba(255, 247, 232, .72); }

body:not(.postal-home) :is(.dorm-card, .food-card) {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff8eb;
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--gold);
}

body:not(.postal-home) :is(.dorm-card, .food-card) figure img {
  border-radius: 7px;
  filter: saturate(.92) contrast(1.02);
}

body:not(.postal-home) .checklist {
  background: linear-gradient(var(--ink) 0 310px, #fffaf1 310px);
}

body:not(.postal-home) .checklist > .section-head { color: #fff7e8; }
body:not(.postal-home) .checklist > .section-head .eyebrow,
body:not(.postal-home) .checklist > .section-head .checklist-progress-title strong { color: #ffc66c; }
body:not(.postal-home) .checklist > .section-head > p:not(.eyebrow) { color: rgba(255, 247, 232, .74); }
body:not(.postal-home) .checklist .progress { background: rgba(255,255,255,.2); }
body:not(.postal-home) .checklist .progress span { background: var(--gold); }

body:not(.postal-home) .check-group {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff4df;
  box-shadow: 7px 7px 0 rgba(244, 164, 58, .4);
}

body:not(.postal-home) .check-grid label {
  border-color: #deceb4;
  border-radius: 9px;
  background: #fffdf8;
}

body:not(.postal-home) .check-grid label:has(input:checked) {
  border-color: #bd7026;
  background: #ffe7bd;
}

body:not(.postal-home) .money-card {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 8px 8px 0 var(--gold);
}

.money-reference {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2d0b4;
}

.money-reference span,
.money-reference small {
  color: #8e4708;
  font-size: 12px;
  font-weight: 900;
}

.money-reference span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #ffe6ba;
}

.money-reference strong {
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
}

body:not(.postal-home) input[type="checkbox"] { accent-color: #c7680d; }

body:not(.postal-home) footer {
  border-top: 1px solid #ddc9aa;
  background: #fff0d4;
  color: #6f6253;
}

body:not(.postal-home) .mobile-dock {
  border: 1px solid rgba(33, 29, 24, .18);
  background: rgba(255, 249, 238, .96);
  box-shadow: 0 -8px 26px rgba(33, 29, 24, .1);
}

body:not(.postal-home) .mobile-dock :is(a, button)[aria-current="page"] { color: #9b4b08; }
body:not(.postal-home) .mobile-sheet-panel { background: #fff8eb; }
body:not(.postal-home) .mobile-sheet-head { border-bottom-color: #dfcdb2; }
body:not(.postal-home) .mobile-sheet-title { background: #ffebc8; }

body:not(.postal-home) :focus-visible {
  outline-color: rgba(200, 105, 16, .8);
}

@media (max-width: 980px) {
  body:not(.postal-home) .arrival-hero > img {
    margin: 20px;
    width: calc(100% - 40px);
    height: 360px;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .brand-avatar { width: 40px; height: 40px; border-radius: 10px; box-shadow: 2px 2px 0 var(--ink); }
  body:not(.postal-home) .brand strong { font-size: 15px; }
  body:not(.postal-home) .brand small { font-size: 10px; }

  body:not(.postal-home) :is(
    .hub-hero,
    .content-hero,
    .city-hero,
    .training-hero,
    .map-hero,
    .parents,
    .arrival-hero
  )::after {
    right: -15rem;
    bottom: -18rem;
    width: 30rem;
    height: 30rem;
  }

  body:not(.postal-home) .arrival-hero > img {
    height: 260px;
    border-width: 6px;
    box-shadow: 7px 7px 0 var(--gold);
  }

  body:not(.postal-home) :is(.content-hero-media img, .clubs-hero img) {
    border-width: 6px;
    box-shadow: 7px 7px 0 var(--gold);
  }

  body:not(.postal-home) .checklist { background: linear-gradient(var(--ink) 0 330px, #fffaf1 330px); }
  body:not(.postal-home) :is(.dorm-card, .food-card) { box-shadow: 6px 7px 0 var(--gold); }
  body:not(.postal-home) .check-group { box-shadow: 5px 6px 0 rgba(244, 164, 58, .4); }
  body:not(.postal-home) .money-card { box-shadow: 5px 6px 0 var(--gold); }
  .money-reference { grid-template-columns: 1fr; gap: 8px; }
  .money-reference span { width: fit-content; }
}

/* Warm beige surfaces */
.postal-hero {
  background:
    radial-gradient(circle at 74% 36%, rgba(244, 164, 58, .34), transparent 30%),
    linear-gradient(145deg, #fff8ec 0%, #f1dfc4 58%, #e7cfad 100%);
  color: var(--postal-ink);
}

.postal-hero-grid {
  opacity: .38;
  background-image:
    linear-gradient(rgba(53, 41, 31, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .11) 1px, transparent 1px);
}

.postal-orbit-two { border-color: rgba(53, 41, 31, .28); }
.postal-bolt { text-shadow: 5px 5px 0 rgba(255, 255, 255, .7); }
.postal-kicker { color: #8e4b0d; }
.postal-kicker span { box-shadow: 9px 7px 0 #d7b887; }
.postal-hero-copy h1 { text-shadow: 8px 8px 0 rgba(184, 128, 62, .22); }
.postal-lead { color: #514437; text-shadow: none; }

.postal-facts span {
  border-color: rgba(126, 83, 37, .28);
  background: rgba(255, 250, 240, .76);
  color: #4f4235;
  box-shadow: 0 7px 20px rgba(104, 70, 35, .12);
}

.postal-facts b { color: #a4520a; }
.postal-secondary {
  border-color: var(--postal-ink);
  background: var(--postal-orange);
  color: var(--postal-ink);
  box-shadow: 4px 4px 0 var(--postal-ink);
}
.postal-secondary:hover { box-shadow: 7px 7px 0 var(--postal-ink); }
.postal-signal i { background: var(--postal-ink); box-shadow: 4px 4px 0 rgba(255, 255, 255, .82); }

.postal-ai-card {
  background:
    linear-gradient(rgba(53, 41, 31, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .065) 1px, transparent 1px),
    #f0dfc4;
  color: var(--postal-ink);
}

.postal-ai-card .postal-card-top,
.postal-ai-card .postal-dept-heading span,
.postal-ai-card .postal-dept-fit b { color: #9b500c; }
.postal-ai-card .postal-card-top b { color: var(--postal-ink); }
.postal-ai-card .postal-dept-intro,
.postal-ai-card .postal-dept-fit p { color: #665747; }
.postal-ai-card .postal-dept-fit { border-top-color: rgba(53, 41, 31, .2); }
.postal-ai-use-cases span {
  border-color: rgba(53, 41, 31, .2);
  background: rgba(255, 250, 240, .62);
  color: #5b432b;
}
.postal-ai-use-cases svg { color: #a3510a; }
.postal-ai-proof { border-color: var(--postal-ink); box-shadow: 8px 8px 0 var(--postal-ink); }

.postal-work {
  background:
    linear-gradient(rgba(53, 41, 31, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .055) 1px, transparent 1px),
    #e7d2b4;
  color: var(--postal-ink);
}

.postal-work .postal-section-no { color: #94500f; }
.postal-work .postal-section-head > p { color: #675746; }
.postal-work-card,
.postal-work-card-light {
  border-color: var(--postal-ink);
  background: #fff8eb;
  color: var(--postal-ink);
}
.postal-work-card-light { background: #f4e4cb; }
.postal-work-card-orange { border-color: var(--postal-ink); background: var(--postal-orange); box-shadow: 7px 7px 0 var(--postal-ink); }
.postal-work-card-orange:hover { box-shadow: 11px 12px 0 var(--postal-ink); }
.postal-work-top,
.postal-work-card-light .postal-work-top,
.postal-work-card-orange .postal-work-top { color: #87470e; }
.postal-work-card > svg,
.postal-work-card-light > svg,
.postal-work-card-orange > svg { color: #a5520a; }
.postal-work-card p,
.postal-work-card-light p,
.postal-work-card-orange p { color: #5f5142; }
.postal-work-tags span,
.postal-work-card-light .postal-work-tags span,
.postal-work-card-orange .postal-work-tags span { border-color: rgba(53, 41, 31, .25); color: #654722; }
.postal-work-note { color: #6d5c49; }

.postal-footer {
  border-top: 1px solid #cfb58d;
  background: var(--postal-night);
  color: #61513f;
}
.postal-footer .last-updated { color: #964b09; }

body:not(.postal-home) .guide-sidebar-home {
  background: var(--gold);
  color: var(--ink);
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) {
  background:
    radial-gradient(circle at 87% 78%, rgba(244, 164, 58, .3), transparent 24rem),
    #ead8bd;
  color: var(--ink);
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
)::before {
  background-image:
    linear-gradient(rgba(53, 41, 31, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .055) 1px, transparent 1px);
}

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) .eyebrow { color: #95500f; }

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) h1 { color: var(--ink); }

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .map-hero,
  .parents,
  .arrival-hero
) p { color: #655746; }

body:not(.postal-home) :is(
  .hub-hero,
  .content-hero,
  .city-hero,
  .training-hero,
  .arrival-hero
) .link-button.secondary {
  border-color: #b99b72;
  background: rgba(255, 250, 240, .72);
  color: var(--ink);
}

body:not(.postal-home) .content-hero-media figcaption { color: #76634e; }

body:not(.postal-home) :is(.life-dashboard, .arrival-dashboard) {
  background: #e5ceb0;
}

body:not(.postal-home) :is(.life-dashboard, .arrival-dashboard) article {
  border: 1px solid #ceb28a;
  background: #fff8eb;
  color: var(--ink);
}

body:not(.postal-home) :is(.life-dashboard, .arrival-dashboard) article span,
body:not(.postal-home) :is(.life-dashboard, .arrival-dashboard) article p { color: #6b5a47; }
body:not(.postal-home) :is(.life-dashboard, .arrival-dashboard) article svg { color: #a6530a; }

body:not(.postal-home) :is(.training-note, .health-note, .health-hero-card) {
  border: 2px solid var(--ink);
  background: #efdfc6;
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--gold);
}

body:not(.postal-home) :is(.training-note, .health-note) :is(.eyebrow, h2),
body:not(.postal-home) .health-hero-card :is(strong, span) { color: var(--ink); }
body:not(.postal-home) :is(.training-note, .health-note) > p,
body:not(.postal-home) .health-hero-card span { color: #675746; }

body:not(.postal-home) .info-band {
  background:
    linear-gradient(rgba(53, 41, 31, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .045) 1px, transparent 1px),
    #efdfc6;
  color: var(--ink);
}
body:not(.postal-home) .info-band > p { color: #675746; }
body:not(.postal-home) .info-band > a { color: #98500f; }

body:not(.postal-home) :is(.dorm, .food) {
  background:
    linear-gradient(rgba(53, 41, 31, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .045) 1px, transparent 1px),
    #ead8bd;
  color: var(--ink);
}
body:not(.postal-home) :is(.dorm, .food) .section-head :is(h1, p) { color: var(--ink); }
body:not(.postal-home) :is(.dorm, .food) .section-head > p:last-child { color: #675746; }

body:not(.postal-home) .checklist { background: linear-gradient(#ead8bd 0 310px, #fffaf1 310px); }
body:not(.postal-home) .checklist > .section-head { color: var(--ink); }
body:not(.postal-home) .checklist > .section-head .eyebrow,
body:not(.postal-home) .checklist > .section-head .checklist-progress-title strong { color: #96500f; }
body:not(.postal-home) .checklist > .section-head > p:not(.eyebrow) { color: #675746; }
body:not(.postal-home) .checklist .progress { background: rgba(53, 41, 31, .16); }

@media (max-width: 720px) {
  body:not(.postal-home) .checklist { background: linear-gradient(#ead8bd 0 330px, #fffaf1 330px); }
}

/* Homepage guide-first gateway */
.postal-hero {
  min-height: max(660px, calc(100svh - 72px));
  padding-top: clamp(34px, 4vw, 54px);
}

.postal-hero-inner {
  grid-template-columns: minmax(270px, .66fr) minmax(600px, 1.34fr);
  gap: clamp(30px, 4vw, 58px);
}

.postal-hero-copy h1 { font-size: clamp(68px, 7.2vw, 108px); }
.postal-lead { font-size: clamp(16px, 1.25vw, 19px); }

.postal-guide-spotlight {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(22px, 2.5vw, 30px);
  border: 2px solid var(--postal-ink);
  border-radius: 18px;
  background: rgba(255, 250, 240, .88);
  box-shadow: 11px 12px 0 rgba(244, 164, 58, .72);
  backdrop-filter: blur(14px);
}

.postal-guide-spotlight-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.postal-guide-spotlight-head .postal-section-no { margin-bottom: 8px; }
.postal-guide-spotlight-head h2 {
  max-width: 540px;
  margin: 0;
  color: var(--postal-ink);
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.postal-guide-spotlight-head > p {
  margin: 0;
  color: #6a5947;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

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

.postal-guide-spotlight .postal-guide-card {
  min-height: 196px;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 5px 5px 0 #ddbf91;
}

.postal-guide-spotlight .postal-guide-card:hover { box-shadow: 6px 9px 0 var(--postal-orange); }
.postal-guide-spotlight .postal-guide-card > svg { width: 25px; height: 25px; }
.postal-guide-spotlight .postal-guide-card h3 { font-size: clamp(20px, 1.8vw, 25px); }
.postal-guide-spotlight .postal-guide-card p { font-size: 12px; }
.postal-guide-spotlight .postal-guide-card > b { width: 36px; height: 36px; }

.postal-guide-spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.postal-guide-checklist {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 2px solid var(--postal-ink);
  border-radius: 10px;
  background: var(--postal-orange);
  color: var(--postal-ink);
  box-shadow: 3px 3px 0 var(--postal-ink);
  font-size: 13px;
  font-weight: 950;
}

.postal-guide-checklist svg { width: 16px; height: 16px; }
.postal-guide-spotlight .postal-official-links { justify-content: flex-end; font-size: 12px; }

@media (max-width: 1050px) {
  .postal-hero-inner { grid-template-columns: 1fr; }
  .postal-guide-spotlight { order: -1; }
  .postal-hero-copy { max-width: 820px; }
  .postal-hero-copy h1 { font-size: clamp(72px, 14vw, 108px); }
}

@media (max-width: 720px) {
  .postal-guide-spotlight { padding: 18px; border-radius: 14px; box-shadow: 7px 8px 0 rgba(244, 164, 58, .7); }
  .postal-guide-spotlight-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .postal-guide-spotlight-head h2 { font-size: clamp(34px, 10vw, 44px); }
  .postal-guide-compact-grid { grid-template-columns: 1fr; }
  .postal-guide-spotlight .postal-guide-card { min-height: 148px; }
  .postal-guide-spotlight-actions { align-items: stretch; flex-direction: column; }
  .postal-guide-checklist { justify-content: center; }
  .postal-guide-spotlight .postal-official-links { justify-content: flex-start; }
  .postal-hero-copy h1 { text-shadow: 5px 5px 0 rgba(184, 128, 62, .22); }
}

.postal-work-card-link:focus-visible { outline: 4px solid rgba(164, 82, 10, .45); outline-offset: 5px; }
.postal-work-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(53, 41, 31, .2);
  color: #8f4a0c;
  font-size: 12px;
  font-weight: 950;
}
.postal-work-jump svg { width: 17px; height: 17px; }

/* Tanxiaojian community */
.community-hero { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); }
.community-hero-copy > p:last-of-type { max-width: 760px; }
.community-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.community-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #cbb28c;
  border-radius: 999px;
  background: rgba(255, 250, 240, .74);
  color: #5e4d3c;
  font-size: 12px;
  font-weight: 850;
}
.community-hero-facts svg { width: 15px; height: 15px; color: #a6530a; }

.guide-page .community-qr-card {
  max-width: 420px;
  justify-self: center;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fffaf1;
  box-shadow: 10px 11px 0 var(--gold);
  transform: rotate(1deg);
}
.guide-page .community-qr-card img {
  width: 100%;
  max-height: 620px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 8px;
  outline: 0;
  object-fit: contain;
  box-shadow: none;
  transform: none;
}
.guide-page .community-qr-card figcaption { margin: 10px 2px 1px; color: #6b5946; font-size: 12px; text-align: center; }

.community-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}
.community-flow-grid article {
  position: relative;
  min-height: 240px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff9ef;
  box-shadow: 6px 7px 0 rgba(244, 164, 58, .55);
}
.community-flow-grid article > span { color: #9b500d; font-size: 11px; font-weight: 950; letter-spacing: .14em; }
.community-flow-grid article > svg { width: 38px; height: 38px; display: block; margin-top: 32px; color: #a6530a; }
.community-flow-grid h3 { margin: 18px 0 8px; font-size: 21px; }
.community-flow-grid p { margin: 0; color: #6b5b49; font-size: 13px; line-height: 1.65; }

.community-accounts-section { background: #f1dfc4 !important; }
.community-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.community-account-grid article {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff9ef;
  box-shadow: 7px 8px 0 var(--gold);
}
.community-account-grid article:nth-child(2) { background: var(--gold); box-shadow: 7px 8px 0 var(--ink); }
.community-account-grid article > svg,
.community-account-grid article > img { width: 60px; height: 60px; margin-bottom: 24px; border: 2px solid var(--ink); border-radius: 14px; object-fit: cover; }
.community-account-grid article > svg { padding: 13px; color: #a6530a; }
.community-account-grid article > span { color: #8f4b0d; font-size: 11px; font-weight: 950; letter-spacing: .13em; }
.community-account-grid article:nth-child(2) > span { color: #68400f; }
.community-account-grid h3 { margin: 8px 0 10px; font-size: 27px; }
.community-account-grid p { margin: 0; color: #665746; line-height: 1.75; }
.community-account-grid a,
.community-account-grid button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: auto 0 0;
  padding: 22px 0 0;
  border: 0;
  background: transparent;
  color: #954b09;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.community-account-grid a svg,
.community-account-grid button svg { width: 16px; height: 16px; }

/* WeChat account follow card */
.wechat-account-dialog {
  width: min(92vw, 520px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
}
.wechat-account-dialog::backdrop {
  background: rgba(50, 37, 24, .54);
  backdrop-filter: blur(5px);
}
.wechat-account-dialog[open] { animation: wechat-dialog-in .2s ease-out; }
.wechat-account-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 164, 58, .38), transparent 42%),
    #fff8ec;
  box-shadow: 10px 11px 0 var(--gold);
}
.wechat-account-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(51, 40, 30, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  cursor: pointer;
}
.wechat-account-close svg { width: 18px; height: 18px; }
.wechat-account-brand { display: flex; align-items: center; gap: 14px; padding-right: 46px; }
.wechat-account-brand img {
  width: 64px;
  height: 64px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 4px 4px 0 rgba(244, 164, 58, .72);
}
.wechat-account-brand span { display: block; color: #9a4e0b; font-size: 11px; font-weight: 950; letter-spacing: .14em; }
.wechat-account-brand h2 { margin: 5px 0 0; font-size: clamp(23px, 5vw, 31px); }
.wechat-account-guide { margin: 22px 0 16px; color: #625241; font-size: 14px; line-height: 1.75; }
.wechat-account-field {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border: 1px solid rgba(84, 57, 32, .24);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
}
.wechat-account-field span { color: #8d4a0e; font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.wechat-account-field input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 21px;
  font-weight: 950;
}
.wechat-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wechat-account-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.wechat-account-actions button:last-child { background: #fffaf1; }
.wechat-account-actions svg { width: 16px; height: 16px; }
.wechat-account-status { min-height: 20px; margin: 10px 0 0; color: #8d4a0e; font-size: 12px; font-weight: 850; }

.campus-contact-dialog {
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.campus-contact-dialog [hidden] { display: none !important; }
.campus-contact-heading { display: flex; align-items: center; gap: 14px; padding-right: 46px; }
.campus-contact-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--gold);
  box-shadow: 4px 4px 0 rgba(244, 164, 58, .42);
}
.campus-contact-mark svg { width: 28px; height: 28px; }
.campus-contact-heading span:not(.campus-contact-mark) { display: block; color: #9a4e0b; font-size: 11px; font-weight: 950; letter-spacing: .14em; }
.campus-contact-heading h2 { margin: 5px 0 0; font-size: clamp(23px, 5vw, 31px); }
.campus-contact-qr {
  margin: 18px 0;
  padding: 12px;
  border: 1px solid rgba(84, 57, 32, .22);
  border-radius: 14px;
  background: white;
}
.campus-contact-qr a { display: block; }
.campus-contact-qr img {
  width: 100%;
  max-height: min(47vh, 420px);
  display: block;
  object-fit: contain;
}
.campus-contact-qr figcaption { margin-top: 9px; color: #6c5842; font-size: 12px; font-weight: 850; text-align: center; }
.campus-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.campus-contact-actions > a,
.campus-contact-actions > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}
.campus-contact-actions [data-campus-contact-original],
.campus-contact-actions [data-campus-contact-close] { background: #fffaf1; }
.campus-contact-actions svg { width: 16px; height: 16px; }

/* AI lab application form */
.ai-apply-dialog {
  width: min(94vw, 780px);
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  color: var(--ink);
}
.ai-apply-dialog::backdrop {
  background: rgba(50, 37, 24, .58);
  backdrop-filter: blur(5px);
}
.ai-apply-dialog[open] { animation: wechat-dialog-in .2s ease-out; }
.ai-apply-card {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background:
    linear-gradient(rgba(53, 41, 31, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 41, 31, .045) 1px, transparent 1px),
    #fff8ec;
  background-size: 28px 28px;
  box-shadow: 10px 11px 0 var(--gold);
}
.ai-apply-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(51, 40, 30, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  cursor: pointer;
}
.ai-apply-close svg { width: 18px; height: 18px; }
.ai-apply-heading { display: flex; align-items: center; gap: 14px; padding-right: 46px; }
.ai-apply-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--gold);
  box-shadow: 4px 4px 0 rgba(53, 41, 31, .18);
}
.ai-apply-mark svg { width: 27px; height: 27px; }
.ai-apply-heading div > span { display: block; color: #9a4e0b; font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.ai-apply-heading h2 { margin: 5px 0 0; font-size: clamp(25px, 5vw, 34px); }
.ai-apply-intro { margin: 20px 0; color: #625241; font-size: 13px; line-height: 1.75; }
.ai-apply-form { display: grid; gap: 20px; }
.ai-apply-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.ai-apply-grid label,
.ai-goal-field { display: grid; gap: 7px; }
.ai-apply-grid label > span,
.ai-goal-field > span,
.ai-level-fieldset legend { color: #7d410b; font-size: 11px; font-weight: 950; letter-spacing: .05em; }
.ai-apply-grid input,
.ai-goal-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(84, 57, 32, .3);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.ai-goal-field textarea { min-height: 116px; resize: vertical; line-height: 1.65; }
.ai-apply-grid input:focus,
.ai-goal-field textarea:focus { border-color: #9a4e0b; box-shadow: 0 0 0 3px rgba(244, 164, 58, .22); }
.ai-level-fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; border: 0; }
.ai-level-fieldset legend { grid-column: 1 / -1; margin-bottom: 8px; }
.ai-level-fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(84, 57, 32, .24);
  border-radius: 9px;
  background: rgba(255, 255, 255, .68);
  cursor: pointer;
}
.ai-level-fieldset label:last-child { grid-column: 1 / -1; }
.ai-level-fieldset input { margin-top: 3px; accent-color: #a5530b; }
.ai-level-fieldset b { display: block; color: var(--ink); font-size: 13px; }
.ai-level-fieldset small { display: block; margin-top: 3px; color: #6c5842; font-size: 11px; line-height: 1.5; }
.ai-apply-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ai-apply-consent { display: flex; align-items: flex-start; gap: 9px; color: #665747; font-size: 12px; line-height: 1.6; }
.ai-apply-consent input { margin-top: 3px; accent-color: #a5530b; }
.ai-apply-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-apply-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
.ai-apply-actions button:last-child { background: #fffaf1; }
.ai-apply-actions button:disabled { cursor: wait; opacity: .62; }
.ai-apply-actions svg { width: 16px; height: 16px; }
.ai-apply-status { min-height: 21px; margin: -8px 0 0; color: #7d410b; font-size: 12px; font-weight: 850; }
.ai-apply-status[data-state="success"] { color: #246036; }
.ai-apply-status[data-state="error"] { color: #a72e22; }
@keyframes wechat-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 560px) {
  .wechat-account-dialog { width: calc(100vw - 28px); }
  .wechat-account-card { padding: 24px 20px; box-shadow: 7px 8px 0 var(--gold); }
  .wechat-account-brand img { width: 56px; height: 56px; }
  .wechat-account-actions button { flex: 1 1 140px; }
  .campus-contact-mark { width: 56px; height: 56px; }
  .campus-contact-actions > a,
  .campus-contact-actions > button { flex: 1 1 140px; }
  .postal-ai-apply { align-items: stretch; flex-direction: column; }
  .postal-ai-apply button { width: 100%; }
  .ai-apply-dialog { width: calc(100vw - 20px); }
  .ai-apply-card { padding: 24px 18px; box-shadow: 7px 8px 0 var(--gold); }
  .ai-apply-mark { width: 54px; height: 54px; }
  .ai-apply-grid,
  .ai-level-fieldset { grid-template-columns: 1fr; }
  .ai-level-fieldset label:last-child { grid-column: auto; }
  .ai-apply-actions button { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .wechat-account-dialog[open] { animation: none; }
  .ai-apply-dialog[open] { animation: none; }
}

.community-feature-figure {
  max-width: 1120px;
  margin: 30px 0 0;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: white;
  box-shadow: 9px 10px 0 rgba(244, 164, 58, .55);
}
.community-feature-figure img { width: 100%; height: auto; border-radius: 8px; }
.community-feature-figure figcaption { margin: 12px 4px 2px; color: #6d5c4b; font-size: 12px; line-height: 1.6; }
.community-safety-note {
  max-width: 1120px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #d6bb91;
  border-radius: 11px;
  background: #ffedcc;
}
.community-safety-note svg { width: 22px; height: 22px; flex: 0 0 auto; color: #9a500d; }
.community-safety-note p { margin: 0; color: #684f31; font-size: 13px; line-height: 1.7; }

@media (max-width: 980px) {
  .community-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .community-hero { grid-template-columns: 1fr; }
  .guide-page .community-qr-card { width: min(100%, 400px); justify-self: start; margin-top: 8px; }
  .community-flow-grid,
  .community-account-grid { grid-template-columns: 1fr; }
  .community-flow-grid article { min-height: 210px; }
  .community-account-grid article { min-height: 250px; }
  .community-feature-figure { padding: 8px; box-shadow: 6px 7px 0 rgba(244, 164, 58, .55); }
}

/* Postal Impression activity gallery */
.postal-moments-rich { display: block; }
.postal-moments-rich .postal-moments-copy {
  width: min(100%, 1180px);
  max-width: none;
  margin: 0 auto 34px;
  justify-self: auto;
}
.postal-moments-rich .postal-moments-copy h2 { max-width: 920px; }
.postal-moments-rich .postal-moments-copy p:not(.postal-section-no) { max-width: 760px; }
.postal-moments-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.postal-moments-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(53, 41, 31, .34);
  border-radius: 999px;
  background: rgba(255, 250, 240, .58);
  color: #5f431f;
  font-size: 11px;
  font-weight: 900;
}
.postal-moments-rich .postal-moments-grid {
  width: min(100%, 1180px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: clamp(220px, 22vw, 290px);
  gap: 15px;
  margin: 0 auto;
  padding-right: 0;
}
.postal-moments-rich .postal-moments-grid figure { border-radius: 10px; }
.postal-moments-rich .postal-moments-grid figcaption {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(53, 41, 31, .2);
  border-radius: 7px;
  background: rgba(255, 250, 240, .94);
  color: var(--postal-ink);
}
.postal-moments-rich .postal-moments-grid figcaption span {
  color: #98500f;
  font-size: 9px;
  letter-spacing: .1em;
}

@media (max-width: 1050px) {
  .postal-moments-rich .postal-moments-grid {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }
}

@media (max-width: 720px) {
  .postal-moments-rich .postal-moments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
  }
  .postal-moments-rich .postal-moments-grid .postal-moment-large { grid-column: auto; grid-row: auto; }
}
