* {
    box-sizing: border-box;
}

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

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, p, blockquote {
    margin-top: 0;
}

img {
    display: block;
    max-width: 100%;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

:root {
    --ink: #172c35;
    --muted: #65757a;
    --paper: #f6f3eb;
    --card: #fffdf8;
    --line: #deded4;
    --orange: #ef7048;
    --teal: #1b6c69;
    --blue: #c9e1df;
    --yellow: #f2c96d;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 18px 55px rgba(23, 44, 53, .09);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}

.wrap {
    width: min(1180px, calc(100% - 44px));
    margin: auto;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 11px;
    font-weight: 800;
    color: var(--teal);
}

.eyebrow:before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--orange);
}

.kicker {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--teal);
}

.topline {
    background: var(--ink);
    color: #f7f4eb;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topline .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
    gap: 15px;
}

.topline a {
    opacity: .82;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 243, 235, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(23, 44, 53, .1);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    border-radius: 50% 50% 50% 12%;
    font-size: 22px;
    transform: rotate(-8deg);
}

.brand-mark span {
    transform: rotate(8deg);
}

.brand-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -.8px;
    line-height: 1;
}

.brand-tag {
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 13px;
    font-weight: 650;
}

.nav-links a {
    padding: 9px 0;
    position: relative;
}

.nav-links a:after {
    content: "";
    height: 2px;
    background: var(--orange);
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    transition: right .2s;
}

.nav-links a:hover:after {
    right: 0;
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 18px;
}

.icon-btn:hover {
    background: var(--ink);
    color: white;
}

.menu-toggle {
    display: none;
}

.cover {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 36px;
    align-items: end;
    padding: 42px 0 28px;
}

.cover h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(42px, 5vw, 54px);
    line-height: .96;
    letter-spacing: -.035em;
    margin: 14px 0 16px;
}

.cover h1 em {
    font-style: italic;
    color: var(--teal);
}

.cover-note {
    max-width: 420px;
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 22px;
}

.cover-stats {
    display: flex;
    gap: 22px;
}

.cover-stats div {
    min-width: 88px;
    padding-top: 10px;
    border-top: 2px solid var(--ink);
}

.cover-stats strong {
    display: block;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.cover-stats span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.cover-story {
    position: relative;
    width: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px 30px 8px 8px;
    color: white;
}

.cover-story img,
.rail-item img,
.split-lead img,
.film-card img,
.ledger img,
.mosaic-photo img,
.quiz-art img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cover-story img {
    position: absolute;
    inset: 0;
}

.cover-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 72px 26px 24px;
    background: linear-gradient(transparent, rgba(23, 44, 53, .9));
}

.cover-caption .kicker {
    color: var(--yellow);
}

.cover-caption h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(24px, 3vw, 35px);
    line-height: 1.2;
    letter-spacing: -.03em;
    margin: 8px 0;
}

.cover-caption p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
}

.rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 8px 0 36px;
}

.rail-item {
    display: block;
    min-width: 0;
}

.rail-item img {
    border-radius: 4px;
    margin-bottom: 10px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.rail-item strong {
    display: block;
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.topics {
    background: var(--ink);
    color: #f7f4eb;
    padding: 34px 0 40px;
}

.topics-label {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 12px;
}

.topic-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.topic-line a {
    font-family: var(--serif);
    font-size: clamp(16px, 4vw, 24px);
    line-height: 1.5;
    letter-spacing: -.03em;
    margin-right: 28px;
}

.topic-line a:after {
    content: " ·";
    color: var(--orange);
    margin-left: 20px;
}

.topic-line a:last-child:after {
    content: none;
}

.topic-line a:hover {
    color: var(--yellow);
}

.chapter {
    /*padding: 54px 0;*/
    padding: 30px 0;
}

.chapter-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.chapter-head h2,
.justin h2,
.collection-head h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.03em;
    line-height: 1;
    margin: 8px 0 0;
}

.chapter-more {
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 2px;
    white-space: nowrap;
}

.split {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 28px;
    align-items: stretch;
}

.split-lead {
    position: relative;
    display: block;
    overflow: hidden;
    color: white;
    aspect-ratio: 16 / 9;
}

.split-lead img {
    position: absolute;
    inset: 0;
}

.split-lead div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 22px 22px;
    background: linear-gradient(transparent, rgba(23, 44, 53, .88));
}

.split-lead h3 {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.05;
    margin: 8px 0 0;
}

.split-list a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px 14px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.split-list a:last-child {
    border-bottom: 1px solid var(--line);
}

.split-list span {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--orange);
    line-height: 1;
}

.split-list strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.split-list em {
    grid-column: 2;
    font-style: normal;
    color: var(--muted);
    font-size: 13px;
}

.film {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.film-card {
    display: block;
    min-width: 0;
}

.film-card img {
    margin-bottom: 12px;
}

.film-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
}

.chapter-ink {
    background: #12343c;
    color: #f7f4eb;
}

.chapter-ink .kicker,
.chapter-ink .chapter-more {
    color: var(--yellow);
}

.chapter-ink .chapter-more {
    border-bottom-color: var(--yellow);
}

.ledger a {
    display: grid;
    grid-template-columns: 120px 30px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.ledger img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.ledger span {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--orange);
}

.ledger strong {
    display: block;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.ledger em {
    margin-top: 4px;
    font-style: normal;
    font-size: 13px;
    color: rgba(247, 244, 235, .68);
}

.justin {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    padding: 30px 0;
}

.justin p {
    color: var(--muted);
    margin: 12px 0 0;
}

.justin-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.justin-list a {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 16px 18px 16px 0;
    border-top: 1px solid var(--line);
}

.justin-list time {
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--orange);
    font-weight: 700;
}

.justin-list span {
    grid-column: 2;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 800;
}

.justin-list strong {
    grid-column: 1 / -1;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.prompt {
    background: var(--yellow);
}

.prompt-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    padding: 28px 0;
}

.prompt-label {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
}

.prompt p {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    margin: 8px 0 0;
    max-width: 760px;
}

.prompt button,
.quiz-answers button {
    border: 0;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.prompt button:hover,
.quiz-answers button:hover {
    background: var(--teal);
}

.collection {
    padding: 54px 0 20px;
}

.collection-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mosaic-card {
    background: var(--card);
    border: 1px solid var(--line);
    min-width: 0;
}

.mosaic-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr .85fr;
}

.mosaic-photo {
    position: relative;
}

.mosaic-photo span {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--paper);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 5px 8px;
}

.mosaic-copy {
    padding: 18px 18px 16px;
}

.mosaic-card:first-child .mosaic-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.mosaic-copy h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.15;
    margin: 8px 0;
}

.mosaic-card:first-child h3 {
    font-size: clamp(22px, 3vw, 32px);
}

.mosaic-copy p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 14px;
}

.mosaic-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}

.mosaic-foot a {
    font-weight: 800;
    color: var(--teal);
}

.pager {
    display: flex;
    justify-content: center;
    padding: 28px 0 10px;
}

.quiz-band {
    padding: 36px 0 10px;
}

.quiz-panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: var(--ink);
    color: #f7f4eb;
    overflow: hidden;
}

.quiz-copy {
    padding: 42px 40px;
}

.quiz-copy .eyebrow {
    color: var(--yellow);
}

.quiz-copy h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(36px, 4vw, 56px);
    line-height: .98;
    letter-spacing: -.03em;
    margin: 12px 0 14px;
}

.quiz-copy p {
    max-width: 460px;
    color: rgba(247, 244, 235, .75);
}

.dark-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    background: var(--orange);
    color: white;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 14px;
}

.quiz-art {
    position: relative;
    min-height: 320px;
}

.quiz-art img {
    position: absolute;
    inset: 0;
}

.quiz-stamp {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 110px;
    height: 110px;
    border: 2px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: rotate(8deg);
    background: rgba(23, 44, 53, .35);
}

.quiz-question {
    margin-top: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 25px;
}

.quiz-question h3 {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 14px;
}

.quiz-answers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quiz-feedback {
    margin: 15px 0 0;
    font-size: 13px;
}

.quote-section {
    padding: 48px 0 64px;
}

.quote-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}

.quote-mark {
    font-family: var(--serif);
    font-size: 90px;
    line-height: .7;
    color: var(--orange);
}

.quote-inner blockquote {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1.14;
    letter-spacing: -.025em;
    margin: 0;
}

.quote-inner cite {
    display: block;
    font-style: normal;
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 20px;
}

footer {
    background: var(--ink);
    color: #f7f4eb;
    padding: 30px 0 22px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 20px;
}

.footer-brand .brand-name {
    font-size: 27px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    margin-top: 18px;
}

.footer-col h4 {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--yellow);
    margin: 4px 0 18px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    margin: 11px 0;
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .17);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 31, .5);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-panel,
.mobile-menu {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    height: 100dvh;
    background: var(--paper);
    transform: translateX(105%);
    transition: transform .3s;
}

.search-panel {
    width: min(480px, 100%);
    padding: 30px;
    box-shadow: var(--shadow);
}

.mobile-menu {
    width: min(360px, 100%);
    padding: 28px;
}

.search-panel.open,
.mobile-menu.open {
    transform: translateX(0);
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.panel-top strong {
    font-family: var(--serif);
    font-size: 25px;
}

.search-panel label {
    display: block;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 850;
    margin-bottom: 12px;
}

.search-input {
    width: 100%;
    border: 0;
    border-bottom: 2px solid var(--ink);
    background: transparent;
    padding: 15px 0;
    font-family: var(--serif);
    font-size: 25px;
    outline: none;
}

.mobile-menu nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 25px;
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--ink);
    color: white;
    padding: 12px 18px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 80;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.banner_1,
.banner_2,
.banner_3,
.banner_4,
.banner_ad {
    display: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination .pagination-list {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination .pagination-previous,
.pagination .pagination-next {
    margin: 0 6px;
}

.pagination a {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #deded4;
    border-radius: 8px;
    padding: 0 10px;
}

.pagination .is-current {
    background: #172c35;
    color: #fff;
}

.pagination .is-invisible {
    visibility: hidden;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: grid;
    }

    .cover,
    .split,
    .justin,
    .quiz-panel,
    .mosaic-card:first-child {
        grid-template-columns: 1fr;
    }

    .rail,
    .film {
        grid-template-columns: 1fr 1fr;
    }

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

    .mosaic-card:first-child {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .wrap {
        width: min(1180px, calc(100% - 28px));
    }

    .topline .wrap span:last-child {
        display: none;
    }

    .cover {
        padding-top: 28px;
    }

    .cover-story {
        border-radius: 8px;
    }

    .rail,
    .film,
    .mosaic,
    .justin-list,
    .footer-main,
    .quote-inner {
        grid-template-columns: 1fr;
    }

    .ledger a {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .ledger span {
        display: none;
    }

    .prompt-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .quiz-copy {
        padding: 28px 22px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cover-caption {
        padding: 15px;
    }

    .cover-caption p {
        display: none;
    }

    .topic-line {
        row-gap: .5rem;
    }

    .ledger strong {
        font-size: 20px;
    }

    .mosaic-card:first-child .mosaic-copy {
        padding: 20px;
    }

    .cover-copy {
        display: none;
    }
}
