:root {
    --paper: #f6f4ed;
    --ink: #23372d;
    --muted: #647066;
    --line: #d5dbce;
    --accent: #d8e68a
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-underline-offset: 4px
}

a:hover {
    color: #57702c
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

:focus-visible {
    outline: 3px solid #638126;
    outline-offset: 5px
}

.skip {
    position: absolute;
    left: 20px;
    top: -100px;
    background: var(--ink);
    color: white;
    padding: 12px;
    z-index: 10
}

.skip:focus {
    top: 16px
}

.masthead,
main,
footer {
    max-width: 1280px;
    margin: auto
}

.masthead {
    padding: 32px 64px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.brand {
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    font-size: 19px
}

.brand-dot {
    color: #7c963c
}

.edition {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em
}

.hero {
    padding: 74px 64px 0;
    position: relative
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(52px, 8.7vw, 108px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -.055em;
    margin: 32px 0
}

h1 em {
    font-weight: 400;
    color: #60744a
}

.dek {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted)
}

.watch {
    display: inline-flex;
    gap: 42px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    padding: 17px 23px;
    margin-top: 16px;
    font-size: 13px
}

.watch:hover {
    background: #40543b;
    color: white
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 54px;
    padding: 20px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted)
}

.film {
    padding: 0 64px
}

.video {
    aspect-ratio: 16/9;
    background: #19271e
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.film-caption {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    margin: 14px 0
}

.film-caption span {
    letter-spacing: .1em;
    text-transform: uppercase
}

.reading-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 680px);
    gap: 64px;
    padding: 80px 64px
}

.contents {
    align-self: start;
    position: sticky;
    top: 30px
}

.contents .eyebrow {
    margin-top: 0
}

.contents ol {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    border-top: 1px solid var(--line)
}

.contents li {
    border-bottom: 1px solid var(--line)
}

.contents li a {
    display: block;
    padding: 13px 0;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted)
}

.contents li a:hover {
    color: var(--ink)
}

.back-top {
    font-size: 12px;
    color: var(--muted)
}

.article-body {
    min-width: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.85
}

.article-body>p {
    margin: 22px 0
}

.article-body h2 {
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
    font-size: 35px;
    margin: 64px 0 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line)
}

.article-body p:has(>em:only-child) {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: var(--muted)
}

.article-body figure {
    margin: 28px 0
}

.article-body img {
    display: block;
    width: 100%;
    height: auto
}

aside {
    padding: 24px 28px;
    background: #e9ecdf;
    border-left: 3px solid #88985f;
    margin: 30px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.75
}

aside h3,
.article-body aside h2 {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 0;
    border: 0
}

aside p {
    margin: 0
}

.article-body .archive-note {
    margin-top: 0;
    background: transparent;
    border: 1px solid var(--line)
}

.endnote {
    background: var(--ink);
    color: var(--paper);
    margin: 0 64px 64px;
    padding: 48px
}

.endnote h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 400;
    margin: 18px 0 28px;
    letter-spacing: -.025em
}

.actions {
    display: flex;
    gap: 12px
}

.actions button {
    border: 1px solid #a9b79a;
    background: transparent;
    color: var(--paper);
    padding: 13px 18px;
    font: inherit;
    font-size: 12px;
    cursor: pointer
}

.actions button:hover {
    background: var(--accent);
    color: var(--ink)
}

#share-status {
    font-size: 13px;
    min-height: 16px;
    margin-bottom: 0
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 30px 64px
}

footer p {
    font-size: 12px;
    color: var(--muted)
}

.video-milestone {
    display: inline-block;
    margin: 0 0 8px;
    padding: 12px 18px;
    background: var(--accent);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 2px
}

.video-milestone strong {
    font-weight: 700
}

@media(max-width:900px) {
    .masthead {
        padding: 24px 28px
    }

    .hero {
        padding: 48px 28px 0
    }

    .film {
        padding: 0 28px
    }

    .reading-layout {
        padding: 48px 28px;
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 32px
    }

    .endnote {
        margin: 0 28px 40px
    }

    footer {
        padding: 24px 28px
    }
}

@media(max-width:650px) {
    .edition {
        font-size: 10px
    }

    .brand {
        font-size: 16px
    }

    .hero {
        padding-top: 38px
    }

    h1 {
        font-size: 58px
    }

    .dek {
        font-size: 16px
    }

    .hero-meta {
        font-size: 9px;
        letter-spacing: .04em;
        margin-top: 34px
    }

    .reading-layout {
        display: block
    }

    .contents {
        position: static;
        margin-bottom: 44px
    }

    .contents ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px
    }

    .contents .back-top {
        display: none
    }

    .article-body {
        font-size: 17px
    }

    .article-body h2 {
        font-size: 30px
    }

    .endnote {
        padding: 30px 24px
    }

    .endnote h2 {
        font-size: 34px
    }

    footer {
        display: block
    }

    footer p {
        margin-top: 16px
    }
}

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

@media print {
    body {
        background: white;
        color: black
    }

    .masthead,
    .contents,
    .watch,
    .actions,
    footer,
    .film,
    .hero-meta,
    .skip {
        display: none
    }

    .hero,
    .reading-layout {
        padding: 0;
        display: block
    }

    h1 {
        font-size: 38px
    }

    .article-body {
        font-size: 11pt;
        line-height: 1.5
    }

    .article-body h2 {
        break-after: avoid
    }

    .article-body figure {
        break-inside: avoid
    }

    .article-body img {
        max-height: 350px;
        width: auto;
        max-width: 100%
    }

    .endnote {
        display: none
    }

    aside {
        break-inside: avoid
    }
}

/* Homepage */
.guide-list {
    padding: 30px 64px 72px
}

.guide-list>#guides-title {
    margin: 0 0 24px
}

.guide-feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    text-decoration: none;
    color: var(--ink)
}

.guide-feature:hover {
    color: var(--ink)
}

.guide-image {
    background: #e9ecdf;
    display: flex;
    align-items: center;
    overflow: hidden
}

.guide-image img {
    display: block;
    width: 100%;
    height: auto
}

.guide-copy {
    padding: 44px
}

.guide-copy h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 26px 0
}

.guide-copy h1 em {
    color: #60744a
}

.guide-copy>p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted)
}

.guide-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    font-size: 13px;
    font-weight: 700
}

.guide-feature:hover .guide-cta {
    text-decoration: underline;
    text-underline-offset: 5px
}

@media(max-width:900px) {
    .guide-list {
        padding: 24px 28px 48px
    }

    .guide-copy {
        padding: 28px
    }
}

@media(max-width:650px) {
    .guide-feature {
        grid-template-columns: 1fr
    }

    .guide-copy {
        padding: 28px 0
    }

    .guide-copy h1 {
        font-size: 40px
    }
}

@media print {
    .guide-list {
        padding: 0
    }

    .guide-feature {
        display: block
    }

    .guide-image img {
        max-width: 400px
    }

    .guide-copy {
        padding: 20px 0
    }
}