:root {
    color-scheme: light;
    --blue: #00b8ec;
    --green: #b2d235;
    --gold: #c5a46d;
    --navy: #153447;
    --ivory: #f7f5f0;
    --charcoal: #252b30;
    --white: #ffffff;
    --yellow: #ffdd00;
    --muted: color-mix(in srgb, var(--charcoal) 72%, var(--white));
    --line: color-mix(in srgb, var(--navy) 14%, var(--ivory));
    --tint: color-mix(in srgb, var(--navy) 6%, var(--white));
    --blue-tint: color-mix(in srgb, var(--blue) 12%, var(--white));
    --green-tint: color-mix(in srgb, var(--green) 18%, var(--white));
    --gold-tint: color-mix(in srgb, var(--gold) 22%, var(--white));
    --gold-ink: color-mix(in srgb, var(--gold) 62%, var(--charcoal));
    --green-ink: color-mix(in srgb, var(--green) 45%, var(--navy));
    --navy-soft: color-mix(in srgb, var(--navy) 85%, var(--white));
    --danger: #a42e2e;
    --danger-tint: color-mix(in srgb, var(--danger) 8%, var(--white));
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--ivory);
    color: var(--charcoal);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.portal-body {
    min-width: 320px;
    display: block;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 5vw, 4rem);
    background: var(--navy);
    color: var(--white);
}

.brand {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.page {
    width: min(100% - 2rem, 34rem);
    margin: auto;
    padding: 3rem 0;
}

.card {
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 0.35rem;
    background: var(--white);
    box-shadow: 0 0.75rem 2rem rgb(21 52 71 / 7%);
}

.card h1 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.25;
}

.card form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.card label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.card input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--muted);
    border-radius: 0.25rem;
    color: var(--charcoal);
    font: inherit;
}

.card button {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 0.25rem;
    background: var(--blue);
    color: var(--navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.card .button-secondary {
    border: 1px solid var(--navy);
    background: var(--white);
    color: var(--navy);
}

.card .error {
    padding: 0.75rem;
    border-left: 3px solid var(--danger);
    background: var(--danger-tint);
    color: var(--danger);
}

body:not(.portal-body) > footer {
    padding: 1rem;
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

.skip-link {
    position: absolute;
    z-index: 20;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.5rem 0.85rem;
    transform: translateY(-160%);
    background: var(--white);
    color: var(--navy);
}

.skip-link:focus {
    transform: translateY(0);
}

.public-header {
    position: relative;
    z-index: 5;
    background: var(--blue);
}

.header-inner {
    width: min(100% - 3.5rem, 1380px);
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.wordmark {
    width: fit-content;
    display: grid;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 72px;
    max-width: 100%;
    aspect-ratio: 653 / 396;
    object-fit: contain;
}

.wordmark-main,
.footer-wordmark {
    color: var(--navy);
    font: 700 1.55rem/1 var(--serif);
    letter-spacing: -0.055em;
}

.wordmark-sub {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.19em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3rem);
}

.main-nav a,
.language-switch a {
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
}

.main-nav a {
    padding: 0.7rem 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    border-color: var(--navy);
}

.language-switch {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.55rem;
    color: var(--navy);
    font-size: 0.72rem;
}

.language-switch a {
    padding: 0.45rem 0.1rem;
    color: var(--navy);
    letter-spacing: 0.08em;
}

.language-switch a[aria-current="true"] {
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--white);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.38rem;
}

.hero {
    position: relative;
    width: min(100% - 3.5rem, 1380px);
    min-height: min(750px, calc(100svh - 92px));
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
    align-items: center;
    gap: clamp(3rem, 9vw, 9rem);
}

.hero-copy {
    max-width: 610px;
    padding: 1.25rem 0;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold-ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.5;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font: 400 clamp(2.8rem, 5.4vw, 5.35rem)/0.99 var(--serif);
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero-description {
    max-width: 465px;
    margin-bottom: 2.1rem;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.35rem;
}

.button {
    min-height: 50px;
    padding: 0.82rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px solid transparent;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
    background: var(--blue);
    color: var(--navy);
}

.button-primary:hover {
    background: var(--navy-soft);
    color: var(--white);
}

.quiet-link,
.text-link {
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.quiet-link {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gold);
}

.launch-note {
    margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.launch-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgb(178 210 53 / 13%);
}

.launch-note span:last-child {
    display: grid;
    line-height: 1.4;
}

.launch-note small {
    color: var(--muted);
    font-size: 0.65rem;
}

.launch-note strong {
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-image,
.category-hero-image {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--line);
}

.hero-image {
    height: clamp(480px, 51vw, 655px);
    max-height: 76svh;
}

.hero-image picture,
.hero-image img,
.category-image picture,
.category-image img,
.category-hero-image picture,
.category-hero-image img {
    width: 100%;
    height: 100%;
}

.hero-image img,
.category-image img,
.category-hero-image img {
    object-fit: cover;
}

.hero-image img {
    object-position: center 58%;
}

.hero-image::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgb(21 52 71 / 38%));
    content: "";
    pointer-events: none;
}

.hero-image-caption {
    position: absolute;
    z-index: 1;
    bottom: 3.5rem;
    left: 1.45rem;
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.image-credit {
    color: var(--muted);
    font-size: 0.58rem;
    line-height: 1.4;
}

.image-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.hero-image .image-credit,
.category-hero-image .image-credit {
    position: absolute;
    z-index: 2;
    right: 0.7rem;
    bottom: 0.65rem;
    left: 0.7rem;
    width: fit-content;
    max-width: calc(100% - 1.4rem);
    padding: 0.35rem 0.5rem;
    background: rgb(247 245 240 / 91%);
}

.hero-index {
    position: absolute;
    right: 0;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.hero-index span:nth-child(2) {
    width: 42px;
    height: 1px;
    background: var(--gold);
}

.section-shell {
    width: min(100% - 3.5rem, 1220px);
    margin: 0 auto;
}

.publication-section {
    padding-top: clamp(5rem, 10vw, 9rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.section-heading {
    max-width: 730px;
    margin-bottom: 3rem;
}

.section-heading h2,
.publisher-inner h2,
.closing-section h2,
.category-story h2 {
    margin-bottom: 1rem;
    color: var(--navy);
    font: 400 clamp(2.15rem, 4.2vw, 3.7rem)/1.07 var(--serif);
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.section-heading > p:last-child {
    max-width: 640px;
    margin-bottom: 0;
    color: var(--muted);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.spec-item {
    min-height: 128px;
    padding: 1.8rem 1.2rem 1.8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.spec-item + .spec-item {
    padding-left: 1.4rem;
    border-left: 1px solid var(--line);
}

.spec-item span {
    color: var(--muted);
    font-size: 0.68rem;
}

.spec-item strong {
    color: var(--navy);
    font: 400 1.08rem/1.4 var(--serif);
}

.fine-print {
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 0.68rem;
}

.publisher-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 1.75rem;
    background: var(--navy);
    color: var(--white);
}

.publisher-inner {
    width: min(100%, 850px);
    margin: 0 auto;
}

.publisher-inner .eyebrow {
    color: var(--gold);
}

.publisher-inner h2 {
    max-width: 700px;
    color: var(--white);
}

.publisher-copy {
    max-width: 780px;
    margin-bottom: 0;
    color: rgb(255 255 255 / 79%);
    font-size: 0.95rem;
    line-height: 1.95;
}

.categories-section {
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
}

.category-card {
    min-width: 0;
}

.category-card-link {
    display: block;
    text-decoration: none;
}

.category-image {
    position: relative;
    aspect-ratio: 1.48;
    overflow: hidden;
    background: var(--line);
}

.category-image img {
    transition: transform 450ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.category-card-link:hover .category-image img,
.category-card-link:focus-visible .category-image img {
    transform: scale(1.035);
}

.category-index {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 68%);
    border-radius: 50%;
    background: rgb(21 52 71 / 30%);
    color: var(--white);
    font-size: 0.62rem;
}

.category-copy {
    padding: 1.3rem 0 0.3rem;
}

.category-copy h3 {
    margin-bottom: 0.35rem;
    color: var(--navy);
    font: 400 clamp(1.5rem, 2.8vw, 2rem)/1.2 var(--serif);
}

.category-copy p {
    min-height: 3.1em;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.text-link {
    display: inline-block;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--gold);
}

.category-card > .image-credit {
    display: block;
    margin-top: 0.65rem;
}

.closing-section {
    padding: clamp(3rem, 6vw, 5.4rem) max(1.75rem, calc((100% - 1220px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: var(--line);
}

.closing-section > div {
    max-width: 720px;
}

.closing-section h2 {
    margin-bottom: 0.9rem;
}

.closing-section p:not(.eyebrow) {
    max-width: 680px;
    margin-bottom: 0.6rem;
    color: var(--muted);
}

.closing-section small {
    color: var(--muted);
    font-size: 0.68rem;
}

.button-light {
    flex: none;
    border-color: var(--navy);
    background: transparent;
    color: var(--navy);
}

.button-light:hover {
    background: var(--navy);
    color: var(--white);
}

.public-footer {
    padding: 2.4rem 1.75rem;
    background: var(--navy);
    color: rgb(255 255 255 / 75%);
}

.footer-inner {
    width: min(100%, 1220px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1.5rem 3rem;
}

.footer-wordmark {
    color: var(--white);
    font-size: 1.3rem;
    text-decoration: none;
}

.footer-wordmark span {
    color: var(--gold);
}

.footer-inner > div p,
.footer-date {
    margin: 0.65rem 0 0;
    font-size: 0.68rem;
}

.footer-date {
    text-align: right;
}

.image-credits {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgb(255 255 255 / 18%);
    font-size: 0.67rem;
}

.image-credits summary {
    width: fit-content;
    color: var(--gold);
    cursor: pointer;
    font-weight: 700;
}

.image-credits ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.image-credits .image-credit {
    color: rgb(255 255 255 / 72%);
    font-size: 0.67rem;
}

.category-hero {
    width: min(100% - 3.5rem, 1380px);
    min-height: min(710px, calc(100svh - 92px));
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.category-hero-copy {
    max-width: 580px;
}

.back-link {
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    display: inline-flex;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.7rem;
    text-decoration: none;
}

.back-link:hover {
    color: var(--navy);
}

.category-hero h1 {
    margin-bottom: 1rem;
    color: var(--navy);
    font: 400 clamp(2.8rem, 5.3vw, 5rem)/1 var(--serif);
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.category-lead {
    margin-bottom: 0.8rem;
    color: var(--muted);
    font: 400 1.3rem/1.45 var(--serif);
}

.category-description {
    max-width: 500px;
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.category-hero-image {
    height: clamp(390px, 44vw, 590px);
}

.category-hero-image img {
    object-position: center;
}

.category-story {
    padding-top: 1.5rem;
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.selection-note {
    margin-bottom: 2.5rem;
    padding: 0.85rem 1rem;
    border-left: 2px solid var(--green);
    background: rgb(178 210 53 / 9%);
    color: var(--navy);
    font-size: 0.72rem;
}

.category-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 7vw, 7rem);
}

.category-story-grid article {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.story-number {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--gold-ink);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.category-story h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.category-story-grid p {
    max-width: 520px;
    color: var(--muted);
    font-size: 0.86rem;
}

.coming-note {
    margin-top: 4rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid var(--line);
    background: rgb(255 255 255 / 46%);
}

.coming-mark {
    color: var(--gold);
    font-size: 1.4rem;
}

.coming-note p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.coming-note .text-link {
    flex: none;
}

.not-found {
    width: min(100% - 3.5rem, 1220px);
    min-height: 55vh;
    margin: 0 auto;
    padding: 6rem 0;
}

.not-found h1 {
    color: var(--navy);
    font: 400 clamp(2.5rem, 6vw, 4rem)/1.05 var(--serif);
}

@media (min-width: 1600px) {
    .hero {
        gap: 8rem;
    }
}

@media (max-width: 900px) {
    .header-inner {
        width: min(100% - 2.5rem, 1380px);
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-bottom: 0.8rem;
        gap: 1.5rem;
    }

    .language-switch {
        grid-column: 2;
        grid-row: 1;
    }

    .hero,
    .category-hero {
        width: min(100% - 2.5rem, 1380px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) minmax(270px, 0.86fr);
        gap: 2rem;
        padding: 4rem 0;
    }

    .hero h1,
    .category-hero h1 {
        font-size: clamp(2.55rem, 6vw, 4.4rem);
    }

    .hero-image {
        height: 530px;
    }

    .hero-index {
        display: none;
    }

    .section-shell {
        width: min(100% - 2.5rem, 1220px);
    }

    .closing-section {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .category-hero-image {
        height: 450px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: calc(100% - 2rem);
        min-height: 74px;
    }

    .brand-logo {
        height: 56px;
    }

    .wordmark-main {
        font-size: 1.35rem;
    }

    .main-nav {
        gap: 1.2rem;
    }

    .main-nav a {
        font-size: 0.69rem;
    }

    .hero,
    .category-hero {
        width: calc(100% - 2rem);
        padding: 3rem 0 3.75rem;
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1,
    .category-hero h1 {
        max-width: 560px;
        font-size: clamp(2.75rem, 13vw, 4.3rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-image {
        height: min(112vw, 500px);
        max-height: none;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .launch-note {
        margin-top: 2rem;
    }

    .section-shell {
        width: calc(100% - 2rem);
    }

    .publication-section {
        padding-top: 4.4rem;
        padding-bottom: 3.75rem;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .section-heading h2,
    .publisher-inner h2,
    .closing-section h2 {
        font-size: clamp(2.15rem, 10vw, 3.25rem);
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spec-item {
        min-height: 112px;
        padding: 1.1rem 0.8rem 1.1rem 0;
    }

    .spec-item + .spec-item {
        padding-left: 0.85rem;
    }

    .spec-item:nth-child(3) {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .spec-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .spec-item strong {
        font-size: 0.98rem;
    }

    .publisher-section {
        padding: 4rem 1.25rem;
    }

    .publisher-copy {
        font-size: 0.86rem;
        line-height: 1.85;
    }

    .categories-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-image {
        aspect-ratio: 1.3;
    }

    .category-copy h3 {
        font-size: 1.65rem;
    }

    .category-copy p {
        min-height: 0;
    }

    .closing-section {
        padding: 3.5rem 1rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 1.7rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-date {
        text-align: left;
    }

    .image-credits {
        grid-column: 1;
    }

    .category-hero {
        padding-top: 2.4rem;
    }

    .back-link {
        margin-bottom: 2.1rem;
    }

    .category-hero-image {
        height: min(100vw, 420px);
    }

    .category-story {
        padding-top: 0;
        padding-bottom: 4.5rem;
    }

    .category-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .coming-note {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.7rem 1rem;
    }

    .coming-note p {
        flex-basis: calc(100% - 2.5rem);
    }

    .coming-note .text-link {
        margin-left: 2.4rem;
    }

    .not-found {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
