:root {
    --ink: #111111;
    --muted: #5f6368;
    --line: #d5d5d5;
    --soft: #f7f7f7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--ink);
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    line-height: 1.7;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000000, transparent 88%);
}

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

.page-shell {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 3rem;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 58px;
    margin-bottom: 4.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--ink);
}

.site-mark {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #888888;
    color: #333333;
    font-size: 0.76rem;
    font-weight: 650;
}

.back-link:hover,
.back-link:focus-visible {
    color: #000000;
    border-bottom-color: #000000;
    outline: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    color: #3f3f3f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: #111111;
}

h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.acknowledgment-sections {
    border-top: 1px solid var(--ink);
}

.acknowledgment-section {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--ink);
}

.acknowledgment-section-heading h2 {
    margin-bottom: 0.55rem;
    font-size: 1.35rem;
    line-height: 1.35;
}

.acknowledgment-section-heading p {
    max-width: 320px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

.acknowledgment-kicker {
    display: block;
    margin-bottom: 1.25rem;
    color: #666666;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.acknowledgment-group + .acknowledgment-group {
    margin-top: 2rem;
}

.acknowledgment-group-title {
    margin-bottom: 0.75rem;
    color: #555555;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.acknowledgment-list {
    border-top: 1px solid var(--line);
}

.acknowledgment-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}

.acknowledgment-index {
    color: #8a8a8a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.acknowledgment-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.acknowledgment-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.acknowledgment-name a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-bottom: 1px solid #777777;
}

.acknowledgment-role {
    color: #666666;
    font-size: 0.72rem;
    white-space: nowrap;
}

.acknowledgment-note {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.75;
}

.acknowledgment-note a {
    border-bottom: 1px solid #b5b5b5;
}

.acknowledgment-empty {
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #8a8a8a;
    font-size: 0.78rem;
}

.data-state {
    padding: 1.5rem 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.boundary {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ink);
}

.boundary h2 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.boundary p {
    max-width: 780px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.85;
}

.site-footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 4rem;
    padding: 2.5rem 0 1rem;
    border-top: 1px solid var(--line);
    color: #777777;
    font-size: 0.72rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.footer-contact,
.footer-records {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-records {
    gap: 0.6rem 1rem;
}

.site-footer a {
    border-bottom: 1px solid #b5b5b5;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    border-color: var(--ink);
    color: var(--ink);
    outline: none;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 650;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .topbar {
        margin-bottom: 3rem;
    }

    .hero,
    .acknowledgment-section,
    .boundary {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    h1 {
        font-size: min(8vw, 3.5rem);
    }

    .acknowledgment-section {
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .boundary {
        gap: 0.75rem;
    }

    .site-footer {
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .acknowledgment-name-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .acknowledgment-role {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
