/*
 * JEWZZ shared visual foundation
 * Grand-hotel editorial design system
 */

:root {
    --navy-950: #091628;
    --navy-900: #10243e;
    --navy-850: #162f4d;
    --navy-800: #1c3858;
    --burgundy-900: #4c111b;
    --burgundy-800: #691c27;
    --burgundy-700: #7d2932;
    --ivory-100: #fffaf1;
    --ivory-200: #f8efe1;
    --ivory-300: #f1e2ce;
    --sand-300: #e6cfad;
    --gold-300: #e5c17f;
    --gold-400: #d4aa64;
    --gold-500: #bc8b43;
    --ink: #132338;
    --ink-soft: #475466;
    --white: #ffffff;
    --danger: #8a2530;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --shadow-soft: 0 18px 48px rgba(9, 22, 40, 0.13);
    --shadow-card: 0 14px 30px rgba(9, 22, 40, 0.18);
    --shadow-gold: 0 8px 26px rgba(212, 170, 100, 0.27);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-pill: 999px;

    --content-width: 1180px;
    --reading-width: 760px;
    --header-bottom: 4.75rem;
    --section-space: clamp(4.5rem, 9vw, 8rem);
}

/* ============================================
   Reset and overflow prevention
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--ivory-100);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre,
code,
.code-block,
[class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
}

p,
li,
td,
th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

input,
textarea,
select,
button {
    max-width: 100%;
    font: inherit;
}

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

section {
    position: relative;
    overflow: clip;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]) {
    color: var(--burgundy-800);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.17em;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
a:not([class]):hover {
    color: var(--navy-800);
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--navy-950);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.03;
    text-wrap: balance;
}

h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.55rem, 8vw, 5.4rem);
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.15rem, 6vw, 4rem);
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.15rem;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}

::selection {
    background: var(--gold-300);
    color: var(--navy-950);
}

/* ============================================
   Accessibility
   ============================================ */

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    transform: translateY(-160%);
    border: 2px solid var(--gold-300);
    border-radius: var(--radius-sm);
    background: var(--navy-950);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--gold-300);
    outline-offset: 4px;
}

#main-content:focus {
    outline: none;
}

/* ============================================
   Shared layout primitives
   ============================================ */

.shell {
    width: min(calc(100% - 2rem), var(--content-width));
    margin-inline: auto;
}

.reading-width {
    width: min(100%, var(--reading-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.section--compact {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.section--ivory {
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 193, 127, 0.12), transparent 36rem),
        var(--ivory-100);
}

.section--navy {
    background:
        radial-gradient(circle at 50% 40%, rgba(212, 170, 100, 0.14), transparent 34rem),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--ivory-100);
}

.section--burgundy {
    background:
        radial-gradient(circle at 50% 40%, rgba(229, 193, 127, 0.16), transparent 30rem),
        linear-gradient(135deg, var(--burgundy-900), var(--burgundy-700));
    color: var(--ivory-100);
}

.section--navy h2,
.section--navy h3,
.section--burgundy h2,
.section--burgundy h3 {
    color: var(--ivory-100);
}

.two-column {
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
}

.card-grid {
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
}

.disclosure-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.scroll-track {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem 1rem 1.5rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold-500) var(--ivory-300);
}

.scroll-track > * {
    flex: 0 0 min(84vw, 21rem);
    scroll-snap-align: center;
}

.scroll-track:focus-visible {
    border-radius: var(--radius-md);
    outline-offset: 0;
}

/* ============================================
   Header and navigation
   ============================================ */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--gold-500);
    background: var(--navy-950);
    color: var(--white);
}

.site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(229, 193, 127, 0.07), transparent),
        var(--navy-950);
    content: "";
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 1.5rem), var(--content-width));
    min-height: 4.75rem;
    margin-inline: auto;
    gap: 0.75rem;
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    min-height: 3rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--gold-300);
    text-decoration: none;
}

.site-brand__text {
    display: grid;
    min-height: 3rem;
    place-items: center;
    padding: 0.12rem 0.8rem 0;
    border-right: 1px solid var(--gold-500);
    border-left: 1px solid var(--gold-500);
    border-radius: 0 0 1.25rem 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.site-brand__line {
    display: block;
    width: clamp(0.65rem, 3vw, 2.25rem);
    height: 2px;
    background: var(--gold-500);
}

.mobile-menu-toggle {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-content: center;
    gap: 0.3rem;
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-300);
    cursor: pointer;
}

.mobile-menu-toggle__line {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(1) {
    transform: translateY(0.42rem) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(3) {
    transform: translateY(-0.42rem) rotate(-45deg);
}

.site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-bottom);
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    overflow-y: auto;
    visibility: hidden;
    border-top: 1px solid rgba(229, 193, 127, 0.45);
    background:
        radial-gradient(circle at 50% 20%, rgba(212, 170, 100, 0.12), transparent 20rem),
        var(--navy-950);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.site-nav__inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
}

.site-nav__link {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    border-bottom: 1px solid rgba(229, 193, 127, 0.25);
    color: var(--ivory-100);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link.is-current {
    color: var(--gold-300);
}

.site-nav__cta {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.75rem 1.3rem;
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-pill);
    background: var(--gold-300);
    color: var(--navy-950);
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.site-nav__disclosure {
    margin-top: auto;
    padding-top: 2rem;
    color: var(--sand-300);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ============================================
   Buttons and links
   ============================================ */

.btn {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn__arrow {
    width: 1.15rem;
    flex: 0 0 auto;
}

.btn--gold {
    border-color: var(--gold-300);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    box-shadow: var(--shadow-gold);
    color: var(--navy-950);
}

.btn--gold:hover {
    background: linear-gradient(135deg, #f0d498, var(--gold-400));
    box-shadow: 0 12px 34px rgba(212, 170, 100, 0.38);
}

.btn--ivory {
    border-color: var(--gold-300);
    background: var(--ivory-100);
    color: var(--navy-950);
}

.btn--ivory:hover {
    background: var(--gold-300);
}

.btn--burgundy {
    border-color: var(--burgundy-800);
    background: var(--burgundy-800);
    color: var(--white);
}

.btn--burgundy:hover {
    border-color: var(--burgundy-700);
    background: var(--burgundy-700);
}

/* ============================================
   Section heading
   ============================================ */

.section-heading {
    width: min(100%, 54rem);
    margin: 0 auto clamp(2.25rem, 6vw, 4.5rem);
}

.section-heading--center {
    text-align: center;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.section-heading--light h2,
.section-heading--light .section-heading__intro {
    color: var(--ivory-100);
}

.section-heading__eyebrow {
    margin-bottom: 0.65rem;
    color: var(--burgundy-800);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading--light .section-heading__eyebrow {
    color: var(--gold-300);
}

.section-heading__rule {
    display: flex;
    width: min(100%, 15rem);
    align-items: center;
    justify-content: center;
    margin: 1.15rem auto;
    gap: 0.55rem;
    color: var(--gold-500);
}

.section-heading--left .section-heading__rule {
    justify-content: flex-start;
    margin-left: 0;
}

.section-heading__rule i {
    width: 4rem;
    height: 1px;
    background: currentColor;
}

.section-heading__rule b {
    width: 0.52rem;
    height: 0.52rem;
    transform: rotate(45deg);
    border: 1px solid currentColor;
}

.section-heading__intro {
    color: var(--ink-soft);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

/* ============================================
   Trust strip
   ============================================ */

.trust-strip {
    display: grid;
    margin: 1.75rem 0 0;
    padding: 0;
    border: 1px solid rgba(229, 193, 127, 0.55);
    border-radius: var(--radius-md);
    background: rgba(9, 22, 40, 0.74);
    list-style: none;
}

.trust-strip li {
    display: flex;
    min-height: 3rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    color: var(--ivory-100);
    font-size: 0.75rem;
    font-weight: 600;
}

.trust-strip li + li {
    border-top: 1px solid rgba(229, 193, 127, 0.28);
}

.trust-strip svg {
    width: 1.15rem;
    flex: 0 0 auto;
    color: var(--gold-300);
}

/* ============================================
   Editorial lists and callouts
   ============================================ */

.editorial-list {
    padding: 1.15rem 1.2rem;
    border-top: 1px solid var(--gold-400);
}

.editorial-list h3 {
    margin-bottom: 0.75rem;
    color: var(--navy-900);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.editorial-list ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.55rem;
    list-style: none;
}

.editorial-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.55;
}

.editorial-list__marker {
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 auto;
    margin-top: 0.48rem;
    transform: rotate(45deg);
    border: 1px solid var(--gold-500);
}

.editorial-list--warning {
    border-top-color: var(--burgundy-700);
}

.editorial-list--warning .editorial-list__marker {
    border-color: var(--burgundy-700);
}

.callout {
    padding: 1.25rem 1.35rem;
    border-left: 4px solid var(--gold-400);
    background: var(--navy-900);
    color: var(--ivory-100);
    box-shadow: var(--shadow-soft);
}

.callout strong {
    color: var(--gold-300);
}

/* ============================================
   Art Deco feature panels
   ============================================ */

.feature-panel {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--gold-500);
    background:
        linear-gradient(135deg, rgba(229, 193, 127, 0.1), transparent 40%),
        var(--ivory-100);
    box-shadow: var(--shadow-card);
}

.feature-panel::before,
.feature-panel::after {
    position: absolute;
    width: 1.1rem;
    height: 1.1rem;
    border-color: var(--gold-500);
    content: "";
    pointer-events: none;
}

.feature-panel::before {
    top: 0.4rem;
    left: 0.4rem;
    border-top: 2px solid;
    border-left: 2px solid;
}

.feature-panel::after {
    right: 0.4rem;
    bottom: 0.4rem;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.feature-panel__arch {
    display: grid;
    min-height: 13rem;
    place-items: center;
    border: 1px solid var(--gold-400);
    border-radius: 50% 50% 0 0 / 42% 42% 0 0;
    background:
        radial-gradient(circle at 50% 75%, rgba(212, 170, 100, 0.24), transparent 44%),
        linear-gradient(145deg, var(--navy-850), var(--navy-950));
}

.feature-panel__medallion {
    display: grid;
    width: 6.8rem;
    aspect-ratio: 0.78;
    place-items: center;
    border: 2px solid var(--gold-400);
    border-radius: 50% 50% 0.75rem 0.75rem / 38% 38% 0.75rem 0.75rem;
    color: var(--gold-300);
}

.feature-panel__medallion svg {
    width: 3.8rem;
}

.feature-panel__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem 0.6rem 0.5rem;
    text-align: center;
}

.feature-panel__content h3 {
    color: var(--navy-900);
}

.feature-panel__body {
    color: var(--ink-soft);
}

.feature-panel__qualifier {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--burgundy-800);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   Deco artwork
   ============================================ */

.deco-shield,
.deco-fan {
    display: block;
    color: var(--gold-400);
}

.deco-shield {
    width: min(100%, 20rem);
    filter: drop-shadow(0 0 20px rgba(212, 170, 100, 0.18));
}

.deco-fan {
    width: min(100%, 15rem);
}

.deco-side-rail {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    width: clamp(4rem, 11vw, 10rem);
    color: rgba(229, 193, 127, 0.62);
    pointer-events: none;
}

.deco-side-rail--left {
    left: 0;
}

.deco-side-rail--right {
    right: 0;
    transform: scaleX(-1);
}

/* ============================================
   Status bands
   ============================================ */

.status-band {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--gold-500);
    background: var(--navy-900);
    color: var(--ivory-100);
}

.status-band__item {
    padding: 1.25rem;
}

.status-band__item + .status-band__item {
    border-top: 1px solid rgba(229, 193, 127, 0.45);
}

.status-band__item h3 {
    margin-bottom: 0.45rem;
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.status-band__item div {
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================
   Tables
   ============================================ */

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--gold-500);
    background: var(--ivory-100);
    box-shadow: var(--shadow-card);
}

.table-wrapper:focus-visible {
    outline-offset: 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ink);
    text-align: left;
}

th,
td {
    padding: 1rem;
    border-right: 1px solid rgba(188, 139, 67, 0.5);
    border-bottom: 1px solid rgba(188, 139, 67, 0.45);
    vertical-align: top;
}

th:last-child,
td:last-child {
    border-right: 0;
}

thead th {
    background: var(--burgundy-800);
    color: var(--ivory-100);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

tbody tr:nth-child(even) {
    background: var(--ivory-300);
}

tbody th {
    color: var(--navy-900);
    font-weight: 700;
}

/* ============================================
   Native FAQ disclosures
   ============================================ */

.faq-list {
    display: grid;
    width: min(100%, 58rem);
    margin-inline: auto;
    gap: 0.85rem;
    align-items: start;
}

.faq-item {
    align-self: start;
    border: 1px solid var(--gold-500);
    border-radius: 1rem;
    background: var(--ivory-100);
    box-shadow: 0 8px 20px rgba(9, 22, 40, 0.07);
}

.faq-item summary {
    display: flex;
    min-height: 3.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.85rem 0.85rem 1.15rem;
    border-radius: 0.9rem;
    background: linear-gradient(100deg, var(--gold-300), var(--gold-500));
    color: var(--navy-950);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--burgundy-700);
    outline-offset: 3px;
}

.faq-item__icon {
    position: relative;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--navy-900);
}

.faq-item__icon::before,
.faq-item__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.8rem;
    height: 2px;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-pill);
    background: var(--gold-300);
    content: "";
    transition: transform 180ms ease;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-item__answer {
    padding: 1.15rem 1.25rem 1.35rem;
    color: var(--ink-soft);
    line-height: 1.75;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--gold-500);
    background:
        linear-gradient(110deg, transparent, rgba(212, 170, 100, 0.06), transparent),
        var(--navy-950);
    color: var(--ivory-100);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(calc(100% - 2rem), var(--content-width));
    margin-inline: auto;
    padding-block: 3.5rem 2rem;
    gap: 2rem;
}

.site-footer__wordmark {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer__brand p,
.site-footer__legal p {
    color: var(--sand-300);
    font-size: 0.82rem;
    line-height: 1.7;
}

.site-footer__brand p {
    max-width: 38rem;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.site-footer__nav a,
.site-footer__nav span {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    color: var(--ivory-100);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--gold-300);
}

.site-footer__nav span[aria-current="page"] {
    color: var(--gold-300);
}

.site-footer__legal {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 193, 127, 0.35);
}

.site-footer__legal p {
    margin-bottom: 0.35rem;
}

.site-footer__ornament {
    position: absolute;
    bottom: 0;
    width: 10rem;
    color: rgba(212, 170, 100, 0.24);
    pointer-events: none;
}

.site-footer__ornament--left {
    left: -2rem;
}

.site-footer__ornament--right {
    right: -2rem;
}

/* ============================================
   Scroll reveals
   ============================================ */

.reveal-enabled [data-reveal] {
    transform: translateY(1rem);
    opacity: 0;
    transition:
        transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
        opacity 600ms ease;
}

.reveal-enabled [data-reveal="left"] {
    transform: translateX(-1rem);
}

.reveal-enabled [data-reveal="right"] {
    transform: translateX(1rem);
}

.reveal-enabled [data-reveal].is-visible {
    transform: translate(0);
    opacity: 1;
}

/* ============================================
   Tablet
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-bottom: 5.25rem;
    }

    .site-header__inner {
        width: min(calc(100% - 3rem), var(--content-width));
        min-height: 5.25rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        visibility: visible;
        border: 0;
        background: transparent;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__inner {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 0.25rem;
    }

    .site-nav__link {
        min-height: 3rem;
        padding: 0 0.85rem;
        border: 0;
        font-family: var(--font-body);
        font-size: 0.88rem;
        font-weight: 600;
    }

    .site-nav__link.is-current {
        position: relative;
    }

    .site-nav__link.is-current::after {
        position: absolute;
        right: 0.85rem;
        bottom: 0.45rem;
        left: 0.85rem;
        height: 1px;
        background: var(--gold-300);
        content: "";
    }

    .site-nav__cta {
        min-height: 2.85rem;
        margin-top: 0;
        margin-left: 0.5rem;
        padding-inline: 1.1rem;
    }

    .site-nav__disclosure {
        display: none;
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

    .card-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip li + li {
        border-top: 0;
        border-left: 1px solid rgba(229, 193, 127, 0.28);
    }

    .status-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .status-band__item + .status-band__item {
        border-top: 0;
        border-left: 1px solid rgba(229, 193, 127, 0.45);
    }

    .site-footer__inner {
        width: min(calc(100% - 3rem), var(--content-width));
        grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 0.8fr);
    }

    .site-footer__legal {
        grid-column: 1 / -1;
    }
}

/* ============================================
   Desktop
   ============================================ */

@media (min-width: 1024px) {
    .shell {
        width: min(calc(100% - 5rem), var(--content-width));
    }

    .site-brand__text {
        padding-inline: 1.25rem;
    }

    .site-nav__link {
        padding-inline: 1rem;
    }

    .card-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .scroll-track {
        display: grid;
        padding-inline: 0;
        overflow: visible;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        scroll-snap-type: none;
    }

    .scroll-track > * {
        width: auto;
    }

    .site-footer__inner {
        padding-block: 4.5rem 2.25rem;
        grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.7fr);
    }
}

@media (min-width: 1280px) {
    .site-header__inner,
    .site-footer__inner {
        width: min(calc(100% - 6rem), var(--content-width));
    }

    .site-footer__ornament {
        width: 12rem;
    }
}

/* ============================================
   Narrow-screen table transformation
   ============================================ */

@media (max-width: 767px) {
    .responsive-table table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table th,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .responsive-table tbody {
        display: grid;
        padding: 0.75rem;
        gap: 0.85rem;
    }

    .responsive-table tr {
        overflow: hidden;
        border: 1px solid var(--gold-500);
        background: var(--ivory-100);
    }

    .responsive-table th,
    .responsive-table td {
        display: grid;
        padding: 0.85rem 1rem;
        border-right: 0;
        grid-template-columns: minmax(7.5rem, 0.42fr) minmax(0, 1fr);
        gap: 0.8rem;
    }

    .responsive-table th::before,
    .responsive-table td::before {
        color: var(--burgundy-800);
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
}

/* ============================================
   Reduced motion and print
   ============================================ */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-enabled [data-reveal] {
        transform: none;
        opacity: 1;
    }
}

@media print {
    .site-header,
    .site-footer,
    .skip-link,
    .btn {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    main {
        width: 100%;
    }

    section {
        overflow: visible;
        break-inside: avoid;
    }
}