:root {
    --landing-bg: #e8e2db;
    --landing-paper: #f6f1ea;
    --landing-paper-soft: #f1ebe4;
    --landing-text: #111111;
    --landing-muted: #7c756d;
    --landing-line: #d9d0c7;
    --landing-line-strong: #cec3ba;
    --landing-red: #b10000;
    --landing-red-dark: #8f0000;
    --landing-dark: #0f0f0f;
    --landing-white: #fff9f2;
    --landing-radius: 30px;
    --landing-shadow: 0 24px 56px rgba(41, 15, 11, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 28px;
    color: var(--landing-text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.7), transparent 28%),
        linear-gradient(180deg, #ece8e1 0%, var(--landing-bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 20%),
        radial-gradient(circle at 80% 15%, rgba(177, 0, 0, 0.05), transparent 24%);
}

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

.page-shell {
    position: relative;
    width: min(1400px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--landing-radius);
    background: var(--landing-paper);
    box-shadow: var(--landing-shadow);
}

.hero {
    display: grid;
    grid-template-columns: 72px minmax(360px, 42%) minmax(0, 58%);
    min-height: 560px;
    border-bottom: 1px solid var(--landing-line);
    background: var(--landing-paper);
}

.side-rail {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--landing-line);
}

.side-rail span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--landing-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.45em;
}

.hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    overflow: hidden;
    border-right: 1px solid var(--landing-line);
}

.hero-copy::before {
    content: "JUN\A MING";
    position: absolute;
    inset: auto 0 24px 22px;
    z-index: 0;
    white-space: pre;
    color: #e5ddd4;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: clamp(86px, 9vw, 170px);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.07em;
    opacity: 0.6;
    pointer-events: none;
}

.hero-copy > * {
    position: relative;
    z-index: 1;
}

.date-badge {
    display: grid;
    place-items: center;
    width: 104px;
    height: 54px;
    margin-bottom: 34px;
    border: 1px solid var(--landing-line-strong);
    border-radius: 999px;
    color: var(--landing-red);
    background: rgba(255, 255, 255, 0.52);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 20px;
    font-style: italic;
    transform: rotate(-9deg);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--landing-red);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.28em;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

h1 span {
    display: block;
}

h1 span:first-child {
    font-size: clamp(66px, 7vw, 108px);
}

h1 span:last-child {
    margin-top: 6px;
    font-size: clamp(76px, 7.4vw, 116px);
}

.credit {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--landing-muted);
    font-size: 15px;
    line-height: 1.75;
}

.notice {
    width: fit-content;
    max-width: 100%;
    margin: 26px 0 0;
    padding: 11px 16px;
    border: 1px solid rgba(177, 0, 0, 0.36);
    border-radius: 999px;
    color: var(--landing-red);
    background: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.hero-art {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background:
        radial-gradient(circle at 58% 12%, rgba(255, 255, 255, 0.46), transparent 22%),
        linear-gradient(180deg, #ebe6dd 0%, #b40000 100%);
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(177, 0, 0, 0), rgba(177, 0, 0, 0.9));
    pointer-events: none;
}

.hero-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 520px;
}

.index-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 28px 18px;
    border-right: 1px solid var(--landing-line);
    background: linear-gradient(180deg, #f6f2ec 0%, var(--landing-paper-soft) 100%);
}

.nav-item {
    position: relative;
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--landing-line-strong);
}

.nav-item.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -18px;
    width: 3px;
    height: 24px;
    border-radius: 999px;
    background: var(--landing-red);
    transform: translateY(-50%);
}

.nav-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--landing-red);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 20px;
    font-weight: 700;
}

.nav-item span {
    display: block;
    color: var(--landing-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.24;
}

.feature-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    padding: 34px 48px;
    border-right: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
}

.panel:nth-child(2n) {
    border-right: 0;
}

.panel:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.panel.light {
    background:
        radial-gradient(circle at 85% 20%, rgba(177, 0, 0, 0.035), transparent 28%),
        linear-gradient(180deg, #f8f4ef 0%, #f4efe8 100%);
}

.panel.dark {
    color: var(--landing-white);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.76)),
        url("../img/hero-home.jpg") center / cover;
}

.panel-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.panel-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--landing-red);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 23px;
    line-height: 1;
}

.panel.dark .panel-number {
    color: #e24c43;
}

.panel h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.panel p {
    margin: 15px 0 0;
    color: rgba(17, 17, 17, 0.6);
    font-size: 16px;
    line-height: 1.75;
}

.panel.dark p {
    color: rgba(255, 249, 242, 0.74);
}

.panel-bg-number {
    position: absolute;
    top: 18px;
    right: 24px;
    color: rgba(17, 17, 17, 0.052);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: clamp(112px, 12vw, 174px);
    line-height: 0.9;
    pointer-events: none;
}

.panel.dark .panel-bg-number {
    top: auto;
    right: 16px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.08);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 46px;
    margin-top: 28px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.button::after {
    content: "→";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.button:hover {
    transform: translateY(-2px);
}

.button.ghost-dark {
    border: 1px solid rgba(17, 17, 17, 0.28);
    background: rgba(255, 255, 255, 0.52);
    color: var(--landing-text);
}

.button.ghost-light {
    border: 1px solid rgba(255, 249, 242, 0.42);
    background: transparent;
    color: var(--landing-white);
}

.button.primary {
    border: 1px solid rgba(177, 0, 0, 0.78);
    background: linear-gradient(180deg, #c30000 0%, var(--landing-red-dark) 100%);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(177, 0, 0, 0.24);
}

body.focus-notice-open {
    overflow: hidden;
}

.focus-notice[hidden] {
    display: none;
}

.focus-notice {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(15, 15, 15, 0.56);
    backdrop-filter: blur(7px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.focus-notice.is-open {
    opacity: 1;
}

.focus-notice-card {
    position: relative;
    width: min(560px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    padding: 34px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 28px;
    color: var(--landing-text);
    background:
        radial-gradient(circle at 92% 8%, rgba(177, 0, 0, 0.08), transparent 25%),
        linear-gradient(145deg, #fffaf4 0%, var(--landing-paper) 56%, #eee6dc 100%);
    box-shadow: 0 32px 90px rgba(15, 6, 4, 0.34);
    transform: translateY(16px) scale(0.985);
    transition: transform 0.22s ease;
}

.focus-notice-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(177, 0, 0, 0.12);
    border-radius: 19px;
    pointer-events: none;
}

.focus-notice.is-open .focus-notice-card {
    transform: translateY(0) scale(1);
}

.focus-notice-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--landing-line-strong);
    border-radius: 50%;
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.66);
    cursor: pointer;
    font: inherit;
    font-size: 28px;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.focus-notice-close:hover {
    border-color: var(--landing-red);
    color: var(--landing-red);
    transform: rotate(6deg);
}

.focus-notice-close:focus-visible,
.focus-notice-item:focus-visible,
.focus-notice-title-link:focus-visible,
.focus-notice-arrow-link:focus-visible,
.focus-notice-detail-trigger:focus-visible,
.focus-detail-close:focus-visible,
.focus-notice-confirm:focus-visible {
    outline: 3px solid rgba(177, 0, 0, 0.32);
    outline-offset: 3px;
}

.focus-notice-kicker {
    margin: 0 58px 10px 0;
    color: var(--landing-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.focus-notice-title {
    margin: 0 58px 0 0;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.focus-notice-description {
    margin: 14px 0 22px;
    color: var(--landing-muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.focus-notice-item {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    padding: 14px 16px;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.focus-notice-item:hover {
    border-color: rgba(177, 0, 0, 0.42);
    background: rgba(255, 255, 255, 0.86);
    transform: translateY(-2px);
}

.focus-notice-item.is-static {
    cursor: default;
}

.focus-notice-item.is-static:hover {
    border-color: rgba(27, 22, 21, 0.12);
    background: rgba(246, 241, 234, 0.72);
    transform: none;
}

.focus-notice-number {
    color: var(--landing-red);
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 22px;
    font-weight: 700;
}

.focus-notice-copy {
    min-width: 0;
}

.focus-notice-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
}

.focus-notice-title-link {
    color: inherit;
    transition: color 0.18s ease;
}

.focus-notice-title-link:hover {
    color: var(--landing-red);
}

.focus-notice-detail-trigger {
    min-width: 44px;
    min-height: 36px;
    padding: 6px 3px;
    border: 0;
    color: var(--landing-red-dark);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.focus-notice-copy strong,
.focus-notice-copy small {
    display: block;
}

.focus-notice-copy strong {
    font-size: 16px;
    line-height: 1.4;
}

.focus-notice-copy small {
    margin-top: 3px;
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.55;
}

.focus-notice-arrow {
    color: var(--landing-red);
    font-size: 22px;
}

.focus-notice-arrow-link {
    display: grid;
    place-items: center;
    min-width: 24px;
    min-height: 44px;
}

.focus-notice-confirm {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 1px solid var(--landing-red-dark);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #c30000 0%, var(--landing-red-dark) 100%);
    box-shadow: 0 12px 24px rgba(177, 0, 0, 0.2);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
}

.focus-detail-dialog {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: min(720px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    color: var(--landing-text);
    background: var(--landing-paper);
    box-shadow: 0 32px 90px rgba(15, 6, 4, 0.42);
}

.focus-detail-dialog:not([open]) {
    display: none;
}

.focus-detail-dialog::backdrop {
    background: rgba(15, 15, 15, 0.68);
    backdrop-filter: blur(8px);
}

.focus-detail-shell {
    display: flex;
    max-height: calc(100dvh - 40px);
    flex-direction: column;
}

.focus-detail-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--landing-line);
    background: linear-gradient(145deg, #fffaf4, #eee6dc);
}

.focus-detail-header p {
    margin: 0 0 5px;
    color: var(--landing-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.focus-detail-header h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 24px;
    line-height: 1.25;
}

.focus-detail-close {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--landing-line-strong);
    border-radius: 50%;
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font: inherit;
    font-size: 28px;
    line-height: 1;
}

.focus-detail-image-wrap {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    background: #eaf8ff;
}

.focus-detail-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1180px) {
    body {
        padding: 16px;
    }

    .hero {
        grid-template-columns: 64px 1fr;
    }

    .hero-copy {
        min-height: 480px;
        border-right: 0;
        border-bottom: 1px solid var(--landing-line);
    }

    .hero-art {
        grid-column: 2;
        min-height: 520px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .side-rail {
        min-height: 58px;
        border-right: 0;
        border-bottom: 1px solid var(--landing-line);
    }

    .side-rail span {
        writing-mode: horizontal-tb;
        transform: none;
        letter-spacing: 0.28em;
    }

    .hero-art {
        grid-column: auto;
        min-height: 470px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .index-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid var(--landing-line);
    }

    .nav-item {
        padding: 6px 10px;
        border-right: 1px solid var(--landing-line-strong);
        border-bottom: 0;
    }

    .nav-item:last-child {
        border-right: 0;
    }

    .nav-item.active::before {
        top: auto;
        bottom: -8px;
        left: 10px;
        width: 28px;
        height: 3px;
        transform: none;
    }

    .feature-panels {
        grid-template-columns: 1fr;
    }

    .panel,
    .panel:nth-child(2n) {
        border-right: 0;
    }

    .panel:nth-last-child(2) {
        border-bottom: 1px solid var(--landing-line);
    }

    .panel:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    body {
        padding: 10px;
    }

    .page-shell {
        border-radius: 22px;
    }

    .hero-copy {
        min-height: 450px;
        padding: 34px 22px;
    }

    .date-badge {
        width: 90px;
        height: 46px;
        margin-bottom: 26px;
        font-size: 18px;
    }

    .eyebrow {
        font-size: 12px;
    }

    h1 span:first-child {
        font-size: 56px;
    }

    h1 span:last-child {
        font-size: 68px;
    }

    .credit,
    .notice,
    .panel p {
        font-size: 13px;
    }

    .notice {
        border-radius: 18px;
    }

    .hero-art {
        min-height: 360px;
    }

    .index-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 18px;
    }

    .nav-item:nth-child(2n) {
        border-right: 0;
    }

    .panel {
        min-height: 250px;
        padding: 28px 22px;
    }

    .panel h2 {
        font-size: 30px;
    }

    .button {
        height: 42px;
        padding: 0 16px;
        font-size: 14px;
    }

    .focus-notice {
        place-items: end center;
        padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    }

    .focus-notice-card {
        width: 100%;
        max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
        padding: 28px 20px 20px;
        border-radius: 26px 26px 16px 16px;
        transform: translateY(28px);
    }

    .focus-notice-card::before {
        inset: 9px;
        border-radius: 18px 18px 10px 10px;
    }

    .focus-notice-close {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

    .focus-notice-title {
        font-size: 31px;
    }

    .focus-notice-description {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .focus-notice-item {
        grid-template-columns: 36px minmax(0, 1fr) 20px;
        gap: 9px;
        min-height: 76px;
        padding: 12px;
        border-radius: 16px;
    }

    .focus-notice-number,
    .focus-notice-arrow {
        font-size: 19px;
    }

    .focus-notice-confirm {
        min-height: 48px;
    }

    .focus-detail-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 22px;
    }

    .focus-detail-shell {
        max-height: calc(100dvh - 20px);
    }

    .focus-detail-header {
        gap: 12px;
        padding: 16px;
    }

    .focus-detail-header h2 {
        font-size: 20px;
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .focus-notice {
        place-items: start center;
        padding: 10px;
    }

    .focus-notice-card {
        max-height: calc(100dvh - 20px);
        padding-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .focus-notice,
    .focus-notice-card,
    .focus-notice-close,
    .focus-notice-item {
        transition: none;
    }
}
