:root {
  --page-gutter: clamp(24px, 6vw, 96px);
  --section-space: clamp(80px, 10vw, 156px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--english-ui); }
[dir=rtl] body { font-family: var(--arabic-ui); }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--english-display); font-weight: 400; margin: 0; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { font-family: var(--arabic-display); letter-spacing: 0; }
h1, h2 { text-wrap: balance; white-space: pre-line; }
p { margin: 0; line-height: 1.9; }
.eyebrow { font-size: 12px; line-height: 1.8; letter-spacing: 1.7px; font-weight: 500; }
[dir=rtl] .eyebrow { letter-spacing: 0; }
.button { transition: background .25s, color .25s; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; border: 1px solid var(--wine); font-size: 15px; line-height: 1.6; }
.primary { background: var(--wine); color: var(--brand-cream); }
.primary:hover { background: var(--brand-deep-wine); }
button:disabled { opacity: .45; cursor: default; }
label { display: block; margin: 20px 0 8px; font-size: 14px; }
select { width: 100%; min-height: 48px; padding: 10px 13px; background: var(--paper); color: var(--ink); border: 1px solid var(--control-line); border-radius: 0; font-size: 16px; }

/* The signature stays centered; the house controls stay within their columns. */
.atelier-header { position: relative; z-index: 20; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; min-height: 104px; padding: 18px var(--page-gutter); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.atelier-header .wordmark { justify-self: center; text-align: center; }
.wordmark { display: block; font-family: Georgia, serif; white-space: nowrap; }
.wordmark .arabic-mark { display: block; font: 44px/1.2 var(--arabic-display); }
.wordmark .latin-mark { display: block; margin-top: 3px; font: 12px/1.5 var(--english-ui); letter-spacing: 2.4px; }
.house-menu-button { justify-self: start; display: inline-flex; align-items: center; gap: 14px; border: 0; background: none; color: inherit; min-height: 44px; padding: 8px 0; font-size: 14px; }
.menu-lines { display: block; width: 22px; height: 9px; border-block: 1px solid currentColor; }
.bag-word { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; min-width: 0; }
.header-actions button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; font-size: 14px; white-space: nowrap; }
.bag-icon { flex-shrink: 0; }
#bagCount { min-width: 18px; text-align: center; font: 11px/1.7 var(--english-ui); }
.scene-outside .atelier-header, .scene-rooms .atelier-header { position: absolute; inset: 0 0 auto; color: var(--brand-cream); border: 0; background: linear-gradient(#110c0dbc, #110c0d55 70%, transparent); padding-bottom: 30px; }

/* Existing photographs and hinged doors remain the architecture of the house. */
main { position: relative; z-index: 1; }
.hero, .rooms { position: relative; min-height: 760px; height: 100svh; isolation: isolate; overflow: hidden; color: var(--brand-cream); }
.rooms { background: var(--brand-sable); }
.hero-photo, .courtyard { position: absolute; inset: 0; overflow: hidden; }
.hero-photo { z-index: -2; background: var(--brand-sable); }
.hero-photo img, .courtyard-image { width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none; }
.hero::after, .rooms::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(#110c0d20, transparent 30%, transparent 62%, #110c0db0); }
.hero-copy { position: absolute; inset-inline-start: var(--page-gutter); bottom: 150px; width: min(28%, 390px); z-index: 4; pointer-events: none; text-shadow: 0 2px 16px var(--brand-sable); }
.hero-copy::before { content: ''; position: absolute; inset: -44px -40px; z-index: -1; background: radial-gradient(ellipse, #110c0dbf, #110c0d60 55%, transparent 75%); }
.hero-copy .eyebrow { color: var(--brand-light-pink); font-size: 12px; }
.hero h1 { margin: 12px 0 16px; font-size: clamp(46px, 4.3vw, 68px); line-height: 1.12; }
[dir=rtl] .hero h1 { font-size: clamp(40px, 3.8vw, 58px); line-height: 1.45; }
.hero-copy p { font-size: 16px; line-height: 1.85; color: var(--brand-cream); max-width: 30ch; }
.hero-bottom { position: absolute; bottom: 32px; inset-inline: var(--page-gutter); z-index: 4; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 1.8; color: var(--brand-cream); pointer-events: none; }
.hero-bottom > span:last-child { display: none; }
.scroll-discover { position: absolute; bottom: 72px; inset-inline-start: var(--page-gutter); z-index: 5; display: inline-flex; gap: 14px; align-items: center; min-height: 44px; font-size: 14px; color: var(--brand-cream); }
.scroll-discover i { display: block; width: 1px; height: 24px; background: var(--brand-dusty-coral); }
.door-hit, .room-door { position: absolute; z-index: 3; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; clip-path: ellipse(75% 70% at 50% 68%); }
.door-hit:hover, .room-door:hover, .room-door.is-highlighted { background: transparent; border: 0; box-shadow: none; }
/* Reflected light follows the two rose-gold diamond handles in the photograph.
   Coordinates are local to the projected door, shared by WebGL and fallback. */
#frontDoor { --handle-light: .28; }
#frontDoor::before, #frontDoor::after {
  content: ''; position: absolute; top: 65.1%; left: 26.7%; width: 12%; height: 10%;
  transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 28%, #fff7e2b3 0%, #f7aca459 8%, transparent 29%), radial-gradient(ellipse at 50% 62%, #d1766b45 0%, transparent 65%);
  opacity: var(--handle-light); transition: opacity .45s ease;
  animation: handle-reflection 1.4s ease-in-out 1.2s 3;
}
#frontDoor::after { left: 75.1%; }
@keyframes handle-reflection { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(2.8); } }
@media (hover: hover) and (pointer: fine) { #frontDoor:hover { --handle-light: .8; } }
#frontDoor:focus-visible { --handle-light: .8; }
.spatial-travelling #frontDoor::before, .spatial-travelling #frontDoor::after,
.quiet-changing #frontDoor::before, .quiet-changing #frontDoor::after {
  opacity: 0; animation: none; transition: none;
}
.foyer-heading { position: absolute; top: 116px; inset-inline: 8%; z-index: 4; text-align: center; pointer-events: none; }
.foyer-heading .eyebrow, .foyer-heading p { display: none; }
.foyer-heading h2 { margin: 0; font-size: 32px; line-height: 1.35; }
[dir=rtl] .foyer-heading h2 { font-size: 30px; line-height: 1.6; }
.room-index { position: absolute; inset: 0; z-index: 4; pointer-events: none; direction: ltr; }
.room-index button { position: absolute; left: var(--label-x,50%); top: var(--label-y,75%); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; width: clamp(180px,25vw,310px); min-height: 44px; margin: 0; padding: 8px 2px; border: 0; background: transparent; color: var(--brand-cream); text-align: center; pointer-events: auto; text-shadow: 0 2px 10px var(--brand-sable); }
[dir=rtl] .room-index button { direction: rtl; }
.room-index strong { font-family: var(--english-display); font-size: 30px; line-height: 1.25; font-weight: 400; text-wrap: balance; }
[dir=rtl] .room-index strong { font-family: var(--arabic-display); font-size: 30px; line-height: 1.5; }
.room-index .index-description { font-size: 14px; opacity: .85; line-height: 1.7; color: var(--brand-cream); }
.room-index button:hover strong, .room-index button.is-highlighted strong { color: var(--brand-light-pink); }
.foyer-bottom { position: absolute; bottom: 24px; inset-inline: var(--page-gutter); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.text-button { border: 0; background: transparent; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 1.8; color: var(--brand-cream); }
.text-button:hover { text-decoration: underline; text-underline-offset: 6px; }
#spatialStage { display: none; position: absolute; inset: 0 0 auto; z-index: 0; background: var(--brand-sable); pointer-events: none; }
#spatialStage canvas { display: block; width: 100%; height: 100%; }
.spatial-ready #spatialStage { display: block; }
.spatial-ready body:not(.scene-outside):not(.scene-rooms) #spatialStage { display: none; }
.spatial-ready .hero-photo, .spatial-ready .courtyard-image { visibility: hidden; }
.spatial-ready .rooms { background: transparent; }
#sceneVeil { position: fixed; inset: 0; z-index: 40; background: var(--brand-deep-wine); opacity: 0; pointer-events: none; }
.spatial-travelling #sceneVeil { pointer-events: auto; }
.spatial-travelling .hero-copy, .spatial-travelling .hero-bottom, .spatial-travelling .atelier-header, .spatial-travelling .foyer-heading, .spatial-travelling .foyer-bottom, .spatial-travelling .room-index, .spatial-travelling .scroll-discover { opacity: 0; transition: opacity .2s; }
.quiet-changing main { opacity: .4; transition: opacity .2s; }

/* The story below the entrance uses one rhythm and generous reading space. */
.home-editorial { position: relative; z-index: 6; background: var(--paper); }
.brand-intro, .home-collections, .home-edit, .house-faq { max-width: 1600px; margin-inline: auto; padding: var(--section-space) var(--page-gutter); }
.editorial-kicker { display: flex; align-items: center; gap: 18px; color: var(--brand-burgundy); font-size: 12px; line-height: 1.8; letter-spacing: 1.4px; }
[dir=rtl] .editorial-kicker { letter-spacing: 0; }
.editorial-kicker > span:first-child { display: none; }
.brand-intro { text-align: center; }
.brand-intro .editorial-kicker { justify-content: center; }
.brand-intro .intro-prose { max-width: 660px; margin-inline: auto; }
.brand-intro .intro-prose p { margin-inline: auto; }
.brand-intro .intro-prose .intro-lead { font-size: 18px; }
.intro-layout { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 28px; margin-top: 28px; }
.home-editorial h2 { font-size: clamp(46px,5vw,76px); line-height: 1.08; }
[dir=rtl] .home-editorial h2 { font-size: clamp(36px,4vw,58px); line-height: 1.5; }
.intro-prose p, .meaning-copy p { max-width: 58ch; font-size: 16px; line-height: 2; color: var(--muted); margin: 0 0 22px; }
.intro-prose .intro-lead { font-size: 20px; line-height: 1.9; color: var(--ink); }
.editorial-link, .story-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid; border-color: currentColor; padding: 8px 0; font-size: 14px; line-height: 1.8; }
.editorial-link:hover, .story-link:hover { opacity: .75; }
.brand-meaning { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: stretch; background: var(--wine-deep); color: var(--brand-cream); }
.meaning-image { position: relative; margin: 0; min-height: 650px; overflow: hidden; }
.meaning-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center; }
.meaning-image::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#110c0d90); pointer-events: none; }
.meaning-image figcaption { position: absolute; bottom: 28px; inset-inline: 30px; z-index: 1; color: var(--brand-cream); font-size: 12px; letter-spacing: 1.5px; }
[dir=rtl] .meaning-image figcaption { letter-spacing: 0; }
.meaning-copy { align-self: center; padding: 72px clamp(32px,6vw,100px); }
.meaning-copy .editorial-kicker { color: var(--brand-light-pink); }
.meaning-copy p { color: var(--surface); }
.meaning-copy h2 { margin: 24px 0; }
.brand-notes { margin-top: 34px; border-top: 1px solid #d1766b44; }
.brand-notes > div { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d1766b44; }
.brand-notes span, .feature-caption > span { display: none; color: var(--wine); font: 12px/1.5 var(--english-ui); }
.brand-notes h3 { font: 16px/1.8 var(--english-ui); }
[dir=rtl] .brand-notes h3 { font-family: var(--arabic-ui); }
.editorial-section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 42px; }
.editorial-section-head h2 { margin-top: 14px; }
.collection-features { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,7vw,112px); }
.collection-feature:nth-child(2) { margin-top: 90px; }
.home-edit { border-bottom: 1px solid var(--line); }
.products.home-edit-grid { grid-template-columns: minmax(0,1.25fr) minmax(0,.88fr) minmax(0,.88fr); gap: clamp(24px,3vw,48px); }
.home-edit-grid > .product-card:nth-child(2) { margin-top: 70px; }
.home-edit-grid > .product-card:nth-child(3) { margin-top: 140px; }
.home-edit-empty { grid-column: 1/-1; padding: 40px; background: var(--surface); }
.home-edit-empty h3 { font-size: 32px; margin-bottom: 14px; }
[dir=rtl] .home-edit-empty h3 { font-size: 26px; }
.home-edit-empty p { max-width: 60ch; color: var(--muted); margin-bottom: 16px; }
.feature-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--image-surface); }
.feature-room-sign { position: absolute; inset: 0; display: grid; place-items: center; color: var(--wine); font: 80px/1 var(--english-display); }
.feature-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: filter .25s; }
.feature-caption { display: flex; align-items: baseline; gap: 18px; margin-top: 20px; }
.feature-caption h3 { font-size: 32px; line-height: 1.35; }
[dir=rtl] .feature-caption h3 { font-size: 30px; line-height: 1.5; }
.feature-caption p { margin-top: 3px; color: var(--muted); font-size: 14px; }
.editorial-sample { margin-top: 30px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.wardrobe-tour { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); background: var(--surface); }
.wardrobe-tour-visual { position: relative; align-self: center; margin: clamp(40px,6vw,96px) 0; }
.wardrobe-tour-visual > img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; }
.wardrobe-tour-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(24px,4vw,64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: 1px; }
[dir=rtl] .wardrobe-tour-caption { letter-spacing: 0; }
.wardrobe-tour-caption > span:last-child { white-space: nowrap; font: 22px/1.6 var(--arabic-ui); color: var(--wine); }
.wardrobe-tour-copy { padding: clamp(48px,6vw,96px) var(--page-gutter) clamp(48px,6vw,96px) clamp(28px,4vw,64px); }
[dir=rtl] .wardrobe-tour-copy { padding-inline: clamp(28px,4vw,64px) var(--page-gutter); }
.wardrobe-tour-copy h2 { margin: 20px 0; }
.wardrobe-tour-copy > p { color: var(--muted); font-size: 16px; }
.wardrobe-tour-steps { list-style: none; counter-reset: wardrobe-step; padding: 0; margin: 28px 0; }
.wardrobe-tour-steps li { position: relative; padding: 18px 0 18px 42px; border-top: 1px solid var(--line); counter-increment: wardrobe-step; }
[dir=rtl] .wardrobe-tour-steps li { padding-inline: 42px 0; }
.wardrobe-tour-steps li::before { content: '0' counter(wardrobe-step); position: absolute; inset-inline-start: 0; top: 22px; color: var(--wine); font: 11px/1.5 var(--english-ui); }
.wardrobe-tour-steps h3 { font: 500 16px/1.8 var(--english-ui); margin-bottom: 4px; }
[dir=rtl] .wardrobe-tour-steps h3 { font-family: var(--arabic-ui); }
.wardrobe-tour-steps p { font-size: 16px; line-height: 1.9; color: var(--muted); }
.wardrobe-tour-copy .wardrobe-tour-note { font-size: 12px; line-height: 1.9; margin-top: 18px; }
.house-faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(40px,7vw,110px); }
.faq-intro h2 { margin: 20px 0; }
.faq-intro p { font-size: 16px; color: var(--muted); max-width: 34ch; margin-bottom: 16px; }
.faq-list { min-width: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 20px 0; list-style: none; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 24px/1 var(--english-ui); color: var(--wine); flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 32px 24px 0; font-size: 16px; color: var(--muted); line-height: 2; }
[dir=rtl] .faq-list details p { padding-inline: 0 32px; }
.faq-list summary:hover { color: var(--wine); }
.home-invitation { position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--section-space) var(--page-gutter); background: var(--wine); color: var(--brand-cream); text-align: center; }
.home-invitation .editorial-kicker { color: var(--brand-light-pink); }
.home-invitation h2 { margin: 22px 0; }
.back-to-entrance { min-height: 44px; margin-top: 16px; padding: 10px 0; font-size: 14px; color: var(--brand-cream); }

/* Clothes have a full, consistent portrait rather than competing frames. */
.collection { max-width: 1600px; margin-inline: auto; padding: 36px var(--page-gutter) var(--section-space); }
.return-foyer { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 30px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--wine); font-size: 14px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.collection h2 { margin: 10px 0 20px; font-size: clamp(38px,4vw,56px); line-height: 1.15; }
[dir=rtl] .collection h2 { font-size: clamp(29px,3vw,42px); line-height: 1.65; }
.collection-number { max-width: 28ch; padding-bottom: 22px; color: var(--muted); font-size: 11px; line-height: 1.9; letter-spacing: 1.3px; }
[dir=rtl] .collection-number { letter-spacing: 0; }
.sample-note { max-width: 75ch; font-size: 13px; line-height: 1.9; color: var(--muted); }
.filters { display: flex; align-items: center; gap: clamp(20px,3vw,42px); margin: 28px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.filters button { min-height: 48px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; line-height: 1.8; }
.filters button.active { color: var(--wine); border-color: var(--wine); }
.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 42px 28px; }
.product-card { min-width: 0; border: 0; background: none; padding: 0; text-align: start; }
.product-image { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--image-surface); }
.product-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: filter .25s; }
.product-image span { position: absolute; top: 14px; bottom: auto; inset-inline-start: 14px; padding: 5px 10px; background: #fff7e2ed; color: var(--wine-deep); font-size: 12px; line-height: 1.6; letter-spacing: .8px; }
[dir=rtl] .product-image span { letter-spacing: 0; }
.product-info { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.product-info > div { min-width: 0; flex: 1 1 140px; }
.product-info h3 { margin: 0 0 4px; font: 16px/1.7 var(--english-ui); overflow-wrap: anywhere; }
[dir=rtl] .product-info h3 { font-family: var(--arabic-ui); font-size: 17px; }
.product-info p { font-size: 13px; color: var(--muted); }
.price { direction: ltr; unicode-bidi: isolate; font-size: 14px; line-height: 1.9; white-space: nowrap; color: var(--wine-deep); }

.house { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 40px clamp(40px,8vw,130px); padding: 40px var(--page-gutter) var(--section-space); background: var(--wine); color: var(--brand-cream); }
.house > .return-foyer { grid-column: 1/-1; justify-self: start; margin-bottom: 0; color: inherit; }
.house-label { display: flex; flex-direction: column; align-items: start; gap: 32px; }
.house-label .eyebrow { color: var(--brand-light-pink); }
.house-seal { width: 160px; height: 190px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--brand-dusty-coral); border-radius: 50%; color: var(--brand-light-pink); font: 42px/1.4 var(--arabic-display); text-align: center; }
.house-story h2 { font-size: clamp(44px,5vw,66px); line-height: 1.12; }
[dir=rtl] .house-story h2 { font-size: clamp(30px,3.5vw,46px); line-height: 1.65; }
.house-story p { max-width: 58ch; margin: 22px 0 26px; color: var(--surface); font-size: 17px; line-height: 2; }
footer { position: relative; z-index: 6; padding: 72px var(--page-gutter) 28px; background: var(--brand-sable); color: var(--brand-cream); }
.footer-main { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,5vw,80px); padding-bottom: 40px; }
.footer-brand .wordmark { display: inline-block; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.footer-links { display: flex; flex-direction: column; align-items: start; }
.footer-links h2 { font: 500 14px/1.8 var(--english-ui); margin-bottom: 12px; color: var(--brand-cream); }
[dir=rtl] .footer-links h2 { font-family: var(--arabic-ui); }
.footer-links a, .footer-links button { border: 0; background: none; min-height: 44px; padding: 8px 0; text-align: start; font-size: 14px; line-height: 1.8; color: var(--surface); }
.footer-links a:hover, .footer-links button:hover { color: var(--brand-cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; border-top: 1px solid #d1766b44; }
.scene-rooms footer { display: none; }
footer .wordmark { font-size: 17px; letter-spacing: 2px; }
footer .wordmark span { display: block; margin-top: 4px; font: 30px/1.7 var(--arabic-display); letter-spacing: 0; text-align: center; }
footer p, footer small { font-size: 14px; line-height: 1.8; color: var(--surface); }

/* A product has one photograph, a clear title, and a calm selection form. */
dialog { border: 0; background: var(--paper); color: var(--ink); padding: 32px; width: min(900px,94vw); max-height: 92dvh; overflow: auto; }
dialog::backdrop { background: #110c0db8; backdrop-filter: blur(4px); }
.close { position: absolute; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--paper); color: var(--wine); font-size: 30px; z-index: 2; }
#productDialog { width: min(1100px,94vw); padding: 54px 40px 40px; }
#productDetail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; align-items: start; }
#productDetail > img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: contain; background: var(--surface); }
#productDetail > div { min-width: 0; }
#productDetail h2 { margin: 12px 0; font-size: 48px; line-height: 1.25; color: var(--wine-deep); overflow-wrap: anywhere; }
[dir=rtl] #productDetail h2 { font-size: 38px; line-height: 1.5; }
#productDetail strong { display: block; font-size: 18px; font-weight: 500; }
#productDetail p { margin: 18px 0; font-size: 16px; line-height: 1.95; white-space: pre-line; }
#productDetail .sample-note { font-size: 13px; margin: 16px 0 0; }
#addButton { width: 100%; margin-top: 22px; }
#toast { position: fixed; bottom: max(24px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 80; max-width: min(560px,90vw); padding: 14px 24px; background: var(--wine-deep); color: var(--brand-cream); font-size: 14px; line-height: 1.8; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }

/* The house guide shares the same type, colors and spacing as the storefront. */
.house-guide { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 28px var(--page-gutter); background: var(--wine-deep); color: var(--brand-cream); }
.house-guide[open] { display: flex; flex-direction: column; }
.guide-top, .guide-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.guide-top { padding-bottom: 20px; border-bottom: 1px solid #f7aca440; }
.guide-brand { font-size: 11px; letter-spacing: 2.5px; color: var(--brand-light-pink); }
.guide-close { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 14px; }
.guide-close > span:last-child { font: 30px/1 Arial, sans-serif; }
.guide-layout { flex: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: center; gap: clamp(40px,8vw,120px); padding: 56px 0; }
.guide-intro .eyebrow { color: var(--brand-light-pink); }
.guide-intro h2 { margin: 20px 0; font-size: 64px; line-height: 1.08; }
[dir=rtl] .guide-intro h2 { font-size: 46px; line-height: 1.65; }
.guide-intro p { max-width: 42ch; font-size: 16px; color: var(--surface); }
.guide-links { display: flex; flex-direction: column; }
.guide-links a { display: flex; align-items: baseline; gap: 24px; min-height: 100px; padding: 24px 0; border-bottom: 1px solid #f7aca440; }
.guide-number { color: var(--brand-light-pink); font: 11px/1.8 var(--english-ui); }
.guide-links strong { display: block; font: 400 35px/1.3 var(--english-display); }
[dir=rtl] .guide-links strong { font-family: var(--arabic-display); font-size: 32px; line-height: 1.7; }
.guide-links small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--surface); }
.guide-links a[aria-current=page] strong { color: var(--brand-light-pink); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.guide-bottom { padding-top: 20px; border-top: 1px solid #f7aca440; font-size: 12px; color: var(--brand-light-pink); }
.guide-bottom > span:last-child { font: 24px/1.7 var(--arabic-ui); }

@media (max-width: 1000px) {
  .hero-copy { width: 32%; }
  .hero h1 { font-size: 42px; }
  [dir=rtl] .hero h1 { font-size: 33px; }
  .collection-number { display: none; }
  .meaning-image { min-height: 600px; }
  .meaning-copy { padding: 48px 32px; }
  .products { gap: 36px 22px; }
}
@media (max-aspect-ratio: 3/2) {
  .courtyard-image { object-fit: contain; }
}
@media (max-width: 899px) {
  .foyer-heading { top: 132px; }
  .room-index button { width: 29vw; max-width: 240px; }
  .room-index strong { font-size: 24px; }
  [dir=rtl] .room-index strong { font-size: 26px; }
  .bag-word { display: none; }
  .header-actions { gap: 16px; }
  .hero-copy { inset-inline: var(--page-gutter); width: auto; bottom: 134px; text-align: center; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy::before { inset: -24px 0; background: radial-gradient(ellipse,#110c0da6,transparent 75%); }
  .hero h1, [dir=rtl] .hero h1 { font-size: 32px; line-height: 1.45; margin: 8px 0; }
  .hero-copy p { max-width: none; font-size: 15px; }
  .hero-bottom > span:last-child { display: none; }
  .scroll-discover { inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; }
  [dir=rtl] .scroll-discover { transform: translateX(50%); }
  .hero-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 740px) {
  .intro-layout { grid-template-columns: 1fr; gap: 26px; }
  .brand-meaning { grid-template-columns: 1fr; }
  .meaning-image { min-height: 0; height: clamp(320px,70vw,480px); }
  .meaning-copy { padding: 48px var(--page-gutter); }
  .wardrobe-tour { grid-template-columns: 1fr; }
  .wardrobe-tour-visual { margin: 32px auto 0; width: 100%; max-width: 660px; }
  .wardrobe-tour-copy, [dir=rtl] .wardrobe-tour-copy { padding: 36px var(--page-gutter) 56px; }
  .house-faq { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .editorial-section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 30px; }
  .house { grid-template-columns: 1fr; gap: 30px; }
  .house-label { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .house-seal { width: 90px; height: 110px; font-size: 25px; flex-shrink: 0; }
  .guide-layout { grid-template-columns: 1fr; align-content: start; gap: 28px; padding: 32px 0; }
  .guide-intro h2, [dir=rtl] .guide-intro h2 { font-size: 34px; line-height: 1.5; margin: 12px 0; }
  .guide-intro p { font-size: 14px; }
  .guide-links a { min-height: 88px; padding: 18px 0; }
  .guide-links strong, [dir=rtl] .guide-links strong { font-size: 25px; }
}
@media (max-width: 650px) {
  :root { --page-gutter: 22px; --section-space: 64px; }
  .atelier-header { min-height: 96px; padding: 16px; gap: 4px; }
  .scene-outside .atelier-header, .scene-rooms .atelier-header { padding-bottom: 26px; }
  .wordmark .arabic-mark { font-size: 30px; }
  .wordmark .latin-mark { font-size: 10px; letter-spacing: 1px; }
  .house-menu-button { width: 44px; min-width: 44px; justify-content: center; padding: 0; }
  .house-menu-button > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .header-actions { gap: 4px; }
  .header-actions button { min-width: 44px; justify-content: center; padding: 8px 0; font-size: 12px; }
  #bagCount { position: absolute; top: 0; inset-inline-end: 0; min-width: 18px; padding-inline: 2px; background: var(--brand-light-pink); color: var(--wine-deep); font-size: 9px; border-radius: 10px; }
  .hero, .rooms { min-height: 760px; }
  .hero-copy { bottom: 128px; }
  .hero h1, [dir=rtl] .hero h1 { font-size: 29px; line-height: 1.45; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-copy p { font-size: 14px; }
  .hero-bottom { bottom: 26px; font-size: 12px; }
  .scroll-discover { bottom: 66px; font-size: 13px; }
  .foyer-heading { top: 126px; inset-inline: 6%; }
  .foyer-heading h2, [dir=rtl] .foyer-heading h2 { font-size: 23px; line-height: 1.65; }
  .foyer-heading p { font-size: 13px; }
  .room-index button { width: 29vw; padding: 6px 1px; gap: 4px; }
  .room-index strong, [dir=rtl] .room-index strong { font-size: 20px; line-height: 1.5; }
  .room-index .index-description { font-size: 12px; line-height: 1.7; }
  .foyer-bottom { inset-inline: 22px; bottom: 20px; align-items: end; gap: 18px; }
  .foyer-bottom .text-button { max-width: 46%; font-size: 13px; text-align: start; }
  .collection { padding-top: 24px; }
  .return-foyer { margin-bottom: 24px; }
  .filters { flex-wrap: wrap; gap: 4px 22px; margin-top: 20px; }
  .filters button { font-size: 13px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 16px; }
  .product-info { margin-top: 12px; gap: 4px; }
  .product-info > div { flex-basis: 100%; }
  .product-info h3, [dir=rtl] .product-info h3 { font-size: 16px; }
  .product-info p, .price { font-size: 13px; }
  .product-image span { inset-inline-start: 8px; top: 10px; bottom: auto; font-size: 12px; padding: 4px 8px; }
  .collection-features { grid-template-columns: 1fr; gap: 34px; }
  .feature-caption h3, [dir=rtl] .feature-caption h3 { font-size: 28px; }
  .intro-prose .intro-lead { font-size: 18px; }
  .intro-prose p, .meaning-copy p { font-size: 16px; }
  footer { padding-block: 40px 24px; }
  .footer-main { gap: 24px; padding-bottom: 28px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 10px; }
  .products.home-edit-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-edit-grid > .product-card:nth-child(n), .collection-feature:nth-child(2) { margin-top: 0; }
  .home-edit-grid .product-image { max-height: 620px; }
  .home-edit-empty { padding: 24px; }
  .faq-list summary { gap: 16px; font-size: 15px; }
  #productDialog { padding: 54px 20px 24px; }
  #productDetail { grid-template-columns: 1fr; gap: 24px; }
  #productDetail > img { max-height: 52svh; aspect-ratio: 3/4; }
  #productDetail h2, [dir=rtl] #productDetail h2 { font-size: 28px; }
  .guide-brand { font-size: 10px; letter-spacing: 1.8px; }
  .house-guide { padding: 20px 24px; }
  .guide-bottom { font-size: 11px; }
}
@media (max-width: 380px) {
  .wordmark .arabic-mark { font-size: 26px; }
  .products { grid-template-columns: 1fr; }
  .product-info > div { flex-basis: 140px; }
  .room-index strong, [dir=rtl] .room-index strong { font-size: 18px; }
  .room-index .index-description { font-size: 11px; }
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-image img, .collection-feature:hover img { filter: brightness(1.025); }
  .product-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
}
