/* ===================================================================
   LIEL YOSEF — Royal Emerald & Antique Gold
   =================================================================== */

/* -------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------- */
:root {
    /* Colors — royal emerald with ivory and antique gold */
    --bg:          #f5ede0;   /* warm pearl ivory */
    --bg-soft:     #ebe1c8;   /* cream */
    --bg-deep:     #c8aa6e;   /* muted antique gold */
    --bg-dark:     #0d2a20;   /* deep emerald */
    --bg-darker:   #061a12;   /* deepest forest */

    --ink:         #0a1410;
    --ink-soft:    #3f4a44;
    --ink-mute:    #828a85;

    --paper:       #f5ede0;
    --paper-soft:  rgba(245, 237, 224, 0.92);

    --line:        #d8c8a0;
    --line-soft:   #e6dab9;
    --line-dark:   rgba(245, 237, 224, 0.14);

    --accent:      #b18642;   /* antique gold */
    --accent-soft: #d4b87a;   /* champagne */
    --accent-deep: #7e6028;   /* deep gold */
    --accent-jewel:#1f5742;   /* jewel emerald (for hover states on light bg) */

    /* Typography — modern */
    --serif: 'Fraunces', 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
    --sans: 'Heebo', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Spacing */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 6rem;
    --s-10: 8rem;
    --s-11: 12rem;

    /* Layout */
    --container: 1360px;
    --container-tight: 880px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-1: 200ms ease;
    --t-2: 400ms var(--ease);
    --t-3: 800ms var(--ease);

    --h-head: 80px;
    --h-head-mobile: 64px;
}

/* -------------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-1), opacity var(--t-1);
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--paper); }

/* -------------------------------------------------------------------
   3. Accessibility
   ------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    right: var(--s-4);
    background: var(--bg-dark);
    color: var(--paper);
    padding: var(--s-3) var(--s-5);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    z-index: 9999;
    transition: top var(--t-1);
}
.skip-link:focus { top: var(--s-3); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 1px;
}

/* Higher-contrast focus on dark surfaces */
.site-footer a:focus-visible,
.testimonial-feature a:focus-visible,
.values-strip a:focus-visible,
.collection-card:focus-visible {
    outline-color: var(--accent-soft);
    outline-offset: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* Windows High Contrast Mode / forced-colors — keep outlines visible
   even when our custom colors are stripped */
@media (forced-colors: active) {
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline-color: Highlight;
    }

    .btn,
    .nav-menu a,
    .tab-btn,
    .form-input {
        forced-color-adjust: none;
        border-color: CanvasText;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------------
   4. Typography
   ------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: var(--ink);
}

p { line-height: 1.85; }

/* -------------------------------------------------------------------
   5. Layout
   ------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-5);
}

@media (min-width: 768px) { .container { padding: 0 var(--s-7); } }
@media (min-width: 1280px) { .container { padding: 0 var(--s-8); } }

/* -------------------------------------------------------------------
   6. Header & Navigation
   ------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(245, 237, 224, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-1), background var(--t-1);
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(245, 237, 224, 0.95);
}

.navbar {
    height: var(--h-head-mobile);
    display: flex;
    align-items: center;
}

@media (min-width: 768px) { .navbar { height: var(--h-head); } }

.nav-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
}

@media (min-width: 768px) { .nav-container { padding: 0 var(--s-7); } }
@media (min-width: 1280px) { .nav-container { padding: 0 var(--s-8); } }

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
    transition: opacity var(--t-1);
}

@media (min-width: 768px) {
    .logo-img { height: 52px; }
}

.logo:hover .logo-img { opacity: 0.7; }

/* Legacy text-logo styles — kept for the footer brand mark */
.logo-text {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink);
    transition: opacity var(--t-1);
}

@media (min-width: 768px) { .logo-text { font-size: 1.85rem; } }

.logo-sub {
    font-size: 0.625rem;
    letter-spacing: 0.42em;
    color: var(--accent);
    margin-top: 6px;
    text-transform: uppercase;
    font-weight: 400;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: var(--s-7);
}

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

.nav-menu a {
    position: relative;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 400;
    padding: var(--s-2) 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0; left: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-2);
}

.nav-menu a:hover { color: var(--accent); }
.nav-menu a.active { color: var(--accent); }
.nav-menu a.active::after,
.nav-menu a:hover::after { transform: scaleX(1); }

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 110;
}

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

.menu-bar {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform var(--t-2), opacity var(--t-1);
}

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

@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        inset: 0 0 0 auto;
        width: 100%;
        max-width: 420px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: var(--s-6);
        padding: var(--s-9) var(--s-7);
        background: var(--bg);
        transform: translateX(100%);
        transition: transform var(--t-3);
    }
    .nav-menu.is-open {
        display: flex;
        transform: translateX(0);
    }
    .nav-menu a {
        font-family: var(--serif);
        font-size: 1.6rem;
        letter-spacing: 0.02em;
        text-transform: none;
    }
    .nav-menu a::after { display: none; }
}

/* -------------------------------------------------------------------
   7. Buttons & Links
   ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    padding: 1.05rem 2.5rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    border-radius: 0;
    cursor: pointer;
    transition: background var(--t-2), color var(--t-2), border-color var(--t-2);
    line-height: 1;
}

.btn-primary {
    background: var(--bg-dark);
    color: var(--paper);
    border-color: var(--bg-dark);
}
.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn-light {
    background: transparent;
    color: var(--paper);
    border-color: var(--paper);
}
.btn-light:hover {
    background: var(--paper);
    color: var(--ink);
}

.btn-large {
    padding: 1.15rem 3rem;
    font-size: 0.72rem;
}

.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 400;
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--ink);
    transition: gap var(--t-2), color var(--t-1), border-color var(--t-1);
}

.link-arrow:hover {
    gap: var(--s-5);
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.link-arrow .arrow {
    font-family: var(--serif);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------------
   8. Section primitives
   ------------------------------------------------------------------- */
.section-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--s-5);
}

.section-eyebrow.centered { text-align: center; }

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: var(--s-5);
    letter-spacing: -0.01em;
}

.section-title.centered { text-align: center; }

.section-description {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto var(--s-8);
    line-height: 1.8;
    font-weight: 300;
}

.section-description.centered { text-align: center; }

/* -------------------------------------------------------------------
   9. Image placeholders
   ------------------------------------------------------------------- */
.image-placeholder {
    position: relative;
    background: var(--bg-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--t-3);
}

.placeholder-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
    text-align: center;
    padding: var(--s-4);
}

/* -------------------------------------------------------------------
   10. Hero — editorial, full bleed
   ------------------------------------------------------------------- */
.hero {
    position: relative;
    margin-top: var(--h-head-mobile);
    padding: var(--s-9) 0 var(--s-10);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        margin-top: var(--h-head);
        padding: var(--s-10) 0 var(--s-11);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: end;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--s-9);
    }
}

.hero-content {
    text-align: right;
    padding-top: var(--s-5);
}

@media (min-width: 1024px) {
    .hero-content {
        padding-top: var(--s-9);
        padding-bottom: var(--s-5);
    }
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s-6);
    font-weight: 500;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.85rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.0;
    color: var(--ink);
    margin-bottom: var(--s-6);
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-jewel);
    font-weight: 400;
    font-family: 'Fraunces', 'Frank Ruhl Libre', Georgia, serif;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 460px;
    margin-bottom: var(--s-8);
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-4);
    margin-bottom: var(--s-7);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line);
    max-width: 340px;
}

.hero-meta-divider {
    width: 24px;
    height: 1px;
    background: var(--line);
}

.hero-image {
    position: relative;
}

.hero-placeholder {
    aspect-ratio: 4 / 5;
    width: 100%;
    background: var(--bg-deep);
}

@media (min-width: 1024px) {
    .hero-placeholder {
        aspect-ratio: 3 / 4;
        min-height: 600px;
    }
}

.hero-image-tag {
    position: absolute;
    bottom: var(--s-5);
    left: var(--s-5);
    background: var(--bg);
    padding: var(--s-3) var(--s-5);
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}

/* -------------------------------------------------------------------
   11. Marquee values strip
   ------------------------------------------------------------------- */
.values-strip {
    background: var(--bg-dark);
    color: var(--paper);
    padding: var(--s-6) 0;
    overflow: hidden;
}

.values-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--s-5) var(--s-7);
}

.values-strip-item {
    font-size: 0.7rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(245, 237, 224, 0.85);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: var(--s-7);
}

.values-strip-item::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-soft);
    border-radius: 50%;
}

.values-strip-item:last-child::after { display: none; }

/* -------------------------------------------------------------------
   12. Page hero (inner pages)
   ------------------------------------------------------------------- */
.page-hero {
    margin-top: var(--h-head-mobile);
    padding: var(--s-10) 0 var(--s-9);
    text-align: center;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

@media (min-width: 768px) {
    .page-hero {
        margin-top: var(--h-head);
        padding: var(--s-11) 0 var(--s-10);
    }
}

.page-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: var(--s-5);
    letter-spacing: -0.015em;
}

.page-title em {
    font-style: italic;
    color: var(--accent-jewel);
    font-weight: 400;
}

.page-subtitle {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* -------------------------------------------------------------------
   13. Featured Statement (homepage)
   ------------------------------------------------------------------- */
.statement {
    padding: var(--s-10) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .statement { padding: var(--s-11) 0; }
}

.statement-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.2;
    color: var(--ink);
    max-width: 920px;
    margin: 0 auto var(--s-5);
    letter-spacing: -0.01em;
}

.statement-title strong {
    font-style: normal;
    font-weight: 500;
    color: var(--accent-jewel);
}

.statement-text {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.9;
    font-weight: 300;
}

/* -------------------------------------------------------------------
   14. Two Collections (50/50)
   ------------------------------------------------------------------- */
.collections {
    padding: 0 0 var(--s-10);
}

@media (min-width: 768px) {
    .collections { padding: 0 0 var(--s-11); }
}

.collections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
}

@media (min-width: 768px) {
    .collections-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-5);
    }
}

@media (min-width: 1280px) {
    .collections-grid { gap: var(--s-7); }
}

.collection-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    color: var(--ink);
}

.collection-placeholder {
    aspect-ratio: 4 / 5;
    width: 100%;
    transition: transform var(--t-3);
}

.collection-card:hover .collection-placeholder {
    transform: scale(1.03);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 42, 32, 0.55) 0%, rgba(13, 42, 32, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.collection-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: var(--s-7) var(--s-6);
    color: var(--paper);
    text-align: right;
}

@media (min-width: 768px) {
    .collection-content { padding: var(--s-8); }
}

.collection-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: var(--s-3);
    font-weight: 500;
}

.collection-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 300;
    color: var(--paper);
    margin-bottom: var(--s-4);
    letter-spacing: -0.005em;
    line-height: 1.05;
}

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--paper);
    border-bottom: 1px solid rgba(245, 237, 224, 0.5);
    padding-bottom: 4px;
    transition: gap var(--t-2);
}

.collection-card:hover .collection-link { gap: var(--s-5); }

/* -------------------------------------------------------------------
   15. Featured editorial section
   ------------------------------------------------------------------- */
.featured {
    padding: var(--s-10) 0;
    background: var(--bg-soft);
}

@media (min-width: 768px) {
    .featured { padding: var(--s-11) 0; }
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-10);
    }
}

.featured-images {
    position: relative;
    min-height: 460px;
}

@media (min-width: 768px) {
    .featured-images { min-height: 660px; }
}

.featured-placeholder-1 {
    width: 78%;
    aspect-ratio: 3 / 4;
    margin-right: auto;
    background: var(--bg);
}

.featured-placeholder-2 {
    width: 48%;
    aspect-ratio: 3 / 4;
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bg-deep);
}

.featured-text {
    color: var(--ink-soft);
    margin-bottom: var(--s-5);
    line-height: 1.85;
    font-size: 1rem;
    font-weight: 300;
}

.featured-content .btn { margin-top: var(--s-5); }

/* -------------------------------------------------------------------
   16. Numbers / Stats strip
   ------------------------------------------------------------------- */
.numbers {
    padding: var(--s-10) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-7);
}

@media (min-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-5);
    }
}

.number-item {
    text-align: center;
    padding: var(--s-3) var(--s-4);
    border-right: 1px solid var(--line);
}

.number-item:nth-child(2n) { border-right: none; }

@media (min-width: 768px) {
    .number-item:nth-child(2n) { border-right: 1px solid var(--line); }
    .number-item:last-child { border-right: none; }
}

.number-value {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 3.85rem);
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--s-3);
    letter-spacing: -0.02em;
}

.number-label {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 400;
}

/* -------------------------------------------------------------------
   17. Testimonial — single, large, dark
   ------------------------------------------------------------------- */
.testimonial-feature {
    padding: var(--s-10) 0;
    background: var(--bg-dark);
    color: var(--paper);
    text-align: center;
}

@media (min-width: 768px) {
    .testimonial-feature { padding: var(--s-11) 0; }
}

.testimonial-feature-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: var(--s-7);
    font-weight: 500;
}

.testimonial-feature-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--paper);
    max-width: 880px;
    margin: 0 auto var(--s-7);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.testimonial-feature-author {
    font-style: normal;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.42em;
    color: var(--accent-soft);
    text-transform: uppercase;
    font-weight: 400;
    display: inline-block;
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-dark);
}

/* -------------------------------------------------------------------
   18. Lookbook grid
   ------------------------------------------------------------------- */
.lookbook {
    padding: var(--s-10) 0;
}

@media (min-width: 768px) {
    .lookbook { padding: var(--s-11) 0; }
}

.lookbook-header {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin-bottom: var(--s-8);
    text-align: right;
}

@media (min-width: 768px) {
    .lookbook-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
        gap: var(--s-6);
    }
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
}

@media (min-width: 768px) {
    .lookbook-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-4);
    }
}

.lookbook-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
}

.lookbook-item .image-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--t-3);
}

.lookbook-item:hover .image-placeholder {
    transform: scale(1.05);
}

/* -------------------------------------------------------------------
   19. CTA
   ------------------------------------------------------------------- */
.cta {
    padding: var(--s-10) 0;
    text-align: center;
    background: var(--bg-soft);
}

@media (min-width: 768px) {
    .cta { padding: var(--s-11) 0; }
}

.cta-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--s-5);
    font-weight: 500;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    font-weight: 300;
    margin-bottom: var(--s-5);
    letter-spacing: -0.01em;
}

.cta-title em {
    font-style: italic;
    color: var(--accent-jewel);
    font-weight: 400;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto var(--s-7);
    line-height: 1.8;
    font-weight: 300;
}

/* -------------------------------------------------------------------
   20. About page
   ------------------------------------------------------------------- */
.about-intro {
    padding: var(--s-10) 0;
}

@media (min-width: 768px) { .about-intro { padding: var(--s-11) 0; } }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 5fr 6fr;
        gap: var(--s-10);
    }
}

.portrait-placeholder {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.about-text {
    color: var(--ink-soft);
    margin-bottom: var(--s-5);
    line-height: 1.9;
    font-size: 1rem;
    font-weight: 300;
}

/* Philosophy */
.philosophy {
    padding: var(--s-10) 0;
    background: var(--bg-soft);
}

@media (min-width: 768px) { .philosophy { padding: var(--s-11) 0; } }

.philosophy .section-title { margin-bottom: var(--s-9); }

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-8) var(--s-7);
    }
}

@media (min-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-6);
    }
}

.philosophy-item {
    padding-top: var(--s-5);
    border-top: 1px solid var(--accent);
    text-align: right;
}

.philosophy-icon { display: none; }

.philosophy-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: var(--s-3);
    letter-spacing: -0.005em;
}

.philosophy-text {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-weight: 300;
}

/* Process */
.process {
    padding: var(--s-10) 0;
}

@media (min-width: 768px) { .process { padding: var(--s-11) 0; } }

.process .section-title { margin-bottom: var(--s-9); }

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    max-width: 1100px;
    margin: 0 auto;
    counter-reset: step;
    list-style: none;
}

@media (min-width: 640px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--s-6);
    }
}

.process-step {
    padding-top: var(--s-5);
    border-top: 1px solid var(--ink);
    text-align: right;
}

.step-number {
    display: block;
    font-family: var(--serif);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: var(--s-4);
    letter-spacing: 0.1em;
}

.step-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: var(--s-3);
    letter-spacing: -0.005em;
}

.step-text {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-weight: 300;
}

/* Values */
.values {
    padding: var(--s-10) 0;
    background: var(--bg-soft);
}

@media (min-width: 768px) { .values { padding: var(--s-11) 0; } }

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: 6fr 5fr;
        gap: var(--s-10);
    }
}

.values-text {
    color: var(--ink-soft);
    margin-bottom: var(--s-5);
    line-height: 1.9;
    font-size: 1rem;
    font-weight: 300;
}

.values-content .btn { margin-top: var(--s-5); }

.values-placeholder {
    aspect-ratio: 4 / 5;
    width: 100%;
}

/* -------------------------------------------------------------------
   21. Gallery page
   ------------------------------------------------------------------- */
.gallery-tabs { padding: var(--s-8) 0 0; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-7);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--s-3);
}

.tab-btn {
    padding: var(--s-4) var(--s-2);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    transition: color var(--t-1), border-color var(--t-2);
    font-weight: 400;
    min-height: 44px;
}

.tab-btn:hover { color: var(--ink); }

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.gallery-section {
    padding: var(--s-9) 0 var(--s-10);
}

@media (min-width: 768px) {
    .gallery-section { padding: var(--s-10) 0 var(--s-11); }
}

.gallery-section-alt { background: var(--bg-soft); }

.gallery-section .section-title { margin-bottom: var(--s-4); }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7) var(--s-5);
    margin-top: var(--s-8);
}

@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--s-8) var(--s-6);
    }
}

.gallery-item {
    transition: opacity var(--t-2);
    cursor: pointer;
}

.gallery-item.is-hidden { display: none; }

.gallery-placeholder {
    aspect-ratio: 3 / 4;
    width: 100%;
    transition: transform var(--t-3), opacity var(--t-2);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.02);
    opacity: 0.92;
}

.gallery-caption {
    padding: var(--s-4) 0 0;
    text-align: right;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink);
    font-weight: 400;
}

/* -------------------------------------------------------------------
   22. Contact page
   ------------------------------------------------------------------- */
.contact-section { padding: var(--s-10) 0; }

@media (min-width: 768px) { .contact-section { padding: var(--s-11) 0; } }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-9);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 5fr 6fr;
        gap: var(--s-10);
    }
}

.contact-heading {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    margin-bottom: var(--s-3);
    letter-spacing: -0.01em;
}

.contact-intro {
    color: var(--ink-soft);
    margin-bottom: var(--s-7);
    line-height: 1.85;
    font-size: 1rem;
    font-weight: 300;
}

.contact-cards {
    display: grid;
    gap: 0;
    margin-bottom: var(--s-8);
    border-top: 1px solid var(--line);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--s-5);
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--line);
    transition: opacity var(--t-1);
}

.contact-card:hover { opacity: 0.7; }

.contact-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-card-content { flex: 1; }

.contact-card-title {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 400;
    margin-bottom: var(--s-2);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.contact-card-link {
    display: inline-block;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 2px;
    font-weight: 400;
}

.contact-card-note {
    font-size: 0.78rem;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
    font-weight: 300;
}

.social-links { padding-top: var(--s-3); }

.social-title {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 400;
    margin-bottom: var(--s-4);
}

.social-icons {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    transition: color var(--t-1);
    border-bottom: 1px solid var(--ink);
    padding: var(--s-3) var(--s-2);
    min-height: 44px;
}

.social-link:hover { color: var(--accent); border-color: var(--accent); }

.contact-form-wrapper {
    background: var(--bg-soft);
    padding: var(--s-7) var(--s-5);
}

@media (min-width: 768px) {
    .contact-form-wrapper { padding: var(--s-9) var(--s-8); }
}

.contact-form {
    display: grid;
    gap: var(--s-5);
    margin-top: var(--s-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.form-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 400;
}

.required { color: var(--accent); margin-right: 4px; }

.form-input {
    width: 100%;
    padding: var(--s-3) 0;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    transition: border-color var(--t-1);
    direction: rtl;
    font-weight: 300;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-input.is-invalid { border-color: #a04545; }

.form-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
    padding: var(--s-3) 0;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%230a1410' stroke-width='1' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 4px center;
    padding-left: 1.75rem;
    cursor: pointer;
}

.form-error {
    font-size: 0.72rem;
    color: #a04545;
    min-height: 1.2em;
    letter-spacing: 0.02em;
}

.form-success {
    margin-top: var(--s-4);
    padding: var(--s-4) 0;
    color: var(--accent);
    font-size: 0.95rem;
    text-align: center;
    min-height: 1.2em;
    font-style: italic;
    font-family: var(--serif);
}

.form-success.is-visible {
    border-top: 1px solid var(--line);
}

.contact-form .btn { margin-top: var(--s-3); }

.map-section { padding: 0 0 var(--s-11); }

.map-section .section-title { margin-bottom: var(--s-7); }

.map-placeholder,
.map-embed {
    width: 100%;
    aspect-ratio: 21 / 9;
    background: var(--bg-soft);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.15) contrast(0.95);
    transition: filter var(--t-2);
}

.map-embed:hover iframe {
    filter: none;
}

/* -------------------------------------------------------------------
   23. Footer
   ------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-darker);
    color: rgba(245, 237, 224, 0.65);
    padding: var(--s-10) 0 var(--s-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-9);
    padding-bottom: var(--s-8);
    border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: var(--s-9);
    }
}

.footer-section .footer-title:first-child {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--paper);
    margin-bottom: var(--s-4);
    letter-spacing: 0.02em;
    text-transform: none;
}

.footer-title {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: var(--s-5);
    font-family: var(--sans);
    font-weight: 500;
}

.footer-text {
    color: rgba(245, 237, 224, 0.55);
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 360px;
    font-weight: 300;
}

.footer-links,
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.footer-links a,
.footer-contacts a {
    color: rgba(245, 237, 224, 0.7);
    font-size: 0.92rem;
    transition: color var(--t-1);
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-weight: 300;
}

.footer-links a:hover,
.footer-contacts a:hover { color: var(--accent-soft); }

.contact-icon {
    color: var(--accent-soft);
    font-size: 0.95em;
}

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

.footer-bottom p {
    color: rgba(245, 237, 224, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

/* -------------------------------------------------------------------
   24. WhatsApp floating
   ------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: var(--s-6);
    left: var(--s-6);
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    transition: transform var(--t-2), background var(--t-2);
    box-shadow: 0 6px 24px rgba(10, 20, 16, 0.18);
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: var(--ink);
    color: var(--paper);
}

/* -------------------------------------------------------------------
   25. Reveal on scroll
   ------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------
   26a. Legal / accessibility statement page
   ------------------------------------------------------------------- */
.container-narrow {
    max-width: var(--container-tight);
}

.legal-section {
    padding: var(--s-10) 0;
}

@media (min-width: 768px) {
    .legal-section { padding: var(--s-11) 0; }
}

.legal-section-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 400;
    color: var(--ink);
    margin: var(--s-9) 0 var(--s-4);
    letter-spacing: -0.005em;
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
}

.legal-section-title:first-of-type { margin-top: 0; }

.legal-text {
    font-size: 1.0125rem;
    color: var(--ink-soft);
    line-height: 1.95;
    margin-bottom: var(--s-4);
    font-weight: 300;
}

.legal-text strong {
    color: var(--ink);
    font-weight: 500;
}

.legal-list {
    list-style: disc;
    padding-right: var(--s-5);
    margin: var(--s-4) 0 var(--s-5);
    color: var(--ink-soft);
    line-height: 1.85;
    font-weight: 300;
}

.legal-list li { margin-bottom: var(--s-2); }
.legal-list ul { list-style: circle; padding-right: var(--s-5); margin-top: var(--s-2); }

.legal-contact {
    background: var(--bg-soft);
    padding: var(--s-5) var(--s-6);
    margin: var(--s-4) 0 var(--s-5);
    border-right: 3px solid var(--accent);
}

.legal-contact-line {
    margin-bottom: var(--s-2);
    font-size: 1rem;
    line-height: 1.6;
}

.legal-contact-line:last-child { margin-bottom: 0; }

.legal-contact-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
    min-width: 110px;
}

.legal-contact a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-1);
}

.legal-contact a:hover { border-bottom-color: var(--accent); }

.legal-dates {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
    margin: var(--s-4) 0;
    background: var(--bg-soft);
    padding: var(--s-5) var(--s-6);
}

@media (min-width: 640px) {
    .legal-dates {
        grid-template-columns: auto 1fr;
        column-gap: var(--s-5);
    }
}

.legal-dates dt {
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-weight: 400;
}

.legal-dates dd {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: var(--s-3);
}

@media (min-width: 640px) {
    .legal-dates dd { margin-bottom: 0; }
}

.legal-disclaimer {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-style: italic;
    font-family: var(--serif);
    line-height: 1.7;
}

/* Footer accessibility-statement link */
.footer-bullet {
    margin: 0 var(--s-3);
    color: rgba(244, 241, 234, 0.4);
}

.footer-bottom a {
    color: rgba(244, 241, 234, 0.6);
    border-bottom: 1px solid transparent;
    transition: color var(--t-1), border-color var(--t-1);
}

.footer-bottom a:hover {
    color: var(--accent-soft);
    border-bottom-color: var(--accent-soft);
}

/* -------------------------------------------------------------------
   26. Accessibility widget — button, panel, and modifier classes
   ------------------------------------------------------------------- */

/* Floating toggle button */
.a11y-toggle {
    position: fixed;
    bottom: var(--s-6);
    right: var(--s-6);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 95;
    transition: transform var(--t-2), background var(--t-2);
    box-shadow: 0 6px 24px rgba(10, 20, 16, 0.2);
    border: 2px solid transparent;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
    background: var(--accent);
    color: var(--paper);
    transform: translateY(-3px);
}

.a11y-toggle svg {
    width: 28px;
    height: 28px;
}

/* Panel — slides in from the right */
.a11y-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    background: var(--bg);
    border-left: 1px solid var(--line);
    z-index: 200;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-3);
    box-shadow: -8px 0 30px rgba(10, 20, 16, 0.18);
    display: flex;
    flex-direction: column;
}

.a11y-panel[aria-hidden="false"] {
    transform: translateX(0);
}

.a11y-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 16, 0.55);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-2);
}

.a11y-backdrop[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

/* Panel header */
.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-6) var(--s-6) var(--s-5);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.a11y-panel-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.005em;
    margin: 0;
}

.a11y-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 50%;
    transition: background var(--t-1);
}

.a11y-close:hover,
.a11y-close:focus-visible {
    background: var(--bg-deep);
}

/* Panel body */
.a11y-panel-body {
    padding: var(--s-6);
    flex: 1;
}

.a11y-section {
    margin-bottom: var(--s-6);
}

.a11y-section-title {
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
    margin-bottom: var(--s-4);
    font-family: var(--sans);
}

/* Font size controls */
.a11y-font-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-2);
}

.a11y-font-btn {
    min-height: 48px;
    padding: var(--s-3);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--serif);
    transition: all var(--t-1);
    border-radius: 0;
}

.a11y-font-btn[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.a11y-font-btn:hover:not([aria-pressed="true"]) {
    background: var(--bg-deep);
}

.a11y-font-btn:nth-child(1) { font-size: 0.85rem; }
.a11y-font-btn:nth-child(2) { font-size: 1rem; }
.a11y-font-btn:nth-child(3) { font-size: 1.2rem; }
.a11y-font-btn:nth-child(4) { font-size: 1.4rem; }

/* Toggle buttons (each feature) */
.a11y-toggles {
    display: grid;
    gap: var(--s-2);
}

.a11y-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    width: 100%;
    min-height: 48px;
    padding: var(--s-3) var(--s-4);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.95rem;
    text-align: right;
    transition: all var(--t-1);
    border-radius: 0;
}

.a11y-toggle-btn:hover {
    background: var(--bg-deep);
}

.a11y-toggle-btn[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.a11y-toggle-status {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
}

.a11y-toggle-btn[aria-pressed="true"] .a11y-toggle-status {
    color: var(--accent-soft);
}

/* Reset + statement link */
.a11y-actions {
    display: grid;
    gap: var(--s-3);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line);
    margin-top: var(--s-5);
}

.a11y-reset {
    min-height: 48px;
    padding: var(--s-3);
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    transition: all var(--t-1);
    border-radius: 0;
}

.a11y-reset:hover {
    background: var(--ink);
    color: var(--paper);
}

.a11y-statement-link {
    display: inline-block;
    text-align: center;
    padding: var(--s-3);
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    align-self: center;
    font-size: 0.85rem;
}

/* ===== A11Y MODIFIER CLASSES — applied to <html> ===== */

/* Font size scale (inherits via rem) */
html.a11y-font-md  { font-size: 18px; }
html.a11y-font-lg  { font-size: 20px; }
html.a11y-font-xl  { font-size: 22px; }

/* High contrast — overrides palette tokens */
html.a11y-contrast {
    --bg:          #ffffff;
    --bg-soft:     #ffffff;
    --bg-deep:     #ffe680;
    --bg-dark:     #000000;
    --bg-darker:   #000000;
    --ink:         #000000;
    --ink-soft:    #000000;
    --ink-mute:    #1a1a1a;
    --paper:       #ffffff;
    --line:        #000000;
    --line-soft:   #000000;
    --line-dark:   rgba(255, 255, 255, 0.4);
    --accent:      #0033cc;
    --accent-soft: #ffe680;
    --accent-deep: #001a66;
    --accent-jewel:#0033cc;
}

html.a11y-contrast img,
html.a11y-contrast iframe {
    filter: contrast(1.15);
}

/* Invert colors — applied via filter on body, with images re-inverted */
html.a11y-invert body {
    filter: invert(1) hue-rotate(180deg);
}
html.a11y-invert img,
html.a11y-invert iframe {
    filter: invert(1) hue-rotate(180deg);
}

/* Grayscale */
html.a11y-grayscale body {
    filter: grayscale(1);
}

/* Highlight links */
html.a11y-highlight-links a:not(.a11y-toggle):not(.a11y-close):not(.a11y-statement-link):not(.skip-link) {
    background: #fff7c2 !important;
    color: #1a1a1a !important;
    outline: 2px solid #b18642 !important;
    outline-offset: 2px;
    text-decoration: underline !important;
    padding: 1px 3px;
}

/* Readable font — force a clean, well-spaced sans-serif everywhere */
html.a11y-readable,
html.a11y-readable * {
    font-family: 'Heebo', 'Arial', 'Assistant', sans-serif !important;
    letter-spacing: 0.04em !important;
    line-height: 1.85 !important;
    font-style: normal !important;
}

/* Pause animations */
html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* Big cursor */
html.a11y-big-cursor,
html.a11y-big-cursor * {
    cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='2' stroke-linejoin='round' d='M9 4 9 40 18 31 23 42 28 40 23 29 35 29z'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-big-cursor a,
html.a11y-big-cursor button,
html.a11y-big-cursor [role="button"],
html.a11y-big-cursor input,
html.a11y-big-cursor textarea,
html.a11y-big-cursor select,
html.a11y-big-cursor label {
    cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23b18642' stroke='%23fff' stroke-width='2' stroke-linejoin='round' d='M16 6 H32 V18 H40 V30 H32 V42 H16 V30 H8 V18 H16z'/%3E%3C/svg%3E") 24 24, pointer !important;
}

/* Mobile responsive panel */
@media (max-width: 480px) {
    .a11y-panel {
        max-width: 100%;
    }
}

/* -------------------------------------------------------------------
   27. Print
   ------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .menu-toggle,
    .skip-link,
    .a11y-toggle,
    .a11y-panel,
    .a11y-backdrop { display: none !important; }

    body { background: white; color: black; }
    main { margin-top: 0 !important; }
}
