:root {
    --bg: #fafafc;
    --surface: #ffffff;
    --surface-soft: #f2f1f6;
    --ink: #2b2933;
    --ink-strong: #24212e;
    --muted: #777481;
    --brand: #7468b5;
    --brand-soft: #ece9f8;
    --accent: #e9a34a;
    --accent-soft: #fff4e4;
    --line: #e6e3ec;
    --shadow: 0 18px 50px rgba(50, 44, 78, .09);
    --shadow-soft: 0 8px 28px rgba(50, 44, 78, .07);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --max: 1200px;
    --text-max: 760px;
    --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(116,104,181,.45); outline-offset: 3px; }
::selection { background: var(--brand-soft); color: var(--ink-strong); }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink-strong);
    color: #fff;
    transform: translateY(-160%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(230,227,236,.86);
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(16px);
}
.header-shell {
    width: min(calc(100% - 40px), var(--max));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--brand-soft);
}
.brand span { display: grid; gap: 1px; }
.brand strong { color: var(--ink-strong); font-size: 18px; line-height: 1.2; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 11px;
    color: #53505c;
    font-size: 14px;
    font-weight: 650;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-nav a:hover { background: var(--surface-soft); color: var(--ink-strong); }
.site-nav a[aria-current="page"] { background: var(--brand-soft); color: #51458f; }
.menu-toggle {
    display: none;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
}

main { min-height: 70vh; }
.section-shell,
.hero-wrap,
.page-hero,
.breadcrumbs {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}
.section-shell { margin-top: 94px; margin-bottom: 94px; }

.hero-wrap {
    padding: 56px 0 34px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
}
.hero-copy { padding: 18px 0; }
.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero-copy h1,
.page-hero h1 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(40px, 5.1vw, 72px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.hero-lead,
.page-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: #5f5b68;
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink-strong); color: #fff; box-shadow: 0 9px 24px rgba(36,33,46,.16); }
.button.secondary { background: var(--brand); color: #fff; box-shadow: 0 9px 24px rgba(116,104,181,.22); }
.button.ghost { border-color: var(--line); background: #fff; color: var(--ink-strong); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; list-style: none; }
.hero-points li { padding: 7px 10px; border-radius: 999px; background: var(--surface-soft); color: #605b69; font-size: 13px; }
.hero-media { margin: 0; }
.hero-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}
.hero-media figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: right; }

.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading h2,
.spotlight h2,
.compact-info h2,
.detail-band h2,
.notice-panel h2,
.identity-card h2,
.two-column-copy h2,
.brand-values h2,
.timeline h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.18;
    letter-spacing: -.03em;
}
.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 36px; }
.split-heading > p { margin: 0; color: var(--muted); }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.media-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.media-card > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--surface-soft); }
.media-card-body { padding: 26px; }
.media-card h3 { margin: 0; color: var(--ink-strong); font-size: 25px; line-height: 1.24; letter-spacing: -.025em; }
.media-card p:not(.eyebrow) { color: #625f6a; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.tag-row span { padding: 5px 9px; border-radius: 999px; background: #f5f4f8; color: #66616f; font-size: 12px; }
.text-link { color: #5a4d99; font-weight: 800; font-size: 14px; }
.text-link::after { content: " →"; }

.intent-panel {
    padding: clamp(30px, 5vw, 58px);
    border-radius: var(--radius-xl);
    background: var(--ink-strong);
    color: #fff;
}
.intent-panel .eyebrow { color: #cfc8ff; }
.intent-panel .section-heading h2 { color: #fff; }
.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.intent-grid article { padding: 24px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius-md); background: rgba(255,255,255,.05); }
.intent-grid h3 { margin: 0 0 9px; font-size: 20px; }
.intent-grid p { margin: 0; color: #d5d1dc; font-size: 14px; }
.link-stack { display: grid; gap: 8px; margin-top: 18px; }
.link-stack a { width: fit-content; color: inherit; font-weight: 760; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.spotlight { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.spotlight-image img { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 16/11; object-fit: cover; }
.spotlight-copy p:not(.eyebrow) { color: #5f5b68; }
.spotlight-copy .button { margin-top: 14px; }
.compact-info {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 32px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}
.compact-info h2 { font-size: 30px; }
.compact-info > p { color: var(--muted); }

.breadcrumbs { margin-top: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 9px; color: #b0acb8; }
.breadcrumbs a:hover { color: var(--brand); }

.page-hero {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(360px,.85fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
}
.page-hero h1 { font-size: clamp(38px, 4.5vw, 62px); }
.page-hero img { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 3/2; object-fit: cover; box-shadow: var(--shadow-soft); }
.page-hero-wide { grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); }
.anchor-nav { margin-top: 54px; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.anchor-nav a { padding: 9px 15px; border-radius: 11px; font-size: 14px; font-weight: 800; color: #5a5661; }
.anchor-nav a:hover { background: var(--brand-soft); color: #4c4185; }

.detail-band { display: grid; grid-template-columns: minmax(320px,.95fr) minmax(0,1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.detail-band:nth-of-type(even) .detail-media { order: 2; }
.detail-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/2; object-fit: cover; }
.detail-copy .lead-small, .lead-small { color: #4f4b57; font-size: 18px; font-weight: 650; }
.detail-copy p { color: #66616d; }
.reading-guide { padding: clamp(30px,5vw,56px); border-radius: var(--radius-xl); background: var(--surface-soft); }
.steps { counter-reset: step; display: grid; gap: 12px; padding: 0; margin: 30px 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: minmax(180px,.35fr) 1fr; gap: 20px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.7); }
.steps strong { color: var(--ink-strong); }
.steps span { color: #65616c; }

.timeline { max-width: 920px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding-bottom: 42px; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px; background: #d9d4e4; }
.timeline-marker { position: relative; z-index: 2; width: 15px; height: 15px; margin-top: 8px; border: 4px solid var(--bg); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.timeline-content { padding: 0 0 4px; }
.timeline-content h2 { font-size: 30px; }
.timeline-content p { color: #66616d; }
.notice-panel { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: clamp(30px,6vw,70px); align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; }
.notice-panel img { border-radius: var(--radius-lg); aspect-ratio: 3/2; object-fit: cover; }
.notice-panel p:not(.eyebrow) { color: #66616d; }

.identity-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; padding: 40px; border-radius: var(--radius-xl); background: var(--brand-soft); }
.identity-card dl { margin: 0; display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.identity-card dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.identity-card dl div:last-child { border-bottom: 0; }
.identity-card dt { color: var(--muted); font-size: 13px; font-weight: 760; }
.identity-card dd { margin: 0; color: var(--ink-strong); font-weight: 700; }
.identity-card dd a { color: #584c96; text-decoration: underline; text-underline-offset: 3px; }
.two-column-copy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.two-column-copy article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.two-column-copy h2 { font-size: 28px; }
.two-column-copy p { color: #66616d; }

.brand-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.brand-values article { padding: 30px; border-top: 3px solid var(--brand); background: #fff; box-shadow: var(--shadow-soft); }
.brand-values .number { color: var(--accent); font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.brand-values h2 { margin-top: 12px; font-size: 27px; }
.brand-values p { color: #67636e; }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 20px; color: var(--ink-strong); font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: #66616d; }

.error-page { min-height: 58vh; padding-top: 90px; padding-bottom: 90px; text-align: center; }
.error-code { margin: 0; color: var(--brand); font-size: clamp(72px,12vw,160px); font-weight: 900; line-height: .9; letter-spacing: -.07em; }
.error-page h1 { margin: 22px 0 10px; font-size: clamp(32px,5vw,56px); letter-spacing: -.04em; }
.error-page > p:not(.error-code) { max-width: 620px; margin-inline: auto; color: var(--muted); }
.error-page .hero-actions { justify-content: center; }

.site-footer { margin-top: 110px; padding: 54px 0 22px; background: #23202d; color: #efedf5; }
.footer-grid { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 50px; }
.footer-grid strong { font-size: 24px; }
.footer-grid p { max-width: 520px; color: #bdb7c6; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #cbc6d3; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-meta { width: min(calc(100% - 40px), var(--max)); margin: 44px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #8f8999; font-size: 12px; }

/* Enhanced spatial rhythm and responsive refinements */
@media (max-width: 1100px) {
    .hero-wrap { grid-template-columns: 1fr 1fr; gap: 42px; }
    .hero-copy h1 { font-size: clamp(38px,5vw,58px); }
    .page-hero { grid-template-columns: 1fr 1fr; }
    .compact-info { grid-template-columns: 1fr 1fr; }
    .compact-info > a { grid-column: 1 / -1; }
    .brand-values { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    :root { --header-height: 70px; }
    .header-shell { width: min(calc(100% - 28px), var(--max)); }
    .brand img { width: 42px; height: 42px; }
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: fixed;
        inset: var(--header-height) 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 14px; }
    .section-shell, .hero-wrap, .page-hero, .breadcrumbs { width: min(calc(100% - 28px), var(--max)); }
    .section-shell { margin-top: 72px; margin-bottom: 72px; }
    .hero-wrap, .page-hero, .page-hero-wide { grid-template-columns: 1fr; }
    .hero-wrap { padding-top: 38px; }
    .hero-media { order: -1; }
    .page-hero img { order: -1; }
    .split-heading { grid-template-columns: 1fr; gap: 14px; }
    .media-grid { grid-template-columns: 1fr; }
    .intent-grid { grid-template-columns: 1fr; }
    .spotlight { grid-template-columns: 1fr; }
    .detail-band { grid-template-columns: 1fr; }
    .detail-band:nth-of-type(even) .detail-media { order: 0; }
    .notice-panel { grid-template-columns: 1fr; }
    .identity-card { grid-template-columns: 1fr; gap: 24px; }
    .two-column-copy { grid-template-columns: 1fr; }
    .faq { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .brand small { display: none; }
    .hero-copy h1, .page-hero h1 { font-size: clamp(35px,10vw,48px); }
    .hero-lead, .page-hero p { font-size: 16px; }
    .hero-media img, .page-hero img { border-radius: 22px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .section-heading h2, .spotlight h2, .compact-info h2, .detail-band h2, .notice-panel h2, .identity-card h2, .two-column-copy h2, .brand-values h2, .timeline h2 { font-size: 28px; }
    .media-card-body { padding: 21px; }
    .media-card h3 { font-size: 22px; }
    .intent-panel { border-radius: 22px; }
    .compact-info { grid-template-columns: 1fr; padding: 24px; }
    .steps li { grid-template-columns: 1fr; gap: 7px; }
    .identity-card { padding: 24px; }
    .identity-card dl div { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
    .timeline-item { grid-template-columns: 22px 1fr; gap: 10px; }
    .timeline-item:not(:last-child)::before { left: 6px; }
    .notice-panel { padding: 22px; }
    .brand-values article { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-meta { flex-direction: column; gap: 4px; }
}

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

/* Utility patterns used by content extensions and future server-rendered modules. */
.content-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px; }
.content-grid > .span-12 { grid-column: span 12; }
.content-grid > .span-8 { grid-column: span 8; }
.content-grid > .span-7 { grid-column: span 7; }
.content-grid > .span-6 { grid-column: span 6; }
.content-grid > .span-5 { grid-column: span 5; }
.content-grid > .span-4 { grid-column: span 4; }
.content-grid > .span-3 { grid-column: span 3; }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.surface-soft { background: var(--surface-soft); border-radius: var(--radius-lg); }
.pad-sm { padding: 16px; }
.pad-md { padding: 24px; }
.pad-lg { padding: 34px; }
.pad-xl { padding: clamp(34px,5vw,58px); }
.muted { color: var(--muted); }
.strong { color: var(--ink-strong); }
.brand-text { color: var(--brand); }
.accent-text { color: #a66519; }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: clamp(22px,2.4vw,30px); }
.max-copy { max-width: var(--text-max); }
.stack-xs > * + * { margin-top: 6px; }
.stack-sm > * + * { margin-top: 10px; }
.stack-md > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 28px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cluster-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 28px 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--surface-soft); color: #5f5b67; font-size: 12px; font-weight: 700; }
.pill-brand { background: var(--brand-soft); color: #584c96; }
.pill-accent { background: var(--accent-soft); color: #995d18; }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; list-style: none; }
.prose { max-width: 760px; }
.prose h2 { margin: 1.7em 0 .6em; color: var(--ink-strong); font-size: 30px; line-height: 1.25; }
.prose h3 { margin: 1.5em 0 .55em; color: var(--ink-strong); font-size: 22px; line-height: 1.3; }
.prose p, .prose li { color: #5f5b67; }
.prose a { color: #574a96; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--brand-soft); color: #504b58; }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-soft); color: var(--ink-strong); }
.info-strip { display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: #6e4b24; }
.card-link { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.card-link h3 { margin: 0 0 8px; color: var(--ink-strong); font-size: 22px; }
.card-link p { margin: 0; color: var(--muted); }
.image-frame { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-soft); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.aspect-wide { aspect-ratio: 16/9; }
.aspect-landscape { aspect-ratio: 3/2; }
.aspect-square { aspect-ratio: 1; }
.aspect-poster { aspect-ratio: 2/3; }

@media (max-width: 860px) {
    .content-grid > .span-8, .content-grid > .span-7, .content-grid > .span-6, .content-grid > .span-5, .content-grid > .span-4, .content-grid > .span-3 { grid-column: span 12; }
}

/* Search experience: server-rendered results remain useful without JavaScript. */
.search-hero {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: clamp(34px, 7vw, 90px);
    align-items: end;
    padding: clamp(30px,5vw,56px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
}
.search-hero h1 { margin: 0; color: var(--ink-strong); font-size: clamp(34px,4vw,54px); line-height: 1.12; letter-spacing: -.035em; }
.search-hero p:not(.eyebrow) { color: var(--muted); max-width: 650px; }
.search-form { display: grid; gap: 10px; }
.search-form label { color: var(--ink-strong); font-size: 13px; font-weight: 800; }
.search-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-form input {
    min-width: 0;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #dcd8e5;
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink-strong);
}
.search-form input:focus { border-color: var(--brand); outline: 3px solid rgba(116,104,181,.12); }
.search-form button {
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.search-results h2 { margin: 0; color: var(--ink-strong); font-size: clamp(27px,3vw,40px); letter-spacing: -.025em; }
.result-list { display: grid; gap: 12px; margin-top: 30px; }
.result-card { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.result-card h3 { margin: 8px 0 5px; color: var(--ink-strong); font-size: 21px; }
.result-card h3 a:hover { color: var(--brand); }
.result-card p { margin: 0; color: var(--muted); max-width: 760px; }
.result-card > .text-link { flex: 0 0 auto; }
.empty-state { margin-top: 30px; padding: 38px; border-radius: var(--radius-lg); background: var(--surface-soft); text-align: center; }
.empty-state h3 { margin: 0; color: var(--ink-strong); font-size: 25px; }
.empty-state p { color: var(--muted); }
.empty-state .button { margin-top: 8px; }

@media (max-width: 760px) {
    .search-hero { grid-template-columns: 1fr; align-items: stretch; padding: 25px; }
    .search-form > div { grid-template-columns: 1fr; }
    .search-form button { width: 100%; }
    .result-card { align-items: flex-start; flex-direction: column; gap: 14px; }
}

/* Additional component system for content-rich pages and future server-rendered collections. */
.collection-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.86);
}
.collection-toolbar .toolbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.collection-toolbar .toolbar-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.collection-toolbar a, .collection-toolbar button {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: #5d5965;
    font-size: 13px;
    font-weight: 750;
}
.collection-toolbar a:hover, .collection-toolbar button:hover { border-color: #cec8df; color: #4f4488; }
.collection-toolbar [aria-current="true"] { border-color: #c8c1e5; background: var(--brand-soft); color: #4f4389; }

.poster-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.poster-card { min-width: 0; }
.poster-card .poster-media { overflow: hidden; border-radius: 16px; background: var(--surface-soft); aspect-ratio: 2/3; }
.poster-card .poster-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.poster-card:hover .poster-media img { transform: scale(1.025); }
.poster-card h3 { margin: 12px 0 4px; color: var(--ink-strong); font-size: 16px; line-height: 1.35; }
.poster-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.poster-card .meta-row { display: flex; flex-wrap: wrap; gap: 6px 9px; margin-top: 7px; color: #85818d; font-size: 11px; }

.horizontal-card { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.horizontal-card .thumb { overflow: hidden; min-height: 120px; border-radius: 12px; background: var(--surface-soft); }
.horizontal-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.horizontal-card .copy { padding: 6px 6px 6px 0; }
.horizontal-card h3 { margin: 0 0 6px; color: var(--ink-strong); font-size: 20px; line-height: 1.35; }
.horizontal-card p { margin: 0; color: var(--muted); }
.horizontal-card .meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.mini-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.mini-index a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: #55515e; font-size: 14px; font-weight: 760; }
.mini-index a::after { content: "›"; color: var(--brand); font-size: 22px; line-height: 1; }
.mini-index a:hover { border-color: #cec7e4; background: #fdfcff; color: #4d4285; }

.stateless-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.stateless-tabs a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #625e69; font-size: 13px; font-weight: 760; }
.stateless-tabs a:hover, .stateless-tabs a[aria-current="page"] { border-color: #c7c0e2; background: var(--brand-soft); color: #4d4287; }

.callout { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout-note { border-left: 4px solid var(--brand); }
.callout-warm { border-color: #f0dbbd; background: var(--accent-soft); }
.callout-dark { border-color: transparent; background: var(--ink-strong); color: #fff; }
.callout-dark p, .callout-dark li { color: #d0cad7; }
.callout-dark a { color: #fff; }

.definition-list { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.definition-list > div { display: grid; grid-template-columns: minmax(130px,.3fr) minmax(0,1fr); gap: 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.definition-list > div:last-child { border-bottom: 0; }
.definition-list dt { color: var(--muted); font-size: 13px; font-weight: 760; }
.definition-list dd { margin: 0; color: var(--ink-strong); }

.check-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #5e5a66; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05em; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: #584b96; font-size: 11px; font-weight: 900; }

.number-list { counter-reset: item; padding: 0; margin: 0; list-style: none; display: grid; gap: 18px; }
.number-list li { counter-increment: item; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.number-list li::before { content: counter(item); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--surface-soft); color: var(--brand); font-size: 13px; font-weight: 900; }
.number-list strong { display: block; color: var(--ink-strong); margin-bottom: 3px; }
.number-list span { color: var(--muted); }

.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.media-split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: clamp(28px,5vw,68px); align-items: center; }
.media-split.reverse { grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr); }
.media-split.reverse .media-pane { order: 2; }
.media-split .media-pane { overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-soft); }
.media-split .media-pane img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.media-split .copy-pane h2 { margin: 0; color: var(--ink-strong); font-size: clamp(30px,3.5vw,46px); line-height: 1.16; letter-spacing: -.03em; }
.media-split .copy-pane p { color: #625e69; }

.compact-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.compact-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.compact-card h3 { margin: 0 0 6px; color: var(--ink-strong); font-size: 19px; }
.compact-card p { margin: 0; color: var(--muted); font-size: 14px; }
.compact-card .card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.list-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.list-table th, .list-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.list-table th { background: var(--surface-soft); color: #4f4b57; font-size: 12px; letter-spacing: .03em; }
.list-table td { color: #625e69; }
.list-table tr:last-child td { border-bottom: 0; }
.list-table a { color: #574a95; font-weight: 750; }

.sticky-aside-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 50px; align-items: start; }
.sticky-aside { position: sticky; top: calc(var(--header-height) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sticky-aside h2 { margin: 0 0 12px; color: var(--ink-strong); font-size: 16px; }
.sticky-aside nav { display: grid; gap: 4px; }
.sticky-aside nav a { padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.sticky-aside nav a:hover { background: var(--surface-soft); color: #4e4386; }

.hero-band { width: min(calc(100% - 40px), var(--max)); margin: 46px auto 0; padding: clamp(32px,5vw,62px); border-radius: var(--radius-xl); background: linear-gradient(135deg, #f7f5fc 0%, #fff 55%, #fff8ef 100%); border: 1px solid #ebe7f1; }
.hero-band h1 { max-width: 850px; margin: 0; color: var(--ink-strong); font-size: clamp(38px,5vw,66px); line-height: 1.08; letter-spacing: -.045em; }
.hero-band p { max-width: 760px; color: #615d68; font-size: 18px; }
.hero-band .hero-actions { margin-top: 24px; }

.section-rule { display: flex; align-items: center; gap: 16px; margin: 54px 0 24px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.section-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.content-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.content-meta span { display: inline-flex; align-items: center; gap: 5px; }
.content-meta strong { color: #55515c; font-weight: 760; }

.image-caption { margin-top: 9px; color: #898590; font-size: 12px; line-height: 1.55; }
.image-caption a { color: #5b4f97; text-decoration: underline; text-underline-offset: 3px; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px; border-radius: 18px; background: var(--surface-soft); }
.inline-cta h2, .inline-cta h3 { margin: 0; color: var(--ink-strong); }
.inline-cta p { margin: 4px 0 0; color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #5f5b67; font-size: 13px; font-weight: 760; }
.pagination a:hover { border-color: #cbc4df; color: #504487; }
.pagination [aria-current="page"] { border-color: var(--brand); background: var(--brand); color: #fff; }

.notice-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #f7f6fa; color: #605c67; }
.notice-line::before { content: "i"; flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 900; }

.keyboard-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
kbd { display: inline-grid; place-items: center; min-width: 24px; min-height: 22px; padding: 2px 6px; border: 1px solid #d9d5df; border-bottom-width: 2px; border-radius: 6px; background: #fff; color: #514d58; font-family: inherit; font-size: 11px; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1080px) {
    .poster-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .mini-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .compact-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sticky-aside-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 34px; }
}

@media (max-width: 860px) {
    .poster-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .mini-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .media-split, .media-split.reverse { grid-template-columns: 1fr; }
    .media-split.reverse .media-pane { order: 0; }
    .sticky-aside-layout { grid-template-columns: 1fr; }
    .sticky-aside { position: static; }
    .hero-band { width: min(calc(100% - 28px), var(--max)); }
}

@media (max-width: 620px) {
    .poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .horizontal-card { grid-template-columns: 110px 1fr; gap: 14px; }
    .horizontal-card .copy { padding: 0; }
    .horizontal-card h3 { font-size: 17px; }
    .mini-index { grid-template-columns: 1fr; }
    .compact-cards { grid-template-columns: 1fr; }
    .definition-list > div { grid-template-columns: 1fr; gap: 4px; }
    .inline-cta { align-items: stretch; flex-direction: column; }
    .inline-cta .button { width: 100%; }
    .collection-toolbar { align-items: stretch; flex-direction: column; }
    .collection-toolbar .toolbar-group { width: 100%; }
}

@media (max-width: 420px) {
    .poster-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
    .poster-card h3 { font-size: 14px; }
    .horizontal-card { grid-template-columns: 1fr; }
    .horizontal-card .thumb { aspect-ratio: 16/9; }
    .hero-band { padding: 26px 22px; }
}

@media print {
    .site-header, .site-footer, .menu-toggle, .hero-actions, .anchor-nav, .search-form, .collection-toolbar, .pagination { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
    main, .section-shell, .hero-wrap, .page-hero, .breadcrumbs { width: 100%; max-width: none; margin: 0; }
    .section-shell { margin: 22pt 0; }
    .hero-wrap, .page-hero, .spotlight, .detail-band, .notice-panel, .identity-card, .two-column-copy, .faq, .search-hero, .media-split { display: block; }
    img { max-width: 50%; page-break-inside: avoid; }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
    .media-card, .timeline-item, .brand-values article, .two-column-copy article, .result-card { box-shadow: none; page-break-inside: avoid; }
}

/* Fine-grained spacing helpers used to keep editorial sections consistent. */
.flow-tight > * { margin-top: 0; margin-bottom: 0; }
.flow-tight > * + * { margin-top: 8px; }
.flow-normal > * { margin-top: 0; margin-bottom: 0; }
.flow-normal > * + * { margin-top: 16px; }
.flow-roomy > * { margin-top: 0; margin-bottom: 0; }
.flow-roomy > * + * { margin-top: 26px; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.border-top { border-top: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-main { box-shadow: var(--shadow); }
.bg-white { background: var(--surface); }
.bg-soft { background: var(--surface-soft); }
.bg-brand-soft { background: var(--brand-soft); }
.width-full { width: 100%; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 6px; }
.gap-sm { gap: 10px; }
.gap-md { gap: 18px; }
.gap-lg { gap: 28px; }

@supports (text-wrap: balance) {
    .hero-copy h1, .page-hero h1, .section-heading h2, .media-split .copy-pane h2 { text-wrap: balance; }
}

@supports not (backdrop-filter: blur(16px)) {
    .site-header { background: rgba(255,255,255,.985); }
}

@media (hover: none) {
    .button:hover, .card-link:hover, .poster-card:hover .poster-media img { transform: none; }
}

@media (prefers-contrast: more) {
    :root { --line: #bdb8c7; --muted: #5e5964; }
    .button.ghost, .search-form input, .surface, .media-card, .result-card { border-width: 2px; }
    .text-link, .identity-card dd a, .prose a { text-decoration-thickness: 2px; }
}
