/* Final light-theme layer: calm pistachio canvas, crisp ink and restrained gold. */
[data-theme="light"] {
    --light-canvas: #f2f5e9;
    --light-canvas-deep: #e9eedc;
    --light-surface: #fffefa;
    --light-surface-soft: #f7f8f0;
    --light-ink: #1f211c;
    --light-muted: #62675c;
    --light-line: rgba(44, 48, 39, 0.14);
    --light-line-strong: rgba(155, 112, 35, 0.38);
    --light-gold: #a97824;
    --light-gold-strong: #8c611b;
    --light-shadow: 0 16px 44px rgba(35, 40, 29, 0.08);
    --bg-primary: var(--light-canvas);
    --bg-surface: var(--light-surface);
    --bg-elevated: var(--light-surface);
    --bg-stone-soft: var(--light-surface-soft);
    --text-primary: var(--light-ink);
    --text-secondary: var(--light-muted);
    --text-muted: #74796e;
    --border-default: var(--light-line);
    --accent-gold: var(--light-gold);
}

[data-theme="light"] body,
[data-theme="light"] .fargah-viewer-stage {
    color: var(--light-ink);
    background: #e7ebdc;
}

[data-theme="light"] .fargah-viewer__device {
    border-color: rgba(41, 45, 37, 0.18);
    background: #eef1e6;
    box-shadow: 0 22px 70px rgba(32, 37, 27, 0.12);
}

[data-theme="light"] .fargah-viewer__device::before,
[data-theme="light"] .fargah-viewer__device::after {
    opacity: 0.18;
}

[data-theme="light"] .fargah-viewer__screen {
    color: var(--light-ink);
    background-color: var(--light-canvas);
    background-image:
        linear-gradient(rgba(89, 94, 77, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(89, 94, 77, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 10% 12%, rgba(174, 185, 133, 0.20), transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(193, 151, 75, 0.10), transparent 28%);
    background-size: 52px 52px, 52px 52px, auto, auto;
}

[data-theme="light"] .home-page__canvas,
[data-theme="light"] .home-secondary,
[data-theme="light"] .section-padding,
[data-theme="light"] .bg-stone-soft {
    color: var(--light-ink);
    background-color: transparent;
}

/* Header: black by default, gold only on intent or current page. */
[data-theme="light"] .fargah-viewer__screen .fargah-header,
[data-theme="light"] .fargah-viewer__screen .fargah-header--overlay,
[data-theme="light"] .home-page--motion .fargah-header--overlay {
    color: var(--light-ink);
    border-bottom: 1px solid var(--light-line);
    background: rgba(255, 254, 250, 0.94);
    box-shadow: 0 8px 28px rgba(32, 36, 27, 0.07);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

[data-theme="light"] .fargah-nav > li > a,
[data-theme="light"] .fargah-nav__dropdown-trigger,
[data-theme="light"] .fargah-nav__item--quick > a,
[data-theme="light"] .fargah-nav__item--cta > a,
[data-theme="light"] .home-page--motion .fargah-header--overlay .fargah-nav > li > a {
    color: var(--light-ink) !important;
    text-shadow: none;
}

[data-theme="light"] .fargah-nav > li > a:hover,
[data-theme="light"] .fargah-nav > li > a:focus-visible,
[data-theme="light"] .fargah-nav > li > a.active,
[data-theme="light"] .fargah-nav__dropdown-trigger:hover,
[data-theme="light"] .fargah-nav__dropdown-trigger:focus-visible,
[data-theme="light"] .fargah-nav__dropdown-trigger.active,
[data-theme="light"] .fargah-nav__item--quick > a:hover,
[data-theme="light"] .fargah-nav__item--quick > a.active,
[data-theme="light"] .fargah-nav__item--cta > a:hover,
[data-theme="light"] .fargah-nav__item--cta > a.active,
[data-theme="light"] .home-page--motion .fargah-header--overlay .fargah-nav > li > a:hover,
[data-theme="light"] .home-page--motion .fargah-header--overlay .fargah-nav > li > a.active {
    color: var(--light-gold-strong) !important;
}

[data-theme="light"] .fargah-nav__dropdown,
[data-theme="light"] .fargah-mobile-nav-panel,
[data-theme="light"] .header-search-panel {
    color: var(--light-ink);
    border-color: var(--light-line-strong);
    background: rgba(255, 254, 250, 0.98);
    box-shadow: var(--light-shadow);
}

[data-theme="light"] .fargah-nav__dropdown a,
[data-theme="light"] .fargah-mobile-nav a {
    color: var(--light-ink);
}

[data-theme="light"] .fargah-nav__dropdown a:hover,
[data-theme="light"] .fargah-mobile-nav a:hover,
[data-theme="light"] .fargah-mobile-nav a.active {
    color: var(--light-gold-strong);
    background: #f2f4e9;
}

[data-theme="light"] .header-icon-btn,
[data-theme="light"] .language-switcher__button,
[data-theme="light"] .mobile-menu-toggle {
    color: var(--light-ink);
    border-color: var(--light-line);
    background: rgba(255, 255, 252, 0.78);
}

/* Content hierarchy and reusable surfaces. */
[data-theme="light"] main .section-title,
[data-theme="light"] main .sanjab-form-section__title,
[data-theme="light"] main .goldrush-locations__title,
[data-theme="light"] main .catalog-live-section__copy h2 {
    color: var(--light-ink);
}

[data-theme="light"] main .section-subtitle,
[data-theme="light"] main .sanjab-form-section__subtitle,
[data-theme="light"] main .goldrush-locations__subtitle,
[data-theme="light"] main .catalog-live-section__copy p {
    color: var(--light-muted);
}

[data-theme="light"] .trust-strip__panel,
[data-theme="light"] .catalog-live-section__inner,
[data-theme="light"] .sanjab-form-section__grid,
[data-theme="light"] .goldrush-locations__panel,
[data-theme="light"] .goldrush-locations__map-frame,
[data-theme="light"] .editorial-card,
[data-theme="light"] .catalog-product-card,
[data-theme="light"] .product-inquiry-card {
    color: var(--light-ink);
    border: 1px solid var(--light-line);
    background: rgba(255, 254, 250, 0.92);
    box-shadow: var(--light-shadow);
}

[data-theme="light"] .trust-strip__panel {
    overflow: hidden;
    border-color: var(--light-line-strong);
    background: rgba(255, 254, 250, 0.94);
}

[data-theme="light"] .home-page--motion .trust-strip__panel.motion-panel {
    border-color: var(--light-line-strong) !important;
    background: rgba(255, 254, 250, 0.96) !important;
    box-shadow: var(--light-shadow) !important;
}

[data-theme="light"] .trust-strip__item {
    color: var(--light-ink);
    border-color: var(--light-line);
}

[data-theme="light"] .trust-strip__title,
[data-theme="light"] .editorial-card__title,
[data-theme="light"] .catalog-product-card__title-link,
[data-theme="light"] .product-inquiry-card__category {
    color: var(--light-ink);
}

[data-theme="light"] .home-page--motion .trust-strip__title {
    color: var(--light-ink) !important;
}

[data-theme="light"] .trust-strip__desc,
[data-theme="light"] .editorial-card__meta,
[data-theme="light"] .catalog-product-card__material {
    color: var(--light-muted);
}

[data-theme="light"] .home-page--motion .trust-strip__desc {
    color: var(--light-muted) !important;
}

[data-theme="light"] .motion-icon-glow,
[data-theme="light"] .trust-strip .motion-stat {
    color: var(--light-gold-strong);
    border-color: rgba(169, 120, 36, 0.34);
    background: #f3eddd;
    box-shadow: none;
}

[data-theme="light"] .project-showroom {
    color: var(--light-ink);
    border-block: 1px solid var(--light-line);
    background: rgba(248, 250, 242, 0.74);
}

[data-theme="light"] .project-showroom__intro h1,
[data-theme="light"] .project-showroom__intro h2,
[data-theme="light"] .project-showroom__counter {
    color: var(--light-ink);
}

[data-theme="light"] .project-showroom__intro p,
[data-theme="light"] .project-showroom__status,
[data-theme="light"] .project-showroom__hint {
    color: var(--light-muted);
}

[data-theme="light"] .catalog-live-section,
[data-theme="light"] .sanjab-form-section,
[data-theme="light"] .goldrush-locations {
    color: var(--light-ink);
    background: transparent;
}

[data-theme="light"] .catalog-live-section__cover {
    color: #2b281f;
    border-color: rgba(169, 120, 36, 0.28);
    background: #f7f0df;
}

[data-theme="light"] .sanjab-form-section__form,
[data-theme="light"] .design-order-reference {
    color: var(--light-ink);
    border-color: var(--light-line);
    background: var(--light-surface);
}

[data-theme="light"] .sanjab-form__label,
[data-theme="light"] .sanjab-form__checkbox-text,
[data-theme="light"] .design-order-reference__body,
[data-theme="light"] .design-order-reference__body h3 {
    color: var(--light-ink);
}

[data-theme="light"] .sanjab-form__input,
[data-theme="light"] .sanjab-form__select,
[data-theme="light"] .sanjab-form__textarea,
[data-theme="light"] .form-control {
    color: var(--light-ink);
    border-color: rgba(54, 58, 48, 0.22);
    background: #fffefa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .sanjab-form__input::placeholder,
[data-theme="light"] .sanjab-form__textarea::placeholder,
[data-theme="light"] .form-control::placeholder {
    color: #85897f;
}

[data-theme="light"] .sanjab-form__input:focus,
[data-theme="light"] .sanjab-form__select:focus,
[data-theme="light"] .sanjab-form__textarea:focus,
[data-theme="light"] .form-control:focus {
    color: var(--light-ink);
    border-color: var(--light-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(169, 120, 36, 0.14);
}

[data-theme="light"] .sanjab-form__select option,
[data-theme="light"] select option {
    color: #20211d;
    background: #fffefa;
}

[data-theme="light"] .goldrush-locations__item {
    color: var(--light-ink);
    border-color: var(--light-line);
    background: transparent;
}

[data-theme="light"] .goldrush-locations__item:hover,
[data-theme="light"] .goldrush-locations__item.is-active {
    color: var(--light-ink);
    background: #f0f3e6;
}

[data-theme="light"] .goldrush-locations__address,
[data-theme="light"] .goldrush-locations__hours {
    color: var(--light-muted);
}

[data-theme="light"] .final-cta-section {
    border-top: 1px solid var(--light-line);
    background: rgba(255, 254, 250, 0.82);
}

[data-theme="light"] .final-cta-section .section-title,
[data-theme="light"] .final-cta-section .text-white {
    color: var(--light-ink) !important;
}

[data-theme="light"] .home-page--motion .final-cta-section .section-title,
[data-theme="light"] .home-page--motion .final-cta-section h2 {
    color: var(--light-ink) !important;
    text-shadow: none;
}

[data-theme="light"] .final-cta-section .section-subtitle {
    color: var(--light-muted);
}

[data-theme="light"] .home-page--motion .final-cta-section .section-subtitle,
[data-theme="light"] .home-page--motion .final-cta-section p {
    color: var(--light-muted) !important;
}

[data-theme="light"] .btn-fargah--primary,
[data-theme="light"] .sanjab-form__submit {
    color: #18170f;
    border-color: #b8862f;
    background: #dcb456;
    box-shadow: 0 8px 22px rgba(169, 120, 36, 0.20);
}

[data-theme="light"] .btn-fargah--primary:hover,
[data-theme="light"] .sanjab-form__submit:hover {
    color: #11120e;
    border-color: #9c6e20;
    background: #e4bf67;
    transform: translateY(-1px);
}

[data-theme="light"] .btn-fargah--outline,
[data-theme="light"] .btn-fargah--outline-light {
    color: var(--light-ink);
    border-color: rgba(43, 47, 38, 0.36);
    background: rgba(255, 255, 252, 0.60);
}

[data-theme="light"] .btn-fargah--outline:hover,
[data-theme="light"] .btn-fargah--outline-light:hover {
    color: var(--light-gold-strong);
    border-color: var(--light-gold);
    background: #fffefa;
}

[data-theme="light"] :focus-visible {
    outline: 3px solid rgba(169, 120, 36, 0.72);
    outline-offset: 3px;
}

/* Preserve the cinematic hero's intended white-on-image hierarchy. */
[data-theme="light"] .studio-hero-combined,
[data-theme="light"] .studio-hero-combined .studio-hero__title,
[data-theme="light"] .studio-hero-combined .studio-hero-combined__eyebrow,
[data-theme="light"] .studio-hero-combined .studio-hero__desc,
[data-theme="light"] .studio-hero-combined .studio-hero__link {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    [data-theme="light"] *,
    [data-theme="light"] *::before,
    [data-theme="light"] *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
