/*
 * JMatchmaking - shared design system
 * Warm ivory, parchment, deep navy, terracotta linen and honey-gold rope.
 */

:root {
    /* Palette */
    --ivory: #fbf6ec;
    --ivory-2: #f5ecda;
    --parchment: #f0e2c3;
    --parchment-2: #e6d2a8;
    --parchment-edge: #cdb17c;
    --navy: #1b2a4a;
    --navy-2: #24375f;
    --navy-deep: #121c33;
    --terracotta: #984c30;
    --terracotta-2: #ad5a39;
    --copper: #b4673f;
    --copper-dark: #8a3b1f;
    --gold: #d9a441;
    --gold-light: #f3d690;
    --gold-dark: #8d621f;
    --cream: #f8ecd4;
    --cream-2: #e8dbc0;
    --ink: #1c2236;
    --text: #2d3040;
    --muted: #5b5242;
    --link: #8a3b1f;
    --focus: #8d621f;

    /* Type */
    --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.4rem, 1.4rem + 4.6vw, 5.25rem);
    --fs-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
    --fs-h3: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);

    /* Shape & depth */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.10);
    --shadow: 0 10px 28px rgba(27, 42, 74, 0.16);
    --shadow-lg: 0 18px 44px rgba(18, 28, 51, 0.26);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section-y: clamp(3rem, 7vw, 5.5rem);
    --header-h: 76px;
    --header-bottom: 76px;
    --sticky-h: 78px;

    /* Textures */
    --tex-linen:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 3px);
    --rope: repeating-linear-gradient(-55deg, #7d5418 0 2px, #e9c06a 2px 5px, #f7dc9a 5px 6px, #b88433 6px 9px);
    --tex-parchment:
        radial-gradient(ellipse at 18% 12%, rgba(255, 250, 235, 0.75), transparent 55%),
        radial-gradient(ellipse at 88% 85%, rgba(176, 135, 74, 0.20), transparent 60%),
        radial-gradient(circle at 62% 38%, rgba(150, 110, 60, 0.08), transparent 42%),
        radial-gradient(circle at 30% 78%, rgba(150, 110, 60, 0.07), transparent 35%);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

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

[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%;
    overflow-x: auto;
}

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

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--ivory);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
    margin: 0 0 1em;
}

a {
    color: var(--link);
}

a:hover {
    color: var(--copper);
}

img {
    display: block;
}

ul, ol {
    padding-left: 1.25rem;
}

main [id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.site-header,
.site-footer,
.legal-band,
.profile-card,
.surface-navy,
.surface-linen {
    --focus: #f3d690;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
    color: var(--cream);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
    color: var(--cream);
    outline: 3px solid var(--gold);
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

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

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper-dark);
    margin-bottom: 0.75rem;
}

/* Surfaces */
.surface-parchment {
    background: var(--tex-parchment), var(--parchment);
}

.surface-navy {
    background: var(--tex-linen), linear-gradient(180deg, var(--navy-2), var(--navy));
    color: var(--cream);
}

.surface-linen {
    background: var(--tex-linen), linear-gradient(180deg, var(--terracotta-2), var(--terracotta));
    color: var(--cream);
}

.surface-navy h2, .surface-navy h3,
.surface-linen h2, .surface-linen h3 {
    color: var(--cream);
}

/* Knot icon */
.knot-icon {
    width: 40px;
    height: 40px;
    flex: none;
}

.knot-icon--copper {
    --knot-fill: #b4673f;
    --knot-edge: #5e2c16;
    --knot-shine: #e7a985;
}

/* Braided rule */
.braid-rule {
    display: block;
    width: 100%;
    height: 28px;
    max-width: none;
}

/* ============================================
   ROPE BUTTON
   ============================================ */

.btn-rope {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0.55rem 1.15rem;
    border: 4px solid transparent;
    border-radius: var(--radius-pill);
    background:
        linear-gradient(180deg, #f7de9c 0%, #e5b55b 48%, #c98f33 100%) padding-box,
        var(--rope) border-box;
    color: var(--navy-deep);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow:
        0 3px 0 rgba(90, 56, 12, 0.45),
        0 8px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-rope:hover {
    color: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow:
        0 3px 0 rgba(90, 56, 12, 0.45),
        0 10px 22px rgba(0, 0, 0, 0.24),
        0 0 26px rgba(243, 214, 144, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-rope:active {
    transform: translateY(1px);
}

.btn-rope:focus-visible {
    outline: 3px solid #fff8ea;
    outline-offset: 3px;
    box-shadow: 0 0 0 8px var(--navy-deep);
}

.btn-rope__cap {
    width: 22px;
    height: 22px;
    flex: none;
    --knot-fill: #a86f1f;
    --knot-edge: #5c3a0c;
    --knot-shine: #f7dfa0;
}

.btn-rope--sm {
    min-height: 44px;
    padding: 0.4rem 0.9rem;
    font-size: 0.975rem;
    gap: 0.45rem;
}

.btn-rope--sm .btn-rope__cap {
    width: 18px;
    height: 18px;
}

.btn-rope--lg {
    min-height: 60px;
    padding: 0.75rem 1.6rem;
    font-size: 1.15rem;
    gap: 0.8rem;
}

.btn-rope--lg .btn-rope__cap {
    width: 28px;
    height: 28px;
}

.btn-rope--block {
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION (mobile first)
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-block: 5px;
    background: var(--tex-linen), linear-gradient(180deg, #a5563a, #8f472c);
    color: var(--cream);
    box-shadow: 0 6px 16px rgba(18, 28, 51, 0.18);
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--rope);
    pointer-events: none;
}

.site-header::before { top: 0; }
.site-header::after { bottom: 0; }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    margin-right: auto;
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.site-brand:hover {
    color: #fff6e3;
}

.site-brand__mark {
    width: 38px;
    height: 38px;
    flex: none;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.site-header .header-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    flex: none;
    padding: 0;
    border: 1px solid rgba(248, 236, 212, 0.55);
    border-radius: 10px;
    background: rgba(18, 28, 51, 0.15);
    color: var(--cream);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 49;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--tex-parchment), var(--ivory);
    border-top: 3px solid var(--gold);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    --focus: #8d621f;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--parchment-2);
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav__link:hover {
    color: var(--copper-dark);
}

.site-nav .nav-cta {
    margin-top: 1.5rem;
}

@media (min-width: 560px) {
    .site-header .header-cta {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        visibility: visible;
        opacity: 1;
        overflow: visible;
        padding: 0;
        background: none;
        border: 0;
        --focus: #f3d690;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 0.6rem;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0.45rem 1.05rem;
        border: 1px solid rgba(248, 236, 212, 0.4);
        border-radius: var(--radius-pill);
        background: rgba(248, 236, 212, 0.14);
        color: var(--cream);
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.2s ease;
    }

    .site-nav__link:hover {
        color: #fff8ea;
        background: rgba(248, 236, 212, 0.28);
    }

    .site-nav .nav-cta {
        display: none;
    }

    .site-header .header-cta {
        margin-left: 0.75rem;
    }
}

/* ============================================
   PROFILE CARDS
   ============================================ */

.profile-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 80%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}

.profile-row > * {
    scroll-snap-align: center;
}

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-block: 12px;
    padding: 1rem 0.9rem 1.25rem;
    border-radius: 8px;
    background: var(--tex-linen), linear-gradient(180deg, var(--navy-2), var(--navy));
    color: var(--cream);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card::before,
.profile-card::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 11px;
    background: repeating-linear-gradient(90deg, #d8b980 0 2px, transparent 2px 5px);
    pointer-events: none;
}

.profile-card::before { top: -11px; }
.profile-card::after { bottom: -11px; }

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.profile-card__photo {
    position: relative;
    margin: 0 0 1rem;
    padding: 8px;
    border-radius: 6px;
    background: var(--cream);
    box-shadow: inset 0 0 0 1px #d8c39a;
}

.profile-card__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 50% 25%;
    border: 2px solid var(--gold);
    border-radius: 3px;
}

.profile-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-card__name {
    margin: 0;
    color: var(--cream);
    font-size: 1.45rem;
}

.profile-card__age {
    margin: 0.15rem 0 0.75rem;
    color: var(--gold-light);
    font-size: var(--fs-small);
    font-weight: 600;
}

.profile-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-card__tags li {
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(243, 214, 144, 0.6);
    border-radius: var(--radius-pill);
    color: var(--cream);
    font-size: 0.875rem;
    line-height: 1.4;
}

.profile-card__intro {
    flex: 1;
    margin: 0.9rem 0 1.1rem;
    color: #e9dec7;
    font-size: 1rem;
    line-height: 1.55;
}

.profile-card__cta {
    width: 100%;
}

@media (min-width: 768px) {
    .profile-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        overflow: visible;
    }

    .profile-row > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .profile-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .profile-row > :last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
    }
}

/* ============================================
   FEATURE ITEMS
   ============================================ */

.feature-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.feature-item__icon {
    width: 40px;
    height: 40px;
    margin-top: 0.1rem;
}

.feature-item__title {
    margin: 0 0 0.4rem;
    color: var(--navy);
    font-size: var(--fs-h3);
}

.feature-item__text {
    margin: 0;
    color: var(--text);
}

/* ============================================
   FAQ (parchment ribbon scrolls)
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.faq-item {
    position: relative;
    background: linear-gradient(180deg, #f9efda, #ecdcb7);
    border: 1px solid #d8bf8c;
    border-radius: 10px 10px 4px 10px;
    box-shadow: var(--shadow-sm);
    --faq-curl-bg: var(--ivory);
}

.faq-item::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 30px;
    height: 30px;
    background: linear-gradient(315deg, var(--faq-curl-bg) 0 46%, #b8955a 47%, #f4e4bf 62%, #d8bd8a 100%);
    border-radius: 0 0 4px 0;
    pointer-events: none;
}

.faq-item__q {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.9rem 2.25rem 0.9rem 1.15rem;
    list-style: none;
    cursor: pointer;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.075rem;
    font-weight: 600;
    line-height: 1.35;
    border-radius: inherit;
}

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

.faq-item__q:hover .faq-item__q-text {
    color: var(--copper-dark);
}

.faq-item__q:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 2px;
}

.faq-item__chev {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--navy);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__chev {
    transform: rotate(180deg);
}

.faq-item__a {
    padding: 0 2rem 1.4rem 3.1rem;
    color: var(--text);
}

.faq-item__a p:last-child {
    margin-bottom: 0;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-band {
    padding-block: clamp(3rem, 7vw, 5rem);
    background:
        var(--tex-linen),
        radial-gradient(ellipse at 85% 0%, rgba(54, 80, 133, 0.55), transparent 60%),
        var(--navy);
    color: var(--cream);
}

.legal-band__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-band__title {
    margin: 0 0 1rem;
    color: var(--cream);
    font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
}

.legal-band__summary {
    max-width: 64ch;
    color: #e7dbc2;
    font-size: 1.125rem;
}

.legal-band__updated {
    margin: 0;
    color: var(--gold-light);
    font-size: var(--fs-small);
    font-weight: 600;
}

.legal-wrap {
    padding-block: var(--section-y);
    background: var(--ivory);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.legal-toc {
    border: 1px solid var(--parchment-edge);
    border-radius: var(--radius);
    background: var(--ivory-2);
    box-shadow: var(--shadow-sm);
}

.legal-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.1rem;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.legal-toc__chev {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.legal-toc.is-open .legal-toc__chev {
    transform: rotate(180deg);
}

.legal-toc__heading {
    display: none;
}

.legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem 0.75rem;
}

.js .legal-toc:not(.is-open) .legal-toc__list {
    display: none;
}

.legal-toc__link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    border-left: 3px solid transparent;
    color: var(--navy);
    font-size: 0.975rem;
    line-height: 1.35;
    text-decoration: none;
}

.legal-toc__link:hover {
    color: var(--copper-dark);
    background: rgba(217, 164, 65, 0.1);
}

.legal-toc__link.is-active {
    border-left-color: var(--gold);
    background: rgba(217, 164, 65, 0.14);
    font-weight: 600;
}

.legal-toc__icon {
    width: 16px;
    height: 16px;
}

.legal-content {
    min-width: 0;
    padding: clamp(1.4rem, 4vw, 3.25rem);
    border: 1px solid var(--parchment-edge);
    border-radius: var(--radius-lg);
    background: var(--tex-parchment), var(--parchment);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin: 2.25rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--parchment-edge);
    font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem);
}

.legal-content > :first-child,
.legal-content > section:first-child h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal-content h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
    max-width: 75ch;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 1.1rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content li::marker {
    color: var(--copper);
}

.legal-content section {
    overflow: visible;
}

.callout {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(255, 250, 238, 0.7);
}

.callout p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
        gap: 2.5rem;
    }

    .legal-toc {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        padding: 1.1rem 0.5rem 0.75rem;
    }

    .legal-toc__toggle {
        display: none;
    }

    .legal-toc__heading {
        display: block;
        margin: 0 0 0.5rem;
        padding-inline: 0.75rem;
        color: var(--navy);
        font-family: var(--font-serif);
        font-size: 1.15rem;
        font-weight: 600;
    }

    .js .legal-toc:not(.is-open) .legal-toc__list,
    .legal-toc__list {
        display: block;
        padding: 0;
    }
}

/* Cookie category table */
.cookie-table__wrap {
    margin: 1.75rem 0 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 250, 238, 0.7);
    border: 1px solid var(--parchment-edge);
    border-radius: var(--radius);
}

.cookie-table__caption {
    padding: 0 0 0.6rem;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.cookie-table th,
.cookie-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gold);
    text-align: left;
    vertical-align: top;
    line-height: 1.45;
}

.cookie-table thead th {
    background: var(--ivory-2);
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
}

.cookie-table tbody th {
    color: var(--navy);
    font-family: var(--font-serif);
    font-weight: 600;
}

.cookie-table tbody tr:last-child th,
.cookie-table tbody tr:last-child td {
    border-bottom: 0;
}

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

    .cookie-table {
        border: 0;
        background: none;
    }

    .cookie-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .cookie-table tbody tr {
        margin-bottom: 1rem;
        border: 1px solid var(--parchment-edge);
        border-radius: var(--radius);
        background: rgba(255, 250, 238, 0.7);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .cookie-table tbody th {
        background: var(--ivory-2);
        border-bottom: 1px solid var(--gold);
    }

    .cookie-table td {
        border-bottom: 1px solid var(--parchment-2);
    }

    .cookie-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: var(--copper-dark);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .cookie-table tbody tr:last-child td {
        border-bottom: 0;
    }
}

/* Related links strip */
.related-links {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--parchment-edge);
}

.related-links__title {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}

.related-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-links__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--parchment-edge);
    border-radius: var(--radius-pill);
    background: var(--ivory);
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-links__link:hover {
    border-color: var(--gold-dark);
    background: #fffaf0;
    color: var(--copper-dark);
}

.related-links__icon {
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    padding-block: 3rem 2.25rem;
    background: var(--tex-linen), linear-gradient(180deg, var(--navy), var(--navy-deep));
    color: var(--cream-2);
    text-align: center;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    margin-bottom: 0.75rem;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 500;
    text-decoration: none;
}

.footer-brand:hover {
    color: #fff1c9;
}

.footer-brand__mark {
    width: 40px;
    height: 40px;
    flex: none;
}

.site-footer__desc {
    max-width: 62ch;
    margin: 0 auto 1.25rem;
    color: #ddd0b4;
}

.site-footer__nav {
    width: 100%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 0 0.25rem;
    padding: 0;
}

.footer-links li {
    display: flex;
    align-items: center;
}

.footer-links li + li::before {
    content: "";
    width: 1px;
    height: 1.1em;
    background: var(--gold);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    color: var(--cream);
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-links--legal a {
    font-weight: 400;
}

.site-footer__notice {
    max-width: 60ch;
    margin: 1.25rem auto 0.5rem;
    color: #d3c5a8;
    font-size: var(--fs-small);
}

.site-footer__copy {
    margin: 0;
    color: #cbbd9f;
    font-size: 0.875rem;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
    background: var(--ivory);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(18, 28, 51, 0.16);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.sticky-cta.is-visible {
    transform: none;
    visibility: visible;
}

@media (max-width: 767.98px) {
    body:has(> .sticky-cta) {
        padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
    }
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

/* ============================================
   HOMEPAGE - SHARED SECTION HELPERS
   ============================================ */

.section-head {
    max-width: 44rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.section-head__lead {
    margin: 0;
    color: var(--text);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    background: var(--navy-deep);
    color: var(--cream);
}

.hero__media {
    position: relative;
    aspect-ratio: 5 / 4;
    background-color: var(--navy);
    background-image: url("./assets/f64d34bafd9717aece25b482751a3995.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 74% 28%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 28, 51, 0) 62%, var(--navy-deep) 100%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 1.5rem 2.75rem;
}

.hero__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    color: var(--cream);
}

.hero__title-brand {
    display: block;
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.02;
    color: #fbefd3;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero__title-sub {
    display: block;
    margin-top: 0.6rem;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--gold-light);
}

.hero__lead {
    max-width: 40rem;
    margin-bottom: 1.6rem;
    color: #ece2cc;
    font-size: 1.125rem;
}

.hero__note {
    margin: 1rem 0 0;
    color: #ddd0b4;
    font-size: var(--fs-small);
}

@media (max-width: 400px) {
    .hero__cta {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(540px, 76vh, 760px);
    }

    .hero__media {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        background-position: 72% 30%;
    }

    .hero__media::after {
        background: linear-gradient(90deg,
            rgba(18, 28, 51, 0.97) 0%,
            rgba(18, 28, 51, 0.9) 30%,
            rgba(18, 28, 51, 0.45) 46%,
            rgba(18, 28, 51, 0) 58%);
    }

    .hero__inner {
        padding-block: 4rem;
    }

    .hero__copy {
        max-width: min(36rem, 52%);
    }
}

/* ============================================
   MOSAIC WRAPPERS (rope seams in the gaps)
   ============================================ */

.mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    background: var(--rope);
}

.mosaic--lower {
    padding-top: 5px;
}

.mosaic__col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.mosaic__col > .why,
.mosaic__col > .faq {
    flex: 1 0 auto;
}

@media (min-width: 1280px) {
    .mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */

.value {
    container: value / inline-size;
    background: var(--navy);
}

.value__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "text";
    height: 100%;
}

.value__art {
    grid-area: art;
    aspect-ratio: 4 / 3;
    background-color: var(--navy);
    background-image: url("./assets/3730ab5b2dbf67e0e21b42655c20b844.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.value__text {
    grid-area: text;
    position: relative;
    z-index: 1;
    padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.25rem);
}

.value__text p:last-child {
    margin-bottom: 0;
}

.value__text strong {
    color: var(--navy);
}

@container value (min-width: 600px) {
    .value__inner {
        grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
        grid-template-areas: "text art";
    }

    .value__art {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .value__text {
        margin-right: -14px;
        padding-right: calc(clamp(1.25rem, 4vw, 2.25rem) + 14px);
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 4%, calc(100% - 8px) 9%, calc(100% - 2px) 14%, calc(100% - 10px) 20%, calc(100% - 3px) 26%, calc(100% - 9px) 32%, calc(100% - 1px) 38%, calc(100% - 7px) 45%, calc(100% - 2px) 51%, calc(100% - 11px) 58%, calc(100% - 4px) 64%, calc(100% - 8px) 71%, 100% 77%, calc(100% - 9px) 83%, calc(100% - 3px) 89%, calc(100% - 7px) 95%, calc(100% - 2px) 100%, 0 100%);
    }
}

/* ============================================
   DISCOVER MATCHES
   ============================================ */

.matches {
    position: relative;
    padding-block: var(--section-y);
    background: var(--ivory);
}

.matches__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 0.25;
    pointer-events: none;
}

.matches__inner {
    position: relative;
    z-index: 1;
}

.matches__note {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: var(--fs-small);
    font-style: italic;
    text-align: center;
}

.matches .section-cta {
    margin-top: 1.25rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how {
    padding-block: var(--section-y);
    background: var(--tex-parchment), var(--ivory);
}

.how__inner {
    position: relative;
}

.how__head {
    position: relative;
    z-index: 1;
}

.plaque {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0 auto 1.25rem;
}

.plaque__cap {
    width: 64px;
    height: 32px;
    flex: none;
}

.plaque__cap--right {
    transform: scaleX(-1);
}

.plaque__title {
    position: relative;
    margin: 0;
    padding: 0.55rem 1.6rem 0.65rem;
    border: 3px solid var(--gold);
    border-radius: var(--radius-pill);
    background: var(--tex-linen), linear-gradient(180deg, var(--navy-2), var(--navy));
    color: var(--cream);
    text-align: center;
    box-shadow: inset 0 0 0 2px rgba(18, 28, 51, 0.9), var(--shadow);
}

@media (max-width: 479.98px) {
    .plaque__cap {
        display: none;
    }

    .plaque__title {
        border-radius: 22px;
    }
}

.how__lead {
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.how__thread {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 420px;
    max-width: none;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 3px rgba(217, 164, 65, 0.55));
}

.how__thread-path {
    fill: none;
    stroke: #d9a441;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.6s ease-in-out;
}

.js .how:not(.is-inview) .how__thread-path {
    stroke-dashoffset: 1;
}

.steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    margin: 0;
    padding: 0 0 0 2.75rem;
    list-style: none;
}

.steps::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e5b55b, #c98f33);
    box-shadow: 0 0 6px rgba(217, 164, 65, 0.6);
    transform-origin: top;
    transition: transform 1.8s ease-in-out;
}

.js .how:not(.is-inview) .steps::before {
    transform: scaleY(0);
}

.step {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.step::before {
    content: "";
    position: absolute;
    left: calc(-2.75rem + 8px);
    top: 64px;
    width: 15px;
    height: 15px;
    border: 3px solid var(--ivory);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px var(--gold-dark);
}

.step__img {
    width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.step__title {
    margin-bottom: 0.4rem;
}

.step__num {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--copper-dark);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.step__body p {
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .step {
        grid-template-columns: 180px minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem;
    }

    .step__img {
        width: 180px;
    }

    .step::before {
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 1024px) {
    .how__thread {
        display: block;
    }

    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
        padding: 0;
    }

    .steps::before,
    .step::before {
        display: none;
    }

    .step {
        justify-items: center;
        text-align: center;
    }

    .step__img {
        width: 220px;
    }
}

/* ============================================
   FEATURES
   ============================================ */

.features {
    container: features / inline-size;
    background: var(--navy);
}

.features__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
}

.features__art {
    aspect-ratio: 16 / 5;
    background-color: var(--navy);
    background-image: url("./assets/c10bd4cc3aaa6672a6b294f38b66ca01.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.features__panel {
    container: fpanel / inline-size;
    padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.25rem);
}

.features__lead {
    margin-bottom: 1.75rem;
}

.features__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}

@container features (min-width: 560px) {
    .features__inner {
        grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    }

    .features__art {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

@container fpanel (min-width: 460px) {
    .features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.5rem;
    }

    .features__grid .feature-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }
}

@container fpanel (min-width: 660px) {
    .features__grid .feature-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.9rem;
    }
}

/* ============================================
   TRUST, PRIVACY & SAFETY
   ============================================ */

.trust {
    container: trust / inline-size;
    background: var(--navy);
}

.trust__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
}

.trust__text {
    padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.25rem);
}

.trust__tips-title {
    margin: 1.5rem 0 0.7rem;
    font-size: 1.2rem;
}

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

.tips li {
    position: relative;
    padding-left: 1.6rem;
}

.tips li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid var(--copper);
    border-radius: 50%;
    background: var(--gold-light);
}

.trust__art {
    container: tart / inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 32rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2rem;
    background-color: var(--navy);
    background-image: url("./assets/64e0df567158d0afcb587fe2eb6513f4.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 28%;
    color: var(--cream);
    --focus: #f3d690;
}

.trust__art::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    background: linear-gradient(180deg, rgba(18, 28, 51, 0) 0%, rgba(18, 28, 51, 0.88) 38%, rgba(18, 28, 51, 0.95) 100%);
    pointer-events: none;
}

.trust__labels {
    position: relative;
    display: grid;
    gap: 1.25rem;
}

.trust__label h3 {
    margin: 0 0 0.35rem;
    color: var(--gold-light);
    font-size: 1.15rem;
}

.trust__label p {
    margin: 0;
    color: #ece2cc;
    font-size: 0.975rem;
}

@container tart (min-width: 440px) {
    .trust__labels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container trust (min-width: 600px) {
    .trust__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust__art {
        min-height: 100%;
    }
}

/* ============================================
   WHY CONSIDER
   ============================================ */

.why {
    container: why / inline-size;
    display: flex;
    flex-direction: column;
    background: var(--tex-parchment), var(--ivory);
}

.why__inner {
    padding: var(--section-y) clamp(1.25rem, 4vw, 2.5rem);
    text-align: center;
}

.why__lead {
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.why__cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    max-width: 62rem;
    margin-inline: auto;
    text-align: left;
}

.why__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
}

.why__col h3 {
    margin-bottom: 0.4rem;
}

.why__col p {
    margin: 0;
}

@container why (min-width: 600px) {
    .why__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.why__band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 1.25rem 1rem;
    background: var(--tex-linen), linear-gradient(180deg, var(--terracotta-2), var(--terracotta));
}

.why__band::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: var(--rope);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.why__medallion {
    position: relative;
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* ============================================
   JEWISH VALUES
   ============================================ */

.values {
    container: values / inline-size;
    background: var(--tex-linen), linear-gradient(180deg, #9a4d31, #843d24);
    color: var(--cream);
    --focus: #f3d690;
}

.values__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
}

.values__photo {
    aspect-ratio: 16 / 9;
    background-image: url("./assets/7b4b1574e0f400fac632ffb189439bf8.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.values__text {
    position: relative;
    padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.25rem) clamp(2.25rem, 5vw, 3.25rem);
}

.values__text > :not(.values__filigree) {
    position: relative;
}

.values__text h2 {
    color: var(--cream);
}

.values__text p {
    color: #f6ead3;
}

.values__text p:last-child {
    margin-bottom: 0;
}

.values__filigree {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    pointer-events: none;
}

@container values (min-width: 640px) {
    .values__inner {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    }

    .values__photo {
        aspect-ratio: auto;
        min-height: 100%;
        background-position: 18% center;
        -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding-block: var(--section-y);
    background: var(--ivory);
}

.faq__title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq .faq-list {
    max-width: 48rem;
    margin-inline: auto;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    position: relative;
    padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter);
    background-color: var(--terracotta);
    background-image: url("./assets/41cbc12fe5034ff9cdb50a9107368f06.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--cream);
    text-align: center;
    --focus: #f3d690;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 46% 62% at 50% 50%, rgba(90, 36, 18, 0.45), rgba(90, 36, 18, 0) 100%);
    pointer-events: none;
}

.final-cta__inner {
    position: relative;
    max-width: 32rem;
    margin-inline: auto;
}

.final-cta h2 {
    color: var(--cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.final-cta p {
    color: #fbefd8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.final-cta .btn-rope {
    margin-top: 0.5rem;
}

.final-cta__note {
    margin: 1.1rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
}

@media (max-width: 400px) {
    .final-cta .btn-rope {
        width: 100%;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

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

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

    .btn-rope:hover,
    .profile-card:hover {
        transform: none;
    }
}