:root {
    color-scheme: light;
    --text: #080808;
    --muted: #777;
    --line: #e2e2e2;
    --accent-color: #ecb22f;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 2;
    background: #fff;
}

.topbar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 80px;
    padding: 0 3.1%;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand img {
    display: block;
    width: min(310px, 34vw);
    max-height: 55px;
    object-fit: contain;
}

.brand span,
.footer-brand {
    font-weight: 900;
    font-stretch: condensed;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.icon-button svg,
.subscribe-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.account-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.subscribe-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    border-radius: 22px;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.subscribe-button svg {
    width: 16px;
    height: 16px;
}

.main-navigation {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3.4vw, 48px);
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

.main-navigation a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-navigation a:hover,
.sign-in:hover,
.site-footer a:hover {
    color: var(--accent-color);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 3.1%;
    border-bottom: 1px solid var(--line);
}

.search-form[hidden] {
    display: none;
}

.search-form label {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.search-form input {
    width: min(600px, 65vw);
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 3px;
    font: inherit;
}

.search-close {
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.latest-story {
    min-height: 620px;
    padding: 118px 3.1% 108px;
}

.latest-story.is-hidden {
    display: none;
}

.latest-link {
    display: block;
    max-width: 990px;
}

.eyebrow {
    margin-bottom: 24px;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.eyebrow span {
    padding: 0 4px;
}

.latest-story h1 {
    max-width: 1000px;
    margin: 0 0 16px;
    font-size: clamp(52px, 6.25vw, 82px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: .99;
}

.latest-excerpt {
    max-width: 920px;
    margin: 0;
    font-size: clamp(21px, 2.45vw, 30px);
    line-height: 1.28;
}

.reading-time {
    display: inline-block;
    margin-top: 23px;
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
}

.content-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .9fr);
    gap: clamp(42px, 5.5vw, 78px);
    padding: 0 3.1% 100px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.section-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.section-heading > span {
    width: 100%;
    height: 1px;
    background: var(--line);
}

.issue-card {
    padding: 0 0 30px;
    margin: 0 0 27px;
    border-bottom: 1px solid var(--line);
}

.issue-card.is-hidden {
    display: none;
}

.issue-card h3 {
    max-width: 850px;
    margin: 0 0 12px;
    font-size: clamp(23px, 2.6vw, 34px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.13;
}

.issue-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.issue-meta {
    display: flex;
    gap: 12px;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
}

.issue-card a:hover h3 {
    color: var(--accent-color);
}

.about-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.about-image {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.about-card h2 {
    margin: 0 0 7px;
    font-size: 19px;
    letter-spacing: -.025em;
}

.about-card p,
.newsletter p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

.newsletter {
    margin-top: 42px;
    padding: 24px;
    background: #f7f7f7;
}

.newsletter h2 {
    margin: 0 0 9px;
    font-size: 20px;
    letter-spacing: -.025em;
}

.newsletter .subscribe-button {
    margin-top: 18px;
}

.load-more {
    display: block;
    margin: 14px auto 0;
    padding: 12px 21px;
    border: 1px solid #bbb;
    border-radius: 24px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.load-more:hover {
    border-color: var(--text);
}

.load-more[hidden],
.no-results[hidden] {
    display: none;
}

.no-results {
    color: var(--muted);
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px 70px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer > a:last-child {
    font-size: 13px;
}

.floating-subscribe {
    position: fixed;
    right: 28px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 32px;
    background: var(--accent-color);
    box-shadow: 0 5px 17px #0002;
    color: #fff;
    font-size: 14px;
}

.member-icon {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff99;
    border-radius: 50%;
    font-size: 21px;
}

@media (max-width: 760px) {
    .topbar {
        min-height: 70px;
        padding: 0 16px;
    }

    .brand img {
        width: min(235px, 42vw);
        max-height: 46px;
    }

    .account-links {
        gap: 10px;
        font-size: 10px;
    }

    .account-links .subscribe-button {
        min-height: 32px;
        padding: 0 10px;
        font-size: 10px;
    }

    .main-navigation {
        min-height: 47px;
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        padding: 0 16px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .latest-story {
        min-height: auto;
        padding: 76px 20px 90px;
    }

    .latest-story h1 {
        font-size: clamp(43px, 11vw, 68px);
    }

    .latest-excerpt {
        font-size: clamp(20px, 5vw, 26px);
    }

    .content-columns {
        grid-template-columns: 1fr;
        gap: 54px;
        padding: 0 20px 70px;
    }

    .sidebar {
        grid-row: 1;
    }

    .newsletter {
        margin-top: 26px;
    }
}

@media (max-width: 430px) {
    .topbar {
        grid-template-columns: 34px 1fr auto;
        gap: 6px;
    }

    .brand img {
        width: 100%;
    }

    .account-links .sign-in {
        display: none;
    }

    .latest-story {
        padding-top: 62px;
        padding-bottom: 70px;
    }

    .latest-story h1 {
        font-size: 44px;
    }

    .floating-subscribe {
        right: 14px;
        bottom: 14px;
        min-height: 50px;
        padding: 0 16px;
    }
}
