/* Preserve the existing olive/gold identity and the original section styling. */
html:has(body.home-current), body.home-current { scrollbar-width: none; scrollbar-gutter: auto; }
html:has(body.home-current)::-webkit-scrollbar, body.home-current::-webkit-scrollbar { display: none; width: 0; height: 0; }
.home-current { --home-hero-bg: var(--olive-950, #20291a); --home-hero-ink: #fff; --home-hero-muted: #f2f3ee; --home-veil-clear: rgba(20,30,23,.02); --home-veil-mid: rgba(20,30,23,.28); --home-veil-text: rgba(20,30,23,.62); --home-veil-direction: 90deg; --home-text-shadow: 0 1px 3px rgba(9,17,11,.8); }
html[data-theme="light"] .home-current { --home-hero-bg: #f7f4ec; --home-hero-ink: #27331f; --home-hero-muted: #172111; --home-veil-clear: rgba(239,239,233,0); --home-veil-mid: rgba(239,239,233,.16); --home-veil-text: rgba(239,239,233,.4); --home-text-shadow: 0 1px 2px #f4f4ee, 0 0 6px rgba(244,244,238,.9); }
html[dir="ltr"] .home-current { --home-veil-direction: 270deg; }
html[data-theme] .home-current .home-studio-hero { background: var(--home-hero-bg) !important; color: var(--home-hero-ink) !important; min-height: calc(100vh + 1px) !important; min-height: calc(100dvh + 1px) !important; isolation: isolate; }
.home-current .home-room-stage { pointer-events: none; opacity: 1; background: none; }
.home-current .home-opening-frame, .home-current .home-opening-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-current .home-studio-hero[data-scene="ready"] .home-opening-frame { visibility: hidden; }
.home-current .home-room-stage > canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.home-current #homeStudioCanvas { visibility: hidden; }
.home-current .home-room-stage > .designer-webgl-overlay { z-index: 0; visibility: hidden; }
html[data-theme] .home-current .home-studio-hero[data-scene="ready"] .home-room-stage { background-image: none !important; }
.home-current .home-studio-hero[data-scene="ready"] .designer-webgl-overlay { visibility: visible; }
.home-current .home-studio-hero .hero-scrim { background: linear-gradient(var(--home-veil-direction), var(--home-veil-clear) 0%, var(--home-veil-mid) 48%, var(--home-veil-text) 84%); pointer-events: none; }
.home-current .home-studio-hero .home-v2-hero-content { min-height: 0 !important; padding-top: calc(var(--site-header-height, 80px) + 54px) !important; padding-bottom: 80px !important; width: min(1180px, calc(100% - 40px)); }
html[data-theme] .home-current .home-studio-hero :is(h1,.eyebrow,.hero-brand-lockup span,.home-v2-trust-row) { color: var(--home-hero-ink) !important; text-shadow: var(--home-text-shadow); }
html[data-theme] .home-current .home-studio-hero h1 { font-size: 48px !important; line-height: 1.4 !important; letter-spacing: 0 !important; max-width: 740px !important; }
html[data-theme] .home-current .home-studio-hero .hero-copy { font-size: 18px !important; line-height: 1.9 !important; color: var(--home-hero-muted) !important; max-width: 680px !important; margin-top: 16px !important; text-shadow: var(--home-text-shadow); }
.home-current .home-studio-hero .home-v2-kicker { color: #f2dfae; }
html[data-theme="light"] .home-current .home-studio-hero .home-v2-kicker { color: #5f4a16; background: rgba(217,184,111,.14); }
html[data-theme="light"] .home-current .home-studio-hero .secondary-action { color: #27331f !important; border-color: #a79b79 !important; background: rgba(255,253,248,.8); }
html[data-theme="light"] .home-current .home-studio-hero .home-v2-trust-row span { background: rgba(255,253,248,.72); border-color: #c8bea9; }
.home-current :is(.home-v2-section-head h2,.home-v2-experience-copy h2) { font-size: 32px; line-height: 1.5; letter-spacing: 0; }
.home-current .home-v2-service-copy h3 { font-size: 24px; line-height: 1.5; }
html[data-theme] .home-current :is(.home-v2-command-card.is-primary,.home-v2-service-card.is-live) :is(strong,h3) { color: #fff !important; }
html[data-theme] .home-current :is(.home-v2-command-card.is-primary small,.home-v2-service-card.is-live p) { color: #e0e3d9 !important; }
.home-guide-section { padding: clamp(56px, 8vw, 104px) 16px; background: var(--theme-surface-2, #f7f4ec); color: var(--theme-text, #27331f); border-bottom: 1px solid var(--theme-border, #ded7c8); scroll-margin-top: calc(var(--site-header-height, 80px) + 20px); }
.home-guide-section .home-v2-section-head h2 { font-size: 32px; line-height: 1.5; color: var(--theme-text, #27331f); letter-spacing: 0; }
.home-guide-section .home-v2-section-head > p { color: var(--theme-text-soft, #6d7468); }
.home-guide-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); grid-template-areas: "guide intro"; align-items: center; gap: clamp(28px, 4vw, 56px); direction: ltr; }
.home-guide-section .site-guide { max-width: none; align-self: center; }
.home-guide-section .site-guide-panel { border-radius: 20px; }
.home-guide-intro { grid-area: intro; min-width: 0; direction: rtl; }
html[dir="ltr"] .home-guide-intro { direction: ltr; }
.home-guide-intro h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.6; color: var(--theme-text, #27331f); }
.home-guide-intro > p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--theme-text-soft, #6d7468); }
.home-guide-topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0; padding: 0; }
.home-guide-topics li { padding: 7px 11px; border: 1px solid var(--theme-border, #ded7c8); border-radius: 999px; background: var(--theme-surface-3, #eee7d6); color: var(--theme-text, #27331f); font-size: 13px; line-height: 1.6; }
.home-guide-intro .home-guide-hint { font-size: 14px; }
@media (max-width: 900px) {
    .home-guide-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "guide" "intro"; gap: 24px; }
    .home-guide-section .home-v2-section-head h2 { font-size: 26px; }
}
@media (max-width: 760px) {
    .home-current { --home-veil-clear: rgba(20,30,23,.02); --home-veil-mid: rgba(20,30,23,.2); --home-veil-text: rgba(20,30,23,.52); }
    html[data-theme="light"] .home-current { --home-veil-clear: rgba(239,239,233,0); --home-veil-mid: rgba(239,239,233,.1); --home-veil-text: rgba(239,239,233,.28); }
    html[data-theme] .home-current .home-studio-hero { align-items: start; }
    .home-current .home-studio-hero .hero-scrim { background: linear-gradient(180deg, var(--home-veil-mid) 0%, var(--home-veil-text) 28%, var(--home-veil-mid) 64%, var(--home-veil-clear) 100%); }
    .home-current .home-v2-command-section { padding-top: 24px; }
    .home-current .home-studio-hero .home-v2-hero-content { padding-top: calc(var(--site-header-height, 80px) + 22px) !important; padding-bottom: 24px !important; }
    html[data-theme] .home-current .home-studio-hero h1 { font-size: 32px !important; }
    html[data-theme] .home-current .home-studio-hero .hero-copy { font-size: 16px !important; line-height: 1.8 !important; }
    .home-current .home-studio-hero .home-v2-kicker { font-size: 12px !important; }
    .home-current .home-studio-hero .home-v2-trust-row span { font-size: 12px !important; }
    .home-current :is(.home-v2-section-head h2,.home-v2-experience-copy h2) { font-size: 26px; }
}
@media (max-width: 360px) {
    html[data-theme] .home-current .home-studio-hero h1 { font-size: 28px !important; }
    .home-current .home-studio-hero .hero-actions a { font-size: 13px; padding-inline: 12px; }
}

/* Mobile: a clear showroom preview followed by an uncluttered introduction. */
@media (max-width: 760px) {
    .home-current { --home-preview-height: clamp(240px, 35svh, 320px); --home-text-shadow: none; }
    html[data-theme] .home-current .home-studio-hero { display: flex; align-items: stretch; }
    .home-current .home-studio-hero .home-room-stage { top: var(--site-header-height, 80px); bottom: auto; height: var(--home-preview-height); border-bottom: 1px solid var(--theme-border, #b9ae8e55); }
    .home-current .home-studio-hero .home-opening-frame img { object-position: center 68%; }
    .home-current .home-studio-hero .hero-scrim { display: none; }
    .home-current .home-studio-hero .home-v2-hero-content { width: calc(100% - 40px); min-height: calc(100svh + 1px) !important; padding-top: calc(var(--site-header-height, 80px) + var(--home-preview-height) + 22px) !important; padding-bottom: 24px !important; justify-content: flex-start !important; }
    .home-current .home-studio-hero .home-v2-brand-lockup { display: none; }
    .home-current .home-studio-hero .home-market-line { align-self: flex-start; margin-bottom: 12px !important; font-size: 11px !important; line-height: 1.5; }
    html[data-theme] .home-current .home-studio-hero h1 { font-size: 28px !important; line-height: 1.35 !important; margin-bottom: 0 !important; text-wrap: balance; }
    html[data-theme] .home-current .home-studio-hero .hero-copy { margin-top: 14px !important; font-size: 15px !important; line-height: 1.8 !important; }
    .home-current .home-studio-hero .hero-actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); width: 100%; gap: 10px; margin-top: 0 !important; padding-top: 20px; }
    .home-current .home-studio-hero .hero-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px !important; padding: 9px 10px !important; font-size: 13px; line-height: 1.5; border-radius: 12px; text-align: center; }
    .home-current .home-studio-hero .home-v2-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 18px !important; }
    html[data-theme] .home-current .home-studio-hero .home-v2-trust-row span { display: grid; place-items: center; min-height: 54px; padding: 8px 5px !important; border-radius: 12px; font-size: 10px !important; line-height: 1.6; background: var(--theme-surface-2, #eee9db); color: var(--theme-text, #27331f) !important; border-color: var(--theme-border, #d3c9b3); backdrop-filter: none; }
}
