        :root {
            --ink: #1c2722;
            --muted: #6e7872;
            --paper: #f7f3eb;
            --paper-strong: #fffdf8;
            --green: #2c7150;
            --gold: #cb9a44;
            --line: rgba(28, 39, 34, .13);
            --shadow: 0 24px 72px rgba(31, 49, 39, .14);
            --page-image: url("./assets/backgrounds/morning.jpg");
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            min-height: 100vh;
            margin: 0;
            color: var(--ink);
            background:
                radial-gradient(circle at 8% 5%, rgba(203, 154, 68, .2), transparent 24rem),
                radial-gradient(circle at 92% 20%, rgba(44, 113, 80, .15), transparent 29rem),
                var(--paper);
            font-family: "Source Han Sans SC", "Noto Serif SC", sans-serif;
            overflow-x: hidden;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            opacity: .28;
            background-image:
                linear-gradient(rgba(28, 39, 34, .05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(28, 39, 34, .04) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(180deg, #000, transparent 72%);
        }

        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }

        .progress {
            position: fixed;
            inset: 0 auto auto 0;
            z-index: 100;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--gold), var(--green));
        }

        .header {
            position: fixed;
            inset: 0 0 auto;
            z-index: 60;
            height: 64px;
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 0 clamp(20px, 4vw, 56px);
            background: rgba(255, 253, 248, .9);
            border-bottom: 1px solid rgba(28, 39, 34, .08);
            box-shadow: 0 9px 28px rgba(28, 39, 34, .06);
            backdrop-filter: blur(18px) saturate(150%);
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-right: auto;
            padding: 7px 10px;
            border-radius: 14px;
            font-family: "Noto Serif SC", serif;
            font-size: 17px;
            font-weight: 700;
        }

        .brand::before {
            content: "✦";
            display: grid;
            width: 30px;
            height: 30px;
            place-items: center;
            color: var(--green);
            border: 1px solid rgba(44, 113, 80, .13);
            border-radius: 10px;
            background: rgba(255, 255, 255, .66);
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 3px;
            font-family: "Noto Serif SC", serif;
            font-size: 13px;
        }

        .nav a, .category-toggle {
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            padding: 0 11px;
            border: 0;
            border-radius: 10px;
            color: #4d5a53;
            background: transparent;
            font: inherit;
            cursor: pointer;
        }

        .nav a:hover, .nav a.active, .category-toggle:hover, .category-menu a:hover {
            color: var(--green);
            background: rgba(44, 113, 80, .09);
        }

        .category-dropdown { position: relative; }
        .category-menu {
            position: absolute;
            top: calc(100% + 9px);
            right: 0;
            display: grid;
            width: 168px;
            padding: 7px;
            border: 1px solid var(--line);
            border-radius: 16px;
            background: rgba(255, 253, 248, .98);
            box-shadow: var(--shadow);
            opacity: 0;
            pointer-events: none;
            transform: translateY(-4px);
            transition: .2s ease;
        }
        .category-dropdown.open .category-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
        .category-menu a { padding: 10px; border-radius: 10px; font-size: 13px; }

        .mobile-toggle {
            display: none;
            width: 44px;
            height: 44px;
            border: 1px solid var(--line);
            border-radius: 12px;
            color: var(--green);
            background: rgba(255, 255, 255, .7);
            font-size: 20px;
        }

        .mobile-menu {
            position: fixed;
            top: 64px;
            right: 16px;
            left: 16px;
            z-index: 55;
            display: none;
            overflow-y: auto;
            max-height: calc(100dvh - 80px);
            gap: 4px;
            padding: 13px;
            border: 1px solid var(--line);
            border-radius: 20px;
            background: rgba(255, 253, 248, .98);
            box-shadow: var(--shadow);
        }
        .mobile-menu.open { display: grid; }
        .mobile-menu a { display: flex; min-height: 44px; align-items: center; padding: 11px; border-radius: 11px; color: #415149; }
        .mobile-menu a:hover { color: var(--green); background: rgba(44, 113, 80, .09); }

        .hero {
            position: relative;
            display: grid;
            min-height: 510px;
            align-items: end;
            padding: 144px clamp(22px, 7vw, 92px) 68px;
            overflow: hidden;
            color: #fff;
            background:
                linear-gradient(105deg, rgba(10, 18, 14, .82), rgba(10, 18, 14, .42) 57%, rgba(10, 18, 14, .18)),
                var(--page-image) center / cover no-repeat;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0;
            height: 140px;
            background: linear-gradient(transparent, var(--paper));
        }

        .hero-inner {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(210px, 310px);
            gap: clamp(28px, 7vw, 100px);
            width: min(1180px, 100%);
            margin: 0 auto;
            align-items: end;
        }

        .eyebrow {
            display: inline-flex;
            margin: 0 0 17px;
            padding: 7px 10px;
            border: 1px solid rgba(255, 255, 255, .35);
            border-radius: 999px;
            background: rgba(255, 255, 255, .1);
            font: 500 11px "DM Mono", monospace;
            letter-spacing: .14em;
            text-transform: uppercase;
        }

        h1, h2, h3, p { margin-top: 0; }
        .hero h1 {
            max-width: 680px;
            margin-bottom: 16px;
            font-family: "Noto Serif SC", serif;
            font-size: clamp(48px, 7vw, 86px);
            line-height: .98;
            letter-spacing: -.07em;
        }
        .hero h1 span { color: #efc46e; }
        .hero-copy { max-width: 650px; margin: 0; color: rgba(255,255,255,.87); font-size: 16px; line-height: 1.92; }

        .hero-note {
            padding: 24px;
            border: 1px solid rgba(255,255,255,.27);
            border-radius: 22px;
            background: rgba(16, 26, 20, .33);
            backdrop-filter: blur(13px);
        }
        .hero-note strong { display: block; margin-bottom: 10px; color: #efc46e; font: 500 12px "DM Mono", monospace; letter-spacing: .12em; }
        .hero-note p { margin: 0; color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.8; }

        .shell {
            position: relative;
            z-index: 2;
            width: min(1120px, calc(100% - 40px));
            margin: -34px auto 0;
            padding-bottom: 84px;
        }
        .block {
            margin-bottom: 22px;
            padding: clamp(24px, 4vw, 42px);
            border: 1px solid var(--line);
            border-radius: 28px;
            background: rgba(255, 253, 248, .84);
            box-shadow: var(--shadow);
            backdrop-filter: blur(14px);
        }
        .block-label { margin-bottom: 8px; color: var(--green); font: 500 11px "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
        .block h2 { margin-bottom: 22px; font-family: "Noto Serif SC", serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.05em; }
        .block h3 { margin-bottom: 9px; font-family: "Noto Serif SC", serif; font-size: 20px; }
        .block p { color: #526058; line-height: 1.9; }

        .stat-grid, .card-grid, .link-grid, .photo-grid { display: grid; gap: 15px; }
        .stat-grid { grid-template-columns: repeat(3, 1fr); }
        .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .stat, .detail-card, .link-card {
            padding: 19px;
            border: 1px solid rgba(28, 39, 34, .1);
            border-radius: 19px;
            background: rgba(255,255,255,.63);
        }
        .stat b { display: block; margin-bottom: 7px; color: var(--green); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; }
        .stat span { font-family: "Noto Serif SC", serif; font-size: 19px; }
        .detail-card p, .link-card p { margin: 0; font-size: 14px; }
        .link-card { transition: transform .22s ease, border-color .22s ease; }
        .link-card:hover { border-color: rgba(44,113,80,.34); transform: translateY(-4px); }
        .link-card small { display: block; margin-bottom: 8px; color: var(--gold); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; }
        .link-card strong { display: block; margin-bottom: 7px; font-family: "Noto Serif SC", serif; font-size: 21px; }

        .timeline { position: relative; display: grid; gap: 0; }
        .timeline::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 92px; width: 1px; background: var(--line); }
        .timeline-item { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 28px; padding: 0 0 28px; }
        .timeline-item:last-child { padding-bottom: 0; }
        .timeline-time { padding-top: 3px; color: var(--muted); font: 500 11px "DM Mono", monospace; letter-spacing: .06em; }
        .timeline-dot { position: absolute; top: 6px; left: 87px; width: 11px; height: 11px; border: 3px solid var(--paper-strong); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px rgba(44,113,80,.3); }

        .photo-grid { grid-template-columns: 1.2fr .8fr .8fr; min-height: 350px; }
        .photo-card {
            position: relative;
            margin: 0;
            min-height: 230px;
            overflow: hidden;
            border-radius: 22px;
            background: #193027;
            box-shadow: 0 14px 34px rgba(24,39,31,.14);
        }
        .photo-card img {
            width: 100%;
            height: 100%;
            min-height: 230px;
            object-fit: cover;
            transition: transform .45s ease;
        }
        .photo-card:hover img { transform: scale(1.045); }
        .photo-card::before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            border: 1px solid rgba(255,255,255,.2);
            border-radius: inherit;
            pointer-events: none;
        }
        .photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(6,14,10,.7)); }
        .photo-card figcaption { position: absolute; z-index: 2; right: 17px; bottom: 15px; color: #fff; font: 500 11px "DM Mono", monospace; letter-spacing: .12em; }

        .mood-list { display: grid; gap: 14px; }
        .mood-item { padding: 21px; border-left: 4px solid var(--green); border-radius: 0 18px 18px 0; background: rgba(255,255,255,.6); }
        .mood-item time { display: block; margin-bottom: 8px; color: var(--gold); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; }
        .mood-item h3 { margin-bottom: 7px; }
        .mood-item p { margin: 0; }
        .mood-item__image { margin: 16px 0 0; overflow: hidden; border-radius: 14px; }
        .mood-item__image img { width: 100%; max-height: 420px; object-fit: cover; }
        .mood-sync { margin: -4px 0 18px; color: var(--muted); font: 500 12px/1.6 "DM Mono", monospace; }
        .mood-sync::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,163,74,.12); }
        .mood-sync[data-state="live"]::before { background: var(--green); box-shadow: 0 0 0 4px rgba(44,113,80,.12); }
        .mood-sync[data-state="fallback"]::before { background: #a96d28; box-shadow: 0 0 0 4px rgba(169,109,40,.12); }
        .empty { padding: 34px 20px; border: 1px dashed rgba(44,113,80,.3); border-radius: 21px; color: var(--muted); text-align: center; line-height: 1.85; }

        .footer { padding: 0 20px 34px; color: var(--muted); font: 12px "DM Mono", monospace; text-align: center; }
        .toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; padding: 11px 15px; border-radius: 12px; color: #fff; background: #1c2722; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
        .toast.show { opacity: 1; }

        @media (max-width: 760px) {
            .hero-copy,
            .hero-note p,
            .detail-card p,
            .link-card p,
            .mood-item__content p {
                font-size: 16px;
            }
            .header { padding-inline: 14px; }
            .nav { display: none; }
            .mobile-toggle { display: block; }
            .hero { min-height: 590px; padding: 126px 22px 56px; }
            .hero-inner { grid-template-columns: 1fr; gap: 26px; }
            .hero h1 { font-size: clamp(45px, 16vw, 66px); }
            .hero-note { max-width: 420px; }
            .shell { width: min(100% - 28px, 560px); }
            .stat-grid, .card-grid, .link-grid { grid-template-columns: 1fr; }
            .photo-grid { grid-template-columns: 1fr 1fr; min-height: 0; }
            .photo-card:first-child { grid-column: 1 / -1; }
            .timeline::before { left: 72px; }
            .timeline-item { grid-template-columns: 57px minmax(0,1fr); gap: 24px; }
            .timeline-dot { left: 67px; }
        }
