.page-home {
    background: var(--background-midnight);
    overflow-x: clip;
}

.page-home .nav {
    background: rgba(5, 12, 22, 0.84);
    border-bottom: 1px solid rgba(231, 229, 224, 0.12);
    box-shadow: none;
}

.page-home .nav .container {
    width: min(1480px, calc(100vw - 48px));
}

@media (min-width: 1081px) {
    .page-home .nav-content {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 28px;
        min-height: 68px;
        padding: 8px 0;
    }

    .page-home .nav-panel {
        display: contents;
    }

    .page-home .nav-links {
        justify-self: center;
        gap: 2px;
    }

    .page-home .nav-actions {
        margin-left: 0;
        justify-self: end;
        gap: 4px;
    }
}

.page-home .brand {
    display: flex;
    align-items: center;
    margin-right: 4px;
    padding-right: 18px;
    border-right: 1px solid rgba(231, 229, 224, 0.14);
}

.page-home .brand img {
    height: 50px;
}

.page-home .nav-link {
    border-radius: 0;
    padding: 8px 11px;
    color: rgba(229, 231, 235, 0.62);
    font-size: 13.5px;
    font-weight: 500;
    background: transparent;
}

.page-home .nav-link:hover,
.page-home .nav-link[aria-current="page"] {
    background: transparent;
    color: #f3f5f7;
}

.page-home .nav-link[aria-current="page"] {
    box-shadow: inset 0 -1px 0 var(--cyan);
}

.page-home .nav-signin,
.page-home .nav-quiet,
.page-home .lang-link {
    color: rgba(229, 231, 235, 0.62);
}

.page-home .nav-actions .btn-primary {
    padding: 9px 16px;
    font-size: 13.5px;
}

.page-home .nav.is-scrolled,
.page-home .nav:has(.nav-checkbox:checked) {
    background: rgba(5, 12, 22, 0.96);
    border-bottom-color: rgba(231, 229, 224, 0.2);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.page-home .nav.is-scrolled .nav-content {
    min-height: 58px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.page-home .nav.is-scrolled .brand img {
    height: 42px;
}

@media (prefers-reduced-motion: no-preference) {
    .page-home .nav {
        backdrop-filter: blur(14px);
        transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .page-home .nav-content,
    .page-home .brand img {
        transition: min-height 0.22s ease, padding 0.22s ease, height 0.22s ease;
    }
}

@media (max-width: 1080px) {
    .page-home .brand {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
    }

    .page-home .brand img,
    .page-home .nav.is-scrolled .brand img {
        height: 42px;
    }
}

.home-wrap {
    width: min(1480px, calc(100vw - 48px));
    margin: 0 auto;
}

.band {
    padding: 28px 0 32px;
}

.band-dense {
    padding: 56px 0 48px;
}

.band-midnight {
    background: var(--background-midnight);
    color: var(--text-primary-dark);
}

.band-paper {
    background: var(--surface-paper);
    color: var(--text-primary-light);
}

.band-muted {
    background: var(--surface-muted);
    color: var(--text-primary-light);
}

.band-journal {
    background: #fcfdfe;
    color: var(--text-primary-light);
    border-top: 1px solid var(--border-subtle);
}

.band-journal .lede,
.band-journal .fine,
.band-journal .journal-no {
    color: var(--text-muted);
}

.band-midnight .tm-pipe p,
.band-midnight .tm-pipe h3 {
    color: #c5ccd6;
}

.band-midnight .tm-pipe h3 {
    color: var(--text-primary-dark);
}

.band-midnight .tm-line,
.band-midnight .tm-pipe li {
    border-color: rgba(231, 229, 224, 0.16);
    background: transparent;
}

.band-midnight .tm-line {
    background: rgba(231, 229, 224, 0.28);
}

.home-hero {
    position: relative;
    padding: 8px 0 28px;
    background-color: var(--background-midnight);
    background-image:
        linear-gradient(to right, rgba(231, 229, 224, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(231, 229, 224, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    color: var(--text-primary-dark);
}

.nav-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
}

.home-hero .hero-grid {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-left: 0;
    padding-left: max(24px, calc((100vw - 1480px) / 2));
    padding-right: max(24px, calc((100vw - 1480px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.hero-copy {
    max-width: 100%;
    padding-left: 0;
    overflow-wrap: break-word;
}

.hero-grid > *,
.score-layout > *,
.shot-block {
    min-width: 0;
}

.eyebrow,
.kicker,
.funnel-label,
.journal-label,
.idx {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow,
.kicker,
.funnel-label {
    color: var(--cyan);
    margin-bottom: 12px;
}

.band-paper .funnel-label,
.band-muted .kicker {
    color: var(--blue);
}

.home-hero h1,
.band h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.home-hero h1 {
    font-size: clamp(32px, 2.5vw, 46px);
    max-width: 100%;
    margin-bottom: 16px;
}

.home-hero h1 em,
#scoring-title em,
.serif-line {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.home-hero h1 em {
    white-space: nowrap;
}

.band h2 {
    font-size: clamp(28px, 3vw, 44px);
    max-width: 18ch;
    margin-bottom: 12px;
}

.band h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.lede {
    font-size: 16px;
    line-height: 1.45;
    max-width: 42rem;
    margin-bottom: 16px;
}

.band-midnight .lede,
.home-hero .lede,
.fine,
.hero-signin {
    color: #a8b0bd;
}

.band-paper .lede,
.band-muted .lede,
.band-paper .fine,
.band-muted .fine {
    color: var(--text-muted);
}

.fine {
    font-size: 13px;
    line-height: 1.45;
    max-width: 46rem;
    margin-top: 10px;
}

.hero-signin {
    margin: 10px 0 18px;
    font-size: 14px;
}

.hero-signin a:hover,
.fine a:hover,
.journal a:hover .journal-title {
    color: var(--cyan);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.band-paper .btn-secondary,
.band-muted .btn-secondary {
    color: var(--text-primary-light);
    border-color: rgba(26, 35, 50, 0.28);
}

.funnel {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(231, 229, 224, 0.16);
}

.funnel-value {
    display: block;
    white-space: nowrap;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.funnel-name {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #a8b0bd;
}

.shot {
    margin: 0;
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    background: #eceae4;
    border: 1px solid rgba(231, 229, 224, 0.12);
}

.band-paper .shot,
.band-muted .shot {
    border-color: var(--border-subtle);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 1040px;
}

.hero-shot,
.score-shot {
    cursor: zoom-in;
}

.hero-shot {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    justify-self: stretch;
    border-radius: var(--radius-md);
}

.hero-shot img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
}

.hero-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(26, 35, 50, 0.16);
    border-radius: 8px;
    background: rgba(246, 247, 249, 0.94);
    color: var(--text-primary-light);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.hero-zoom:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.home-lightbox {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 48px 16px 16px;
    border: 1px solid rgba(231, 229, 224, 0.16);
    border-radius: 12px;
    background: #0b1220;
    color: var(--text-primary-dark);
    overflow: auto;
}

.home-lightbox::backdrop {
    background: rgba(5, 12, 22, 0.86);
}

.home-lightbox img {
    display: block;
    width: 100%;
    height: auto;
}

.home-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(231, 229, 224, 0.24);
    background: transparent;
    color: var(--text-primary-dark);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.problem-grid,
.change-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 8px 0 0;
}

.problem-grid li,
.change-list li {
    padding: 14px 18px 4px 0;
    border-top: 1px solid rgba(231, 229, 224, 0.16);
}

.band-paper .change-list li,
.band-paper .journal li,
.band-muted .audience-list > div,
.band-muted .split > div + div {
    border-color: var(--border-subtle);
}

.problem-grid p,
.change-list p,
.wf-step p,
.audience-list dd {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #a8b0bd;
}

.band-paper .change-list p,
.band-paper .wf-step p,
.band-muted .audience-list dd,
.split li {
    color: var(--text-muted);
}

.idx {
    display: block;
    margin-bottom: 8px;
    color: var(--cyan);
}

.wf {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 20px 0 0;
    padding: 0;
}

.wf-step {
    padding: 16px 14px 0 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.wf-step::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
}

.wf-step.is-active::before {
    background: var(--cyan);
}

.wf-step.is-active .idx {
    color: var(--cyan);
}

.wf-step.is-active::before {
    box-shadow: 0 0 0 4px rgba(31, 162, 184, 0.15);
}

.shot-block {
    margin-top: 22px;
}

.shot-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    margin-top: 8px;
}

.shot-pair .shot-block {
    margin-top: 14px;
}

.shot-pair .lede {
    margin-bottom: 10px;
}

.shot-pair .shot img {
    min-width: 0;
}

.shot-block .lede {
    margin-bottom: 12px;
}

.score-layout {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.score-shot {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.score-shot img {
    width: 100%;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.score-bars {
    list-style: none;
    margin: 8px 0 0;
}

.score-bars li {
    display: grid;
    grid-template-columns: 92px 1fr 48px;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 14px;
}

.score-track {
    display: block;
    height: 3px;
    background: rgba(26, 35, 50, 0.12);
}

.score-fill {
    display: block;
    height: 100%;
    width: var(--w);
    background: var(--cyan);
}

.score-weight {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.year-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 8px 0 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.year-today {
    color: var(--cyan);
    font-weight: 600;
}

.chain {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-top: 22px;
    padding: 16px 18px;
    background: var(--background-midnight);
    color: var(--text-primary-dark);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chain-arrow {
    color: var(--cyan);
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0 36px;
    margin-top: 8px;
}

.split > div + div {
    border-left: 1px solid var(--border-subtle);
    padding-left: 36px;
}

.split ul,
.audience-list {
    margin: 8px 0 0;
}

.split li {
    padding: 6px 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 14px;
    list-style: none;
}

.audience-list {
    counter-reset: audience;
}

.audience-list > div {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid var(--border-subtle);
}

.anchor-alias {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.audience-list dt {
    font-weight: 600;
    font-size: 18px;
}

.audience-list dt::before {
    counter-increment: audience;
    content: counter(audience, decimal-leading-zero);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--cyan);
}

.audience-list dd {
    margin: 0;
}

.research-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
}

.research-head h2 {
    margin-bottom: 0;
}

.journal {
    list-style: none;
    margin: 14px 0 0;
}

.journal a {
    display: grid;
    grid-template-columns: 42px 132px minmax(0, 1fr) auto;
    gap: 12px 18px;
    padding: 22px 0;
    border-top: 1px solid var(--border-subtle);
    align-items: center;
}

.journal-title {
    font-size: 22px;
    letter-spacing: -0.02em;
}

.journal-no {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.journal-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.journal-arrow {
    color: var(--cyan);
}

.journal a:hover .journal-arrow {
    transform: translateX(4px);
}

.change-list .idx::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin-top: 8px;
    background: var(--cyan);
}

.split h3 {
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 4px 0 8px;
}

.tm-layout,
.cta-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

.tm-rail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 14px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tm-line {
    flex: 1;
    height: 1px;
    min-width: 40px;
    background: var(--border-subtle);
}

.tm-year {
    font-weight: 600;
}

.tm-replay {
    color: var(--cyan);
}

.tm-pipe,
.cta-path {
    list-style: none;
    margin: 0;
}

.tm-pipe li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0;
    border-top: 1px solid var(--border-subtle);
}

.tm-pipe h3 {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-pipe p {
    margin-top: 3px;
    font-size: 14px;
    color: var(--text-muted);
}

.cta-layout {
    align-items: center;
}

.cta-path {
    justify-self: end;
    width: min(100%, 240px);
}

.cta-path li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    border-top: 1px solid rgba(231, 229, 224, 0.16);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-path span {
    color: var(--cyan);
}

.journal-label {
    color: var(--blue);
}

.journal-title {
    font-size: 18px;
}

.band-cta {
    padding: 48px 0 40px;
}

.band-cta h2 {
    max-width: 16ch;
}

@media (prefers-reduced-motion: no-preference) {
    .funnel-step {
        animation: funnel-in 0.7s ease both;
    }

    .funnel-step:nth-child(2) { animation-delay: 0.15s; }
    .funnel-step:nth-child(3) { animation-delay: 0.3s; }
    .funnel-step:nth-child(4) { animation-delay: 0.45s; }

    .score-fill {
        width: 0;
        animation: score-grow 0.9s ease forwards;
    }
}

@keyframes funnel-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes score-grow {
    to { width: var(--w); }
}

@media (max-width: 1100px) {
    .home-hero .hero-grid,
    .hero-grid,
    .hero-copy,
    .score-layout,
    .split,
    .wf,
    .shot-pair,
    .tm-layout,
    .cta-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero .hero-grid {
        width: min(1480px, calc(100vw - 48px));
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy {
        padding-left: 0;
    }

    .split > div + div {
        border-left: 0;
        padding-left: 0;
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--border-subtle);
    }

    .cta-path {
        justify-self: start;
    }

    .wf-step {
        padding-left: 16px;
        border-top: 0;
        border-left: 1px solid var(--border-subtle);
    }

    .wf-step::before {
        top: 18px;
        left: -4px;
    }
}

@media (max-width: 800px) {
    .home-wrap,
    .hero-copy,
    .home-hero h1,
    .eyebrow,
    .lede {
        max-width: calc(100vw - 40px);
    }

    .home-wrap {
        width: min(1480px, calc(100vw - 32px));
    }

    .home-hero h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .funnel {
        gap: 8px 20px;
    }

    .problem-grid,
    .change-list,
    .audience-list > div,
    .journal a,
    .research-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .journal-label {
        grid-row: 1;
    }

    .research-head {
        align-items: start;
    }

    .band-dense {
        padding: 36px 0 28px;
    }
}

@media (min-width: 1280px) {
    .shot img {
        min-width: 0;
    }
}
