/* ============ Design tokens ============ */
:root {
  --paper: #f5f7fb;
  --surface: #ffffff;
  --ink: #1b2440;
  --ink-soft: #5f6a86;
  --ink-faint: #98a2b8;
  --line: #e6ebf4;
  --blue: #2a63ff;
  --blue-dark: #1b43b8;
  --orange: #ff7a45;
  --yellow: #ffc44d;
  --mint: #16b8a6;
  --violet: #7b61ff;
  --grad: linear-gradient(120deg, #2a63ff 0%, #5b7dff 50%, #ff7a45 100%);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 18px 48px rgba(27, 46, 94, .09);
  --shadow-lg: 0 30px 70px rgba(27, 46, 94, .16);
  --max: 1180px;
  --header-h: 72px;
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(42, 99, 255, .22); }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 13px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.reveal {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1) var(--delay, 0s),
    translate .7s cubic-bezier(.22, 1, .36, 1) var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

.ambient {
  position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.ambient--blue { width: 620px; height: 620px; top: -220px; left: -180px; background: rgba(80, 130, 255, .16); }
.ambient--orange { width: 520px; height: 520px; top: 32%; right: -220px; background: rgba(255, 140, 80, .12); }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(27, 46, 94, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 17px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; font-size: 8px; letter-spacing: .22em; color: var(--ink-faint); }
.nav { position: relative; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 8px 12px; border-radius: 10px;
  font-size: 14px; color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue); background: rgba(42, 99, 255, .07); }
.nav-link.is-active { color: var(--blue); font-weight: 600; }
.nav-toggle { display: none; }
.header-clock {
  display: flex; align-items: center; gap: 7px; flex: none;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
  font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 700;
}
.header-clock small { color: var(--ink-faint); font-size: 11px; font-weight: 500; }
.clock-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }

/* ============ Hero ============ */
.hero { position: relative; padding: calc(var(--header-h) + 62px) 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--blue);
}
.eyebrow-line { width: 34px; height: 2px; border-radius: 2px; background: var(--grad); }
.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.18; letter-spacing: -.03em; font-weight: 800;
}
.hero-highlight {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead { max-width: 540px; color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(42, 99, 255, .28); }
.btn-primary:hover { box-shadow: 0 16px 32px rgba(42, 99, 255, .36); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #f9fbff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-size: 22px; letter-spacing: -.02em; }
.hero-meta span { font-size: 12px; color: var(--ink-faint); }

.hero-visual { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.visual-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.visual-sun {
  position: absolute; top: 20px; right: 26px; width: 112px; height: 112px; border-radius: 50%;
  background: linear-gradient(145deg, #ffd76b, #ff8a5b);
  box-shadow: 0 0 0 18px rgba(255, 209, 102, .16), 0 0 64px rgba(255, 122, 69, .26);
}
.visual-card {
  position: relative; z-index: 2; width: min(86%, 384px);
  margin-top: -10px; padding: 24px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid #fff; border-radius: 24px;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}
.visual-top { display: flex; align-items: center; justify-content: space-between; }
.visual-chip { padding: 5px 12px; border-radius: 999px; background: #eaf0ff; color: var(--blue); font-size: 12px; font-weight: 700; }
.visual-weather { font-size: 13px; color: var(--ink-soft); }
.visual-title { margin: 18px 0 16px; font-size: 20px; font-weight: 800; }
.mini-timetable { display: grid; gap: 9px; }
.mini-row { display: grid; grid-template-columns: 52px 1fr 62px; align-items: center; gap: 10px; font-size: 12px; }
.mini-row span { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.mini-row b { font-weight: 600; }
.mini-bar { height: 7px; border-radius: 99px; background: #e9edf6; overflow: hidden; position: relative; }
.mini-bar::after { content: ""; position: absolute; inset: 0 28% 0 0; border-radius: inherit; background: var(--blue); }
.mini-bar--orange::after { background: var(--orange); right: 14%; }
.mini-bar--mint::after { background: var(--mint); right: 38%; }
.mini-bar--violet::after { background: var(--violet); right: 8%; }
.visual-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.visual-foot strong { color: var(--ink); font-size: 13px; }
.float-note {
  position: absolute; z-index: 3; padding: 9px 14px; border-radius: 12px;
  background: #fff; box-shadow: 0 12px 30px rgba(27, 46, 94, .14);
  font-size: 12px; font-weight: 700;
}
.float-note--one { top: 96px; left: 0; transform: rotate(-6deg); }
.float-note--two { right: 2px; bottom: 88px; transform: rotate(5deg); }
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: max-content; margin: 58px auto 0; font-size: 11px; letter-spacing: .18em; color: var(--ink-faint);
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--blue), transparent); }

/* ============ Shared sections ============ */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-kicker {
  display: inline-block; margin-bottom: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--blue);
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.02em; }
.section-head p { max-width: 360px; color: var(--ink-soft); font-size: 14px; }

/* ============ Day timeline ============ */
.day-section { background: linear-gradient(180deg, #fff 0%, #f8faff 100%); }
.day-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.day-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink); text-align: left;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.day-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.day-tab span {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 10px; background: #eef2ff; color: var(--blue); font-size: 12px; font-weight: 800;
}
.day-tab small { margin-left: auto; color: var(--ink-faint); font-size: 11px; }
.day-tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 14px 30px rgba(42, 99, 255, .24); }
.day-tab.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.day-tab.is-active small { color: rgba(255, 255, 255, .74); }
.day-panels { padding: 26px 32px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.timeline { display: grid; }
.timeline-item {
  display: grid; grid-template-columns: 62px 42px 1fr auto; align-items: start; gap: 16px;
  padding: 20px 0; border-bottom: 1px dashed var(--line);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-time { color: var(--blue); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timeline-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: #f2f5ff; font-size: 19px;
}
.timeline-content h3 { font-size: 17px; margin-bottom: 4px; }
.timeline-content p { color: var(--ink-soft); font-size: 13px; }
.timeline-tag {
  padding: 5px 11px; border-radius: 999px; background: #f5f7fb;
  color: var(--ink-faint); font-size: 11px; white-space: nowrap;
}

/* ============ Timetable ============ */
.timetable-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.day-switch { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px; }
.switch-btn {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-soft); font-size: 13px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.switch-btn:hover { border-color: #bfd0ff; color: var(--blue); }
.switch-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.table-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.table-head, .table-row { display: grid; grid-template-columns: 84px 128px 1fr 1.25fr; align-items: center; gap: 12px; padding: 14px 22px; }
.table-head { background: #f0f4ff; color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.table-row { border-bottom: 1px solid var(--line); font-size: 13px; }
.table-row:last-child { border-bottom: 0; }
.table-row:hover { background: #fafcff; }
.row-index { color: var(--blue); font-weight: 700; font-size: 12px; }
.row-time { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.table-row strong { font-size: 14px; }
.table-row > span:last-child { color: var(--ink-soft); }
.table-row--break { background: #fffaf2; }
.table-row--break .row-index { color: var(--orange); }
.table-row--night { background: #f6f4ff; }
.table-row--night .row-index { color: var(--violet); }
.table-aside {
  padding: 30px; border-radius: 24px; color: #fff;
  background: linear-gradient(155deg, #1b347f 0%, #2a63ff 100%);
  box-shadow: 0 20px 44px rgba(42, 99, 255, .24);
}
.aside-badge { display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 11px; }
.table-aside h3 { margin: 18px 0 12px; font-size: 21px; line-height: 1.4; }
.table-aside p { color: rgba(255,255,255,.78); font-size: 13px; }
.table-aside ul { display: grid; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.table-aside li { display: flex; gap: 10px; font-size: 12px; color: rgba(255,255,255,.9); }
.table-aside li span { color: #ffd166; font-weight: 800; }

/* ============ Campus ============ */
.campus-section { background: #fff; }
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.campus-card {
  position: relative; min-height: 232px; padding: 28px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 10px 30px rgba(27, 46, 94, .05);
  transition: transform .25s, box-shadow .25s;
}
.campus-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--blue); }
.campus-card--blue::before { background: var(--blue); }
.campus-card--mint::before { background: var(--mint); }
.campus-card--orange::before { background: var(--orange); }
.campus-card--yellow::before { background: var(--yellow); }
.campus-card--violet::before { background: var(--violet); }
.campus-card--sky::before { background: #38bdf8; }
.campus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.campus-icon { display: block; font-size: 34px; line-height: 1; }
.campus-index { position: absolute; top: 24px; right: 26px; color: #e3e8f2; font-size: 28px; font-weight: 800; }
.campus-card h3 { margin: 20px 0 8px; font-size: 21px; }
.campus-card p { color: var(--ink-soft); font-size: 13px; }
.campus-meta {
  display: inline-block; margin-top: 18px; padding: 5px 11px; border-radius: 999px;
  background: #f4f6fb; color: var(--ink-faint); font-size: 11px;
}

/* ============ Clubs ============ */
.clubs-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.club-feature {
  position: relative; overflow: hidden; padding: 36px; border-radius: 28px; color: #fff;
  background: linear-gradient(145deg, #152250 0%, #263d92 60%, #3458c9 100%);
  box-shadow: 0 24px 54px rgba(21, 34, 80, .24);
}
.club-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 11px; letter-spacing: .08em; }
.club-feature h3 { margin: 22px 0 12px; font-size: 34px; }
.club-feature p { max-width: 460px; color: rgba(255,255,255,.78); font-size: 14px; }
.club-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.club-tags span { padding: 5px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 11px; }
.club-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border: 0; border-radius: 12px;
  background: #fff; color: var(--blue-dark); font-weight: 700; font-size: 13px;
  transition: transform .2s;
}
.club-btn:hover { transform: translateX(3px); }
.club-deco { position: absolute; right: 16px; bottom: -40px; font-size: 150px; font-weight: 800; color: rgba(255,255,255,.07); pointer-events: none; }
.club-list { display: grid; gap: 14px; }
.club-item {
  display: flex; align-items: center; gap: 14px; padding: 17px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .2s, box-shadow .2s;
}
.club-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.club-emoji { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: #f2f5ff; font-size: 21px; }
.club-item h3 { font-size: 15px; }
.club-item p { color: var(--ink-faint); font-size: 12px; }
.club-item button {
  margin-left: auto; flex: none; padding: 7px 15px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 700;
  transition: background .2s;
}
.club-item button:hover { background: #eef2ff; }

/* ============ Food ============ */
.food-section { background: linear-gradient(180deg, #f8faff 0%, #fff 100%); }
.food-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-btn {
  padding: 9px 19px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-soft); font-size: 13px; font-weight: 600;
  transition: all .2s;
}
.filter-btn:hover { color: var(--orange); border-color: #ffcdb8; }
.filter-btn.is-active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 10px 22px rgba(255, 122, 69, .24); }
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.food-card {
  position: relative; min-height: 214px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: transform .25s, box-shadow .25s;
}
.food-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.food-emoji { display: block; font-size: 34px; line-height: 1; }
.food-tag { position: absolute; top: 22px; right: 20px; padding: 4px 9px; border-radius: 999px; background: #fff2eb; color: #d95b2d; font-size: 10px; font-weight: 700; }
.food-card h3 { margin: 18px 0 7px; font-size: 18px; }
.food-card p { color: var(--ink-soft); font-size: 12px; }
.food-price { display: inline-block; margin-top: 16px; color: var(--orange); font-size: 12px; font-weight: 800; }
.food-note { margin-top: 20px; color: var(--ink-faint); font-size: 11px; }

/* ============ City ============ */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(27, 46, 94, .05); }
.city-visual { display: grid; place-items: center; height: 136px; font-size: 46px; }
.city-visual span { filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); }
.city-visual--bay { background: linear-gradient(135deg, #c7e9ff, #7cc6f5); }
.city-visual--hill { background: linear-gradient(135deg, #d9f2d6, #8ed2a5); }
.city-visual--library { background: linear-gradient(135deg, #ece0ff, #bda6f5); }
.city-visual--tech { background: linear-gradient(135deg, #ffe3c9, #ffae7d); }
.city-info { padding: 20px; }
.city-label { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.city-info h3 { margin: 8px 0 6px; font-size: 18px; }
.city-info p { color: var(--ink-soft); font-size: 12px; }
.city-quote {
  position: relative; margin-top: 30px; padding: 38px 44px; border-radius: 24px;
  background: linear-gradient(110deg, #12245a, #2a63ff);
  color: #fff; overflow: hidden;
}
.city-quote p { max-width: 760px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; line-height: 1.55; }
.quote-mark { position: absolute; top: 8px; left: 16px; font-size: 90px; color: rgba(255,255,255,.12); line-height: 1; }
.quote-source { display: block; margin-top: 14px; color: rgba(255,255,255,.7); font-size: 12px; }

/* ============ Memory wall ============ */
.memory-section { background: #fff; padding-bottom: 110px; }
.memory-shell { padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: #fbfcff; }
.memory-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 30px; }
.memory-copy h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.memory-copy p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }
.memory-form { display: flex; gap: 10px; }
.memory-form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px;
}
.memory-form input::placeholder { color: var(--ink-faint); }
.memory-form button {
  flex: none; height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
  transition: background .2s;
}
.memory-form button:hover { background: var(--blue-dark); }
.memory-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.memory-note {
  min-height: 128px; padding: 20px; border-radius: 16px; background: #eaf0ff;
  transform: rotate(-1deg);
}
.memory-note:nth-child(2) { transform: rotate(1deg); }
.memory-note--orange { background: #fff0e8; }
.memory-note--mint { background: #e5f8f3; }
.memory-note p { font-size: 14px; font-weight: 600; line-height: 1.6; }
.memory-note span { display: block; margin-top: 14px; color: var(--ink-faint); font-size: 11px; }
.memory-note.is-new { animation: pop .4s ease both; }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-2deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.memory-hint { margin-top: 18px; color: var(--ink-faint); font-size: 11px; }

/* ============ Footer & toast ============ */
.site-footer { background: #101a36; color: rgba(255,255,255,.7); padding: 46px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand p { margin-top: 4px; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.toast {
  position: fixed; z-index: 100; bottom: 28px; left: 50%;
  padding: 12px 22px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 13px;
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  opacity: 0; pointer-events: none; translate: -50% 16px;
  transition: opacity .25s, translate .25s;
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(38px, 5vw, 56px); }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid, .city-grid { grid-template-columns: repeat(2, 1fr); }
  .clubs-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-clock { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: opacity .2s, transform .2s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: calc(var(--header-h) + 8px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px; border: 1px solid var(--line); border-radius: 18px;
    background: #fff; box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 11px 14px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { min-height: 430px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .timetable-layout { grid-template-columns: 1fr; }
  .day-tabs { grid-template-columns: 1fr; }
  .memory-head { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .brand-copy small { display: none; }
  .hero h1 { font-size: clamp(35px, 9vw, 46px); }
  .hero-lead { font-size: 14px; }
  .hero-meta { gap: 22px; }
  .hero-meta strong { font-size: 18px; }
  .hero-visual { min-height: 390px; }
  .visual-card { width: 90%; padding: 20px; }
  .visual-sun { width: 82px; height: 82px; top: 8px; right: 10px; }
  .float-note--one { top: 62px; left: -4px; }
  .float-note--two { bottom: 68px; right: -4px; }
  .day-panels { padding: 16px; border-radius: 20px; }
  .timeline-item { grid-template-columns: 50px 38px 1fr; gap: 10px; }
  .timeline-icon { width: 38px; height: 38px; font-size: 17px; }
  .timeline-tag { grid-column: 3; justify-self: start; }
  .table-head, .table-row { grid-template-columns: 68px 1fr; padding: 13px 16px; }
  .table-head span:nth-child(2), .table-head span:nth-child(4),
  .table-row .row-time, .table-row > span:last-child { display: none; }
  .table-aside { padding: 24px; }
  .campus-grid, .food-grid, .city-grid, .memory-wall { grid-template-columns: 1fr; }
  .memory-shell { padding: 24px; }
  .memory-form { flex-direction: column; }
  .memory-form button { width: 100%; }
  .city-quote { padding: 30px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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