/* Change these colors to personalize the entire site. */
:root {
    --navy: #102d44;
    --ink: #172c3c;
    --muted: #546773;
    --accent: #147b90;
    --line: #d6e0e5;
    --paper: #fff;
    --soft: #f1f6f9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

a {
    color: inherit;
    text-underline-offset: .3em
}

button {
    font: inherit
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #e0a529;
    outline-offset: 5px
}

.shell {
    width: min(1120px, calc(100% - 64px));
    margin: auto
}

.site-header {
    border-bottom: 1px solid var(--line)
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 650;
    text-decoration: none
}

.monogram {
    display: grid;
    place-items: center;
    background: var(--navy);
    color: white;
    width: 38px;
    height: 38px;
    font-size: .875rem;
    letter-spacing: .05em
}

nav {
    display: flex;
    gap: 26px;
    align-items: center
}

nav a {
    text-decoration: none;
    font-size: .9375rem;
    color: var(--muted);
    padding: 8px 0
}

nav a:hover,
nav a[aria-current] {
    color: var(--navy);
    text-decoration: underline
}

.hero {
    background: var(--navy);
    color: #fff
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 90px;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 94px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8125rem;
    font-weight: 650;
    color: var(--accent);
    margin: 0 0 22px
}

.hero .eyebrow {
    color: #8cd3df
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 0 0 22px
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 650
}

h2 {
    font-size: 2.15rem;
    font-weight: 600
}

h3 {
    font-size: 1.5rem;
    font-weight: 600
}

.accent {
    color: var(--accent)
}

.hero .accent {
    color: #6cc6d5
}

.intro {
    font-size: 1.25rem;
    max-width: 480px;
    color: #d4e2eb;
    margin: 28px 0
}

.actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
    flex-wrap: wrap
}

.button {
    display: inline-block;
    background: #fff;
    color: var(--navy);
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 650
}

.button:hover {
    background: #def0f4
}

.text-link {
    font-weight: 600
}

.index-label {
    font-size: .875rem;
    color: #b8ccd8
}

.interest-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 32px
}

.interest-list li {
    border-top: 1px solid #37556b;
    padding: 17px 0;
    font-size: 1.0625rem
}

.interest-list li:last-child {
    border-bottom: 1px solid #37556b
}

.interest-list span {
    color: #83bbce;
    font-size: .8125rem;
    display: inline-block;
    width: 40px
}

.hero-aside>p {
    color: #9eb7c7;
    font-size: .9375rem
}

.section {
    padding-top: 64px;
    padding-bottom: 74px
}

.section-heading {
    margin-bottom: 30px
}

.section-heading .eyebrow {
    margin-bottom: 14px
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.feature {
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 36px;
    transition: background .15s
}

.feature:hover {
    background: var(--soft)
}

.number {
    display: block;
    color: var(--muted);
    font-size: .8125rem;
    letter-spacing: .07em;
    margin-bottom: 30px
}

.feature h3 {
    font-size: 2rem
}

.feature p {
    max-width: 370px;
    color: var(--muted)
}

.feature-link {
    display: block;
    margin-top: 30px;
    font-weight: 600;
    color: var(--accent)
}

.page-heading {
    padding-top: 76px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line)
}

.page-heading h1 {
    font-size: clamp(3rem, 6vw, 5rem)
}

.lead {
    font-size: 1.25rem;
    max-width: 750px;
    color: var(--muted);
    margin-bottom: 0
}

.split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 72px
}

.split h2:not(:first-child) {
    margin-top: 45px
}

.info-panel {
    background: var(--soft);
    padding: 30px;
    align-self: start
}

.info-panel h3 {
    line-height: 1.35
}

.empty-state {
    border-left: 3px solid var(--accent);
    background: var(--soft);
    padding: 28px 32px;
    margin-bottom: 60px
}

.empty-state h2 {
    font-size: 1.65rem
}

.empty-state p {
    color: var(--muted);
    max-width: 650px;
    margin: 0
}

.empty-state .eyebrow {
    display: block
}

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

.small-grid p {
    color: var(--muted)
}

.small-grid article {
    border-top: 1px solid var(--line);
    padding-top: 25px
}

.note-topics {
    margin-bottom: 65px
}

.note-topics h2 {
    font-size: 1.7rem
}

.resume {
    max-width: 900px
}

.resume-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    border-bottom: 1px solid var(--line);
    padding: 20px 0 32px;
    margin-bottom: 26px
}

.resume-row h2 {
    font-size: 1.3rem
}

.resume-row h3 {
    font-size: 1.3rem
}

.muted {
    color: var(--muted)
}

footer {
    border-top: 1px solid var(--line);
    padding-top: 26px;
    padding-bottom: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .875rem;
    color: var(--muted)
}

.skip {
    position: absolute;
    top: -100px;
    left: 20px;
    padding: 10px 16px;
    background: white;
    z-index: 10
}

.skip:focus {
    top: 10px
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    padding: 6px 14px;
    background: white;
    color: var(--ink)
}

.article {
    max-width: 760px
}

.article h2 {
    margin-top: 42px;
    font-size: 1.75rem
}

.article blockquote {
    border-left: 3px solid var(--accent);
    margin: 30px 0;
    padding: 0 25px;
    color: var(--muted)
}

.post-link {
    display: block;
    padding: 25px 0;
    border-top: 1px solid var(--line);
    text-decoration: none
}

.post-link:hover h3 {
    text-decoration: underline
}

.post-link p {
    color: var(--muted)
}

@media(max-width:800px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 20px;
        padding-bottom: 20px
    }

    .hero-grid {
        gap: 40px;
        grid-template-columns: 1fr;
        padding: 58px 0
    }

    .hero-aside {
        max-width: 520px
    }

    .split {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .small-grid {
        grid-template-columns: 1fr
    }

    .small-grid .number {
        margin-bottom: 15px
    }

    .feature-grid {
        gap: 20px
    }

    .feature {
        padding: 25px
    }

    nav {
        gap: 19px
    }

    .page-heading {
        padding-top: 52px
    }

    .section {
        padding-top: 45px;
        padding-bottom: 50px
    }
}

@media(max-width:560px) {
    .shell {
        width: calc(100% - 40px)
    }

    .menu-toggle:not([hidden]) {
        display: block
    }

    .header-inner {
        gap: 16px
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 20px
    }

    .js nav:not(.open) {
        display: none
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding: 48px 0
    }

    .hero-aside {
        margin-top: 10px
    }

    .resume-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    footer {
        flex-direction: column;
        gap: 5px
    }

    .empty-state {
        padding: 25px
    }

    .actions {
        gap: 22px
    }
}

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

    * {
        transition: none !important
    }
}

@media print {

    .site-header,
    footer,
    .actions,
    .skip {
        display: none
    }

    .shell {
        width: 100%
    }

    .page-heading,
    .section {
        padding: 20px 0
    }

    .hero {
        background: white;
        color: black
    }

    .hero-aside {
        display: none
    }
}

.series-feature {
    grid-column: 1 / -1;
    background: var(--soft);
    border-top: 3px solid var(--accent)
}

.series-feature h3 {
    font-size: clamp(2rem, 4vw, 3rem)
}

.series-feature p {
    max-width: 650px
}

.series-hero {
    background: var(--navy);
    color: white;
    padding: 75px 0
}

.series-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.5rem)
}

.series-hero .eyebrow {
    color: #8cd3df
}

.series-hero .accent {
    color: #6cc6d5
}

.series-hero .lead {
    color: #d4e2eb
}

.series-intro {
    max-width: 700px;
    color: #d4e2eb;
    margin: 25px 0
}

details {
    border-block: 1px solid var(--line);
    padding: 20px 0;
    margin: 35px 0
}

summary {
    cursor: pointer;
    font-weight: 600
}

audio,
video {
    max-width: 100%;
    width: 100%
}

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

#episodes {
    scroll-margin-top: 24px
}

@media(min-width:801px) {
    nav {
        gap: 20px
    }

    .header-inner {
        gap: 20px
    }
}

@media(max-width:1050px) and (min-width:801px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 20px 0
    }

    nav {
        width: 100%
    }
}