/* ============================================================
   elvori - Obsidian garden / warm gold design system
   ============================================================ */

:root {
    /* surfaces */
    --bg: #0D1218;
    --bg-deep: #0A1014;
    --bg-teal: #0E1F1E;
    --panel: #102A26;
    --panel-soft: rgba(16, 42, 38, 0.72);
    --panel-flat: rgba(13, 24, 26, 0.86);

    /* accents */
    --gold: #E5A93C;
    --gold-bright: #F6DCA4;
    --gold-deep: #C98A22;
    --amber-glow: rgba(229, 169, 60, 0.30);
    --hairline: rgba(229, 169, 60, 0.30);
    --hairline-soft: rgba(229, 169, 60, 0.16);
    --divider: rgba(214, 231, 221, 0.12);

    /* text */
    --cream: #F4E8CE;
    --text: #E3DCCB;
    --muted: #A7BBB2;
    --ink: #1A1205;

    /* type */
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* metrics */
    --container: 1160px;
    --radius: 14px;
    --radius-sm: 10px;
    --section-pad: clamp(56px, 9vw, 108px);
    --header-bottom: 64px;
    --shadow-deep: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}

/* ============================================
   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, .legal-prose, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section {
    overflow: clip;
}

[hidden] {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--bg);
    background-image:
        radial-gradient(90% 60% at 50% 0%, rgba(16, 42, 38, 0.65), transparent 70%),
        linear-gradient(180deg, #0D1218 0%, #0B1517 55%, #0A1014 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--cream);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 700;
    letter-spacing: 0.005em;
}

h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--gold);
    text-decoration-color: rgba(229, 169, 60, 0.5);
}
a:hover { color: var(--gold-bright); }

ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.45em; }

strong { color: var(--cream); font-weight: 600; }

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--gold);
    color: var(--ink);
    padding: 12px 18px;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
}

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

.section {
    position: relative;
    overflow: clip;
    padding: var(--section-pad) 0;
}

.section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.section__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 16, 20, 0.86) 0%, rgba(10, 18, 20, 0.72) 45%, rgba(10, 16, 20, 0.92) 100%);
}

.section > .container,
.section__content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.75em;
    font-weight: 600;
}

.lead {
    font-size: clamp(1.02rem, 2.1vw, 1.16rem);
    color: var(--text);
}

.muted { color: var(--muted); }

.hairline {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--hairline), transparent);
    margin: clamp(32px, 6vw, 56px) 0;
}

.panel {
    background: var(--panel-soft);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius);
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--shadow-deep);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(28px, 5vw, 48px);
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head__title { margin-bottom: 0.4em; }
.section-head__lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.85rem 1.9rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.2;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #F8E3B2 0%, var(--gold) 52%, var(--gold-deep) 100%);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
    filter: drop-shadow(0 10px 26px rgba(229, 169, 60, 0.30));
}

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

.btn__glyph {
    display: inline-flex;
    color: rgba(26, 18, 5, 0.75);
}

.btn--sm {
    min-height: 48px;
    padding: 0.6rem 1.35rem;
    font-size: 0.9rem;
}

.btn--lg {
    min-height: 58px;
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

.btn--full {
    display: flex;
    width: 100%;
}

.btn--ghost {
    color: var(--cream);
    min-height: 48px;
    padding: 0.6rem 1.3rem;
}
.btn--ghost::before {
    background: rgba(16, 42, 38, 0.9);
    border-radius: 999px;
    clip-path: none;
    box-shadow: inset 0 0 0 1px var(--hairline);
    filter: none;
}
.btn--ghost .btn__glyph { color: var(--gold); }

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(9, 16, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline-soft);
}

.header-inner {
    position: relative;
    width: min(var(--container), 100% - 32px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold);
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.01em;
}
.site-brand:hover .site-brand__text { color: var(--gold-bright); }

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--text);
    font-size: 0.97rem;
    font-weight: 500;
    text-decoration: none;
}
.nav-list a:hover { color: var(--gold); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 42, 38, 0.8);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    cursor: pointer;
    color: var(--cream);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 1.6px;
    background: var(--cream);
    transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
@media (max-width: 767px) {
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--header-bottom);
        bottom: 0;
        height: auto;
        padding: 20px 20px 48px;
        background: #0A1416;
        border-top: 1px solid var(--hairline-soft);
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.28s ease, visibility 0.28s ease;
        z-index: 65;
    }
    .site-nav.is-open {
        transform: none;
        visibility: visible;
    }
    .nav-list li { margin: 0; }
    .nav-list a {
        min-height: 54px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--divider);
    }
    .nav-cta-mobile { margin-top: 22px; }
    .header-actions .header-cta { display: none; }
    body.nav-open { overflow: hidden; }
}

@media (min-width: 768px) {
    .header-inner { min-height: 74px; }
    .site-nav {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 18px;
    }
    .nav-list {
        display: flex;
        align-items: center;
        gap: clamp(14px, 2.2vw, 28px);
    }
    .nav-cta-mobile { display: none; }
    .nav-toggle { display: none; }
}

/* ============================================
   LIVE COUNTER
   ============================================ */

.counter-widget {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}

.counter {
    display: inline-flex;
    gap: 6px;
}

.counter__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 8px 6px;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream);
    background: linear-gradient(180deg, rgba(8, 16, 18, 0.95), rgba(16, 42, 38, 0.95));
    border: 1px solid var(--hairline);
    border-radius: 7px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
}

.counter__tile.is-flip {
    animation: tileFlip 0.28s ease;
}

@keyframes tileFlip {
    0% { transform: translateY(-45%); opacity: 0.25; }
    100% { transform: translateY(0); opacity: 1; }
}

.counter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(229, 169, 60, 0.7);
    animation: livePulse 2.4s ease-out infinite;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 169, 60, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(229, 169, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 169, 60, 0); }
}

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

.pcard {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: rgba(13, 28, 28, 0.82);
    border: 1px solid var(--hairline-soft);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pcard--link {
    padding: 0;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.pcard:hover {
    transform: translateY(-4px);
    border-color: var(--hairline);
    box-shadow: 0 26px 52px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--hairline-soft);
}

.pcard__media {
    display: block;
    position: relative;
    aspect-ratio: 7 / 9;
    overflow: hidden;
}

.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
}

.pcard__body {
    display: block;
    padding: 12px 14px 16px;
}

.pcard__name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0 0 4px;
}

.pcard__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.pcard--featured {
    border: 2px solid var(--gold);
    box-shadow: 0 0 34px -4px rgba(229, 169, 60, 0.38), 0 26px 56px -22px rgba(0, 0, 0, 0.95);
}

.pcard__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.chip {
    flex: 1 1 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.16s ease, background 0.2s ease;
}
.chip:hover { transform: translateY(-2px); }

.chip--like {
    color: var(--cream);
    background: rgba(10, 22, 22, 0.9);
    border: 1px solid var(--hairline);
}

.chip--chat {
    color: var(--ink);
    background: linear-gradient(180deg, #F5DCA6, var(--gold));
    border: 1px solid var(--gold-deep);
}

/* ============================================
   FAQ / DISCLOSURES
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    max-width: 880px;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    background: rgba(13, 28, 28, 0.78);
    border: 1px solid var(--hairline-soft);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--hairline);
    box-shadow: 0 0 28px -12px rgba(229, 169, 60, 0.4);
}

.faq-item__q {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
}
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__key {
    color: var(--gold);
    display: inline-flex;
    flex-shrink: 0;
}

.faq-item__text { flex: 1 1 auto; }

.faq-item__chev {
    color: var(--gold);
    display: inline-flex;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }

.faq-item__a {
    padding: 0 16px 18px 44px;
    color: var(--text);
    font-size: 0.97rem;
}

.faq-item__a p { margin-bottom: 0.8em; }

/* ============================================
   CALLOUT
   ============================================ */

.callout {
    background: linear-gradient(180deg, rgba(16, 42, 38, 0.9), rgba(10, 20, 22, 0.9));
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: clamp(16px, 3vw, 24px);
    margin: 0 0 clamp(20px, 4vw, 32px);
}
.callout__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--cream);
    margin: 0 0 0.5em;
}
.callout__body p:last-child { margin-bottom: 0; }
.callout ul { margin: 0; }

/* ============================================
   TABLES
   ============================================ */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 520px;
}
.data-table th,
.data-table td {
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid var(--divider);
    vertical-align: top;
}
.data-table thead th {
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid var(--hairline);
}
.data-table tbody tr:last-child td { border-bottom: 0; }

.table-shell {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: rgba(12, 26, 26, 0.8);
    overflow-x: auto;
    box-shadow: var(--shadow-deep);
}

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

.legal-banner {
    position: relative;
    overflow: clip;
    padding: clamp(48px, 9vw, 96px) 0 clamp(32px, 5vw, 56px);
}
.legal-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
    z-index: 0;
}
.legal-banner__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 16, 18, 0.80) 0%, rgba(9, 16, 18, 0.88) 55%, var(--bg) 100%);
}
.legal-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.legal-banner__title { margin-bottom: 0.35em; }
.legal-banner__intro {
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.12rem);
    max-width: 62ch;
}
.legal-effective {
    font-size: 0.88rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    margin: 0;
}

.legal-body {
    width: min(760px, 100% - 40px);
    margin: 0 auto;
    padding-bottom: clamp(48px, 8vw, 90px);
}

.legal-section {
    padding-top: clamp(26px, 4vw, 40px);
    margin-top: clamp(26px, 4vw, 40px);
    border-top: 1px solid var(--hairline-soft);
}
.legal-section:first-of-type {
    border-top: 0;
    margin-top: 0;
}

.legal-section__title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: clamp(1.35rem, 3.2vw, 1.8rem);
}
.legal-section__num {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.legal-prose {
    font-size: 1rem;
    color: var(--text);
}
.legal-prose h3 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--cream);
    margin: 1.6em 0 0.5em;
    letter-spacing: 0.01em;
}
.legal-prose ul,
.legal-prose ol { margin: 0 0 1.1em; }

.legal-datapanel {
    background: rgba(13, 28, 28, 0.7);
    border: 1px solid var(--hairline-soft);
    border-left: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin: 0 0 14px;
}
.legal-datapanel h3 { margin-top: 0; }

.legal-badge-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.legal-badge-head .badge-18 {
    filter: drop-shadow(0 0 16px rgba(229, 169, 60, 0.4));
}

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

.site-footer {
    position: relative;
    overflow: clip;
    border-top: 1px solid var(--hairline-soft);
    padding: clamp(42px, 7vw, 72px) 0 clamp(34px, 5vw, 48px);
    background: linear-gradient(180deg, rgba(9, 16, 18, 0.6), rgba(8, 13, 15, 1));
}

.footer-inner {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--divider);
}

.badge-18 {
    display: inline-flex;
    flex-shrink: 0;
}

.footer-disclaimer {
    flex: 1 1 280px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 68ch;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 14px;
}

.site-brand--footer .site-brand__text { font-size: 1.2rem; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--cream);
    text-decoration: none;
}
.footer-nav a:hover {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ============================================
   COOKIE BAR + STICKY CTA
   ============================================ */

.cookie-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(9, 18, 20, 0.96);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    box-shadow: var(--shadow-deep);
    transform: translateY(140%);
    transition: transform 0.35s ease;
}
.cookie-bar.is-visible { transform: none; }

.cookie-bar__text {
    flex: 1 1 240px;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text);
}
.cookie-bar__text a { color: var(--gold); }

.cookie-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-bar__close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--hairline-soft);
    border-radius: 10px;
    color: var(--cream);
    cursor: pointer;
}
.cookie-bar__close:hover { border-color: var(--gold); color: var(--gold); }

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 16, 18, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--hairline);
    transform: translateY(130%);
    transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: none; }

.sticky-cta__inner {
    width: min(var(--container), 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sticky-cta__text {
    display: none;
    margin: 0;
    font-size: 0.95rem;
    color: var(--cream);
}

body.has-sticky-cta { padding-bottom: 86px; }
body.has-sticky-cta .cookie-bar { bottom: 90px; }

@media (min-width: 768px) {
    .sticky-cta__text { display: block; flex: 1 1 auto; }
    .sticky-cta__btn { width: auto; min-width: 280px; flex: 0 0 auto; }
    .sticky-cta__inner { justify-content: space-between; }
    .cookie-bar { left: auto; right: 20px; bottom: 20px; max-width: 520px; }
    body.has-sticky-cta { padding-bottom: 92px; }
}

/* ============================================
   REVEAL / MOTION
   ============================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   HOMEPAGE - HERO
   ============================================ */

.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;
}

.hero {
    display: flex;
    align-items: center;
    min-height: clamp(540px, 86vh, 780px);
    padding-top: clamp(40px, 7vw, 88px);
    padding-bottom: clamp(48px, 8vw, 100px);
}

.hero__bg { background-position: 68% 45%; }

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 15, 17, 0.90) 0%, rgba(8, 15, 17, 0.76) 50%, rgba(8, 15, 17, 0.93) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(var(--container), 100% - 40px);
}

.hero__copy { max-width: 620px; }

.hero__sub {
    color: var(--text);
    max-width: 52ch;
    margin-bottom: clamp(22px, 4vw, 32px);
}

.hero__counter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
}

.counter-note {
    margin: 2px 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.hero__cta { flex: 1 1 260px; }
.hero__cta .btn { width: 100%; }

.hero__badges {
    margin: 22px 0 0;
    font-size: 0.86rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
    .hero__scrim {
        background: linear-gradient(90deg, rgba(8, 15, 17, 0.95) 0%, rgba(8, 15, 17, 0.88) 42%, rgba(8, 15, 17, 0.42) 64%, rgba(8, 15, 17, 0.12) 100%);
    }
    .hero__cta { flex: 0 0 auto; }
    .hero__cta .btn { width: auto; }
}

/* ============================================
   HOMEPAGE - GALLERY
   ============================================ */

.gallery-wrap { position: relative; }

.gallery-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    height: 110%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(229, 169, 60, 0.20), rgba(229, 169, 60, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

.gallery-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(26px, 4vw, 40px);
}

.section-cta--lit { position: relative; z-index: 2; }

.section-cta--lit::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 320px;
    height: 120px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(229, 169, 60, 0.30), rgba(229, 169, 60, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   HOMEPAGE - CAROUSEL
   ============================================ */

.scarcity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--gold);
    text-align: center;
}

.carousel-intro {
    max-width: 68ch;
    margin: 0 auto clamp(24px, 4vw, 36px);
    text-align: center;
    color: var(--text);
}

.carousel-stage {
    position: relative;
    padding-bottom: 8px;
}

.rail {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 16px 22px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }

.rail__item {
    flex: 0 0 72%;
    max-width: 290px;
    scroll-snap-align: center;
}

.rail__item--featured {
    position: relative;
    flex: 0 0 80%;
    max-width: 320px;
}

.rail__item--side .pcard__media img {
    filter: brightness(0.74) saturate(0.92);
}

.ivy {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    line-height: 0;
    filter: drop-shadow(0 0 10px rgba(229, 169, 60, 0.35));
}
.ivy--tl { top: -16px; left: -16px; }
.ivy--br { bottom: -10px; right: -16px; }

@media (min-width: 768px) {
    .rail {
        gap: 22px;
        padding-inline: calc(50% - 170px);
    }
    .rail__item { flex: 0 0 236px; max-width: none; }
    .rail__item--featured { flex: 0 0 300px; }
}

.rail-nav {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
}

.rail-btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 28, 28, 0.9);
    border: 1px solid var(--hairline);
    color: var(--gold);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.18s ease;
}
.rail-btn:hover { border-color: var(--gold); transform: translateY(-2px); }

.lightpath {
    position: absolute;
    left: 50%;
    bottom: 54px;
    transform: translateX(-50%);
    width: min(940px, 100%);
    height: 150px;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   HOMEPAGE - TRUST
   ============================================ */

.trust-rows {
    max-width: 880px;
    margin-inline: auto;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    padding: clamp(16px, 3vw, 24px) 0;
}

.trust-badge {
    position: relative;
    flex: 0 0 auto;
    line-height: 0;
    isolation: isolate;
}

.trust-badge::before {
    content: "";
    position: absolute;
    inset: -22%;
    background: radial-gradient(circle, rgba(229, 169, 60, 0.28), rgba(229, 169, 60, 0) 70%);
    z-index: -1;
}

.trust-row__text { flex: 1 1 260px; }
.trust-row__text h3 { margin-bottom: 0.35em; }
.trust-row__text p { margin: 0; color: var(--text); }

.hairline--tight { margin: 0; }

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */

.steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 36px);
    max-width: 960px;
    margin-inline: auto;
}

.steps-connector { display: none; }

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding-top: 54px;
    }
    .steps-connector {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 0;
    }
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step__frame {
    display: block;
    margin: 0 auto 14px;
    line-height: 0;
    filter: drop-shadow(0 0 20px rgba(229, 169, 60, 0.35));
}
.step__frame svg { width: clamp(104px, 22vw, 124px); height: auto; }

.step h3 { margin-bottom: 0.4em; }
.step p {
    margin: 0 auto;
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ============================================
   HOMEPAGE - COMPARISON
   ============================================ */

.compare-intro {
    max-width: 70ch;
    margin: 0 auto clamp(24px, 4vw, 36px);
    text-align: center;
    color: var(--text);
}

.compare-shell { background: rgba(10, 20, 22, 0.86); }

.compare-table { min-width: 560px; }
.compare-table th[scope="row"] {
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.compare-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gold-bright);
}
.compare-head--muted { color: #8EA39B; font-size: 0.98rem; }

.compare-table .is-elvori {
    background: rgba(18, 48, 42, 0.92);
    color: var(--cream);
    box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold);
}
.compare-table thead .is-elvori { box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold), inset 0 2px 0 var(--gold); }
.compare-table tbody tr:last-child .is-elvori { box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold), inset 0 -2px 0 var(--gold); }

.compare-table .is-generic {
    background: rgba(24, 32, 34, 0.72);
    color: #9FB1AA;
}

.mark {
    display: inline-block;
    margin-right: 8px;
    font-weight: 700;
}
.mark--yes { color: var(--gold-bright); }
.mark--no { color: #7E8E88; }

/* ============================================
   HOMEPAGE - QUIZ
   ============================================ */

.quiz {
    position: relative;
    max-width: 720px;
    margin-inline: auto;
    padding-top: clamp(28px, 5vw, 36px);
}

.quiz-step {
    margin: 0 0 18px;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
}

.quiz-card { display: none; position: relative; }
.quiz-card.is-active { display: block; }

.quiz-card__num {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 28, 28, 0.95);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-size: 0.9rem;
    font-weight: 600;
}

.quiz-card__q {
    text-align: center;
    margin-bottom: 1em;
}

.quiz-opts {
    display: grid;
    gap: 10px;
}

.quiz-opt {
    display: flex;
    align-items: center;
    min-height: 50px;
    width: 100%;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    background: rgba(10, 22, 22, 0.6);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.98rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
}
.quiz-opt:hover {
    border-color: var(--gold);
    background: rgba(229, 169, 60, 0.10);
    transform: translateY(-1px);
}
.quiz-opt.is-selected {
    border-color: var(--gold);
    background: linear-gradient(90deg, rgba(229, 169, 60, 0.26), rgba(229, 169, 60, 0.06));
    color: var(--gold-bright);
    font-weight: 600;
}

.quiz-result { text-align: center; }
.quiz-result h3 { margin-bottom: 0.4em; }
.quiz-summary { color: var(--text); margin-bottom: 1.2em; }

.quiz-reset {
    margin-top: 14px;
    min-height: 48px;
    padding: 0 18px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}
.quiz-reset:hover { color: var(--gold); }

.quiz-progress {
    position: relative;
    height: 6px;
    margin-top: clamp(22px, 4vw, 30px);
    border-radius: 999px;
    background: rgba(8, 16, 18, 0.9);
    border: 1px solid var(--hairline-soft);
    overflow: visible;
}

.quiz-progress__fill {
    display: block;
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    transition: width 0.4s ease;
}
.quiz-progress__fill::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 14px rgba(229, 169, 60, 0.75);
}

/* ============================================
   HOMEPAGE - CLOSING
   ============================================ */

.closing__inner {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.closing__lead {
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.closing__fine {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ============================================
   LEGAL - COOKIE POLICY EXTRAS
   ============================================ */

.cookie-table-wrap { margin: 18px 0 20px; }
.cookie-table { min-width: 480px; }
.cookie-table th[scope="row"] {
    color: var(--cream);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.92rem;
    white-space: nowrap;
}

.mock-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 18px 0 6px;
    padding: 14px 16px;
    background: rgba(9, 18, 20, 0.92);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    box-shadow: var(--shadow-deep);
}
.mock-consent__text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 0.86rem;
    color: var(--text);
}
.mock-consent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    background: rgba(16, 42, 38, 0.9);
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 600;
}
.mock-consent__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--hairline-soft);
    color: var(--cream);
    font-size: 0.9rem;
}

.steps-list {
    list-style: none;
    margin: 18px 0;
    padding: 0;
    counter-reset: elvori-step;
}
.steps-list__item {
    position: relative;
    counter-increment: elvori-step;
    padding: 16px 0 16px 48px;
    border-top: 1px solid var(--hairline-soft);
    color: var(--text);
}
.steps-list__item:first-child { border-top: 0; padding-top: 0; }
.steps-list__item::before {
    content: counter(elvori-step);
    position: absolute;
    left: 0;
    top: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
}
.steps-list__item:first-child::before { top: 0; }

/* footer backdrop */
.footer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 45%;
    z-index: 0;
}
.footer-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 13, 15, 0.82) 0%, rgba(8, 13, 15, 0.91) 45%, rgba(8, 13, 15, 0.97) 100%);
}