/* Maison: a soft editorial fashion store. Ivory, blush and sand with a fine serif. Change the colours here. */
:root {
  --bg: #FBF7F2; --paper: #FFFDFA; --ink: #2B2420; --ink2: #5E5148; --mute: #9A8B80; --line: #E9DFD4;
  --blush: #F2DCD3; --sand: #EFE5D8; --sage: #A9B79F; --accent: #B5654A;
  --display: "Bodoni Moda", "Didot", Georgia, serif; --body: "Jost", system-ui, sans-serif;
  --s-bg: var(--bg); --s-paper: var(--paper); --s-ink: var(--ink); --s-mute: var(--mute); --s-line: var(--line); --s-soft: var(--sand);
  --s-accent: var(--accent); --s-accent-ink: #fff; --s-radius: 6px; --s-card: 6px; --s-display: var(--display); --s-body: var(--body);
}
html[dir="rtl"] { --display: "El Messiri", Georgia, serif; --body: "Almarai", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); overflow-x: clip; max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
em { font-style: italic; color: var(--accent); }
html[dir="rtl"] em { font-style: normal; }
.kicker { margin: 0 0 12px; font: 500 12px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--ink2); }
html[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
h2 { margin: 0 0 34px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; }
html[dir="rtl"] h2 { line-height: 1.35; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 15px/1 var(--body); letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s, transform .3s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.link { color: var(--ink); font-weight: 500; text-underline-offset: 6px; }
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.sec-head h2 { margin: 0; }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ic { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic:hover { background: var(--sand); }

/* top bar + header */
.bar { background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .bar { letter-spacing: 0; font-size: 13px; }
.bar-in { position: relative; height: 34px; display: flex; justify-content: center; gap: 60px; align-items: center; }
.top { position: sticky; z-index: 60; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 74px; padding: 0 24px; background: rgba(251, 247, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-l, .top-r { display: flex; align-items: center; gap: 6px; }
.top-r { justify-content: flex-end; }
.logo { text-decoration: none; font: 500 26px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; padding-inline-start: .32em; }
html[dir="rtl"] .logo { font-family: "Bodoni Moda", Georgia, serif; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; text-decoration: none; font-size: 14px; color: var(--ink2); border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav-dd { position: relative; }
.nav-dd > button { padding: 8px 12px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 14px; color: var(--ink2); }
.nav-dd > button::after { content: " ▾"; font-size: 10px; }
.nav-cats { position: absolute; top: 100%; inset-inline-start: 0; min-width: 220px; padding: 10px; border-radius: 14px; background: var(--paper); box-shadow: 0 30px 50px -24px rgba(43, 36, 32, .4); opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity .25s, translate .25s; }
.nav-dd:hover .nav-cats, .nav-dd:focus-within .nav-cats { opacity: 1; translate: 0 0; pointer-events: auto; }
.nav-cats a { display: block; }
.menu-btn { display: none; }
.search { position: relative; display: flex; align-items: center; }
.search input { width: 0; padding: 0; border: 0; border-bottom: 1px solid transparent; background: transparent; transition: width .35s, padding .35s, border-color .35s; }
.search:focus-within input, .search input:not(:placeholder-shown) { width: 180px; padding: 6px 4px; border-bottom-color: var(--ink); outline: 0; }
.lang { padding: 8px 10px; border: 0; background: none; cursor: pointer; font-size: 14px; }
html[dir="rtl"] .lang { font-family: "Jost", sans-serif; }
.bag { position: relative; }
.bag b { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* hero: the picture grows to full screen */
.hero { height: 260vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-word span { grid-area: 1 / 1; font: 400 clamp(90px, 21vw, 340px)/1 "Bodoni Moda", Georgia, serif; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.hw-l { clip-path: inset(0 50% 0 0); }
.hw-r { clip-path: inset(0 0 0 50%); }
.hero-frame { position: absolute; left: 50%; top: 52%; width: 30vw; height: 74vh; translate: -50% -50%; overflow: hidden; border-radius: 400px 400px 18px 18px; will-change: width, height; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.08); will-change: transform; }
.hero-copy { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 0 max(24px, calc((100% - 1320px) / 2)) 9vh; color: var(--paper); opacity: 0; }
.hero-copy::before { content: ""; position: absolute; inset: -40vh 0 0; z-index: -1; background: linear-gradient(transparent, rgba(43, 36, 32, .55)); }
.hero-copy .kicker { color: var(--paper); }
.hero h1 { margin: 0 0 26px; max-width: 12em; font-size: clamp(46px, 6.4vw, 104px); line-height: 1; }
html[dir="rtl"] .hero h1 { line-height: 1.3; }
.hero h1 em { color: var(--blush); }
.hero-hint { position: absolute; bottom: 4vh; left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink2); }
.hero-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: var(--ink2); animation: drip 2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* text band */
.band { overflow: hidden; padding: 26px 0; background: var(--blush); border-block: 1px solid var(--line); }
.band-in { display: flex; width: max-content; animation: band 46s linear infinite; }
.band span { padding-inline-end: 60px; font: italic 400 clamp(30px, 4vw, 56px)/1 var(--display); white-space: nowrap; }
html[dir="rtl"] .band span { font-style: normal; }
html[dir="rtl"] .band-in { animation-name: bandR; }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes bandR { to { transform: translateX(50%); } }

/* categories as a list; a picture follows the cursor */
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto 40px; align-items: center; gap: 20px; padding: 22px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s, background .4s; }
.cat-row:hover { padding-inline-start: 22px; background: var(--paper); }
.cat-row .n { font-size: 13px; color: var(--mute); letter-spacing: .1em; }
.cat-row b { font: 400 clamp(34px, 5.4vw, 80px)/1.05 var(--display); transition: color .3s; }
.cat-row:hover b { color: var(--accent); font-style: italic; }
html[dir="rtl"] .cat-row:hover b { font-style: normal; }
.cat-row small { color: var(--mute); }
.cat-row i { font-style: normal; font-size: 24px; transition: transform .4s; }
html[dir="rtl"] .cat-row i { transform: scaleX(-1); }
.cat-row:hover i { transform: translateX(8px); }
html[dir="rtl"] .cat-row:hover i { transform: scaleX(-1) translateX(8px); }
.cat-row .th { display: none; }
.cat-float { position: fixed; z-index: 40; top: 0; left: 0; width: 260px; aspect-ratio: 3 / 4; pointer-events: none; border-radius: 160px 160px 8px 8px; overflow: hidden; opacity: 0; scale: .7; transition: opacity .3s, scale .3s; box-shadow: 0 40px 70px -30px rgba(43, 36, 32, .5); }
.cat-float.on { opacity: 1; scale: 1; }
.cat-float img { width: 100%; height: 100%; object-fit: cover; }

/* product card */
.card-media { border-radius: 400px 400px 6px 6px; background: var(--sand); }
.card .card-n { font: 400 19px/1.3 var(--display); }
.card .pr { font-size: 15px; color: var(--ink2); }
.badge { background: var(--paper); font-weight: 500; letter-spacing: .06em; top: auto; bottom: 12px; }
.card:hover .badge { opacity: 0; }

/* lookbook: moves sideways while the page holds still */
.looks { height: 320vh; position: relative; background: var(--sand); }
.looks-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: 90px; }
.looks-head h2 { margin-bottom: 20px; }
.looks-track { display: flex; gap: 4vw; align-items: center; padding-inline: max(24px, calc((100% - 1320px) / 2)); width: max-content; will-change: transform; }
.look { position: relative; display: grid; grid-template-columns: auto 300px; gap: 28px; align-items: end; }
.look-img { height: min(64vh, 640px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 400px 400px 8px 8px; }
.look-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.look h3 { margin: 0 0 6px; font-size: 40px; }
.look p { margin: 0 0 20px; color: var(--ink2); }
.look-items { display: grid; gap: 10px; }
.look-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--paper); text-decoration: none; }
.look-item img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.look-item span { display: grid; font-size: 14px; }
.look-item small { color: var(--mute); direction: ltr; text-align: start; }
html[dir="rtl"] .look-item small { text-align: end; }
.look-item em { font-style: normal; font-size: 20px; }
html[dir="rtl"] .look-item em { display: inline-block; transform: scaleX(-1); }

/* shop the look */
.stl { position: relative; overflow: hidden; border-radius: 8px; }
.stl img { width: 100%; }
.spot { position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 0; border-radius: 50%; background: rgba(255, 253, 250, .95); cursor: pointer; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .4); }
.spot::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--accent); }
.spot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 253, 250, .9); animation: ping 2s infinite; }
.spot.on::before { background: var(--ink); }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.stl-pop { position: absolute; z-index: 3; width: 260px; padding: 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 30px 60px -20px rgba(43, 36, 32, .45); }
.stl-pop .pp { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; text-decoration: none; }
.stl-pop img { width: 70px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.stl-pop b { display: block; font: 400 17px/1.25 var(--display); }
.stl-pop .pr { font-size: 14px; color: var(--ink2); }
.stl-pop .sz { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.stl-pop .sz button { min-width: 40px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; }
.stl-pop .sz button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.stl-pop .x { position: absolute; top: 6px; inset-inline-end: 8px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--mute); }

/* values */
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.val svg { width: 54px; height: 54px; margin: 0 auto 14px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.val h3 { margin: 0 0 6px; font-size: 26px; }
.val p { margin: 0 auto; max-width: 26em; color: var(--ink2); }
.values { padding-top: 0; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 400 24px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 26px; transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin: -6px 0 22px; color: var(--ink2); max-width: 44em; }

/* footer */
.foot { margin-top: 40px; padding-top: 70px; background: var(--sand); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { max-width: 24em; color: var(--ink2); }
.foot h3 { margin: 0 0 14px; font-size: 20px; }
.foot-grid > div > a, .foot-cats a { display: block; margin-bottom: 8px; color: var(--ink2); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot .links a { display: inline; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-word { margin-top: 40px; font: italic 400 clamp(80px, 21vw, 330px)/.8 "Bodoni Moda", Georgia, serif; text-align: center; letter-spacing: -.02em; color: var(--blush); text-transform: uppercase; overflow: hidden; }
.foot-end { padding: 18px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot-end p { margin: 0; }

/* inner pages */
.page { padding: 40px 0 80px; }
.page h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; margin: 0 0 10px; }
.shop-head .kicker { margin-bottom: 8px; }
.co-h { margin-bottom: 30px !important; }
.pd-info h1 { font-size: clamp(34px, 3.6vw, 52px); }
.pd-main { border-radius: 400px 400px 8px 8px; }
.pd-price { font-family: var(--body); }
.related h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sc-head h2 { font-weight: 400; }

.rv { opacity: 0; translate: 0 30px; transition: opacity .8s, translate .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; z-index: 70; inset: 108px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 26px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .3); translate: 0 -12px; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s; }
  .menu-open .nav { opacity: 1; translate: 0 0; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font: 400 22px/1.2 var(--display); color: var(--ink); }
  .nav-dd > button { display: none; }
  .nav-cats { position: static; min-width: 0; padding: 0; box-shadow: none; background: none; opacity: 1; translate: none; pointer-events: auto; }
  .search { display: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .bar-in span:not(:first-child) { display: none; }
  .look { grid-template-columns: minmax(0, 1fr); }
  .look-img { height: 52vh; }
  .look-info { width: min(76vw, 340px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .top { height: 62px; padding: 0 10px; gap: 4px; }
  .nav { inset: 96px 0 auto 0; }
  .logo { font-size: 20px; letter-spacing: .24em; }
  .lang { padding: 6px 4px; font-size: 13px; }
  .hero-frame { width: 66vw; height: 60vh; }
  .hero-copy { padding-bottom: 12vh; }
  .cat-row { grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 14px; padding: 14px 0; }
  .cat-row .n, .cat-row small { display: none; }
  .cat-row .th { display: block; width: 56px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 40px 40px 4px 4px; }
  .cat-float { display: none; }
  .looks-pin { padding-top: 76px; }
  .look-img { height: 46vh; }
  .stl-pop { width: 220px; }
  .vals { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .faq summary { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; translate: 0 0; } }
