/* ================================================================
   WESTLAKE GOLDSMITHS — CORE DESIGN SYSTEM
   Bone surface, warm ink, antique gold accent. Shared by static pages.
   ================================================================ */

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
    --bone: #F4EEE3;
    --bone-2: #EDE6D7;
    --bone-3: #E3DAC6;
    --ivory: #FBF7EE;
    --parchment: #E9DFC7;
    --ink: #1F1A14;
    --ink-2: #2D2619;
    --ink-3: #5C5141;
    --ink-4: #8A7F6A;
    --umber: #3A2F1E;
    --sepia: #6B553A;
    --gold: #A67C2E;
    --gold-deep: #7F5C1E;
    --gold-soft: #C79D4F;
    --gold-pale: #E3CC93;
    --gold-foil: #B8912F;
    --stone: #D9D2C2;
    --stone-2: #BEB5A1;
    --stone-3: #6F6A5C;
    --success: #4A6B3A;
    --warning: #B07A1F;
    --danger: #8C3A2B;
    --info: #3E5B6E;

    --earth: var(--umber);
    --shadow: var(--ink-2);
    --dusk: var(--stone-2);
    --cream: var(--ivory);
    --deep: var(--ink);
    --warm-gray: var(--ink-4);
    --paper: var(--bone);
    --muted: var(--ink-3);
    --muted-light: var(--ink-4);
    --line: rgba(31, 26, 20, 0.12);
    --line-strong: rgba(31, 26, 20, 0.28);
    --rule-gold: rgba(166, 124, 46, 0.40);
    --selection: rgba(166, 124, 46, 0.22);

    --heading: 'Cormorant Garamond', Georgia, serif;
    --serif: 'EB Garamond', Georgia, serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --brand: 'Cormorant Garamond', Georgia, serif;

    --band-h: 3.5rem;
    --radius-card: 4px;
    --radius-pill: 999px;
}

:root[data-theme="dark"] {
    --bone: #0F0C08;
    --bone-2: #17110C;
    --bone-3: #241B12;
    --ivory: #19130E;
    --parchment: #22190F;
    --ink: #F4EEE3;
    --ink-2: #FBF7EE;
    --ink-3: #D8CDBA;
    --ink-4: #A99A82;
    --umber: #FBF7EE;
    --sepia: #D8C096;
    --gold: #C79D4F;
    --gold-deep: #E3CC93;
    --gold-soft: #E3CC93;
    --gold-pale: #5B4421;
    --gold-foil: #C79D4F;
    --stone: #2E271B;
    --stone-2: #A99A82;
    --stone-3: #D8CDBA;
    --success: #83A46E;
    --warning: #D2A44A;
    --danger: #D48B72;
    --info: #7F9AAD;

    --earth: var(--umber);
    --shadow: var(--ink-3);
    --dusk: var(--stone-2);
    --cream: var(--ivory);
    --deep: var(--bone);
    --warm-gray: var(--ink-4);
    --paper: var(--bone);
    --muted: var(--ink-3);
    --muted-light: var(--ink-4);
    --line: rgba(244, 238, 227, 0.12);
    --line-strong: rgba(244, 238, 227, 0.28);
    --rule-gold: rgba(199, 157, 79, 0.42);
    --selection: rgba(199, 157, 79, 0.26);
}

/* ── BASE ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

#philosophy,
#collection,
#collection-gallery,
#craft,
#process,
#team,
#instagram,
#reviews {
    scroll-margin-top: calc(var(--band-h) + 1.75rem);
}

body {
    font-family: var(--body);
    font-weight: 400;
    color: var(--earth);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: 1rem;
    padding-top: var(--band-h);
}

::selection { background: var(--selection); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }

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

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────────── */
.eyebrow {
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.eyebrow--ink { color: var(--ink); }
.eyebrow--paper { color: var(--paper); }

.headline {
    font-family: var(--heading);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.04;
    color: var(--umber);
}
.headline--xl { font-size: clamp(2.75rem, 6.5vw, 6.25rem); }
.headline--lg { font-size: clamp(2rem, 4.5vw, 4rem); }
.headline--md { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.headline--sm { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

.headline-italic {
    font-family: var(--heading);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--sepia);
}

.numeral {
    font-family: var(--heading);
    font-feature-settings: 'lnum' 1, 'tnum' 1;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: 0;
}

.pull-quote {
    font-family: var(--heading);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 3.2vw, 2.75rem);
    line-height: 1.25;
    color: var(--earth);
    letter-spacing: 0;
}

.body-serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.55;
    font-size: 1.05rem;
}

.body-sans {
    font-family: var(--body);
    font-weight: 400;
    color: var(--earth);
    line-height: 1.7;
    font-size: 0.95rem;
}

.caption-tag {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100% - 1.5rem);
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.band {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 720px) {
    .band { padding: 0 1.75rem; }
}
@media (min-width: 1200px) {
    .band { padding: 0 2rem; }
}

.gutter-y { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 720px) {
    .gutter-y { padding-top: 8rem; padding-bottom: 8rem; }
}

.hairline { display: block; height: 1px; width: 100%; background: var(--line); }
.hairline--ink { background: var(--ink); height: 2px; width: 3rem; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--band-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 100;
    display: flex;
    align-items: center;
}
.site-header__inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
@media (min-width: 720px) {
    .site-header__inner { padding: 0 1.75rem; }
}
@media (min-width: 1200px) {
    .site-header__inner { padding: 0 2rem; }
}

.site-header__mark {
    font-family: var(--brand);
    font-size: 1.25rem;
    letter-spacing: 0;
    color: var(--ink);
}

.site-header__nav {
    display: none;
    gap: 1.75rem;
    align-items: center;
    list-style: none;
}
@media (min-width: 900px) {
    .site-header__nav { display: flex; }
}

.site-header__nav a,
.site-header__nav button {
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.25s;
}
.site-header__nav a:hover,
.site-header__nav button:hover { color: var(--ink); }
.site-header__nav a.is-active { color: var(--ink); }

a.site-header__cta,
.site-header__cta {
    display: inline-flex;
    align-items: center;
    background: var(--ink);
    color: var(--bone);
    padding: 0.65rem 1.1rem;
    font-family: var(--body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.25s;
}
a.site-header__cta:hover,
.site-header__cta:hover { background: var(--umber); color: var(--bone); }

.site-header__burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
@media (min-width: 900px) { .site-header__burger { display: none; } }
.site-header__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s, opacity 0.25s;
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 900px) { .site-header__actions { display: flex; } }

.site-header__mobile-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
@media (min-width: 900px) { .site-header__mobile-controls { display: none; } }

.site-header__login {
    display: inline-flex;
    align-items: center;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--ink);
    padding: calc(0.65rem - 1px) 1.1rem;
    font-family: var(--body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s;
}
.site-header__login:hover { background: var(--ink); color: var(--paper); }

.site-theme-toggle {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: transparent;
    color: var(--ink);
    border: none;
    cursor: pointer;
    transition: color 0.25s;
}
.site-theme-toggle:hover,
.site-theme-toggle[aria-pressed="true"] {
    color: var(--gold-deep);
}
.site-theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.site-theme-toggle svg .site-theme-toggle__moon {
    fill: currentColor;
    stroke: none;
}

.site-mobile-nav {
    position: fixed;
    top: var(--band-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 2rem 2rem;
    gap: 1.25rem;
}
.site-mobile-nav.is-open { display: flex; }
.site-mobile-nav a {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}
.site-mobile-nav a.site-mobile-nav__login {
    margin-top: auto;
    color: var(--muted);
    font-size: 0.8125rem;
    border-bottom: none;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.95rem 1.75rem;
    border: 1px solid var(--ink);
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
    white-space: nowrap;
}
.btn--ink {
    background: var(--ink);
    color: var(--bone);
}
.btn--ink:hover { background: var(--earth); }
.btn--ghost {
    background: transparent;
    color: var(--ink);
}
.btn--ghost:hover { background: var(--ivory); color: var(--ink); }
.btn--paper {
    background: #F4EEE3;
    color: #1F1A14;
    border-color: #F4EEE3;
}
.btn--paper:hover { background: transparent; color: #F4EEE3; border-color: #F4EEE3; }
.btn--paper-ghost {
    background: transparent;
    color: #F4EEE3;
    border-color: rgba(244, 238, 227, 0.5);
}
.btn--paper-ghost:hover { background: #F4EEE3; color: #1F1A14; border-color: #F4EEE3; }
.btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.btn__arrow { display: inline-block; }

/* Text-link affordance (back arrows, discards) */
.text-link {
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.25s;
}
.text-link:hover { color: var(--ink); }
.text-link::before { content: '← '; }

/* ── CARD ────────────────────────────────────────────────────── */
.card {
    border: 1px solid var(--line);
    background: var(--ivory);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    transition: border-color 0.25s, transform 0.25s;
    display: block;
    color: inherit;
}
.card:hover { border-color: var(--line-strong); }

/* ── PHOTO TILES ──────────────────────────────────────────────── */
.photo-tile {
    position: relative;
    overflow: hidden;
    background: var(--bone-3);
}
.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.photo-tile:hover img {
    transform: scale(1.02);
}
.photo-tile--static:hover img { transform: scale(1.02); }

.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-1 { aspect-ratio: 1 / 1; }
.aspect-16-9 { aspect-ratio: 16 / 9; }

/* ── CHIP (option buttons for request flow) ──────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"],
.chip.is-selected {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
}
.chip__hint {
    margin-left: 0.6em;
    font-family: var(--serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
    font-size: 0.8rem;
}

/* ── PROGRESS BAR (request flow) ─────────────────────────────── */
.progress-rail {
    position: sticky;
    top: var(--band-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 50;
    padding: 0.75rem 0;
}
.progress-rail__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.progress-bar {
    flex: 1;
    display: flex;
    gap: 4px;
}
.progress-bar__seg {
    flex: 1;
    height: 2px;
    background: var(--line);
    transition: background 0.3s;
}
.progress-bar__seg.is-filled { background: var(--ink); }
.progress-bar__seg.is-active { background: var(--gold); }
.progress-count {
    font-family: var(--body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
    white-space: nowrap;
}

/* ── STEP CARD (composer) ────────────────────────────────────── */
.step {
    padding: 3rem 1.5rem 5rem;
    max-width: 780px;
    margin: 0 auto;
}
.step__eyebrow { margin-bottom: 0.75rem; }
.step__question {
    font-family: var(--heading);
    font-weight: 400;
    text-transform: none;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    letter-spacing: 0;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.step__subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}
.step__breadcrumb {
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 2rem;
}
.step__breadcrumb span + span::before {
    content: ' · ';
    margin: 0 0.2em;
    color: var(--line-strong);
}
.step__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}
.step__options--stacked {
    flex-direction: column;
    align-items: stretch;
}
.step__options--stacked .chip { width: 100%; }
@media (min-width: 640px) {
    .step__options--2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
}
.step__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

/* ── INPUT ───────────────────────────────────────────────────── */
.field {
    display: block;
    margin-bottom: 1.25rem;
}
.field__label {
    display: block;
    font-family: var(--body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 0.5rem;
}
.input, .textarea, .select {
    width: 100%;
    font-family: var(--serif);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    transition: border-color 0.25s;
}
.input:focus, .textarea:focus, .select:focus {
    border-color: var(--gold);
}
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 2px;
}
.textarea { min-height: 140px; resize: vertical; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 26, 20, 0.58);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1.5rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
    background: var(--ivory);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
}
.modal__header {
    position: sticky;
    top: 0;
    background: var(--ivory);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.modal__footer {
    position: sticky;
    bottom: 0;
    background: var(--ivory);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.modal__body { padding: 1.5rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background: #1F1A14;
    color: #F4EEE3;
    border-top: 1px solid var(--rule-gold);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}
.site-footer__grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 720px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 2.35fr) minmax(8rem, 0.7fr) minmax(7rem, 0.55fr);
        column-gap: clamp(3rem, 6vw, 7rem);
        row-gap: 3rem;
        padding: 0 1.75rem;
    }
    .site-footer__nav {
        justify-self: end;
    }
}
@media (min-width: 1200px) {
    .site-footer__grid { padding: 0 2rem; }
}
.site-footer__identity {
    display: grid;
    gap: 2rem;
}
@media (min-width: 960px) {
    .site-footer__identity {
        grid-template-columns: minmax(16rem, 0.9fr) minmax(16rem, 0.7fr);
        column-gap: clamp(2rem, 4vw, 4.5rem);
        align-items: start;
    }
}
.site-footer__mark {
    font-family: var(--brand);
    font-size: 1.75rem;
    letter-spacing: 0;
    color: #F4EEE3;
    margin-bottom: 0.75rem;
}
.site-footer__tagline {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(244, 238, 227, 0.72);
    font-size: 0.95rem;
    max-width: 32ch;
}
.site-footer h4 {
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; }
.site-footer li {
    margin-bottom: 0.65rem;
    font-family: var(--body);
    font-size: 0.8125rem;
    color: rgba(244, 238, 227, 0.86);
}
.site-footer li:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
    .site-footer__studio { margin-bottom: -0.75rem; }
    .site-footer__address-full { display: none; }
    .site-footer h4 { display: none; }
}
.site-footer__address-mobile { display: none; }
@media (max-width: 899px) {
    .site-footer__address-mobile { display: inline; }
}
.site-footer a {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    transition: color 0.25s;
}
.site-footer a:hover { color: #F4EEE3; }
.site-footer__bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 1.5rem 1rem 0;
    border-top: 1px solid rgba(244, 238, 227, 0.14);
    display: flex;
    justify-content: space-between;
    font-family: var(--body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 238, 227, 0.46);
}
@media (min-width: 720px) {
    .site-footer__bottom { padding-left: 1.75rem; padding-right: 1.75rem; }
}
@media (min-width: 1200px) {
    .site-footer__bottom { padding-left: 2rem; padding-right: 2rem; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes chipIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.chip-in { animation: chipIn 0.35s ease both; }

/* Reduced-motion honors user preference: kill non-essential animation */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .photo-tile img { transition: none !important; transform: none !important; }
    .fade-up, .chip-in { animation: none !important; }
}

/* ── LEGAL LAYOUT ────────────────────────────────────────────── */
.legal-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1rem 6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 220px 1fr;
        padding: 5rem 2rem 8rem;
        gap: 4rem;
    }
}
.legal-nav {
    align-self: start;
}
@media (max-width: 1023px) {
    .legal-layout {
        gap: 2rem;
        padding-top: 3rem;
    }
    .legal-nav {
        position: static;
        width: 100%;
    }
    .legal-nav .eyebrow {
        margin-bottom: 0.75rem !important;
    }
    .legal-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.5rem;
    }
    .legal-nav li {
        margin-bottom: 0;
    }
    .legal-nav a {
        border: 1px solid var(--line);
        padding: 0.55rem 0.7rem;
    }
    .legal-nav a.is-active {
        border-left-color: var(--line);
        border-color: var(--gold);
    }
}
@media (min-width: 1024px) {
    .legal-nav {
        position: sticky;
        top: calc(var(--band-h) + 1.5rem);
    }
}
.legal-nav ul { list-style: none; }
.legal-nav li { margin-bottom: 0.75rem; }
.legal-nav a {
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
    display: block;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: color 0.25s, border-color 0.25s;
}
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.is-active {
    color: var(--ink);
    border-left-color: var(--gold);
}

.legal-article {
    max-width: 68ch;
    font-family: var(--body);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--earth);
}
.legal-article h1 {
    font-family: var(--heading);
    font-weight: 400;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.04;
    color: var(--umber);
    margin-bottom: 0.75rem;
}
.legal-article .updated {
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    margin-bottom: 3rem;
}
.legal-article h2 {
    font-family: var(--heading);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--umber);
    margin-top: 3rem;
    margin-bottom: 1rem;
    scroll-margin-top: calc(var(--band-h) + 1.5rem);
}
.legal-article h3 {
    font-family: var(--body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--earth);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.legal-article p { margin-bottom: 1rem; }
.legal-article ul, .legal-article ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}
.legal-article li { margin-bottom: 0.5rem; }
.legal-article strong { color: var(--ink); font-weight: 600; }
.legal-article a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-article .toc {
    border: 1px solid var(--line);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 3rem;
}
.legal-article .toc strong {
    display: block;
    font-family: var(--body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 0.75rem;
}
.legal-article .toc ul {
    list-style: none;
    padding: 0;
    column-count: 1;
    column-gap: 2rem;
}
@media (min-width: 640px) {
    .legal-article .toc ul { column-count: 2; }
}
.legal-article .toc a {
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--earth);
}
.legal-article .toc a:hover { color: var(--ink); }
.legal-article .callout {
    border-left: 2px solid var(--gold);
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 1.5rem 0;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
}
