:root {
  font-size: clamp(12px, .9333vw, 18px);
  color: #10182c;
  background: #f8fafc;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --muted: #566780;
  --line: #e1e8f0;
  --blue: #245fe7;
  --green: #6b906e;
  --shadow: 0 .42rem .72rem #0002;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.2rem;
  padding: 0 2.25rem;
  background: #020617;
  color: #f8faff;
}

.brand, .today, .topbar nav {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.brand { font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.brand span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(130deg, #4684f3, #30b3e5);
  box-shadow: 0 .3rem .8rem #3884f33b;
  font-weight: 400;
}

.topbar nav { gap: 2.7rem; margin-left: 2.7rem; color: #bfc8d8; font-size: .8rem; }
.topbar nav a { padding: .25rem 0; white-space: nowrap; border-bottom: .14rem solid transparent; }
.topbar nav a:hover, .topbar nav .current { color: white; border-bottom-color: #428cff; }
.today { justify-self: end; font-size: .69rem; white-space: nowrap; }
.today > span { border-radius: 2rem; padding: .43rem .85rem; background: #1c2130; }
.blue-pill, .today .blue-pill {
  display: inline-block;
  border-radius: 2rem;
  color: white;
  background: var(--blue);
  box-shadow: 0 .22rem .38rem #245fe749;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 53.25fr) minmax(0, 17.75fr) minmax(0, 23fr);
  gap: 3rem;
  align-items: start;
  padding: .93rem 2.25rem 0;
}

.intro { min-height: 19.65rem; }
.eyebrow { position: relative; top: -.4rem; color: #285ee9; font-size: .72rem; letter-spacing: .25em; }
.intro h1 { margin: .75rem 0 .28rem; font-size: 3.95rem; font-weight: 650; line-height: 1.16; letter-spacing: .045em; }
.tagline { color: var(--muted); font-size: .91rem; line-height: 1.55; }
.term-status { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .9rem; margin-top: .4rem; color: var(--muted); font-size: .76rem; }
.term-status .blue-pill { padding: .32rem .55rem; font-size: .68rem; }
.term-status small { display: inline-block; padding: .13rem .42rem; margin-right: .23rem; border-radius: 2rem; background: #ffffff2e; font-size: inherit; }
.next-term { display: inline-block; margin-top: .9rem; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 2rem; background: white; color: var(--muted); font-size: .7rem; }
.season-note { margin-top: .7rem; color: #45556d; font-size: .78rem; }

.terms { padding: .7rem 1.3rem; border: 1px solid var(--line); border-radius: .95rem; background: white; }
.terms h2 { margin-bottom: .45rem; color: var(--muted); font-size: .73rem; font-weight: 500; letter-spacing: .05em; }
.seasons { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: .3rem .7rem; }
.season, .season ul { display: flex; align-items: center; gap: .36rem; }
.season h3 { margin-right: .28rem; color: var(--season-color); font-size: .72rem; }
.season li { min-width: 2.5rem; padding: .23rem .36rem; border: 1px solid var(--line); border-radius: 2rem; color: var(--muted); font-size: .65rem; text-align: center; white-space: nowrap; }
.spring { --season-color: #008763; }
.summer { --season-color: #a55400; }
.autumn { --season-color: #ba4d03; }
.winter { --season-color: #0875a8; }
.season li[aria-current] { border-color: #83b9fa; background: #fff1e3; color: #a74809; box-shadow: 0 0 0 1px #83b9fa; font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin: 1.3rem .4rem 0 0; }
.feature { min-height: 28rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.3rem 1.3rem 0 0; background: white; scroll-margin-top: 1rem; }
.feature-cover { position: relative; aspect-ratio: 12 / 7; }
.feature-cover img { height: 100%; }
.cover-label { position: absolute; top: .75rem; left: .85rem; padding: .3rem .95rem; border: 1px solid #ffffff24; border-radius: 2rem; background: #101421a8; color: white; font: 600 .56rem Arial, sans-serif; white-space: nowrap; }
.calendar-cover { background: #050b19; padding: 3.3rem 1rem .25rem; }
.calendar-cover .cover-label { top: 1.25rem; left: 1.05rem; background: #202534; }
.months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 1fr); gap: .3rem; height: 100%; }
.months li { display: grid; justify-items: center; align-content: center; border-radius: .31rem; background: #1c2332; color: #d5dce7; font-size: .51rem; line-height: 1; }
.months li::after { content: ""; width: .28rem; height: .28rem; margin: .13rem 0 .33rem; border-radius: 50%; background: #a9b0ba; box-shadow: 0 .33rem #a9b0ba; }
.feature-copy { padding: 1.2rem 1.3rem; }
.feature-copy h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.13rem; }
.feature-copy h2::before { content: ""; width: .43rem; height: .43rem; flex: 0 0 .43rem; border-radius: 50%; background: var(--accent); }
.calendar { --accent: #245fe7; }
.look { --accent: #008b6b; }
.dish { --accent: #e59515; }
.feature-copy p { margin-top: .46rem; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.feature-copy .feature-note { margin-top: .62rem; font-size: .67rem; }
.feature-note::before { content: "·"; margin-right: .34rem; color: var(--accent); font-weight: 700; }

.highlights { display: grid; gap: 2.8rem; }
.panel { min-height: 16.3rem; padding: 1.4rem; border-radius: 1.15rem; background: white; box-shadow: var(--shadow); color: #243829; }
.panel h2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 1rem; font-weight: 500; }
.panel-icon { width: 1rem; height: 1rem; color: var(--green); }
.panel-photo { height: 7.2rem; border-radius: .85rem; }
.outfit-photo { object-position: center top; }
.badges { display: flex; gap: .35rem; margin-top: .9rem; font-size: .7rem; }
.badges span { padding: .25rem .45rem; border-radius: .25rem; color: #426847; background: #e6eee7; }
.badges span + span { color: #a6490b; background: #fff0db; }
.recipe-photo { position: relative; overflow: hidden; border-radius: .85rem; }
.recipe-photo img { transform: scale(1.45); transform-origin: 35% 26%; }
.recipe-photo span { position: absolute; right: .45rem; bottom: .45rem; padding: .38rem .5rem; border-radius: .3rem; background: #141700c4; color: white; font-size: .66rem; }
.panel h3 { margin-top: .85rem; font-size: .79rem; }
.difficulty { margin-top: .18rem; color: #546176; font-size: .66rem; }
.difficulty span { color: #eaaa11; }
.customs ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.customs li { display: grid; justify-items: center; align-content: center; min-height: 3.8rem; padding: .5rem .75rem; border-radius: .73rem; color: #152338; background: #e6eee7; font-size: .68rem; }
.customs li span { justify-self: start; color: var(--green); font-size: 1.1rem; line-height: 1.2; }
.explore { display: block; margin-top: .85rem; padding: .46rem; border-radius: .22rem; background: #6b8e6b; color: #07180a; font-size: .79rem; font-weight: 700; text-align: center; }
.explore:hover { background: #789d78; }

.reading { display: grid; gap: 2.4rem; justify-self: center; width: min(100%, 12.55rem); padding-top: 1.4rem; margin-right: 2.75rem; }
.reading article { overflow: hidden; border-radius: 1.2rem; background: white; color: #243829; box-shadow: var(--shadow); }
.reading img { aspect-ratio: 7 / 6; clip-path: inset(0); }
.reading article:first-child img { object-view-box: inset(1% 12% 20% 8%); }
.reading article:nth-child(2) img { object-view-box: inset(8% 19% 12% 12%); }
.article-copy { padding: .98rem .9rem .87rem; }
.article-copy h2 { font-size: .88rem; }
.article-copy p { display: flex; justify-content: space-between; margin-top: .53rem; color: #536073; font-size: .69rem; }
.article-copy b { color: #ef696d; }

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; }
  .intro { min-height: 16.5rem; }
  .reading { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; padding: 0 0 2rem; margin-right: 0; }
  .feature { min-height: 22rem; }
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr auto; gap: .5rem; padding: .9rem 1.2rem .4rem; }
  .topbar nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; margin-left: 0; }
  .today > span:first-child { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 1.2rem 0; }
  .intro { min-height: auto; padding-bottom: 2rem; }
  .intro h1 { font-size: clamp(2rem, 7.6vw, 3.8rem); }
  .seasons { grid-template-columns: 1fr; }
  .season ul { flex-wrap: wrap; }
  .features, .highlights, .reading { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
  .features { margin-right: 0; }
  .feature { min-height: auto; border-radius: 1.3rem; }
  .panel { min-height: auto; }
  .panel-photo { height: 10rem; }
}
