/*
 * JEWZZ Review - Light glamour design system
 */

:root {
    /* Palette */
    --ivory: #FBF7F1;
    --cream: #F6EDE1;
    --cream-deep: #EFE2D0;
    --white: #FFFFFF;
    --gold: #C8A165;
    --gold-light: #E6CC9A;
    --gold-pale: #F3E6CC;
    --gold-deep: #9C7535;
    --gold-ink: #8A6528;
    --sky: #B9CDE6;
    --sky-pale: #DCE6F3;
    --navy: #22385C;
    --tan: #D9C6A8;
    --ink: #2B2620;
    --text: #3A332C;
    --muted: #5E554B;

    --gold-gradient: linear-gradient(135deg, #E6CC9A 0%, #D4B078 45%, #C8A165 70%, #E6CC9A 100%);
    --hairline: 1px solid var(--gold-light);

    /* Type */
    --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-h1: clamp(2.1rem, 6vw, 3.4rem);
    --fs-h2: clamp(1.75rem, 4.4vw, 2.5rem);
    --fs-h3: clamp(1.2rem, 2.6vw, 1.45rem);

    /* Space & shape */
    --gutter: 20px;
    --section-y: clamp(3rem, 8vw, 5.5rem);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(120, 90, 40, 0.10);
    --shadow-gold: 0 8px 28px rgba(200, 161, 101, 0.45);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-bottom: 64px;
}

/* ============================================
   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 {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: 0.005em;
}

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

p {
    margin: 0 0 1em;
}

a {
    color: var(--gold-ink);
}

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

ul, ol {
    padding-left: 1.2em;
}

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 760px;
}

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

.band--cream {
    background: var(--cream);
}

.band--ivory {
    background: var(--ivory);
}

.band--fade {
    background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

.hairline-top {
    border-top: var(--hairline);
}

.hairline-bottom {
    border-bottom: var(--hairline);
}

.band > .container,
.band > * {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 1.4rem;
}

.section-title::after {
    content: "";
    display: block;
    width: min(240px, 60%);
    height: 2px;
    margin: 0.55em auto 0;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 80%, transparent);
    border-radius: 2px;
}

.section-title--left {
    text-align: left;
}

.section-title--left::after {
    margin-left: 0;
}

.lead {
    font-size: 1.075rem;
    color: var(--muted);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.caption-note {
    font-size: var(--fs-small);
    color: var(--muted);
    margin-top: 0.75rem;
}

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

/* ============================================
   BUTTONS & CTAS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.8em 2.1em;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
    pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: translateX(120%);
}

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

.btn:active {
    transform: translateY(0);
}

.btn--gold {
    background: var(--gold-gradient);
    background-size: 200% 200%;
    color: #231A10;
    border: 1px solid var(--gold-deep);
    box-shadow: 0 4px 14px rgba(200, 161, 101, 0.3);
}

.btn--gold:hover,
.btn--gold:focus-visible {
    color: #231A10;
    box-shadow: var(--shadow-gold);
}

.btn--outline {
    background: var(--ivory);
    color: var(--ink);
    border: 2px solid var(--gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    color: var(--ink);
    background: var(--gold-pale);
    box-shadow: var(--shadow-gold);
}

.btn--sm {
    min-height: 44px;
    padding: 0.55em 1.4em;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 58px;
    padding: 1em 3em;
    font-size: 1.125rem;
}

.btn--pulse {
    animation: btn-pulse 3.6s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 70%, 100% { box-shadow: 0 4px 14px rgba(200, 161, 101, 0.3); }
    82% { box-shadow: 0 0 0 10px rgba(200, 161, 101, 0.18), 0 6px 22px rgba(200, 161, 101, 0.5); }
}

.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    min-height: 44px;
    font-weight: 600;
    color: var(--gold-ink);
    text-decoration: underline;
    text-decoration-color: var(--gold-light);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.text-cta:hover {
    color: var(--ink);
    text-decoration-color: var(--gold);
}

.text-cta__arrow {
    transition: transform 0.25s var(--ease);
}

.text-cta:hover .text-cta__arrow {
    transform: translateX(4px);
}

/* ============================================
   ORNAMENTS & ICONS
   ============================================ */
.ornament {
    position: absolute;
    z-index: 0;
    width: auto;
    max-width: none;
    height: 70%;
    object-fit: contain;
    opacity: 0.85;
    pointer-events: none;
    user-select: none;
}

.ornament--left {
    left: 0;
    top: 50%;
    transform: translate(-42%, -50%);
}

.ornament--right {
    right: 0;
    top: 50%;
    transform: translate(42%, -50%);
}

.ornament--corner-br {
    right: 0;
    bottom: 0;
    height: 85%;
    transform: translate(30%, 22%);
}

.ornament--corner-tr {
    right: 0;
    top: 0;
    height: 120%;
    opacity: 0.5;
    transform: translate(32%, -18%);
}

.flame-mark {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.check-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ivory);
    border-bottom: 1px solid var(--gold);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin-inline: auto;
    padding: 10px 14px;
    min-height: 64px;
}

.site-brand {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.site-brand__text {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0.12em;
    line-height: 1;
    color: var(--gold-deep);
    padding-left: 0.12em;
}

.site-brand:hover .site-brand__text {
    color: var(--gold-ink);
}

.header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

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

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    background: var(--ivory);
    border-top: 1px solid var(--gold-light);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px var(--gutter) 40px;
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.3s var(--ease), visibility 0s;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 6px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--cream-deep);
}

.site-nav__link:hover {
    color: var(--gold-ink);
}

.site-nav__link[aria-current="page"] {
    color: var(--gold-ink);
}

.site-nav__cta-item {
    margin-top: 20px;
}

.site-nav__cta-item .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        padding: 12px 28px;
        min-height: 76px;
    }

    .site-nav {
        grid-column: 1;
        grid-row: 1;
        position: static;
        visibility: visible;
        transform: none;
        transition: none;
        background: transparent;
        border: 0;
        padding: 0;
        overflow: visible;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 22px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0;
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        font-weight: 500;
        border-bottom: 0;
        background-image: linear-gradient(var(--gold), var(--gold));
        background-repeat: no-repeat;
        background-size: 0 1px;
        background-position: 0 75%;
        transition: background-size 0.3s var(--ease), color 0.2s;
    }

    .site-nav__link:hover {
        background-size: 100% 1px;
    }

    .site-nav__cta-item {
        display: none;
    }

    .site-brand__text {
        font-size: 2.6rem;
    }

    .header-actions .header-cta {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.faq-item {
    align-self: start;
    background: var(--cream);
    border: 1px solid var(--tan);
    border-radius: var(--radius);
    transition: box-shadow 0.25s var(--ease), border-color 0.25s;
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-soft);
}

.faq-item__q {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 24px;
    align-items: start;
    gap: 10px;
    min-height: 48px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--ink);
}

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

.faq-item__label {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-ink);
}

.faq-item__question {
    line-height: 1.45;
    padding-top: 1px;
}

.faq-item__icon {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    transition: transform 0.3s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--gold-deep);
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

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

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

.faq-item__a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 0 16px 16px;
    border-top: 1px dashed var(--tan);
    padding-top: 12px;
    margin-inline: 0;
}

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

.faq-item[open] .faq-item__a {
    animation: faq-open 0.3s var(--ease);
}

@keyframes faq-open {
    from { transform: translateY(-4px); }
    to { transform: translateY(0); }
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ivory);
    border-top: 1px solid var(--gold);
    padding: 40px 0 32px;
    text-align: center;
}

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

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

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 22px;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    font-size: 0.9375rem;
    text-decoration: underline;
    text-decoration-color: var(--gold-light);
    text-underline-offset: 0.25em;
}

.site-footer__links a:hover {
    color: var(--gold-ink);
}

.site-footer__disclosure {
    max-width: 640px;
    margin: 4px 0 0;
    font-size: var(--fs-small);
    color: var(--muted);
}

.site-footer__copy {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted);
}

/* ============================================
   SCROLL REVEAL (JS-enhanced, content visible without JS)
   ============================================ */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

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

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

    .btn--pulse {
        animation: none;
    }
}