:root {
  --paper: #f7f2e8;
  --paper-deep: #efe7d8;
  --card: #fffdf9;
  --ink: #202824;
  --ink-soft: #65706a;
  --line: #e4dacb;
  --sun: #ed6b3a;
  --sun-dark: #b94723;
  --blue: #4776d0;
  --green: #4f856d;
  --yellow: #d89b20;
  --purple: #735bb3;
  --pink: #c05d78;
  --teal: #267e7c;
  --shadow-sm: 0 8px 24px rgba(59, 46, 31, 0.08);
  --shadow-md: 0 18px 55px rgba(59, 46, 31, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-height: 64px;
  --chapter-bar-height: 52px;
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body:not([data-page="home"]) {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

body:not([data-page="home"]) .site-header {
  display: none;
}

[hidden] {
  display: none !important;
}

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

button,
input,
summary {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.page-shell,
.chapter-shell {
  width: min(calc(100% - 32px), 1120px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(75, 59, 39, 0.1);
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 28px), 1120px);
  height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sun-brand {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sun-brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  background: var(--sun);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(237, 107, 58, 0.22);
}

.sun-brand__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sun-brand__copy strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.sun-brand__copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
}

.header-button {
  min-width: 48px;
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.header-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-button span {
  display: none;
  font-size: 13px;
  font-weight: 700;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 22px;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -160px;
  width: 350px;
  height: 350px;
  border: 82px solid rgba(237, 107, 58, 0.08);
  border-radius: 50%;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: var(--sun-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow span {
  margin-right: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(237, 107, 58, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
}

.home-hero h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(26px, 7.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-date {
  width: fit-content;
  margin: 0 0 17px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #26322c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 19px;
  color: #3c4943;
  font-size: 15px;
  line-height: 1.7;
}

.hero-intro strong {
  color: var(--sun-dark);
}

.hero-quote {
  max-width: 620px;
  margin-bottom: 26px;
  padding: 15px 16px;
  border-left: 3px solid var(--sun);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 253, 249, 0.68);
  color: #58625d;
  font-family: "Kaiti SC", KaiTi, serif;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: block;
}

.hero-actions .button { width: 100%; }

.button {
  min-height: 48px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.button--primary {
  background: var(--sun);
  color: #fff;
  box-shadow: 0 11px 25px rgba(237, 107, 58, 0.25);
}

.button--soft {
  border: 1px solid var(--line);
  background: var(--card);
}

.hero-note {
  margin: 17px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.hero-note span {
  margin-top: 3px;
  color: var(--green);
  font-size: 8px;
}

.hero-photo {
  position: relative;
  margin: 26px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d7e5df;
  box-shadow: var(--shadow-md);
}

.hero-photo img {
  width: 100%;
  height: min(72vw, 300px);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 64%;
}

.hero-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 11px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(22, 35, 30, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-photo figcaption span {
  max-width: 75%;
  font-size: 11px;
  line-height: 1.5;
}

.hero-photo figcaption small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  white-space: nowrap;
}

.home-contact-shell {
  margin-top: 18px;
}

.home-contact-card,
.chapter-contact-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  border: 1px solid #b9ddd8;
  border-radius: 18px;
  background: #f0faf8;
}

.home-contact-poster {
  padding: 18px;
  display: grid;
  gap: 15px;
  border: 1px solid #b9ddd8;
  border-radius: 20px;
  background: #f0faf8;
}

.home-contact-poster__copy > p {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.home-contact-poster h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.home-contact-poster span {
  display: block;
  margin-top: 8px;
  color: #54716e;
  font-size: 12px;
  line-height: 1.65;
}

.home-contact-poster small {
  display: block;
  margin-top: 7px;
  color: #8b7770;
  font-size: 10px;
  line-height: 1.5;
}

.home-contact-poster__codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-contact-poster__codes figure {
  margin: 0;
  min-width: 0;
}

.home-contact-poster__codes img {
  width: 100%;
  border-radius: 12px;
  background: #fff;
}

.home-contact-poster__codes figcaption {
  margin-top: 5px;
  color: #54716e;
  font-size: 10px;
  text-align: center;
}

.home-contact-card img,
.chapter-contact-card img {
  width: 98px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #fff;
}

.home-contact-card p {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.home-contact-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.home-contact-card span {
  display: block;
  margin-top: 7px;
  color: #54716e;
  font-size: 11px;
  line-height: 1.6;
}

.chapter-contact-card {
  margin: 18px 0 0;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  background: #fff;
}

.chapter-contact-card__copy {
  grid-column: 1 / -1;
}

.chapter-contact-card__copy > p {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.chapter-contact-card figure {
  width: 100%;
  margin: 0;
  text-align: center;
}

.chapter-contact-card img {
  width: min(100%, 184px);
  margin: 0 auto;
  display: block;
}

.chapter-contact-card strong {
  color: #286a65;
  font-size: 14px;
}

.chapter-contact-card__copy > span {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.chapter-contact-card figcaption {
  margin-top: 5px;
  color: #54716e;
  font-size: 11px;
}

.chapter-contact-card--double figure:last-child img {
  width: min(100%, 272px);
}

.route-guide-grid {
  display: grid;
  gap: 12px;
}

.route-guide-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
}

.route-guide-grid h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.route-guide-grid p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.quick-start {
  padding: 4px 0 46px;
}

.quick-start__grid {
  display: grid;
  grid-auto-columns: minmax(150px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.quick-start__grid::-webkit-scrollbar {
  display: none;
}

.quick-start a {
  min-height: 98px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.75);
  scroll-snap-align: start;
}

.quick-start a > span {
  color: var(--sun);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.quick-start strong {
  margin-top: 8px;
  font-size: 15px;
}

.quick-start small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}

.guide-index {
  padding: 44px 0 52px;
  background: #26322c;
  color: #fff;
}

.index-heading {
  margin-bottom: 28px;
}

.index-heading .section-label {
  color: #f1aa83;
}

.index-heading h2,
.letter-card h2,
.source-section h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.index-heading > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.index-stage + .index-stage {
  margin-top: 38px;
}

.stage-heading {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage-heading span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 800;
}

.stage-heading strong {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.chapter-list {
  display: grid;
  gap: 10px;
}

.chapter-card {
  position: relative;
  min-height: 78px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.chapter-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--chapter-color, var(--sun));
}

.chapter-card--orange { --chapter-color: #ef7d51; }
.chapter-card--blue { --chapter-color: #6f9de8; }
.chapter-card--green { --chapter-color: #73a98d; }
.chapter-card--yellow { --chapter-color: #e8bd5c; }
.chapter-card--purple { --chapter-color: #a18ed7; }
.chapter-card--pink { --chapter-color: #d8869b; }
.chapter-card--teal { --chapter-color: #55aaa7; }

.chapter-card__number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--chapter-color) 20%, transparent);
  color: var(--chapter-color);
  font-size: 11px;
  font-weight: 900;
}

.chapter-card__content {
  min-width: 0;
}

.chapter-card__content strong,
.chapter-card__content small {
  display: block;
}

.chapter-card__content strong {
  font-size: 17px;
}

.chapter-card__content small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
}

.chapter-card__arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.letter-section {
  padding: 68px 0;
}

.letter-card {
  position: relative;
  padding: 27px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.letter-card::after {
  content: "“";
  position: absolute;
  top: 8px;
  right: 13px;
  color: rgba(237, 107, 58, 0.08);
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
}

.letter-card__mark {
  width: 43px;
  height: 43px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--sun);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
}

.letter-card h2 {
  position: relative;
  z-index: 1;
}

.letter-card p:not(.section-label) {
  color: #535e58;
  font-size: 15px;
  line-height: 1.9;
}

.letter-signature {
  display: block;
  margin-top: 24px;
  color: var(--sun-dark);
  font-family: "Kaiti SC", KaiTi, serif;
  font-size: 17px;
}

.source-section {
  padding: 62px 0;
  border-top: 1px solid var(--line);
  background: #eee6d9;
}

.source-section h2 {
  max-width: 620px;
}

.source-section p:not(.section-label) {
  margin-bottom: 30px;
  color: #5f6963;
  font-size: 14px;
  line-height: 1.8;
}

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

.official-links a {
  min-height: 68px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #ded2c1;
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.72);
}

.official-links span {
  font-size: 14px;
  font-weight: 800;
}

.official-links small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
}

.site-footer {
  padding: 46px 0 calc(48px + env(safe-area-inset-bottom));
  background: #202824;
  color: #fff;
}

.site-footer .page-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer p {
  margin: 20px 0 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.75;
}

.site-footer p strong {
  color: #fff;
  font-size: 15px;
}

.site-footer > div > small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

/* Chapter views */
.chapter-view {
  min-height: 100vh;
  background: var(--paper);
}

.chapter-topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  height: calc(var(--chapter-bar-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(63, 52, 38, 0.1);
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(18px);
}

.chapter-topbar .page-shell {
  width: min(calc(100% - 24px), 920px);
  height: var(--chapter-bar-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.chapter-topbar a,
.chapter-topbar button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  cursor: pointer;
}

.chapter-topbar a span {
  display: none;
}

.chapter-topbar strong {
  font-size: 12px;
  white-space: nowrap;
}

.chapter-topbar button {
  justify-self: end;
}

.chapter-shell {
  width: min(100%, 920px);
}

.chapter-cover {
  min-height: 262px;
  padding: 44px 24px 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--chapter-color, var(--sun));
  color: #fff;
}

.chapter-cover--orange { --chapter-color: #d85d30; }
.chapter-cover--blue { --chapter-color: #3e67b3; }
.chapter-cover--green { --chapter-color: #45765f; }
.chapter-cover--yellow { --chapter-color: #b47a14; }
.chapter-cover--purple { --chapter-color: #654d9d; }
.chapter-cover--pink { --chapter-color: #a94f69; }
.chapter-cover--teal { --chapter-color: #226c6a; }

.chapter-cover p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.chapter-cover h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 13vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.chapter-cover > span {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.topic-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  scrollbar-width: none;
}

.topic-nav::-webkit-scrollbar {
  display: none;
}

.topic-nav a {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #4f5b55;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.chapter-body {
  width: min(calc(100% - 32px), 760px);
  margin-inline: auto;
  padding: 14px 0 48px;
}

.content-block {
  padding-top: 48px;
  scroll-margin-top: 62px;
}

.content-block + .content-block {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.content-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.content-heading > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  color: var(--sun-dark);
  font-size: 10px;
  font-weight: 900;
}

.content-heading p {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.content-heading h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 8vw, 33px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.lead-text {
  margin-bottom: 24px;
  color: #46534c;
  font-size: 16px;
  line-height: 1.8;
}

.muted-text,
.image-source {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.checklist {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.check-row {
  position: relative;
  min-height: 82px;
  padding: 15px 15px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  cursor: pointer;
}

.check-row + .check-row {
  border-top: 1px solid #eee6da;
}

.check-row input {
  position: absolute;
  opacity: 0;
}

.check-box {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1.5px solid #b9c5bf;
  border-radius: 8px;
  background: #fff;
}

.check-row input:checked + .check-box {
  border-color: var(--green);
  background: var(--green);
}

.check-row input:checked + .check-box::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.check-row input:focus-visible + .check-box {
  outline: 3px solid rgba(71, 118, 208, 0.24);
  outline-offset: 2px;
}

.check-row strong,
.check-row small {
  display: block;
}

.check-row strong {
  font-size: 14px;
  line-height: 1.45;
}

.check-row small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.details-card {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.8);
}

.details-card summary {
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.details-card summary::after {
  content: "+";
  color: var(--sun);
  font-size: 20px;
  font-weight: 500;
}

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

.details-content {
  padding: 0 16px 17px;
  color: #536059;
  font-size: 13px;
  line-height: 1.75;
}

.details-content ul {
  margin: 0;
  padding-left: 20px;
}

.details-content li + li {
  margin-top: 8px;
}

.detail-columns {
  display: grid;
  gap: 15px;
}

.detail-columns strong {
  color: var(--ink);
}

.detail-columns p {
  margin: 5px 0 0;
}

.sun-note {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid #f0c4ad;
  border-radius: 18px;
  background: #fff4ec;
}

.sun-note__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sun);
  color: #fff;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 800;
}

.sun-note strong {
  color: #9e3c1e;
  font-size: 13px;
}

.sun-note p {
  margin: 5px 0 0;
  color: #6f5143;
  font-size: 12px;
  line-height: 1.7;
}

.three-level-list {
  display: grid;
  gap: 11px;
}

.three-level-list article {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.status-dot {
  position: absolute;
  top: 19px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot--now { background: var(--green); }
.status-dot--later { background: var(--blue); }
.status-dot--wait { background: var(--yellow); }

.three-level-list article > p {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.three-level-list h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.three-level-list ul {
  margin: 0;
  padding-left: 19px;
  color: #566159;
  font-size: 13px;
  line-height: 1.7;
}

.three-level-list li + li {
  margin-top: 4px;
}

.notice {
  margin-top: 17px;
  padding: 18px;
  border-radius: 17px;
}

.notice strong {
  display: block;
  font-size: 14px;
}

.notice p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.75;
}

.notice--wait {
  border: 1px solid #ead09a;
  background: #fff7df;
  color: #6c561f;
}

.notice--sun {
  border: 1px solid #efc4b0;
  background: #fff2ea;
  color: #78442f;
}

.card-grid {
  display: grid;
  gap: 11px;
}

.info-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.info-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-deep);
  color: var(--sun-dark);
  font-size: 13px;
  font-weight: 900;
}

.info-card h3 {
  margin: 16px 0 7px;
  font-size: 16px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: #4b5851;
  font-size: 12px;
}

.address-list,
.route-list,
.process-list,
.roommate-list,
.decision-list,
.select-course-list,
.funding-list,
.utility-list,
.weekend-list {
  display: grid;
  gap: 10px;
}

.address-list article {
  min-height: 88px;
  padding: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.address-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eaf0fc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.address-list h3,
.route-list h3,
.process-list h3,
.roommate-list h3,
.decision-list h3,
.select-course-list h3,
.funding-list h3,
.utility-list h3,
.weekend-list h3 {
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.4;
}

.address-list p,
.route-list p,
.process-list small,
.roommate-list p,
.decision-list p,
.select-course-list p,
.funding-list p,
.utility-list p,
.weekend-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.address-list button {
  min-width: 48px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #cbd7ee;
  border-radius: 12px;
  background: #f1f5fd;
  color: #345d9f;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.route-list article,
.select-course-list article,
.utility-list article {
  padding: 17px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.route-list article > span,
.select-course-list article > span,
.utility-list article > span {
  min-height: 42px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 12px;
  background: #eaf0fc;
  color: #315b9f;
  font-size: 11px;
  font-weight: 900;
}

.wide-figure {
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ddd;
}

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

.travel-map img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #f2efe9;
}

.wide-figure figcaption {
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
}

.wide-figure figcaption strong {
  font-size: 13px;
}

.wide-figure figcaption span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.simple-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.simple-steps li {
  padding: 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  border-left: 2px solid #8ca9de;
  border-radius: 0 15px 15px 0;
  background: rgba(255, 253, 249, 0.7);
}

.simple-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf0fc;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.simple-steps strong {
  font-size: 14px;
}

.simple-steps p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.process-list article {
  padding: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.process-list article > span,
.roommate-list article > span,
.decision-list article > span,
.funding-list article > span,
.weekend-list article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf0fc;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.fact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.fact-strip div {
  min-height: 94px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.fact-strip strong {
  font-size: 14px;
}

.fact-strip span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.image-grid {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.image-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #d8ddd9;
}

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

.image-grid figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(25, 36, 31, 0.72);
  color: #fff;
  font-size: 9px;
  backdrop-filter: blur(8px);
}

.campus-dorm-list,
.nearby-list,
.food-summary {
  display: grid;
  gap: 10px;
}

.campus-dorm-list article,
.nearby-list article,
.food-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.campus-dorm-list span,
.nearby-list span,
.food-summary span,
.phase-list span,
.pros-cons span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.campus-dorm-list h3,
.nearby-list h3 {
  margin: 8px 0;
  font-size: 16px;
}

.campus-dorm-list p,
.nearby-list p,
.food-summary p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.rule-grid,
.advice-grid,
.term-grid {
  display: grid;
  gap: 10px;
}

.rule-grid article,
.advice-grid article,
.term-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.rule-grid article > span,
.advice-grid article > span {
  font-size: 23px;
}

.rule-grid h3,
.advice-grid h3 {
  margin: 13px 0 7px;
  font-size: 15px;
}

.rule-grid p,
.advice-grid p,
.term-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.roommate-list article,
.decision-list article,
.funding-list article,
.weekend-list article {
  padding: 17px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.roommate-list article > span {
  background: #eaf3ee;
  color: var(--green);
}

.phase-list {
  display: grid;
  gap: 10px;
}

.phase-list article {
  padding: 20px;
  border: 1px solid #ead7a8;
  border-radius: 18px;
  background: #fff8e7;
}

.phase-list h3 {
  margin: 9px 0 7px;
  font-size: 17px;
}

.phase-list p {
  margin-bottom: 0;
  color: #74603a;
  font-size: 12px;
  line-height: 1.7;
}

.health-callout {
  padding: 20px;
  border: 1px solid #dfc78b;
  border-radius: 18px;
  background: #fff8e5;
}

.health-callout h3 {
  margin-bottom: 14px;
  color: #614a13;
  font-size: 15px;
  line-height: 1.55;
}

.health-callout ol {
  margin: 0;
  padding-left: 21px;
  color: #6c5b34;
  font-size: 13px;
  line-height: 1.8;
}

.term-grid article {
  min-height: 112px;
}

.term-grid strong {
  color: var(--purple);
  font-size: 17px;
}

.term-grid p {
  margin-top: 11px;
}

.clean-list {
  margin: 16px 0 0;
  padding: 18px 18px 18px 35px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  color: #556158;
  font-size: 13px;
  line-height: 1.75;
}

.clean-list li + li {
  margin-top: 9px;
}

.select-course-list article > span {
  background: #f0ebfb;
  color: var(--purple);
}

.decision-list article > span,
.funding-list article > span {
  background: #f0ebfb;
  color: var(--purple);
}

.balance-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.balance-card > div {
  padding: 19px;
}

.balance-card > div + div {
  border-top: 1px solid var(--line);
  background: #fcf5f7;
}

.balance-card h3 {
  margin-bottom: 11px;
  font-size: 15px;
}

.balance-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.pros-cons {
  display: grid;
  gap: 10px;
}

.pros-cons article,
.society-rule {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.pros-cons p,
.society-rule p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.society-rule strong {
  display: block;
  color: var(--pink);
  font-size: 16px;
  line-height: 1.5;
}

.utility-list article > span {
  background: #e6f2f1;
  color: var(--teal);
  font-size: 14px;
}

.clarify-card {
  padding: 20px;
  display: grid;
  gap: 17px;
  border: 1px solid #aad2cf;
  border-radius: 18px;
  background: #ebf6f5;
}

.clarify-card__big {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.clarify-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.45;
}

.clarify-card p {
  margin-bottom: 0;
  color: #4b6b69;
  font-size: 13px;
  line-height: 1.75;
}

.content-subheading {
  margin: 28px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.content-subheading strong {
  font-size: 16px;
}

.content-subheading span {
  color: var(--ink-soft);
  font-size: 11px;
  white-space: nowrap;
}

.campus-card-grid {
  margin-top: 12px;
}

.campus-apply-grid .info-card > span {
  width: fit-content;
  height: auto;
  padding: 5px 8px;
  border-radius: 8px;
  background: #e6f2f1;
  color: var(--teal);
  font-size: 10px;
}

.campus-plan-card {
  padding: 18px;
  border: 1px solid #aad2cf;
  border-radius: 20px;
  background: linear-gradient(145deg, #edf9f7, #fffdf8);
}

.campus-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.campus-plan-price strong {
  color: var(--teal);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.campus-plan-price span {
  font-size: 14px;
  font-weight: 800;
}

.campus-plan-price small {
  width: 100%;
  margin-top: 8px;
  color: #50716e;
  font-size: 11px;
}

.campus-plan-grid {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.campus-plan-grid article {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.campus-plan-grid strong,
.campus-plan-grid span {
  display: block;
}

.campus-plan-grid strong {
  color: #276c67;
  font-size: 14px;
}

.campus-plan-grid span {
  margin-top: 4px;
  color: #607672;
  font-size: 10px;
}

.campus-plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: #456360;
  font-size: 12px;
  line-height: 1.75;
}

.campus-plan-card li + li {
  margin-top: 7px;
}

.campus-selector-guide {
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #26322c;
  color: #fff;
}

.campus-selector-guide > p {
  margin: 0 0 6px;
  color: #9dd8cf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.campus-selector-guide h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.campus-selector-guide > span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.65;
}

.campus-selector-guide__options {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.campus-selector-guide__options a {
  min-height: 50px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 13px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.campus-selector-guide__options b {
  color: #9dd8cf;
  font-size: 20px;
  font-weight: 500;
}

.campus-card-list {
  display: grid;
  gap: 10px;
}

.campus-card-list article {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.campus-card-list h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.campus-card-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.campus-qr-panel {
  margin-top: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  background: #26322c;
  color: #fff;
}

.campus-qr-panel__copy p {
  margin: 0 0 5px;
  color: #9dd8cf;
  font-size: 10px;
  font-weight: 800;
}

.campus-qr-panel__copy {
  grid-column: 1 / -1;
}

.campus-qr-panel__copy h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.campus-qr-panel__copy span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1.6;
}

.campus-qr-panel figure {
  margin: 0;
}

.campus-qr-panel img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #fff;
}

.campus-qr-panel figcaption {
  margin-top: 5px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  line-height: 1.35;
  text-align: center;
}

.campus-qr-panel--single {
  grid-template-columns: minmax(0, 1fr) 132px;
}

.campus-qr-panel--single .campus-qr-panel__copy {
  grid-column: auto;
}

.campus-qr-panel--single figure {
  width: 132px;
  justify-self: end;
}

.campus-business-poster {
  width: min(100%, 420px);
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.campus-business-poster img {
  width: 100%;
  height: auto;
}

.campus-business-poster figcaption {
  padding: 13px 15px 15px;
}

.campus-business-poster figcaption strong,
.campus-business-poster figcaption span {
  display: block;
}

.campus-business-poster figcaption strong {
  font-size: 14px;
}

.campus-business-poster figcaption span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.anti-scam-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.anti-scam-list article {
  padding: 15px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}

.anti-scam-list article > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e6f2f1;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.anti-scam-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.food-summary article {
  padding: 15px 17px;
}

.image-grid--food img {
  aspect-ratio: 16 / 10;
}

.weekend-list article > span {
  background: #e6f2f1;
  color: var(--teal);
}

.chapter-end {
  margin-top: 56px;
  padding: 34px 24px;
  border-radius: 24px;
  background: #26322c;
  color: #fff;
}

.chapter-end > span {
  color: #f0a37c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.chapter-end h2 {
  margin: 14px 0 10px;
  font-size: 27px;
  line-height: 1.25;
}

.chapter-end p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
}

.chapter-pagination {
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.chapter-pagination a {
  min-height: 75px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.chapter-pagination a:last-child {
  text-align: right;
}

.chapter-pagination small {
  color: var(--ink-soft);
  font-size: 9px;
}

.chapter-pagination strong {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.mobile-bottom-nav {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(60px + env(safe-area-inset-bottom));
  padding: 6px 10px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  gap: 6px;
  border-top: 1px solid rgba(54, 45, 34, 0.13);
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(18px);
}

.mobile-bottom-nav a {
  min-height: 48px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  color: var(--ink-soft);
}

.mobile-bottom-nav a:last-child {
  justify-content: flex-end;
}

.mobile-bottom-nav span {
  color: var(--sun);
  font-size: 18px;
}

.mobile-bottom-nav small {
  font-size: 10px;
  font-weight: 800;
}

.mobile-bottom-nav__home {
  flex-direction: column;
  justify-content: center;
  gap: 1px !important;
  background: var(--paper);
}

.mobile-bottom-nav__home span {
  font-size: 15px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 14px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  left: 14px;
  max-width: 420px;
  margin-inline: auto;
  padding: 12px 15px;
  border-radius: 13px;
  background: rgba(32, 40, 36, 0.94);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-note {
  position: fixed;
  z-index: 200;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #8a2c16;
  color: #fff;
  font-size: 13px;
}

@media (min-width: 420px) {
  .header-button span,
  .chapter-topbar a span {
    display: inline;
  }

  .image-grid--dorm {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 600px) {
  .page-shell {
    width: min(calc(100% - 48px), 1120px);
  }

  .home-hero {
    padding-top: 62px;
  }

  .hero-actions {
    display: flex;
  }

  .hero-actions .button {
    width: auto;
    min-width: 160px;
  }

  .campus-qr-panel {
    grid-template-columns: minmax(0, 1fr) 112px 112px;
  }

  .campus-qr-panel__copy {
    grid-column: auto;
  }

  .campus-qr-panel--single {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .chapter-contact-card--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapter-contact-card--double .chapter-contact-card__copy {
    grid-column: 1 / -1;
  }

  .chapter-contact-card--double figure:last-child {
    grid-column: auto;
  }

  .chapter-contact-card--double figure:last-child img {
    width: min(100%, 184px);
  }

  .chapter-contact-card--single {
    grid-template-columns: minmax(0, 1fr) 148px;
    align-items: center;
  }

  .chapter-contact-card--single .chapter-contact-card__copy {
    grid-column: auto;
  }

  .home-contact-poster {
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
  }

  .quick-start__grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

  .chapter-list {
    grid-template-columns: 1fr 1fr;
  }

  .chapter-card--teal:last-child {
    grid-column: 1 / -1;
  }

  .letter-card {
    padding: 42px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 26px;
  }

  .letter-card__mark {
    margin-bottom: 0;
  }

  .official-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .chapter-cover {
    min-height: 310px;
    padding: 58px 48px 48px;
    border-radius: 0 0 28px 28px;
  }

  .topic-nav {
    padding-inline: 24px;
    justify-content: center;
  }

  .chapter-body {
    width: min(calc(100% - 64px), 760px);
  }

  .content-block {
    padding-top: 62px;
  }

  .detail-columns,
  .card-grid--two,
  .rule-grid,
  .advice-grid,
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .three-level-list,
  .term-grid,
  .campus-dorm-list,
  .nearby-list,
  .food-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .image-grid--food {
    grid-template-columns: 1.4fr 1fr;
  }

  .image-grid--food figure:first-child {
    grid-row: 1 / 3;
  }

  .balance-card {
    grid-template-columns: 1fr 1fr;
  }

  .balance-card > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .clarify-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .home-hero {
    padding: 78px 0 62px;
  }

  .home-hero .page-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 70px;
  }

  .home-hero .home-contact-shell {
    display: block;
    width: min(calc(100% - 48px), 780px);
    margin-top: 24px;
  }

  .hero-photo {
    margin-top: 0;
  }

  .hero-photo img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .quick-start {
    padding-bottom: 78px;
  }

  .guide-index {
    padding-block: 88px;
  }

  .guide-index .page-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 70px;
  }

  .index-heading {
    position: sticky;
    top: 94px;
    align-self: start;
    grid-row: 1 / 4;
  }

  .index-stage + .index-stage {
    margin-top: 30px;
  }

  .chapter-list {
    grid-template-columns: 1fr;
  }

  .chapter-card--teal:last-child {
    grid-column: auto;
  }

  .letter-section {
    padding-block: 96px;
  }

  .letter-card {
    max-width: 900px;
    margin-inline: auto;
  }

  .source-section {
    padding-block: 82px;
  }

  .source-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
    gap: 80px;
  }

  .source-section p:not(.section-label) {
    margin-bottom: 0;
  }

  .chapter-shell {
    padding-top: 26px;
  }

  .chapter-cover {
    border-radius: 28px;
  }

  .topic-nav {
    margin: 14px 0 0;
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .mobile-bottom-nav {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: 290px;
    height: 58px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-md);
  }

  body:not([data-page="home"]) {
    padding-bottom: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button,
  .chapter-card,
  .quick-start a,
  .official-links a,
  .topic-nav a,
  .chapter-pagination a,
  .header-button {
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  }

  .button:hover,
  .quick-start a:hover,
  .official-links a:hover,
  .chapter-pagination a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }

  .chapter-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
  }

  .topic-nav a:hover,
  .header-button:hover {
    border-color: #cbbdac;
    background: #fff;
  }
}

@media (max-width: 359px) {
  .page-shell,
  .chapter-body {
    width: calc(100% - 24px);
  }

  .home-hero h1 {
    font-size: 25px;
  }

  .chapter-card {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 9px;
    padding-inline: 12px;
  }

  .chapter-card__content strong {
    font-size: 15px;
  }

  .address-list article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .address-list button {
    grid-column: 2;
    justify-self: start;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }
}

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

@media print {
  .site-header,
  .chapter-topbar,
  .topic-nav,
  .mobile-bottom-nav,
  .hero-actions,
  .chapter-pagination,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .view[hidden] {
    display: block !important;
  }

  .home-view {
    display: none !important;
  }

  .chapter-view {
    break-after: page;
  }

  .chapter-cover {
    min-height: 0;
    padding: 30px;
    color: #111;
    background: #eee;
  }

  .chapter-body {
    width: 100%;
  }
}
