:root {
  --ink: #253047;
  --muted: #788197;
  --paper: #fbfaff;
  --white: rgba(255, 255, 255, 0.82);
  --pink: #efb9ca;
  --blue: #b9d6ed;
  --purple: #c8bee9;
  --peach: #f2cfbd;
  --line: rgba(82, 93, 123, 0.13);
  --shadow: 0 24px 80px rgba(89, 91, 133, 0.12);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 40%, rgba(233, 197, 227, 0.22), transparent 25rem),
    radial-gradient(circle at 95% 70%, rgba(191, 220, 240, 0.2), transparent 28rem),
    var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { color: inherit; font: inherit; }
button { cursor: pointer; }
.noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.landing { position: fixed; inset: 0; z-index: 20; overflow: hidden; color: #273449; transition: opacity .7s ease, visibility .7s; }
.landing.hidden { opacity: 0; visibility: hidden; }
.landing__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); animation: slowZoom 18s ease-out both; }
.landing__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,248,246,.9) 0%, rgba(253,249,246,.5) 45%, rgba(247,248,252,.07) 72%), linear-gradient(0deg, rgba(246,248,251,.16), transparent 40%); }
.landing__brand { position: absolute; top: 36px; left: clamp(24px, 5vw, 80px); display: flex; align-items: center; gap: 13px; font-size: 11px; font-weight: 700; letter-spacing: .24em; }
.brand-mark { display: grid; width: 36px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(51,65,85,.3); border-radius: 50% 50% 45% 55%; font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.landing__content { position: absolute; top: 50%; left: clamp(24px, 9vw, 150px); width: min(760px, 78vw); transform: translateY(-48%); }
.eyebrow, .section-kicker { margin: 0 0 20px; color: #73869c; font-size: 10px; font-weight: 700; letter-spacing: .28em; }
.landing h1 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(45px, 5.35vw, 82px); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
.thought { min-height: 94px; margin: 34px 0 28px; padding-left: 20px; border-left: 1px solid rgba(67,85,102,.28); }
.thought blockquote { margin: 0 0 9px; max-width: 540px; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.65; transition: opacity .22s, transform .22s; }
.thought figcaption { display: flex; gap: 12px; align-items: center; color: #6f7d8c; font-size: 10px; letter-spacing: .13em; }
.quote-source::before { content: "·"; margin-right: 12px; }
.landing__actions { display: flex; gap: 12px; align-items: center; }
.enter-button { display: flex; align-items: center; gap: 34px; padding: 15px 18px 15px 22px; color: #fff; background: rgba(39,52,73,.94); border: 0; border-radius: 999px; box-shadow: 0 12px 30px rgba(35,49,69,.2); transition: transform .25s, background .25s; }
.enter-button:hover { transform: translateY(-2px); background: #202b3e; }
.enter-button svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.shuffle-button { display: flex; gap: 8px; align-items: center; padding: 13px 16px; color: #5f7182; background: rgba(255,255,255,.42); border: 1px solid rgba(70,88,102,.16); border-radius: 999px; backdrop-filter: blur(10px); }
.shuffle-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.landing__season { position: absolute; right: 42px; bottom: 34px; display: flex; gap: 10px; align-items: center; font-family: "Songti SC", serif; font-size: 11px; letter-spacing: .18em; writing-mode: vertical-rl; }
.landing__season i { width: 1px; height: 35px; background: rgba(48,62,78,.25); }
.scroll-hint { position: absolute; bottom: 35px; left: clamp(24px, 5vw, 80px); display: flex; gap: 12px; align-items: center; color: #708094; font-size: 8px; letter-spacing: .2em; }
.scroll-hint span { position: relative; width: 35px; height: 1px; overflow: hidden; background: rgba(76,89,103,.25); }
.scroll-hint span::after { content: ""; position: absolute; width: 14px; height: 1px; background: #596a7f; animation: scrollLine 2s infinite; }

.site-shell { min-height: 100vh; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .8s .2s ease, transform .8s .2s ease, visibility .8s; }
.site-shell.visible { opacity: 1; visibility: visible; transform: none; }
.topbar { position: sticky; top: 0; z-index: 15; display: flex; height: 74px; padding: 0 clamp(20px, 5vw, 74px); align-items: center; justify-content: space-between; background: rgba(251,250,255,.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); }
.topbar__brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-family: Georgia, serif; font-size: 20px; }
.topbar__brand .brand-mark { width: 32px; font-size: 14px; }
.nav { display: flex; height: 100%; align-items: center; gap: clamp(8px, 1.8vw, 27px); }
.nav__item { position: relative; height: 100%; padding: 0 2px; color: #788095; background: none; border: 0; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.nav__item::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 0; height: 2px; background: #7f8fb5; transition: .25s; }
.nav__item.active { color: var(--ink); }
.nav__item.active::after { left: 0; width: 100%; }
.menu-button { display: none; width: 40px; height: 40px; background: transparent; border: 0; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); }

.mini-hero { position: relative; height: clamp(220px, 31vw, 420px); overflow: hidden; }
.mini-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,48,65,.5), transparent 70%), linear-gradient(0deg, rgba(251,250,255,.25), transparent 30%); }
.mini-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 63%; }
.mini-hero__copy { position: absolute; z-index: 1; left: clamp(24px, 8vw, 130px); bottom: 20%; color: white; text-shadow: 0 2px 24px rgba(38,48,60,.2); }
.mini-hero__copy span { font-size: 9px; font-weight: 700; letter-spacing: .3em; }
.mini-hero__copy p { margin: 10px 0 0; font-family: "Songti SC", Georgia, serif; font-size: clamp(23px, 3vw, 46px); letter-spacing: .08em; }

.pages { width: min(1180px, calc(100% - 40px)); min-height: 700px; margin: 0 auto; padding: clamp(60px, 8vw, 120px) 0; }
.page { display: none; animation: pageIn .55s ease both; }
.page.active { display: block; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, .8fr); gap: 24px; }
.profile-card, .now-card, .calendar-card, .day-card, .skill-panel, .favorite-language { background: var(--white); border: 1px solid rgba(105,110,144,.1); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.profile-card { display: grid; grid-template-columns: minmax(250px, .9fr) 1.25fr; min-height: 470px; padding: 36px; border-radius: var(--radius); }
.avatar-wrap { position: relative; display: grid; align-content: center; justify-items: center; min-width: 0; }
.avatar-wrap::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 42% 58% 52% 48%; background: linear-gradient(145deg, #dcebf5, #f4dce6 55%, #e7e1f5); animation: blob 8s ease-in-out infinite; }
.avatar-wrap img { position: relative; z-index: 1; width: min(94%, 330px); height: auto; filter: drop-shadow(0 18px 20px rgba(85,81,115,.12)); }
.avatar-orbit { position: absolute; top: 10px; left: 5px; color: #8b91a3; font-size: 8px; letter-spacing: .24em; writing-mode: vertical-rl; }
.online-dot { position: absolute; right: 7%; bottom: 13%; z-index: 2; width: 14px; aspect-ratio: 1; background: #8fcfae; border: 3px solid white; border-radius: 50%; }
.profile-copy { display: flex; flex-direction: column; justify-content: center; padding: 20px 15px 20px 36px; }
.profile-copy .section-kicker { margin-bottom: 8px; }
.profile-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(62px, 7vw, 94px); font-weight: 400; letter-spacing: -.07em; }
.soft-dot, .page-title h1 span { color: #d4a6bf; }
.bio { max-width: 420px; margin: 2px 0 25px; color: #667084; font-family: "Songti SC", serif; line-height: 1.8; }
.profile-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 27px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-meta dt, .contact-list small { display: block; margin-bottom: 5px; color: #9ca2b3; font-size: 8px; font-weight: 700; letter-spacing: .19em; }
.profile-meta dd { margin: 0; font-size: 12px; }
.contact-list { display: grid; gap: 8px; }
.contact-list a, .contact-placeholder { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 9px 12px; text-decoration: none; background: rgba(244,244,250,.72); border-radius: 14px; font-size: 11px; }
.contact-list a > span:nth-child(2), .contact-placeholder > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.contact-list a b { margin-left: auto; font-weight: 400; }
.contact-placeholder { color: #9298a8; border: 1px dashed rgba(110,115,145,.18); background: transparent; }
.contact-icon { display: grid; width: 28px; aspect-ratio: 1; place-items: center; flex: 0 0 auto; color: #6f7890; background: white; border-radius: 50%; box-shadow: 0 4px 12px rgba(90,90,120,.08); }
.now-card { position: relative; min-height: 470px; padding: 28px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(155deg, rgba(225,236,248,.88), rgba(242,231,242,.82)); }
.now-card__top { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.now-card__top i { width: 7px; height: 7px; background: #83b99e; border-radius: 50%; box-shadow: 0 0 0 6px rgba(131,185,158,.12); }
.now-card__time { margin: 48px 0 0; font-family: Georgia, serif; font-size: clamp(58px, 6vw, 82px); letter-spacing: -.07em; }
.now-card__time + p { margin: 2px 0; color: #778397; font-size: 9px; letter-spacing: .15em; }
.weather-art { position: relative; height: 120px; margin-top: 25px; }
.weather-art span { position: absolute; top: 5px; right: 27px; width: 55px; aspect-ratio: 1; background: rgba(255,231,173,.72); border-radius: 50%; box-shadow: 0 0 35px rgba(244,210,151,.7); }
.weather-art i, .weather-art b { position: absolute; right: -60px; bottom: 18px; width: 220px; height: 70px; background: rgba(255,255,255,.55); border-radius: 50% 0 0 0; transform: rotate(-5deg); }
.weather-art b { right: 25px; bottom: 0; width: 170px; height: 46px; background: rgba(184,210,231,.4); transform: rotate(4deg); }
.now-card blockquote { position: absolute; bottom: 24px; left: 28px; right: 28px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(92,105,127,.15); color: #667289; font-family: Georgia, serif; font-size: 12px; line-height: 1.6; }

.overview { margin-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 400; }
.section-heading .section-kicker { margin-bottom: 7px; }
.section-heading > p { max-width: 280px; margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; display: flex; min-height: 275px; padding: 26px; overflow: hidden; flex-direction: column; justify-content: space-between; text-align: left; background: #e8eff7; border: 0; border-radius: 25px; transition: transform .3s, box-shadow .3s; }
.feature-card::after { content: ""; position: absolute; right: -38px; bottom: -55px; width: 180px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.56); border-radius: 49% 51% 70% 30%; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(86,94,124,.14); }
.feature-card__number { font-family: Georgia, serif; color: #8190a5; font-size: 13px; }
.feature-card p { margin: 0 0 8px; color: #7e899b; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.feature-card h3 { margin: 0; font-family: "Songti SC", Georgia, serif; font-size: clamp(21px, 2.2vw, 29px); font-weight: 400; line-height: 1.45; }
.feature-card .arrow { position: absolute; right: 22px; top: 22px; display: grid; width: 38px; aspect-ratio: 1; place-items: center; background: rgba(255,255,255,.45); border-radius: 50%; }
.games-card { background: linear-gradient(145deg, #e6eef7, #dce8f2); }
.stack-card { background: linear-gradient(145deg, #f1e5ec, #e9dfef); }
.timeline-card { background: linear-gradient(145deg, #f5e8dd, #eee4e9); }

.page-title { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 55px; }
.page-title .section-kicker { grid-column: 1 / -1; margin-bottom: 10px; }
.page-title h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(55px, 8vw, 102px); font-weight: 400; letter-spacing: -.065em; }
.page-title > p:last-child { max-width: 280px; margin: 0 0 12px; color: var(--muted); font-family: "Songti SC", serif; line-height: 1.8; }
.game-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, 250px); gap: 20px; }
.game-card { position: relative; display: flex; padding: 30px; overflow: hidden; align-items: flex-end; border-radius: var(--radius); background: #e5ecf5; }
.game-card:first-child { grid-row: span 2; }
.game-card::before { content: ""; position: absolute; right: -8%; top: -20%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 42% 58% 65% 35%; }
.game-card > div:last-child { position: relative; z-index: 1; }
.game-card p { margin: 0 0 8px; color: #7a8599; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.game-card h2 { margin: 0; font-family: "Songti SC", Georgia, serif; font-size: clamp(25px, 3vw, 40px); font-weight: 400; }
.game-card div > span { color: #7f8796; font-family: Georgia, serif; font-size: 13px; }
.game-index { position: absolute; top: 25px; left: 28px; font-family: Georgia, serif; font-size: 12px; }
.game-symbol { position: absolute; top: 12%; right: 10%; color: rgba(255,255,255,.8); font-family: Georgia, serif; font-size: clamp(90px, 13vw, 180px); }
.game-genshin { background: linear-gradient(150deg, #dfeaf5, #cbdceb); }
.game-city { background: linear-gradient(145deg, #eee6f3, #ded9ec); }
.game-mc { background: linear-gradient(145deg, #f3e4dd, #e9d9e3); }

.favorite-language { display: flex; min-height: 250px; padding: clamp(30px, 5vw, 65px); align-items: center; justify-content: space-between; overflow: hidden; border-radius: var(--radius); background: linear-gradient(120deg, rgba(230,239,248,.9), rgba(244,229,239,.85)); }
.favorite-language p { margin: 0 0 20px; color: #768296; font-size: 12px; letter-spacing: .06em; }
.favorite-language h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(58px, 9vw, 120px); font-weight: 400; letter-spacing: -.06em; }
.rust-mark { display: grid; width: clamp(120px, 18vw, 210px); aspect-ratio: 1; place-items: center; flex: 0 0 auto; color: rgba(82,91,117,.45); border: 1px solid rgba(85,94,119,.16); border-radius: 40% 60% 47% 53%; font-family: Georgia, serif; font-size: clamp(60px, 9vw, 105px); transform: rotate(8deg); }
.skill-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.skill-panel { padding: 32px; border-radius: 24px; }
.skill-panel.wide { grid-column: 1 / -1; }
.skill-panel h2 { margin: 0 0 25px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.skill-list { display: grid; }
.skill-list span { display: flex; padding: 15px 0; justify-content: space-between; border-top: 1px solid var(--line); }
.skill-list i { color: #a2a7b4; font-size: 9px; font-style: normal; letter-spacing: .15em; text-transform: uppercase; }
.panel-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.tool-cloud { display: flex; gap: 11px; flex-wrap: wrap; }
.tool-cloud span { padding: 11px 17px; background: linear-gradient(135deg, #eef3f9, #f6eaf1); border: 1px solid white; border-radius: 999px; font-size: 12px; }

.journal-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.calendar-card, .day-card { padding: clamp(24px, 4vw, 42px); border-radius: var(--radius); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.calendar-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(20px, 3vw, 29px); font-weight: 400; }
.calendar-head button { width: 36px; height: 36px; color: #7e8798; background: #f3f3f8; border: 0; border-radius: 50%; }
.calendar-week, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-week span { padding-bottom: 12px; color: #a1a6b3; text-align: center; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.calendar-day { position: relative; aspect-ratio: 1; background: transparent; border: 0; border-radius: 50%; font-family: Georgia, serif; font-size: 12px; }
.calendar-day:hover { background: #f2eff7; }
.calendar-day.outside { color: #c5c8d0; }
.calendar-day.has-event::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; background: #c795b5; border-radius: 50%; transform: translateX(-50%); }
.calendar-day.selected { color: white; background: #6f7890; }
.calendar-day.selected::after { background: #fff; }
.calendar-legend { margin-top: 22px; padding-top: 18px; color: #8d94a4; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .08em; }
.calendar-legend i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: #c795b5; border-radius: 50%; }
.day-card { display: flex; min-height: 420px; flex-direction: column; background: linear-gradient(155deg, rgba(238,230,244,.9), rgba(229,239,248,.9)); }
.day-card__date { color: #7d8598; font-family: Georgia, serif; font-size: 12px; letter-spacing: .14em; }
.day-card__rule { width: 42px; height: 1px; margin: 22px 0 auto; background: #9da5b4; }
.day-card__label { color: #9399a8; font-size: 8px; font-weight: 700; letter-spacing: .22em; }
.day-card h2 { margin: 6px 0 20px; font-family: Georgia, "Songti SC", serif; font-size: clamp(54px, 7vw, 85px); font-weight: 400; }
.day-card__content { margin: 0; color: #586479; font-family: "Songti SC", serif; font-size: 16px; line-height: 1.8; }
.event-line { margin-top: 80px; }
.event-track { position: relative; display: flex; justify-content: space-around; padding: 30px 5% 0; }
.event-track::before { content: ""; position: absolute; top: 62px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #c8cbd7 10%, #c8cbd7 90%, transparent); }
.event { position: relative; z-index: 1; display: grid; justify-items: center; background: transparent; border: 0; }
.event span { color: #9096a4; font-family: Georgia, serif; font-size: 11px; }
.event i { width: 11px; height: 11px; margin: 24px 0 17px; background: #fff; border: 2px solid #aeb4c2; border-radius: 50%; transition: .25s; }
.event b { font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.event.active i { background: #d2a6bc; border-color: #d2a6bc; box-shadow: 0 0 0 7px rgba(210,166,188,.14); }

.reserve-page { min-height: 480px; }
.construction { display: grid; min-height: 480px; place-content: center; justify-items: center; text-align: center; }
.construction > span { color: rgba(195,178,210,.35); font-family: Georgia, serif; font-size: 130px; line-height: 1; }
.construction p { margin: -10px 0 10px; color: #999eac; font-size: 9px; font-weight: 700; letter-spacing: .28em; }
.construction h1 { margin: 0; font-family: "Songti SC", Georgia, serif; font-size: 48px; font-weight: 400; }
.construction-line { width: 180px; height: 1px; margin: 28px 0; overflow: hidden; background: #e0dbe7; }
.construction-line i { display: block; width: 45%; height: 100%; background: #a8b9d0; animation: progress 2.4s ease-in-out infinite; }
.construction small { color: #9b9fad; font-family: Georgia, serif; font-size: 12px; }

.footer { display: flex; padding: 34px clamp(20px, 5vw, 74px); justify-content: space-between; color: #8f95a4; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .13em; }
.footer button { padding: 0; color: #70798d; background: none; border: 0; }
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.01); } }
@keyframes scrollLine { from { transform: translateX(-18px); } to { transform: translateX(40px); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes blob { 0%,100% { border-radius: 42% 58% 52% 48%; transform: rotate(-2deg); } 50% { border-radius: 58% 42% 45% 55%; transform: rotate(2deg); } }
@keyframes progress { 0% { transform: translateX(-110%); } 50%,100% { transform: translateX(230%); } }

@media (max-width: 850px) {
  .landing__veil { background: linear-gradient(90deg, rgba(252,248,246,.85), rgba(252,248,246,.28)), linear-gradient(0deg, rgba(248,247,249,.2), transparent); }
  .landing__content { top: 53%; width: calc(100% - 48px); }
  .landing h1 { font-size: clamp(42px, 11vw, 68px); }
  .thought { min-height: 110px; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; display: none; height: auto; padding: 15px 20px 20px; flex-wrap: wrap; background: rgba(251,250,255,.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav__item { height: 40px; flex: 1 0 26%; }
  .nav__item::after { display: none; }
  .menu-button { display: block; }
  .intro-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .avatar-wrap { min-height: 320px; }
  .profile-copy { padding: 26px 8px 5px; }
  .now-card { min-height: 380px; }
  .overview-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .journal-layout { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .landing__brand { top: 24px; }
  .landing__art { object-position: 63% center; }
  .landing__content { left: 22px; width: calc(100% - 44px); }
  .eyebrow { margin-bottom: 13px; }
  .thought { margin: 25px 0 20px; }
  .thought figcaption { align-items: flex-start; flex-direction: column; gap: 3px; }
  .quote-source::before { display: none; }
  .landing__season, .scroll-hint { display: none; }
  .landing__actions { align-items: stretch; flex-direction: column; }
  .enter-button { justify-content: space-between; }
  .shuffle-button { align-self: flex-start; }
  .pages { width: min(100% - 24px, 1180px); padding-top: 50px; }
  .mini-hero { height: 230px; }
  .mini-hero__copy { bottom: 18%; }
  .profile-card { padding: 20px; }
  .avatar-wrap { min-height: 270px; }
  .profile-copy h2 { font-size: 66px; }
  .profile-meta { grid-template-columns: 1fr 1fr; }
  .profile-meta div:last-child { grid-column: 1 / -1; }
  .section-heading, .page-title { display: block; }
  .section-heading > p, .page-title > p:last-child { margin-top: 16px; }
  .game-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 250px); }
  .game-card:first-child { grid-row: auto; }
  .skill-layout { grid-template-columns: 1fr; }
  .skill-panel.wide { grid-column: auto; }
  .favorite-language { min-height: 220px; }
  .rust-mark { width: 95px; }
  .calendar-card, .day-card { padding: 20px 14px; }
  .calendar-week, .calendar-days { gap: 1px; }
  .calendar-day { font-size: 11px; }
  .event-track { justify-content: space-between; }
  .footer { gap: 15px; align-items: flex-start; flex-direction: column; }
}

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