:root {
    --bg-top: #ffffff;
    --bg: #fffefc;
    --bg-deep: #fbf8f3;
    --topbar-surface: var(--bg-top);
    --text: #111111;
    --heading: var(--text);
    --text-soft: #807a73;
    --home-header-offset: 36px;
    --home-snap-offset: 36px;
    --main-inline-padding: clamp(8px, 1vw, 12px);
    --wrap: min(1180px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 58%, var(--bg-deep) 100%);
    font: 16px/1.65 "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
    letter-spacing: -0.01em;
}

::selection {
    background: rgba(17, 17, 17, 0.12);
}

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

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.site-shell {
    position: relative;
    overflow-x: clip;
    isolation: isolate;
    padding-bottom: 72px;
}

.site-shell > main.wrap {
    padding-inline: var(--main-inline-padding);
}

.title-flow > .wrap {
    padding-inline: var(--main-inline-padding);
}

.topbar,
.hero {
    position: relative;
    z-index: 1;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px var(--main-inline-padding);
    background: var(--topbar-surface);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-copy {
    display: inline-flex;
    align-items: center;
}

.brand-copy strong {
    font: 700 1rem/1 "Aptos Display", "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
    letter-spacing: -0.025em;
}

.title-screen-link:hover,
.title-screen-link:focus-visible,
.editorial-link:hover,
.editorial-link:focus-visible {
    transform: translateY(-2px);
    opacity: 0.78;
}

a:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.24);
    outline-offset: 3px;
}

h1,
h2 {
    margin: 0;
    color: var(--heading);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-size: clamp(2.85rem, 6vw, 5.4rem);
    line-height: 0.92;
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 0.97;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 16px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.eyebrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    transition: color 180ms ease, opacity 180ms ease;
}

.eyebrow-link::before {
    content: "\2190";
    opacity: 0.62;
    transition: opacity 180ms ease;
}

.eyebrow-link:hover,
.eyebrow-link:focus-visible {
    color: var(--text);
    opacity: 0.78;
}

.eyebrow-link:hover::before,
.eyebrow-link:focus-visible::before {
    opacity: 1;
}

.eyebrow-link > span {
    text-decoration-line: underline;
    text-decoration-thickness: 0.04em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: auto;
}

.hero {
    padding: 74px 0 40px;
}

.title-flow {
    position: relative;
}

.title-screen {
    display: flex;
    align-items: flex-start;
    min-height: calc(100svh - var(--home-header-offset));
    padding: 32px 0 12vh;
}

.title-screen-copy {
    max-width: 820px;
    display: grid;
    gap: 20px;
}

.title-screen h2 {
    max-width: 12ch;
}

.title-screen h1 {
    max-width: 12ch;
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 0.95;
}

.title-screen-text {
    max-width: 38ch;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.title-link-stack,
.editorial-links {
    display: grid;
    gap: 8px;
}

.title-link-stack {
    margin-top: 8px;
}

.title-screen-subnav {
    display: grid;
    gap: 10px;
    justify-items: start;
    align-items: start;
}

.title-screen-subnav a {
    color: var(--text-soft);
    font: 400 1rem/1.5 "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
    letter-spacing: -0.01em;
    text-decoration-line: underline;
    text-decoration-thickness: 0.04em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: auto;
    transition: color 180ms ease, opacity 180ms ease;
}

.title-screen-subnav a:hover,
.title-screen-subnav a:focus-visible {
    color: var(--text);
    opacity: 0.84;
}

.title-screen-link,
.editorial-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--text);
    font: 700 clamp(1.08rem, 2vw, 1.45rem)/1.15 "Aptos Display", "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
    letter-spacing: -0.03em;
    text-decoration-line: underline;
    text-decoration-thickness: 0.04em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: auto;
    transition:
        transform 180ms ease,
        color 180ms ease,
        opacity 180ms ease;
}

.title-screen-link {
    padding: 10px 0;
}

.editorial-main {
    padding: 0 0 44px;
}

.editorial-hero {
    display: flex;
    align-items: flex-start;
    padding: 32px 0 30px;
}

.editorial-section {
    padding: 12px 0 30px;
}

.editorial-copy {
    width: 100%;
    max-width: none;
    display: grid;
    gap: 14px;
    justify-items: start;
    text-align: left;
}

.editorial-copy-wide,
.editorial-links-wide {
    width: 100%;
}

.editorial-copy h1,
.editorial-copy h2 {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    text-align: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

.editorial-copy h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
}

.editorial-copy h2 {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 0.96;
}

.editorial-text,
.editorial-list p,
.editorial-grid p,
.editorial-note {
    margin: 0;
    width: 100%;
    max-width: none;
    color: var(--text-soft);
    font-size: 1rem;
    text-align: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

.editorial-links {
    width: 100%;
    margin-top: 4px;
    justify-items: start;
}

.editorial-list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
    width: 100%;
}

.editorial-list li,
.editorial-grid article {
    display: grid;
    gap: 6px;
}

.editorial-list strong,
.editorial-grid strong {
    font: 700 1.02rem/1.15 "Aptos Display", "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
    letter-spacing: -0.03em;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 2px;
    width: 100%;
}

.editorial-grid span {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.editorial-value {
    margin: 0;
    color: var(--text);
    font: 700 2rem/1 "Aptos Display", "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
    letter-spacing: -0.05em;
}

.editorial-price-sheet {
    margin-top: 18px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.editorial-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
    border-top: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
}

.editorial-table th,
.editorial-table td {
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
    text-align: left;
}

.editorial-table th {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.editorial-table td {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.25;
}

.editorial-table th:nth-child(2),
.editorial-table td:nth-child(2),
.editorial-table th:nth-child(3),
.editorial-table td:nth-child(3) {
    text-align: right;
    white-space: nowrap;
}

.editorial-table td:last-child {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.legal-main {
    padding-top: 0;
}

.legal-plain {
    width: 100%;
    max-width: none;
    padding: 32px 0 18px;
}

.legal-head {
    display: grid;
    gap: 14px;
    justify-items: start;
    margin-bottom: 14px;
}

.legal-plain h1 {
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    max-width: none;
    margin-bottom: 0;
}

.legal-plain p {
    margin: 0 0 14px;
    max-width: none;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.72;
}

.legal-caption,
.legal-block-title {
    color: var(--text);
}

.legal-caption {
    margin-top: 0;
}

.legal-block-title {
    margin: 24px 0 12px;
    font-weight: 700;
    line-height: 1.5;
}

.legal-list {
    margin: 0 0 14px;
    padding-left: 1.2em;
}

.legal-list li {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.72;
}

.legal-plain a:not(.eyebrow-link) {
    display: inline;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-decoration-line: underline;
    text-decoration-thickness: 0.04em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: auto;
    transition: color 180ms ease, opacity 180ms ease;
}

.legal-plain a:not(.eyebrow-link):hover,
.legal-plain a:not(.eyebrow-link):focus-visible {
    transform: none;
    color: inherit;
    opacity: 0.78;
}

.legal-plain p strong {
    font-weight: 700;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg-top: #1a1a1d;
        --bg: #141416;
        --bg-deep: #0d0d0f;
        --text: #f3ede4;
        --heading: #faf0e2;
        --text-soft: #beb3a6;
    }

    ::selection {
        background: rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 640px) {
    :root {
        --home-header-offset: 32px;
        --home-snap-offset: 32px;
        --wrap: min(100vw - 24px, 1180px);
    }

    .topbar {
        padding: 8px var(--main-inline-padding);
    }

    .hero {
        padding-top: 40px;
    }

    .title-screen {
        min-height: auto;
        padding: 24px 0 72px;
    }

    .title-screen h1,
    .title-screen h2,
    .editorial-copy h1,
    .editorial-copy h2,
    h1 {
        max-width: none;
    }

    .title-screen h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .editorial-main {
        padding: 0 0 34px;
    }

    .legal-plain {
        padding: 24px 0 14px;
    }

    .editorial-hero {
        padding: 24px 0 22px;
    }

    .editorial-section {
        padding: 10px 0 22px;
    }

    .editorial-copy h1 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .editorial-copy h2 {
        font-size: clamp(1.85rem, 8vw, 2.8rem);
    }

    h1 {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
