:root {
    --color-bg: #faf9f6;
    --color-text: #1a1a1a;
    --color-accent: #c5a059;
    --color-accent-strong: #6f5420;
    --color-accent-contrast: #f2d8a4;
    --color-muted: #645d54;
    --color-surface: #ffffff;
    --color-white: #ffffff;
    --color-accent-soft: rgba(197, 160, 89, 0.16);
    --color-focus-ring: #6f5420;
    --color-focus-shadow: rgba(111, 84, 32, 0.24);
    --color-ink-soft: rgba(26, 26, 26, 0.72);

    /* Amplified Luxury Typography Scale */
    --step--1: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
    --step-0: clamp(1.05rem, 0.95rem + 0.4vw, 1.15rem);
    --step-1: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --step-2: clamp(1.75rem, 0.875rem + 3.5vw, 3.5rem);
    --step-3: clamp(2.25rem, 0.875rem + 5.5vw, 5rem);
    --step-4: clamp(2.75rem, 0.625rem + 8.5vw, 7rem);

    /* Amplified Dramatic Whitespace */
    --space-s: clamp(1.5rem, 3vw, 2.5rem);
    --space-m: clamp(3rem, 6vw, 5rem);
    --space-l: clamp(5rem, 10vw, 9rem);
    --space-xl: clamp(7rem, 14vw, 12rem);

    /* Motion Tokens: premium, deliberate, but still efficient */
    --motion-ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-ease-refined: cubic-bezier(0.2, 0.9, 0.24, 1);
    --motion-ease-editorial: cubic-bezier(0.16, 0.84, 0.24, 1);
    --motion-duration-reveal: 680ms;
    --motion-duration-reveal-heading: 560ms;
    --motion-duration-card: 460ms;
    --motion-duration-emphasis: 300ms;
    --motion-stagger-step: 60ms;
}

@media (prefers-reduced-motion: reduce) {

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: var(--step-0);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main,
[id] {
    scroll-margin-top: clamp(5rem, 10vw, 7rem);
}

p,
li {
    color: var(--color-ink-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 var(--space-s) 0;
    color: var(--color-text);
    overflow-wrap: anywhere;
}

h1 {
    font-size: var(--step-4);
}

h2 {
    font-size: var(--step-3);
}

h3 {
    font-size: var(--step-2);
}

h4 {
    font-size: var(--step-1);
}

a {
    color: var(--color-accent-strong);
    text-decoration: none;
    transition: color 150ms ease;
}

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

:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--color-focus-shadow);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.screen-reader-text:active {
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    white-space: normal;
}

.skip-link {
    position: fixed;
    left: -9999px;
    top: 1rem;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.12), 0 12px 28px rgba(26, 26, 26, 0.18);
    white-space: nowrap;
}

.skip-link:hover {
    color: var(--color-text);
}

.skip-link:focus,
.skip-link:focus-visible,
.skip-link:active {
    left: 1rem;
}

.skip-link:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--color-focus-shadow), 0 12px 28px rgba(26, 26, 26, 0.18);
}

body.admin-bar .skip-link:focus,
body.admin-bar .skip-link:focus-visible,
body.admin-bar .skip-link:active {
    top: calc(32px + 1rem);
}

@media (max-width: 767px) {
    :root {
        --step--1: 0.95rem;
        --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.06rem);
        --step-1: clamp(1.32rem, 1.16rem + 0.8vw, 1.72rem);
        --step-2: clamp(1.7rem, 1.34rem + 1.7vw, 2.35rem);
        --step-3: clamp(2.15rem, 1.55rem + 2.9vw, 3.1rem);
        --step-4: clamp(2.8rem, 1.95rem + 4.2vw, 4rem);
        --space-s: clamp(1rem, 4vw, 1.5rem);
        --space-m: clamp(1.5rem, 6vw, 2.4rem);
        --space-l: clamp(2.5rem, 10vw, 4rem);
        --space-xl: clamp(4rem, 14vw, 5.75rem);
    }

    body {
        line-height: 1.72;
        background:
            radial-gradient(circle at top right, rgba(197, 160, 89, 0.12), transparent 34%),
            radial-gradient(circle at 0% 20%, rgba(255, 255, 255, 0.78), transparent 24%),
            linear-gradient(180deg, #f8f4ed 0%, #faf9f6 42%, #f5efe4 100%);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1;
        letter-spacing: -0.02em;
        margin-bottom: 0.7em;
        text-wrap: balance;
    }

    p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .skip-link {
        top: 0.75rem;
        max-width: calc(100vw - 1.5rem);
    }

    .skip-link:focus,
    .skip-link:focus-visible,
    .skip-link:active {
        left: 0.75rem;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .skip-link:focus,
    body.admin-bar .skip-link:focus-visible,
    body.admin-bar .skip-link:active {
        top: calc(46px + 0.75rem);
    }
}
.l-container {
    width: min(92%, 1100px);
    margin-inline: auto;
}

.l-prose {
    max-width: 65ch;
    margin-inline: auto;
    line-height: 1.75;
}

/* Robust Vertical Rhythm exceptions to defend against bad CMS inputs */
.l-prose>*+* {
    margin-block-start: var(--space-s);
}

.l-prose h2+h3 {
    margin-block-start: calc(var(--space-s) * 0.5);
}

.l-prose figure>*+figcaption {
    margin-block-start: calc(var(--space-s) * 0.25);
}

.l-prose ul {
    padding-left: 1.2em;
}

.l-prose blockquote {
    border-left: 2px solid var(--color-accent);
    padding-left: var(--space-s);
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--step-1);
    font-style: italic;
    margin-block: var(--space-m);
}

/* Asymmetric layouts / specific grid mapping (High Tension) */
.l-grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-s);
    /* Tighter mobile gap for density */
    align-items: center;
}

.l-grid-asymmetric img {
    border-radius: 8px; /* Subtle softening to match car-slider rounding constraint */
}

@media (min-width: 768px) {
    .l-grid-asymmetric {
        grid-template-columns: 4fr 6fr;
        /* More extreme ratio for tension */
        gap: var(--space-l);
        align-items: start;
        /* Offset the alignment */
    }

    .l-grid-asymmetric.is-reversed {
        grid-template-columns: 6fr 4fr;
    }
    
    .l-grid-asymmetric.is-reversed > :nth-child(1) {
        order: 2; /* Text moves to second column */
    }
    
    .l-grid-asymmetric.is-reversed > :nth-child(2) {
        order: 1; /* Image moves to first column */
    }
}

.l-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-s);
}

.l-menu-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-muted);
    padding-bottom: 0.5rem;
}

/* 
 * Gutenberg Breakout Utilities 
 * Allows full-width blocks to escape the .l-prose limits 
 */
.l-container .alignfull,
.l-prose .alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.l-container .alignwide,
.l-prose .alignwide {
    width: min(92%, 1100px) !important;
    max-width: min(92%, 1100px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* To break out of 65ch prose but stay within 1100px wide, we calculate negative margins */
    margin-left: calc(50% - min(46vw, 550px)) !important;
    margin-right: calc(50% - min(46vw, 550px)) !important;
}

/* 
 * Hero Top Gap Fix 
 * Ensure the first block in the main content area (usually the hero cover) 
 * does not have any top margin or padding pushing it down from the transparent header.
 */
.site-main > *:first-child,
.type-page > *:first-child,
.wp-site-blocks > *:first-child,
.is-root-container > *:first-child {
    margin-top: 0 !important;
}

/* 
 * Default Pattern Spacing
 * Provide a generous default margin between all top-level blocks/patterns
 * in the main content area to avoid the need to manually add spacers.
 */
.site-main > * + *,
.type-page > * + *,
.wp-site-blocks > * + *,
.is-root-container > * + * {
    margin-block-start: clamp(4rem, 8vw, 8rem) !important;
}

/* Symmetric Grid Layout (Testimonials, Features) */
.l-grid-halves {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-m);
}

/* 
 * Side-Car Slider (Synchronized Content Slider)
 * 
 * Architecture:
 * - Mobile: single column stack
 * - Desktop: 2-column grid. Left column sticks, right column flows and scrolls natively.
 */

.l-sidecar-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    width: 100%;
}

.l-sidecar-slider__sticky {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
}

@media (min-width: 900px) {
    .l-sidecar-slider__sticky {
        display: flex;
    }
}

@media (max-width: 899px) {
    .l-sidecar-slider__sticky {
        display: block;
    }

    .l-sidecar-slider__sticky > :not(.wp-block-heading) {
        display: none;
    }

    .l-sidecar-slider__sticky > .wp-block-heading {
        display: block;
        margin: 0 0 var(--space-xs);
        width: 100%;
        max-width: 100%;
        font-size: clamp(1.85rem, 1.45rem + 2vw, 2.55rem);
        line-height: 0.94;
        text-align: center;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
        color: var(--color-text);
    }
}

.l-sidecar-slider__scroll-zone {
    display: flex;
    flex-direction: column;
    gap: 15vh; /* Space between cards so they enter viewport distinctively */
    padding-bottom: 20vh; /* Extra padding at bottom so last card can hit center screen securely */
}

/* Base card styling for flow */
.l-sidecar-slider__card {
    display: flex;
    flex-direction: column;
    gap: clamp(0.95rem, 1vw, 1.4rem);
    position: relative;
    padding: clamp(1.35rem, 1rem + 1vw, 2rem);
    border: 1px solid rgba(111, 84, 32, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 242, 234, 0.88) 100%);
    box-shadow:
        0 18px 42px rgba(26, 26, 26, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

/* Prevent Gutenberg from blowing out margins on card contents */
.l-sidecar-slider__card.is-layout-flow > * + * {
    margin-block-start: 0;
}

.l-sidecar-slider__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.58) 0%, rgba(197, 160, 89, 0.12) 42%, rgba(197, 160, 89, 0) 100%);
    pointer-events: none;
}

.l-sidecar-slider__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 85% 0%, rgba(197, 160, 89, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 46%);
    pointer-events: none;
}

.l-sidecar-slider__card > :where(h2, h3, h4) {
    margin: 0;
    padding-bottom: 0.65rem;
    max-width: 18ch;
    border-bottom: 1px solid rgba(111, 84, 32, 0.14);
    line-height: 1.02;
    color: var(--color-text);
    text-wrap: balance;
    position: relative;
    z-index: 1;
}

.l-sidecar-slider__card > :where(p, ul, ol),
.l-sidecar-slider__card > .wp-block-group > :where(p, ul, ol) {
    max-width: 38rem;
    position: relative;
    z-index: 1;
}

.l-sidecar-slider__card > :where(p, li),
.l-sidecar-slider__card > .wp-block-group :where(p, li) {
    color: rgba(26, 26, 26, 0.78);
}

.l-sidecar-slider__card > :where(ul, ol) {
    padding-left: 1.1rem;
}

.l-sidecar-slider__card figure {
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.l-sidecar-slider__card img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 4px; /* subtle softening */
}

/* ── Desktop: side-by-side sticky ── */
@media (min-width: 900px) {
    .l-sidecar-slider {
        grid-template-columns: 5fr 7fr;
        gap: clamp(2rem, 6vw, 6rem);
        align-items: start; /* Absolutely necessary for sticky to work inside CSS Grid */
    }

    .l-sidecar-slider__sticky {
        position: sticky;
        top: 25vh; /* Stick offset from top */
        height: max-content;
    }

}

.c-sidecar-image img {
    border-radius: 8px;
    max-height: 75vh;
    object-fit: cover;
    width: 100%;
    /* Replaces the inline styles that broke WP block validation */
}

@media (max-width: 767px) {
    .l-container {
        width: min(100% - 2rem, 40rem);
    }

    .l-prose {
        max-width: 34rem;
        line-height: 1.78;
    }

    .l-prose > * + * {
        margin-block-start: var(--space-m);
    }

    .l-sidecar-slider__card {
        gap: 0.9rem;
        padding: 1.15rem 1.1rem;
        border-radius: 16px;
        background:
            radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 38%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 239, 228, 0.9) 100%);
        box-shadow:
            0 12px 28px rgba(26, 26, 26, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.96);
    }

    .l-sidecar-slider__card > :where(h2, h3, h4) {
        max-width: none;
        padding-bottom: 0.5rem;
        font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.95rem);
    }

    .l-sidecar-slider__scroll-zone {
        gap: 1rem;
        padding-bottom: 0;
    }

    .l-prose p,
    .l-prose li {
        font-size: var(--step-0);
    }

    .l-grid-asymmetric {
        gap: var(--space-m);
    }

    .site-main > * + *,
    .type-page > * + *,
    .wp-site-blocks > * + *,
    .is-root-container > * + * {
        margin-block-start: clamp(2.75rem, 9vw, 4.5rem) !important;
    }

    .l-grid-halves {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }

    .l-sidecar-slider {
        gap: var(--space-l);
    }

    .l-sidecar-slider__scroll-zone {
        gap: var(--space-l);
        padding-bottom: 0;
    }

    .l-sidecar-slider__card {
        gap: var(--space-s);
    }

    .l-sidecar-slider__card img {
        max-height: 42vh;
        border-radius: 14px;
    }
}
/* ==========================================================================
   Luxury Sticky Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(92%, 1100px);
    z-index: 100;
    padding: 0;
    box-sizing: border-box;
    border-radius: 16px;
    pointer-events: none;
    /* Let clicks pass through transparent space */
    overflow: visible;
    --header-foreground: var(--color-text);
    --header-panel: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    --header-border: rgba(255, 255, 255, 0.18);
    --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    --header-panel-open: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12));
    --header-shadow-open: 0 18px 42px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    --header-interactive: var(--color-accent-strong);
    transition: top 250ms ease, transform 250ms ease;
}

.site-header__inner {
    pointer-events: auto;
    /* Re-enable clicks on the inner container */
}

/* Adjust header position when WP Admin Bar is present */
body.admin-bar .site-header {
    top: calc(32px + 16px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: calc(46px + 16px);
    }
}

/* Pseudo element background to avoid creating a stacking context that traps the mobile menu */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-sizing: border-box;
    opacity: 1;
    background: var(--header-panel);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--header-border);
    box-shadow: var(--header-shadow);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    min-height: 52px;
    margin-inline: 0;
    padding: 0.45rem clamp(1rem, 2.4vw, 1.5rem);
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-header.is-open::before {
    background: var(--header-panel-open);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--header-shadow-open);
}

.site-header.is-contrast {
    --header-foreground: var(--color-surface);
    --header-interactive: var(--color-accent-contrast);
    --header-panel: linear-gradient(135deg, rgba(10, 10, 10, 0.46), rgba(10, 10, 10, 0.22));
    --header-border: rgba(255, 255, 255, 0.14);
    --header-shadow: 0 12px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --header-panel-open: linear-gradient(135deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.34));
    --header-shadow-open: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.site-branding__link {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--step-0);
    color: var(--header-foreground);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 101;
    /* Stay above mobile menu */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0.35rem;
    border-radius: 0.5rem;
    margin: 0;
    line-height: 1;
}

.site-branding__link:hover,
.site-branding__link:focus-visible {
    color: var(--header-interactive);
}

/* ==========================================================================
   Modern Morph: Hamburger -> Close (Kinematic Spec)
   ========================================================================== */
.menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    z-index: 101;
    color: var(--header-foreground);
    line-height: 1;
    transition: color 400ms ease;
}

.site-header .site-branding__link:focus-visible,
.site-header .menu-toggle:focus-visible,
.site-header .main-navigation a:focus-visible {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--color-focus-shadow);
}

.site-header .menu-toggle:focus-visible {
    background-color: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    color: var(--header-interactive);
}


.menu-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    /* Engineered footprint */
}

.menu-line {
    position: absolute;
    top: 11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text) !important;
    border-radius: 2px;
    /* Round stroke caps via spec */
    transform-origin: center;
    will-change: transform, opacity;
    backface-visibility: hidden;

    /* CLOSING LOGIC (Reverse state) */
    /* Decisive action: Fast 180ms collapse, 20ms micro-tension, 100ms structural return */
    transition:
        transform 220ms cubic-bezier(0.65, 0, 0.35, 1),
        opacity 100ms ease 200ms,
        background-color 400ms ease;
}

/* Base stack layout: perfectly mapped to 1.6x stroke spacing spec */
.menu-line-1 {
    transform: translate3d(0, -6px, 0) rotate(0deg);
}

.menu-line-2 {
    transform: translate3d(0, 0, 0) scaleX(1);
    opacity: 1;
}

.menu-line-3 {
    transform: translate3d(0, 6px, 0) rotate(0deg);
}

/* OPENING LOGIC (Target state) */
.menu-toggle.is-open .menu-line {
    /* Engineered fluid staging: 120ms convergence -> 30ms hold -> 150ms divergent snap */
    transition:
        transform 260ms cubic-bezier(0.8, 0, 0.2, 1),
        opacity 120ms ease;
    /* Engineered magnetic snap curve */
}

.menu-toggle.is-open .menu-line-1 {
    transform: translate3d(0, 0, 0) rotate(45deg);
}

.menu-toggle.is-open .menu-line-2 {
    transform: translate3d(0, 0, 0) scaleX(0.5);
    opacity: 0;
}

.menu-toggle.is-open .menu-line-3 {
    transform: translate3d(0, 0, 0) rotate(-45deg);
}

/* Hamburger lines are always dark */
.site-header .menu-line {
    background-color: currentColor !important;
}

/* Accessible reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
    .menu-line {
        transition: opacity 150ms ease, transform 150ms ease !important;
    }

    .main-navigation,
    .main-navigation a {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Mobile Full-Screen Navigation
   ========================================================================== */
.main-navigation {
    position: relative;
    z-index: 100;
    flex: 1 0 100%;
    width: 100%;
    order: 3;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-x: visible;
    overflow-y: auto;
    max-height: 0;
    margin-top: 0;
    padding-inline: 0.35rem;
    padding-block: 0;
    text-align: left;
    transform: translate3d(0, -0.75rem, 0);
    contain: layout paint style;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transition:
        opacity 220ms ease,
        transform 260ms cubic-bezier(0.165, 0.84, 0.44, 1),
        visibility 0s linear 260ms;
}

.main-navigation[hidden] {
    display: none !important;
}

.main-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    max-height: min(calc(100dvh - 7rem), 40rem);
    margin-top: 0.35rem;
    padding-block: 0.85rem 0.35rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 220ms ease,
        transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1),
        visibility 0s;
}

@supports not (height: 100dvh) {
    .main-navigation.is-open {
        max-height: min(calc(100vh - 7rem), 40rem);
    }
}

.main-navigation > ul,
.main-navigation > .menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.main-navigation > .menu {
    width: 100%;
}

.main-navigation ul,
.main-navigation li {
    list-style: none;
}

.main-navigation > ul > li,
.main-navigation > .menu > ul > li {
    width: 100%;
}

.main-navigation a {
    font-family: 'Cormorant Garamond', serif;
    color: var(--header-foreground);
    text-decoration: none;
    font-size: var(--step-2);
    line-height: 1.1;
    text-transform: none;
    letter-spacing: normal;
    transition:
        color 300ms ease,
        opacity 360ms cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 360ms cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.95rem 0.75rem;
    border-radius: 0.5rem;
    opacity: 1;
    transform: none;
    will-change: auto;
    backface-visibility: visible;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Staggered fade in for links when menu opens */
.main-navigation .sub-menu {
    width: 100%;
    margin: 0.25rem 0 0;
    padding: 0 0 0 1rem;
    display: grid;
    gap: 0.1rem;
    list-style: none;
    border-left: 1px solid rgba(26, 26, 26, 0.1);
}

.site-header.is-contrast .main-navigation .sub-menu {
    border-left-color: rgba(255, 255, 255, 0.16);
}

.main-navigation .sub-menu a {
    font-size: var(--step-0);
    min-height: 44px;
    padding: 0.5rem 0;
    opacity: 1;
    transform: none;
    filter: none;
    letter-spacing: 0.04em;
}

.main-navigation .menu-item-has-children > a::after,
.main-navigation .page_item_has_children > a::after {
    content: '›';
    font-family: inherit;
    font-size: 1.2em;
    line-height: 1;
    margin-left: 0.75rem;
    color: currentColor;
    opacity: 0.55;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:focus-visible {
    color: var(--header-interactive);
    background: rgba(255, 255, 255, 0.16);
}

.site-header.is-contrast .main-navigation a:hover,
.site-header.is-contrast .main-navigation a:focus,
.site-header.is-contrast .main-navigation a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 1023px) {
    .site-header .main-navigation a:focus,
    .site-header .main-navigation a:focus-visible {
        outline: none;
        box-shadow: inset 0 0 0 2px var(--color-focus-ring);
    }
}

.main-navigation.is-open > ul,
.main-navigation.is-open > .menu > ul {
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    padding-top: 0.8rem;
}

/* Desktop Navigation */
@media screen and (min-width: 1024px) {
    .menu-toggle {
        display: none !important;
    }

    .main-navigation {
        position: static;
        background: transparent;
        display: flex;
        align-items: center;
        align-self: center;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        flex: 0 0 auto;
        width: auto;
        order: 0;
        max-height: none;
        overflow: visible;
        margin-top: 0;
        padding: 0;
        transform: none;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        text-align: initial;
    }

    .main-navigation > ul,
    .main-navigation > .menu > ul {
        flex-direction: row;
        gap: var(--space-m);
        width: auto;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 0.35rem;
    }

    .main-navigation > .menu {
        width: auto;
    }

    .main-navigation > ul > li,
    .main-navigation > .menu > ul > li {
        width: auto;
        position: relative;
        flex: 0 1 auto;
        min-width: 0;
    }

    .main-navigation a {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        opacity: 1;
        transform: none;
        will-change: auto;
        color: var(--header-foreground);
        transition: color 400ms ease, opacity 400ms ease;
        background: transparent;
        border: 0;
        box-shadow: none;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0.5rem 0.55rem;
        line-height: 1.35;
        width: auto;
        max-width: 15ch;
        text-align: center;
        justify-content: center;
    }

    .main-navigation a:hover,
    .main-navigation a:focus,
    .main-navigation a:focus-visible {
        opacity: 1;
        color: var(--header-interactive);
        background: transparent;
        border: 0;
    }

    .main-navigation .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 14rem;
        padding: 0.75rem;
        margin: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
        backdrop-filter: blur(18px) saturate(170%);
        -webkit-backdrop-filter: blur(18px) saturate(170%);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
    }

    .site-header.is-contrast .main-navigation .sub-menu {
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.34));
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    }

    .main-navigation li:hover > .sub-menu,
    .main-navigation li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .main-navigation .sub-menu a {
        width: 100%;
        padding: 0.75rem 0.9rem;
        min-height: 44px;
        font-size: 12px;
        letter-spacing: 0.08em;
        background: transparent;
    }

    .main-navigation .menu-item-has-children > a::after,
    .main-navigation .page_item_has_children > a::after {
        content: '▾';
        margin-left: 0.4rem;
        font-size: 0.9em;
        color: currentColor;
    }
}

@media screen and (max-width: 1023px) {
    .site-header {
        top: 0.75rem;
        width: calc(100% - 1rem);
        max-width: none;
        border-radius: 14px;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand toggle"
            "nav nav";
        align-items: center;
        row-gap: 0;
        column-gap: 0.75rem;
        min-height: 48px;
        padding: 0.4rem 0.75rem;
    }

    .site-header.is-open .site-header__inner {
        row-gap: 0.5rem;
    }

    .site-branding {
        grid-area: brand;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        grid-area: toggle;
        justify-self: end;
    }

    .main-navigation {
        grid-area: nav;
        justify-self: stretch;
        align-self: start;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-branding__link {
        max-width: 100%;
        font-size: clamp(0.92rem, 2vw, 1.02rem);
        letter-spacing: 0.035em;
        padding-inline: 0.15rem;
        overflow-wrap: anywhere;
    }

    .menu-toggle {
        min-width: 42px;
        min-height: 42px;
        padding: 0.35rem;
    }
}

/* Button Refinements (Light Wedding Luxury Glassmorphism Context) */
.c-button,
.wp-block-button.c-button .wp-block-button__link,
.c-button--solid,
.wp-block-button.c-button--solid .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding-inline: 2.5rem;

    /* Font & Text styling */
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: var(--step--1) !important;
    color: var(--color-text) !important;
    /* Default dark text for legibility over white frosted glass */
    text-decoration: none !important;

    /* Layout & Positioning */
    cursor: pointer;
    position: relative;
    overflow: hidden;

    /* Glassmorphism Specs */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    /* Subtle border to define edge on frosted glass */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    /* Strong top shine */
    border-radius: 16px !important;
    /* Overriding WP pill shapes */

    /* Smooth Hover Transitions */
    transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 300ms ease, background 300ms ease !important;
}

.c-button--solid,
.wp-block-button.c-button--solid .wp-block-button__link {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 239, 228, 0.88)) !important;
    border: 1px solid rgba(111, 84, 32, 0.22) !important;
    box-shadow:
        0 12px 32px rgba(26, 26, 26, 0.12),
        0 2px 8px rgba(26, 26, 26, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

/* Hover effects for depth and interactivity */
.c-button:hover,
.c-button:focus,
.wp-block-button.c-button .wp-block-button__link:hover,
.wp-block-button.c-button .wp-block-button__link:focus,
.c-button--solid:hover,
.c-button--solid:focus,
.wp-block-button.c-button--solid .wp-block-button__link:hover,
.wp-block-button.c-button--solid .wp-block-button__link:focus {
    transform: translateY(-2px);
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.3)) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    color: var(--color-text) !important;
}

.c-button:focus-visible,
.wp-block-button.c-button .wp-block-button__link:focus-visible,
.c-button--solid:focus-visible,
.wp-block-button.c-button--solid .wp-block-button__link:focus-visible {
    outline-color: var(--color-focus-ring);
}

/* Explicit contrast for buttons on explicitly dark background patterns */
.has-text-background-color .c-button,
.has-text-background-color .wp-block-button.c-button .wp-block-button__link,
.has-text-background-color .c-button--solid,
.has-text-background-color .wp-block-button.c-button--solid .wp-block-button__link,
.has-text-background-color .wp-element-button {
    /* Slightly darker glass blend against dark backgrounds for contrast */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0.05)) !important;
    color: var(--color-surface) !important;
    /* Light text for dark glass */
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.has-text-background-color .c-button:hover,
.has-text-background-color .c-button:focus,
.has-text-background-color .wp-block-button.c-button .wp-block-button__link:hover,
.has-text-background-color .wp-block-button.c-button .wp-block-button__link:focus,
.has-text-background-color .c-button--solid:hover,
.has-text-background-color .c-button--solid:focus,
.has-text-background-color .wp-block-button.c-button--solid .wp-block-button__link:hover,
.has-text-background-color .wp-block-button.c-button--solid .wp-block-button__link:focus,
.has-text-background-color .wp-element-button:hover,
.has-text-background-color .wp-element-button:focus {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.1)) !important;
    color: var(--color-surface) !important;
}

/* Reset the wrapper of the WP block so it doesn't double-style */
.wp-block-button.c-button,
.wp-block-button.c-button--solid {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* iOS Zoom Prevention & CF7 Layout Refinement */
.c-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.c-form textarea,
.c-form select {
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.5); /* Subtle glass transparency */
    padding: 0.75rem 1rem;
    width: 100%;
    color: var(--color-text);
    box-sizing: border-box;
    margin-top: 0.125rem;
    border-radius: 12px;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.c-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.c-form select {
    height: 54px; /* Matches button min-height for visual harmony */
    min-height: 54px;
}

.c-form textarea {
    min-height: 160px;
    resize: vertical;
}

/* Neutralize Contact Form 7's auto-generated noise */
.hidden-fields-container {
    display: none !important;
}
.c-form br {
    display: none !important;
}
.c-form p {
    margin: 0 0 1.5rem 0 !important;
}
.c-form p:last-child {
    margin-bottom: 0 !important;
}
.wpcf7-form-control-wrap {
    display: block;
}

/* Premium Focus State: "The Lift & Aura" */
.c-form input:focus,
.c-form textarea:focus,
.c-form select:focus {
    border-color: var(--color-accent);
    background-color: var(--color-surface);
    outline: none;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 4px rgba(197, 160, 89, 0.12);
    transform: translateY(-2px);
}

.c-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text);
}

/* Pagination strict tap targets */
.c-pagination {
    margin-block: var(--space-l);
}

.c-pagination .nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.c-pagination .page-numbers {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color 150ms ease;
}

.c-pagination .current {
    font-weight: bold;
    border-color: var(--color-text);
}

/* Glass Card Utility */
.c-glass-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
        linear-gradient(180deg, rgba(197, 160, 89, 0.08), rgba(255, 255, 255, 0));
    border: 1px solid rgba(197, 160, 89, 0.24);
    box-shadow:
        0 16px 44px rgba(26, 26, 26, 0.12),
        0 2px 8px rgba(26, 26, 26, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(197, 160, 89, 0.12);
    border-radius: 16px;
    padding: clamp(1.1rem, 0.9rem + 0.7vw, 1.5rem);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.c-glass-card::before,
.c-faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 14%, rgb(255 255 255 / 0.7), transparent 36%),
        radial-gradient(circle at 82% 0%, rgb(197 160 89 / 0.14), transparent 34%),
        linear-gradient(120deg, rgb(255 255 255 / 0.42), transparent 58%);
    pointer-events: none;
}

.frosted::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.14), transparent 35%),
        radial-gradient(circle at 80% 0%, rgb(255 255 255 / 0.08), transparent 30%),
        linear-gradient(120deg, rgb(255 255 255 / 0.08), transparent 60%);
    pointer-events: none;
}

.c-glass-card::after,
.c-faq-item::after {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.34), transparent 38%),
        repeating-linear-gradient(45deg, rgb(26 26 26 / 0.025) 0 1px, transparent 1px 5px);
    opacity: 0.3;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.frosted::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: repeating-linear-gradient(45deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 6px);
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.c-glass-card > *,
.c-faq-item > *,
.frosted > * {
    position: relative;
    z-index: 1;
}

.has-text-background-color .c-glass-card,
.has-text-background-color .c-faq-item {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.09)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

/* Pattern Utilities */
.c-testimonial {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.28rem, 1.08rem + 0.7vw, 1.72rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: rgb(26 26 26 / 0.92);
    max-width: 34ch;
    text-wrap: pretty;
    margin-top: 0;
    margin-bottom: 0;
}

.c-testimonial-author {
    margin-top: 0;
    padding-top: var(--space-s);
    border-top: 1px solid rgb(26 26 26 / 0.08);
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(26 26 26 / 0.72);
}

/* ==========================================================================
   Services Tile (Pakalpojumi) - Modern Card Grid
   ========================================================================== */
.c-services-tile {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-m);
}

@media (min-width: 768px) {
    .c-services-tile {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-l);
    }
}

.c-services-tile__item {
    position: relative;
    padding: var(--space-m);
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    text-decoration: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-radius: 16px;
    transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 300ms ease;
}

@media (min-width: 768px) {
    .c-services-tile__item {
        padding: var(--space-l);
    }
}

.c-services-tile__item:hover,
.c-services-tile__item:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Explicit contrast for dark background patterns */
.has-text-background-color .c-services-tile__item {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.has-text-background-color .c-services-tile__item:hover,
.has-text-background-color .c-services-tile__item:focus-within {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.c-services-tile__image {
    margin: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-surface);
    border-radius: 8px;
}

.c-services-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
    display: block;
}

.c-services-tile__item:hover .c-services-tile__image img,
.c-services-tile__item:focus-within .c-services-tile__image img {
    transform: scale(1.06);
}

.c-services-tile__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.c-services-tile__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--step-1);
    margin: 0 0 var(--space-xs);
    color: var(--color-text);
}

.has-text-background-color .c-services-tile__title {
    color: var(--color-surface);
}

.c-services-tile__desc {
    color: var(--color-muted);
    font-size: var(--step--1);
    line-height: 1.5;
    margin: 0 0 var(--space-s);
}

.has-text-background-color .c-services-tile__desc {
    color: rgba(255, 255, 255, 0.7);
}

.c-services-tile__link {
    margin-top: auto;
}

.c-services-tile__link a {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 300ms ease;
    display: inline-block;
}

.has-text-background-color .c-services-tile__link a {
    color: var(--color-surface);
}

/* Expand link click area to entire tile safely */
.c-services-tile__link a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
}

.c-services-tile__item:hover .c-services-tile__link a,
.c-services-tile__item:focus-within .c-services-tile__link a {
    color: var(--color-accent);
}

/* ==========================================================================
   Side-Car Slider Components
   ========================================================================== */

/* The vertical navigation container */
.c-sidecar-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-left: 0;
    margin-top: var(--space-l);
}

/* The tracking line behind the dots */
.c-sidecar-nav::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.12), rgba(197, 160, 89, 0.3), rgba(197, 160, 89, 0.12));
    z-index: 0;
}

/* The active fill line */
.c-sidecar-nav__progress {
    position: absolute;
    left: 0.5rem;
    top: 1rem;
    width: 2px;
    bottom: 1rem;
    background: linear-gradient(180deg, rgba(197, 160, 89, 0.38), rgba(197, 160, 89, 0.92));
    z-index: 1;
    transform-origin: top;
    transition: transform var(--motion-duration-emphasis) var(--motion-ease-luxury);
}

/* The individual dots */
.c-sidecar-nav__dot {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: var(--color-muted);
    text-align: left;
    transition: color 240ms ease, transform var(--motion-duration-emphasis) var(--motion-ease-refined);
    outline-offset: 4px;
}

.c-sidecar-nav__dot::before {
    content: '';
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.34);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.34) 46%, rgba(197, 160, 89, 0.22));
    box-shadow:
        0 0 0 0 rgba(197, 160, 89, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform var(--motion-duration-emphasis) var(--motion-ease-refined), border-color 220ms ease, box-shadow var(--motion-duration-emphasis) ease, background 220ms ease;
}

.c-sidecar-nav__dot:hover,
.c-sidecar-nav__dot:focus-visible {
    color: var(--color-text);
    transform: translateX(0.2rem);
}

.c-sidecar-nav__dot:hover::before,
.c-sidecar-nav__dot:focus-visible::before {
    transform: scale(1.08);
    border-color: rgba(197, 160, 89, 0.72);
    box-shadow:
        0 0 0 0.45rem rgba(197, 160, 89, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.c-sidecar-nav__meta {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.c-sidecar-nav__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(111, 84, 32, 0.58);
}

.c-sidecar-nav__label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
    line-height: 1.05;
    color: currentColor;
    opacity: 0.82;
    transform: translateX(0);
    transition: opacity 280ms ease, transform 280ms ease;
    text-wrap: balance;
}

/* Active dot state */
.c-sidecar-nav__dot.is-complete {
    color: rgba(111, 84, 32, 0.8);
}

.c-sidecar-nav__dot.is-complete::before {
    border-color: rgba(197, 160, 89, 0.56);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(239, 221, 182, 0.52) 44%, rgba(197, 160, 89, 0.76));
}

.c-sidecar-nav__dot.is-active {
    color: var(--color-accent-strong);
    transform: translateX(0.4rem);
}

.c-sidecar-nav__dot.is-active::before {
    transform: scale(1.18);
    border-color: rgba(197, 160, 89, 0.88);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(239, 221, 182, 0.64) 42%, rgba(197, 160, 89, 1));
    box-shadow:
        0 0 0 0.5rem rgba(197, 160, 89, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.c-sidecar-nav__dot.is-active .c-sidecar-nav__label {
    opacity: 1;
    transform: translateX(0.12rem);
}

/* ── Card Animation States ── */
.l-sidecar-slider__card {
    opacity: 0.6;
    transform: translate3d(0, 0.75rem, 0) scale(0.992);
    transition:
        opacity var(--motion-duration-card) var(--motion-ease-luxury),
        transform var(--motion-duration-card) var(--motion-ease-luxury),
        border-color 260ms ease,
        box-shadow 260ms ease,
        background 260ms ease;
    will-change: opacity, transform;
    transform-origin: center top;
}

.l-sidecar-slider__card > :where(h2, h3, h4, p, ul, ol, figure) {
    transition: transform 340ms var(--motion-ease-refined), opacity 280ms ease, border-color 260ms ease, color 260ms ease;
}

.l-sidecar-slider__card.is-previous {
    opacity: 0.48;
    transform: translate3d(0, -0.3rem, 0) scale(0.985);
}

.l-sidecar-slider__card.is-next {
    opacity: 0.72;
    transform: translate3d(0, 0.45rem, 0) scale(0.996);
}

.l-sidecar-slider__card:not(.is-active):not(:focus-within) > :where(h2, h3, h4, p, ul, ol) {
    opacity: 0.78;
    transform: translate3d(0, 0.2rem, 0);
}

.l-sidecar-slider__card.is-active,
.l-sidecar-slider__card:focus-within {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    border-color: rgba(111, 84, 32, 0.22);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 234, 0.94) 100%);
    box-shadow:
        0 22px 48px rgba(26, 26, 26, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.l-sidecar-slider__card.is-active > :where(h2, h3, h4),
.l-sidecar-slider__card:focus-within > :where(h2, h3, h4) {
    color: var(--color-accent-strong);
    border-bottom-color: rgba(111, 84, 32, 0.28);
}

.l-sidecar-slider__card.is-active > :where(h2, h3, h4, p, ul, ol, figure),
.l-sidecar-slider__card:focus-within > :where(h2, h3, h4, p, ul, ol, figure) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.l-sidecar-slider__card.is-active::before,
.l-sidecar-slider__card:focus-within::before {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.82) 0%, rgba(197, 160, 89, 0.24) 45%, rgba(197, 160, 89, 0) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .c-button,
    .wp-block-button.c-button .wp-block-button__link,
    .c-button--solid,
    .wp-block-button.c-button--solid .wp-block-button__link,
    .c-sidecar-nav__dot,
    .c-sidecar-nav__progress,
    .l-sidecar-slider__card,
    .c-services-tile__item,
    .c-services-tile__image img {
        transition: none !important;
        transform: none !important;
    }
}

/* On mobile, cards are always visible in document flow */
@media (max-width: 899px) {
    .l-sidecar-slider__card {
        opacity: 1;
        transform: none;
        margin-bottom: 0;
    }

    .l-sidecar-slider__card.is-previous,
    .l-sidecar-slider__card.is-next,
    .l-sidecar-slider__card.is-active,
    .l-sidecar-slider__card:focus-within {
        transform: none;
        box-shadow:
            0 18px 38px rgba(26, 26, 26, 0.11),
            inset 0 1px 0 rgba(255, 255, 255, 0.98);
    }

    .c-sidecar-nav {
        gap: 0.8rem;
    }

    .c-sidecar-nav__dot {
        grid-template-columns: 0.9rem minmax(0, 1fr);
        gap: 0.8rem;
        min-height: 2.45rem;
    }

    .c-sidecar-nav__label {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Editorial Pricing Menu
   ========================================================================== */
.c-pricing-menu {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: var(--space-l);
    margin-bottom: var(--space-l);
}

.c-pricing-menu:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.c-pricing-menu__header {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem;
    width: 100%;
}

.c-pricing-menu__title {
    margin: 0;
    display: flex;
    flex-grow: 1;
    align-items: baseline;
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--step-1);
    color: var(--color-text);
}

.c-pricing-menu__title::after {
    content: "";
    flex-grow: 1;
    border-bottom: 2px dotted var(--color-muted);
    margin: 0 1rem;
    position: relative;
    top: -0.2em;
    opacity: 0.3;
}

.c-pricing-menu__price {
    margin: 0;
    font-weight: 600;
    font-size: var(--step-0);
    white-space: nowrap;
    color: var(--color-text);
}

.c-pricing-menu__list {
    list-style: none;
    padding-left: 0;
    margin-block: var(--space-s);
}

.c-pricing-menu__list li {
    padding-left: 1.5em;
    position: relative;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.c-pricing-menu__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.c-pricing-menu__cta {
    margin-top: var(--space-m);
}

.c-pricing-menu__cta a {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: color 300ms ease;
}

.c-pricing-menu__cta a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Contact Info Section
   ========================================================================== */
.l-container:has(.c-contact-info) {
    padding-top: 15vh;
    padding-bottom: 15vh;
}

.l-grid-asymmetric:has(.c-contact-info) {
    padding-top: clamp(6rem, 12vw, 8rem);
}
/* ==========================================================================
   Hero & Cover Block Refinements (Readability)
   ========================================================================== */

/* 
 * Refine the default WordPress cover overlays.
 * We use a slightly more sophisticated gradient to ensure that both
 * light and dark text modes have adequate contrast without being "heavy".
 */
.wp-block-cover .wp-block-cover__background {
    opacity: 0.6 !important; /* Tame the background intensity */
}

/* Soften images for dark text (is-light mode) */
.wp-block-cover.is-light .wp-block-cover__background {
    background-color: rgba(250, 249, 246, 0.5) !important; /* Soft 'base' wash */
}

/* Enhance contrast for light text (default/dark mode) */
.wp-block-cover:not(.is-light) .wp-block-cover__background {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.6)
    ) !important;
}

/* Subtly lift text from complex backgrounds */
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover .u-step-1 {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.wp-block-cover.is-light h1,
.wp-block-cover.is-light h2,
.wp-block-cover.is-light .u-step-1 {
    filter: none; /* No shadow needed for dark text on light overlay */
}

/* Hero pattern: force a dark background and light foreground for contrast */
.wp-block-cover.u-height-100vh.is-light .wp-block-cover__background {
    opacity: 1 !important;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0.68)
    ) !important;
}

.wp-block-cover.u-height-100vh .wp-block-cover__inner-container,
.wp-block-cover.u-height-100vh h1,
.wp-block-cover.u-height-100vh h2,
.wp-block-cover.u-height-100vh h3,
.wp-block-cover.u-height-100vh p,
.wp-block-cover.u-height-100vh a,
.wp-block-cover.u-height-100vh .wp-block-button__link,
.wp-block-cover.u-height-100vh .wp-element-button {
    color: var(--color-surface) !important;
}

.wp-block-cover.u-height-100vh h1,
.wp-block-cover.u-height-100vh h2,
.wp-block-cover.u-height-100vh .u-step-1 {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
}

.wp-block-cover.u-height-100vh .wp-block-button.c-button,
.wp-block-cover.u-height-100vh .wp-block-button.c-button--solid {
    background: transparent !important;
}

.wp-block-cover.u-height-100vh .c-button,
.wp-block-cover.u-height-100vh .wp-block-button.c-button .wp-block-button__link,
.wp-block-cover.u-height-100vh .wp-element-button {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.06)
    ) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: var(--color-surface) !important;
}

.wp-block-cover.u-height-100vh .c-button:hover,
.wp-block-cover.u-height-100vh .c-button:focus,
.wp-block-cover.u-height-100vh .wp-block-button.c-button .wp-block-button__link:hover,
.wp-block-cover.u-height-100vh .wp-block-button.c-button .wp-block-button__link:focus,
.wp-block-cover.u-height-100vh .wp-element-button:hover,
.wp-block-cover.u-height-100vh .wp-element-button:focus {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.24),
        rgba(255, 255, 255, 0.12)
    ) !important;
    color: var(--color-surface) !important;
}

@media (max-width: 767px) {
    .c-glass-card,
    .c-faq-item {
        border-radius: 18px;
    }

    .c-glass-card {
        position: relative;
        overflow: hidden;
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
            linear-gradient(180deg, rgba(197, 160, 89, 0.12), rgba(255, 255, 255, 0));
        border: 1px solid rgba(197, 160, 89, 0.18);
        box-shadow:
            0 20px 44px rgba(64, 49, 23, 0.12),
            0 4px 12px rgba(64, 49, 23, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
    }

    .c-glass-card::before,
    .c-services-tile__item::before,
    .c-faq-item::before {
        content: '';
        position: absolute;
        inset: 0 0 auto 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
        opacity: 0.95;
        pointer-events: none;
    }

    .c-glass-card::after,
    .c-services-tile__item::after,
    .c-pricing-menu::before {
        content: none;
    }

    .c-testimonial {
        font-size: clamp(1.2rem, 1.05rem + 0.85vw, 1.5rem);
        line-height: 1.48;
        color: var(--color-text);
    }

    .c-testimonial-author {
        letter-spacing: 0.04em;
        padding-top: var(--space-xs);
    }

    .c-services-tile {
        gap: var(--space-m);
    }

    .c-services-tile__item {
        padding: 1.25rem;
        gap: 1.1rem;
        border-radius: 20px;
        overflow: hidden;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 242, 0.84)),
            linear-gradient(135deg, rgba(197, 160, 89, 0.12), rgba(255, 255, 255, 0));
        border: 1px solid rgba(197, 160, 89, 0.16);
        box-shadow:
            0 18px 34px rgba(26, 26, 26, 0.08),
            0 6px 18px rgba(197, 160, 89, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .c-services-tile__image {
        aspect-ratio: 5 / 4;
        border-radius: 12px;
        box-shadow: 0 14px 28px rgba(26, 26, 26, 0.12);
    }

    .c-services-tile__content {
        gap: 0.65rem;
    }

    .c-services-tile__title {
        font-size: clamp(1.55rem, 1.22rem + 1.6vw, 2rem);
        line-height: 0.98;
        margin: 0;
        color: var(--color-text);
        text-wrap: balance;
    }

    .c-services-tile__desc {
        font-size: 1rem;
        line-height: 1.68;
        margin: 0;
        color: var(--color-ink-soft);
    }

    .c-services-tile__link {
        margin-top: 0.35rem;
        padding-top: 0.9rem;
        border-top: 1px solid var(--color-accent-soft);
    }

    .c-services-tile__link a {
        font-size: 0.72rem;
        letter-spacing: 0.18em;
        color: var(--color-text);
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .l-sidecar-slider__card {
        position: relative;
        opacity: 1;
        transform: none;
        padding: 1.4rem 0 1.6rem;
        border-bottom: 1px solid var(--color-accent-soft);
    }

    .l-sidecar-slider__card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .c-pricing-menu {
        position: relative;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
        margin-bottom: var(--space-m);
    }

    .c-pricing-menu__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        margin-bottom: 0.75rem;
    }

    .c-pricing-menu__title {
        width: 100%;
        display: block;
        font-size: clamp(1.7rem, 1.32rem + 1.8vw, 2.25rem);
        line-height: 0.98;
        text-wrap: balance;
    }

    .c-pricing-menu__title::after {
        display: block;
        width: 4.25rem;
        margin: 0.9rem 0 0;
        top: 0;
    }

    .c-pricing-menu__price {
        display: block;
        min-height: 0;
        padding: 0.15rem 0 0.15rem 0.9rem;
        border-left: 2px solid rgba(197, 160, 89, 0.65);
        background: none;
        border-radius: 0;
        box-shadow: none;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.35;
        white-space: normal;
        color: var(--color-accent);
    }

    .c-pricing-menu > p {
        font-size: var(--step-0);
        line-height: 1.7;
    }

    .c-pricing-menu__list {
        margin-block: 1rem 0;
    }

    .c-pricing-menu__list li {
        padding-left: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.65;
    }

    .c-pricing-menu__cta {
        margin-top: auto;
        margin-inline: calc(-1 * 1.1rem);
        margin-bottom: calc(-1 * var(--space-m));
        padding: 1rem 1.1rem 0;
        border-top: 1px solid rgba(111, 84, 32, 0.12);
    }

    .c-pricing-menu__cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 3.1rem;
        padding: 0.85rem 1.15rem;
        border-radius: 0 0 16px 16px;
        background: linear-gradient(180deg, rgba(197, 160, 89, 0.22), rgba(197, 160, 89, 0.12));
        border: 1px solid rgba(197, 160, 89, 0.3);
        box-shadow:
            0 10px 20px rgba(64, 49, 23, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.58);
        font-size: 0.78rem;
        letter-spacing: 0.16em;
        line-height: 1;
        text-transform: uppercase;
        text-decoration: none;
        text-underline-offset: 0;
        text-align: center;
        color: var(--color-text);
        transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
    }

    .c-pricing-menu__cta a:hover,
    .c-pricing-menu__cta a:focus {
        transform: translateY(-1px);
        background: linear-gradient(180deg, rgba(197, 160, 89, 0.28), rgba(197, 160, 89, 0.16));
        border-color: rgba(197, 160, 89, 0.4);
        box-shadow:
            0 14px 24px rgba(64, 49, 23, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    .l-container:has(.c-contact-info) {
        padding-top: clamp(7rem, 18vw, 9rem);
        padding-bottom: 9vh;
    }

    .l-grid-asymmetric:has(.c-contact-info) {
        padding-top: clamp(5.5rem, 16vw, 7rem);
    }

    .wp-block-cover {
        min-height: auto;
    }

    .wp-block-cover .wp-block-cover__inner-container {
        width: 100%;
    }

    .wp-block-cover.u-height-100vh {
        min-height: 100svh !important;
    }

    .wp-block-cover.u-height-100vh .wp-block-cover__inner-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        min-height: 100%;
        box-sizing: border-box;
        padding-top: clamp(6.5rem, 24vw, 9rem);
        padding-bottom: clamp(2rem, 8vw, 3.5rem);
        position: relative;
    }

    .wp-block-cover.u-height-100vh h1,
    .wp-block-cover.u-height-100vh h2,
    .wp-block-cover.u-height-100vh h3,
    .wp-block-cover.alignfull .l-prose h1 {
        width: 100%;
        max-width: min(18ch, 100%);
        text-align: left !important;
        color: #fff8ef !important;
        text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
    }

    h1.wp-block-heading.has-text-align-center {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    .wp-block-cover.u-height-100vh .u-step-1,
    .wp-block-cover.alignfull .l-prose .u-step-1 {
        max-width: 24ch;
        text-align: left !important;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.84) !important;
        margin-top: 0.3rem;
    }

    .wp-block-cover.u-height-100vh .wp-block-buttons,
    .wp-block-cover.alignfull .wp-block-buttons {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1.1rem;
    }

    .wp-block-cover.u-height-100vh .wp-block-button,
    .wp-block-cover.alignfull .wp-block-button {
        width: min(100%, 17rem);
        max-width: 100%;
    }

    .wp-block-cover.u-height-100vh .wp-block-button__link,
    .wp-block-cover.alignfull .wp-block-button__link,
    .wp-block-cover.u-height-100vh .wp-element-button,
    .wp-block-cover.alignfull .wp-element-button {
        display: inline-flex;
        width: 100%;
        max-width: 100%;
        min-height: 3.35rem;
        padding-inline: 1rem;
        border-radius: 999px !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12)) !important;
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: clamp(0.72rem, 2.7vw, 0.82rem);
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .wp-block-cover.alignfull .l-container,
    .wp-block-cover.alignfull .l-prose {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }

    .c-faq-item {
        margin-bottom: 1rem;
        background:
            linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 245, 0.62)),
            linear-gradient(180deg, rgba(197, 160, 89, 0.14), rgba(255, 255, 255, 0));
        border-color: rgba(197, 160, 89, 0.2);
        box-shadow:
            0 20px 40px rgba(26, 26, 26, 0.1),
            0 4px 12px rgba(197, 160, 89, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.84);
    }

    .c-faq-item summary {
        font-size: 1.18rem;
        line-height: 1.22;
        padding: 1.1rem 1.15rem;
        color: var(--color-text);
    }

    .c-faq-item summary::after {
        font-size: 1.35rem;
        margin-left: 0.75rem;
    }

    .c-faq-item p {
        padding: 0 1.15rem 1.1rem;
        padding-top: 0.9rem;
        font-size: 0.98rem;
        line-height: 1.72;
    }
}

/* ==========================================================================
   Luxurious FAQ Accordion (Glassmorphism)
   ========================================================================== */
.c-faq-item {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5)),
        linear-gradient(180deg, rgba(197, 160, 89, 0.12), rgba(255, 255, 255, 0));
    border: 1px solid rgba(197, 160, 89, 0.24);
    box-shadow:
        0 16px 44px rgba(26, 26, 26, 0.12),
        0 2px 8px rgba(26, 26, 26, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(197, 160, 89, 0.12);
    border-radius: 16px;
    margin-bottom: var(--space-m);
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 300ms ease;
}

.c-faq-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 50px rgba(26, 26, 26, 0.14),
        0 3px 10px rgba(26, 26, 26, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        inset 0 -1px 0 rgba(197, 160, 89, 0.14);
}

/* Reusable frosted utility for future markup, matched to existing theme glass */
.frosted {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    border-radius: 16px;
}

.c-faq-item summary {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--step-0);
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-m);
    cursor: pointer;
    list-style: none; /* remove default arrow */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom +/- Icon indicator */
.c-faq-item summary::after {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-size: var(--step-1);
    font-weight: 300;
    color: var(--color-accent);
    margin-left: var(--space-s);
    transition: transform 300ms ease;
}

.c-faq-item[open] summary::after {
    content: '−'; /* Minus sign for open state */
    transform: rotate(180deg);
}

.c-faq-item summary::-webkit-details-marker {
    display: none; /* Hide default iOS/Webkit marker */
}

.c-faq-item p {
    padding: 0 var(--space-m) var(--space-m);
    margin: 0;
    color: var(--color-muted);
    font-size: var(--step--1);
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,0.05); /* subtle divider */
    padding-top: var(--space-s);
}

.has-text-background-color .c-faq-item summary,
.has-text-background-color .c-faq-item p {
    color: var(--color-surface);
}

.has-text-background-color .c-faq-item p {
    border-top-color: rgba(255,255,255,0.1);
}
.u-text-center {
    text-align: center;
}

.u-text-accent {
    color: var(--color-accent);
}

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

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

.u-margin-top-0 {
    margin-top: 0 !important;
}

.u-margin-bottom-0 {
    margin-bottom: 0 !important;
}

.u-step-1 {
    font-size: var(--step-1) !important;
}

/* Full Viewport Height Hero Utility */
.u-height-100vh {
    min-height: 100vh !important;
}

/* 
 * High-Performance Scroll Animations 
 * Controlled via Intersection Observer in main.js
 */
.js-reveal {
    --reveal-x: 0px;
    --reveal-y: 1.2rem;
    --reveal-scale: 1;
    --reveal-blur: 0px;
    --reveal-duration: var(--motion-duration-reveal);
    --reveal-delay: 0ms;
    --reveal-order: 0;
    opacity: 0;
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
    filter: blur(var(--reveal-blur));
    transition:
        opacity var(--reveal-duration) var(--motion-ease-luxury),
        transform var(--reveal-duration) var(--motion-ease-luxury),
        filter 360ms ease;
    transition-delay: calc((var(--reveal-order) * var(--motion-stagger-step)) + var(--reveal-delay));
    will-change: opacity, transform, filter;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.js-reveal.reveal-up {
    --reveal-y: 1.2rem;
}

.js-reveal.reveal-left {
    --reveal-x: -0.8rem;
    --reveal-y: 0.45rem;
}

.js-reveal.reveal-right {
    --reveal-x: 0.8rem;
    --reveal-y: 0.45rem;
}

.js-reveal.reveal-soft {
    --reveal-scale: 0.992;
    --reveal-blur: 4px;
}

.js-reveal.reveal-mask {
    --reveal-y: 0.6rem;
    --reveal-duration: var(--motion-duration-reveal-heading);
    --reveal-scale: 1;
    --reveal-blur: 0px;
}

.js-reveal.reveal-hero-heading,
.js-reveal.reveal-hero-copy {
    transition:
        opacity var(--reveal-duration) var(--motion-ease-editorial);
    transform: none;
    filter: none;
    will-change: opacity;
}

.js-reveal.reveal-hero-heading {
    --reveal-y: 0rem;
    --reveal-duration: 1320ms;
    --reveal-scale: 1;
    --reveal-blur: 0px;
    transform: none;
}

.js-reveal.reveal-hero-heading.is-visible {
    transform: none;
}

.js-reveal.reveal-hero-copy {
    --reveal-y: 0rem;
    --reveal-duration: 1160ms;
    --reveal-scale: 1;
    --reveal-blur: 0px;
}

.js-reveal.reveal-hero-copy.is-visible {
    transform: none;
}

.js-reveal.reveal-hero-action {
    --reveal-y: 0.24rem;
    --reveal-duration: 780ms;
    --reveal-scale: 1;
    --reveal-blur: 0px;
}

html.preload-intro .wp-block-cover.u-height-100vh :is(h1, h2, .u-step-1, .wp-block-buttons) {
    opacity: 0;
}

html.preload-intro .l-grid-asymmetric.is-reversed > .l-prose.js-reveal > :is(h1, h2, h3, h4, p, ul, ol, .wp-block-buttons, figure),
html.preload-intro .l-grid-asymmetric.is-reversed > .wp-block-image.js-reveal {
    opacity: 0;
}

.js-reveal[data-intro-tone="soft"] {
    --reveal-duration: 820ms;
    transition:
        opacity var(--reveal-duration) var(--motion-ease-editorial);
    transform: none;
    filter: none;
    will-change: opacity;
}

.js-reveal[data-intro-tone="soft"].is-visible {
    transform: none;
    filter: none;
}

@media (max-width: 899px) {
    .js-reveal.reveal-left,
    .js-reveal.reveal-right {
        --reveal-x: 0px;
        --reveal-y: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}
/* 
 * Mobile Typography Refinement
 * Reduces the size of .u-step-1 (subtitles/descriptions) on smaller screens
 * to ensure they don't overpower the main titles.
 */
@media (max-width: 767px) {
    .u-step-1 {
        font-size: clamp(1.08rem, 1rem + 0.45vw, 1.24rem) !important;
        letter-spacing: 0.01em;
    }
}
