/* Norq: the studio layer.
   Loaded after norq.css. Everything here replaces generic web patterns
   with objects from her studio: clear float glass, sample tags, her
   ZONE divider plates, her floor plans, her THANK YOU slide. */

/* ---------- clear float glass ----------
   Real glass is clear, with a green edge you only see on its thickness,
   a bright bevel along the top and one soft reflection across it. */
:root {
  --glass-edge-green: rgba(150, 192, 178, .62);
  --glass-edge-deep: rgba(96, 146, 130, .5);
}
.glass {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .1) 14%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .12) 72%, rgba(255, 255, 255, 0) 86%),
    rgba(246, 250, 248, .16);
  backdrop-filter: blur(2.5px) saturate(1.12) brightness(1.03);
  -webkit-backdrop-filter: blur(2.5px) saturate(1.12) brightness(1.03);
  border: 1.5px solid var(--glass-edge-green);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .85),
    inset 2px 0 0 rgba(255, 255, 255, .35),
    inset 0 -3px 0 var(--glass-edge-deep),
    inset 0 -14px 26px -22px rgba(70, 130, 112, .55),
    0 1px 0 rgba(255, 255, 255, .5),
    0 34px 60px -40px rgba(29, 24, 20, .5),
    0 10px 20px -16px rgba(60, 110, 96, .35);
}
.glass::before { /* the one reflection, like a window behind you */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 0; mask: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .22) 44%, transparent 50%);
}
[data-theme="night"] .glass {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .02) 16%, transparent 34%, transparent 60%, rgba(255, 220, 170, .05) 74%, transparent 88%),
    rgba(30, 40, 36, .22);
  border-color: rgba(120, 170, 152, .38);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .18), inset 0 -3px 0 rgba(90, 140, 124, .35), 0 34px 60px -40px rgba(0, 0, 0, .9);
}

/* ---------- buttons: smoked glass and clear glass ---------- */
.btn { border-radius: 14px; letter-spacing: .01em; }
.btn--ink {
  --bg: linear-gradient(180deg, #2C2622, #14100E); --fg: #F6F3EF;
  background: var(--bg); border: 1px solid rgba(150, 192, 178, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(96, 146, 130, .45), 0 14px 26px -16px rgba(29, 24, 20, .7);
}
.btn--ink:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(120, 176, 156, .6), 0 18px 30px -16px rgba(29, 24, 20, .75); }
.btn--line {
  --bg: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .12)); --fg: var(--ink);
  background: var(--bg); border: 1.5px solid var(--glass-edge-green);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 0 -2px 0 var(--glass-edge-deep);
}
.btn--line:hover { --bg: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .25)); --fg: var(--ink); }
.btn--glass { border-radius: 12px; border: 1.5px solid var(--glass-edge-green); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 0 -2px 0 var(--glass-edge-deep); }
.btn--light { border-radius: 14px; }
.board .btn--line, .cta .btn--line { --fg: var(--linen); }
[data-theme="night"] .btn--ink { --bg: linear-gradient(180deg, #F0D79F, #C9A866); --fg: #1A1512; border-color: rgba(255, 230, 180, .6); }
[data-theme="night"] .btn--line { --bg: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); --fg: var(--ink); border-color: rgba(120, 170, 152, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }

/* ---------- labels: fabric sample tags, not "eyebrow" text ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 7px 16px 7px 12px; background: #FBFAF7; color: #4A3F36;
  border-radius: 3px 3px 3px 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 10px 18px -12px rgba(29, 24, 20, .45);
  font: 500 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; rotate: -1.5deg; position: relative;
}
:lang(ar) .kicker { font-size: 13.5px; letter-spacing: 0; }
.kicker::before { /* the punched hole with a brass eyelet */
  content: ''; position: static; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, #E9E5E0 0 38%, transparent 40%), radial-gradient(circle, #D9BE85 0 62%, #8A6A35 66%, transparent 70%);
  transform: none;
}
.kicker::after { /* the thread it hangs on */
  content: ''; position: absolute; top: 50%; inset-inline-start: -34px; width: 34px; height: 1px; background: rgba(74, 63, 54, .45); rotate: -8deg; transform-origin: right;
}
[dir="rtl"] .kicker::after { transform-origin: left; rotate: 8deg; }
.board .kicker, .cta .kicker, [data-theme="night"] .kicker { background: #F6F3EF; color: #4A3F36; }

/* ---------- page openings: her deck's ZONE divider plate ---------- */
.page-head {
  position: relative; margin: calc(var(--bar-h) + clamp(28px, 5vw, 60px)) auto clamp(36px, 6vw, 70px);
  width: min(100% - 2 * var(--gutter), 1100px); padding: clamp(46px, 7vw, 96px) clamp(24px, 6vw, 90px);
  text-align: center; color: #F6F3EF; background: #A9A09C;
  border-radius: 4.5% / 20%;
  box-shadow: 0 40px 70px -46px rgba(29, 24, 20, .6);
}
.page-head::before { /* the inset double rule of her plates */
  content: ''; position: absolute; inset: clamp(14px, 2.4vw, 26px) clamp(18px, 3.4vw, 40px);
  border: 1px solid rgba(246, 243, 239, .6); outline: 1px solid rgba(80, 70, 66, .28); outline-offset: 3px; pointer-events: none;
}
.page-head[data-zone]::after { /* Z O N E  0 2 */
  content: 'Z O N E   ' attr(data-zone); display: block; order: -1; position: absolute; top: clamp(30px, 4.6vw, 52px); left: 0; right: 0;
  font: 400 11px/1 var(--f-display); letter-spacing: .5em; color: rgba(246, 243, 239, .85); direction: ltr;
}
.page-head .kicker { display: none; }
.page-head h1 { color: #F6F3EF; margin-top: 14px; font-size: clamp(36px, 6.4vw, 84px); }
:lang(en) .page-head h1 { font-weight: 600; letter-spacing: -.015em; }
.page-head p { color: rgba(246, 243, 239, .9); margin-inline: auto; }
.page-head .btn--ink { --bg: linear-gradient(180deg, #F6F3EF, #E6E0D8); --fg: #1D1814; }
.page-head .btn--line { --fg: #F6F3EF; }
.page-head .room__actions { justify-content: center; }
.page-head--slim { padding-block: clamp(40px, 6vw, 70px); }
[data-theme="night"] .page-head { background: #3A3633; }

/* the lockup under every plate title, like her slides */
.page-head > h1::after { content: 'N O R Q'; display: block; margin-top: clamp(14px, 2vw, 22px); font: 400 13px/1 var(--f-logo); letter-spacing: .5em; color: rgba(246, 243, 239, .75); direction: ltr; }

/* ---------- section titles keep the studio voice, smaller and quieter ---------- */
.sec-title { font-size: clamp(30px, 4.4vw, 56px); }

/* ---------- top bar: a glass shelf ---------- */
.bar.is-solid {
  background: linear-gradient(180deg, rgba(246, 250, 248, .55), rgba(246, 250, 248, .3));
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 -3px 0 var(--glass-edge-deep), inset 0 -4px 0 rgba(255, 255, 255, .6), 0 10px 24px -18px rgba(29, 24, 20, .5);
}
[data-theme="night"] .bar.is-solid { background: linear-gradient(180deg, rgba(23, 19, 16, .78), rgba(23, 19, 16, .6)); box-shadow: inset 0 -2px 0 rgba(90, 140, 124, .35); }
.bar__nav a .z { font: 400 10px/1 var(--f-display); letter-spacing: .08em; color: var(--ink-3); margin-inline-end: 6px; vertical-align: 2px; direction: ltr; display: inline-block; }
.bar__menu { display: block; }
@media (min-width: 961px) { .bar__menu { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--glass-edge-green); } }

/* ---------- the menu: her studio, drawn as a floor plan ---------- */
.drawer { background: rgba(233, 229, 224, .9); overflow-y: auto; }
[data-theme="night"] .drawer { background: rgba(23, 19, 16, .94); }
.drawer__nav { display: none; }
.plan { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; max-width: 1180px; margin: 0 auto; width: 100%; }
.plan__svg { width: 100%; height: auto; overflow: visible; }
.plan__svg .wall { fill: none; stroke: currentColor; stroke-width: 7; }
.plan__svg .hatch { fill: url(#hatch); stroke: currentColor; stroke-width: 1; }
.plan__svg .thin { fill: none; stroke: currentColor; stroke-width: 1.2; }
.plan__svg .furn { fill: rgba(255, 255, 255, .55); stroke: currentColor; stroke-width: 1.2; }
[data-theme="night"] .plan__svg .furn { fill: rgba(255, 255, 255, .05); }
.plan__svg .room { cursor: pointer; }
.plan__svg .room .hit { fill: transparent; transition: fill .3s; }
.plan__svg .room:hover .hit, .plan__svg .room:focus .hit, .plan__svg .room.is-here .hit { fill: rgba(169, 133, 73, .16); }
.plan__svg .room:focus { outline: none; }
.plan__svg .lbl { font: 500 13px var(--f-body); fill: currentColor; text-anchor: middle; }
.plan__svg .zn { font: 400 8.5px var(--f-display); letter-spacing: 3px; fill: var(--ink-3); text-anchor: middle; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plan__list a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; text-decoration: none; font: 400 clamp(24px, 3.4vw, 38px)/1.2 var(--f-display); border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.plan__list a:hover, .plan__list a.is-here { padding-inline-start: 10px; }
.plan__list small { font: 400 11px/1 var(--f-display); letter-spacing: .3em; color: var(--ink-3); direction: ltr; min-width: 26px; }
.plan__list em { font-style: normal; font-size: 13px; color: var(--ink-3); margin-inline-start: auto; font-family: var(--f-body); }
.plan__cap { margin: 10px 0 0; text-align: center; font: 400 11px/1 var(--f-display); letter-spacing: .4em; color: var(--ink-3); direction: ltr; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } .plan__list a { font-size: 24px; } .plan__list em { display: none; } }

/* ---------- footer: her THANK YOU slide ---------- */
.foot.foot--ty { display: block; background: #3A3836; color: #C9C1BC; padding: 0; position: relative; overflow: hidden; }
.foot--ty .ty { position: relative; padding: clamp(70px, 10vw, 140px) var(--gutter) 0; max-width: 1400px; margin: 0 auto; }
.foot--ty .ty__v { position: absolute; top: 0; inset-inline-start: calc(var(--gutter) + clamp(24px, 3vw, 46px)); width: clamp(5px, .6vw, 9px); height: calc(clamp(70px, 10vw, 140px) + .62em); background: #121110; }
.foot--ty .ty__word { position: relative; margin: 0; font: 400 clamp(54px, 11vw, 170px)/1 var(--f-body); letter-spacing: .14em; color: #121110; direction: ltr; text-align: left; white-space: nowrap; display: flex; align-items: flex-end; }
[dir="rtl"] .foot--ty .ty__word { text-align: left; }
.foot--ty .ty__word span { flex: none; }
.foot--ty .ty__word i { flex: 1; height: clamp(5px, .6vw, 9px); background: #121110; margin-bottom: .62em; margin-inline-start: .2em; min-width: 40px; }
.foot--ty .ty__ar { margin: 8px 0 0; font: 500 clamp(18px, 2vw, 24px)/1.4 var(--f-body); color: #121110; opacity: .8; }
.foot--ty .ty__contact { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 46px; margin: clamp(36px, 5vw, 60px) 0 0; font: 700 clamp(14px, 1.5vw, 19px)/1.5 var(--f-body); letter-spacing: .04em; color: #1E1C1B; text-transform: uppercase; }
.foot--ty .ty__contact a { color: #1E1C1B; text-decoration: none; }
.foot--ty .ty__contact a:hover { color: #F6F3EF; }
.foot--ty .ty__contact span { display: block; font-size: .7em; letter-spacing: .2em; opacity: .7; }
:lang(ar) .foot--ty .ty__contact span { letter-spacing: 0; font-size: .8em; }
.foot--ty .ty__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(34px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(18, 17, 16, .35); }
.foot--ty .ty__links a { color: #D9D2CB; text-decoration: none; font-size: 14px; }
.foot--ty .ty__links a:hover { color: #fff; }
.foot--ty .socials a { border-color: #1E1C1B; color: #1E1C1B; }
.foot--ty .socials a:hover { background: #1E1C1B; color: #C9C1BC; }
.foot--ty .ty__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 96px; font-size: 12.5px; color: #9A928C; }
.foot--ty .ty__base a { color: #9A928C; text-decoration: none; margin-inline-start: 16px; }
.foot--ty .ty__base a:hover { color: #fff; }
@media (max-width: 760px) { .foot--ty .ty__contact { grid-template-columns: 1fr; } }

/* ---------- contact: her card on a glass desk ---------- */
.desk { position: relative; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(70px, 10vw, 130px); display: grid; place-items: center; }
.desk__glass { position: absolute; left: 4%; right: 4%; top: 22%; bottom: 14%; border-radius: 6px; transform: perspective(1600px) rotateX(52deg); transform-origin: 50% 100%; }
.desk__glass::after { content: ''; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, rgba(150, 192, 178, .75), rgba(96, 146, 130, .55)); box-shadow: 0 20px 30px -18px rgba(29, 24, 20, .5); }
.card-biz { position: relative; z-index: 2; width: min(92vw, 640px); aspect-ratio: 1.75; perspective: 1400px; cursor: pointer; }
.card-biz__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); rotate: -3deg; }
.card-biz.is-flip .card-biz__in { transform: rotateY(180deg); }
.card-biz__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px; box-shadow: 0 2px 2px rgba(0, 0, 0, .08), 0 40px 60px -30px rgba(29, 24, 20, .6); overflow: hidden; }
.card-biz__front { background: #A9A09C; display: grid; place-items: center; color: #F6F3EF; }
.card-biz__front::before { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(246, 243, 239, .6); outline: 1px solid rgba(80, 70, 66, .25); outline-offset: 3px; }
.card-biz__front .lockup { font-size: clamp(30px, 5vw, 46px); }
.card-biz__front > small { position: absolute; bottom: 10%; left: 0; right: 0; text-align: center; font: 400 11px/1 var(--f-display); letter-spacing: .4em; direction: ltr; opacity: .8; }
.card-biz__back { transform: rotateY(180deg); background: #F6F3EF url(/materials/grain.svg); color: #1D1814; padding: clamp(20px, 4vw, 40px); display: grid; align-content: center; gap: clamp(8px, 1.4vw, 14px); }
.card-biz__back a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: clamp(14px, 2vw, 19px); }
.card-biz__back a b { font: 400 11px/1 var(--f-display); letter-spacing: .25em; color: #7A6D60; min-width: 92px; direction: ltr; text-transform: uppercase; }
.card-biz__back a:hover span { color: #7A2B33; }
.card-biz__hint { margin-top: 26px; text-align: center; font: 400 15px var(--f-note); color: var(--ink-3); position: relative; z-index: 2; }
:lang(ar) .card-biz__hint { font-size: 19px; }

/* ---------- about: concrete studio habits instead of a values list ---------- */
.habits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.habits li { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; padding: 16px; }
.habits .sw-mini { width: 74px; aspect-ratio: 1; border-radius: 3px; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .5); }
.habits b { display: block; font: 500 19px/1.4 var(--f-display); margin-bottom: 4px; }
.habits span { color: var(--ink-2); font-size: 16px; }

/* calmer reveal: things are placed, not flown in */
.js .reveal { transform: translateY(14px); }
.foot--ty .ty__v { display: none; }
.foot--ty .ty__word span { position: relative; }
.foot--ty .ty__word span::before { content: ''; position: absolute; left: .265em; width: .055em; bottom: .62em; height: 4em; background: #121110; }
.foot--ty .ty__word { font-size: clamp(38px, 10.5vw, 170px); }
.bar__nav a, .btn { white-space: nowrap; }
@media (max-width: 1240px) { .bar__nav { gap: 18px; } .bar__nav .z { display: none; } }
@media (max-width: 1080px) { .bar__nav, .bar__book { display: none; } .bar__end { margin-inline-start: auto; } }

/* the logo keeps its own serif; everything else is the Apple system face */
.wordmark, .lockup, .lockup small { font-family: var(--f-logo); }
.page-head h1, .sec-title { font-weight: 600; letter-spacing: -.02em; }
:lang(ar) .page-head h1, :lang(ar) .sec-title { font-weight: 600; letter-spacing: 0; }

/* ---------- top bar: the wordmark, six words, the language, one button ---------- */
.bar { gap: clamp(16px, 2.4vw, 40px); }
.bar__nav { gap: clamp(18px, 2.2vw, 34px); }
.bar__nav a { font: 400 15px/1 var(--f-body); letter-spacing: .01em; padding: 10px 0; }
.bar__end { gap: clamp(12px, 1.4vw, 20px); }
.bar__lang { font: 400 14px/1 var(--f-body); }
.bar__book { min-height: 40px; }
.bar__menu { width: 40px; height: 40px; }
.drawer__foot { gap: 10px 22px; flex-wrap: wrap; justify-content: flex-start; }
.dfoot { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--glass-edge-green); background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.1)); font: 400 15px/1 var(--f-body); color: var(--ink); text-decoration: none; cursor: pointer; }
.dfoot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
[data-theme="night"] .dfoot { background: rgba(255,255,255,.05); border-color: rgba(120,170,152,.4); }
[data-theme="night"] .dfoot[data-lamp] { color: #E8C987; }
.drawer__foot .socials { margin-inline-start: auto; }

/* ---------- type: one system ----------
   Large English titles use the display serif he liked; everything else is the
   Apple system face. Arabic is the Apple system Arabic throughout. One scale. */
:root { --t-hero: clamp(44px, 7vw, 104px); --t-h1: clamp(38px, 6vw, 84px); --t-h2: clamp(32px, 4.6vw, 64px); --t-h3: clamp(21px, 2vw, 26px); --t-body: 17px; --t-small: 14px; }
:lang(en) .sec-title, :lang(en) .page-head h1, :lang(en) .proj h2, :lang(en) .dash__head h1, :lang(en) .door__line, :lang(en) .cta__glass .sec-title, :lang(en) .show__name {
  font-family: var(--f-logo); font-weight: 400; letter-spacing: -.01em;
}
.sec-title { font-size: var(--t-h2); line-height: 1.06; }
.page-head h1 { font-size: var(--t-h1); line-height: 1.04; }
:lang(ar) .sec-title, :lang(ar) .page-head h1 { line-height: 1.3; }
:lang(en) .door__line span:first-child { font-style: italic; }
.sec-text, .page-head p, .room__text { font-size: var(--t-body); line-height: 1.7; }
:lang(ar) .sec-text, :lang(ar) .page-head p, :lang(ar) .room__text { font-size: 18px; line-height: 1.85; }
.hang__name, .svc h2, .elev__bay h3, .card h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.005em; }

/* =========================================================
   THE SAMPLE RACK: fabric samples hanging on a brass rod,
   overlapping like in a showroom. The one you touch swings
   forward; its neighbours sway. One label, always aligned.
   ========================================================= */
.rack { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: 0 var(--gutter); }
.rack__rod { position: relative; height: 14px; margin: 0 calc(var(--gutter) * -1); border-radius: 7px; z-index: 30;
  background: linear-gradient(180deg, #f3dfae 0%, #c9a466 35%, #8a6a35 70%, #4a3718 100%); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .55); }
.rack__rod i { position: absolute; top: -18px; width: 10px; height: 34px; border-radius: 3px; background: linear-gradient(90deg, #6f5426, #d9be85, #6f5426); }
.rack__rod i:first-child { left: 6%; } .rack__rod i:last-child { right: 6%; }
.rack__row { list-style: none; margin: -4px auto 0; padding: 0; display: flex; justify-content: center; perspective: 1600px; max-width: 1300px; }
.smp { position: relative; flex: 0 0 auto; width: clamp(150px, 15vw, 220px); margin-inline-end: clamp(-110px, -8vw, -60px); outline: none; cursor: pointer; z-index: calc(10 - var(--d, 0)); transition: margin .7s var(--ease); }
.smp:last-child { margin-inline-end: 0; }
.smp__swing { display: block; transform-origin: 50% 0; transform: rotateY(calc(var(--ry, -26deg))) rotateZ(calc(var(--a, 0) * 1deg)) translateZ(calc(var(--lift, 0) * 1px)); transition: transform .7s var(--ease); transform-style: preserve-3d; will-change: transform; }
[dir="rtl"] .smp__swing { transform: rotateY(calc(var(--ry, -26deg) * -1)) rotateZ(calc(var(--a, 0) * 1deg)) translateZ(calc(var(--lift, 0) * 1px)); }
.smp__hook { display: block; width: 26px; height: 30px; margin: 0 auto -6px; border: 2.5px solid #8a6a35; border-bottom: 0; border-radius: 14px 14px 0 0; position: relative; }
.smp__hook::after { content: ''; position: absolute; left: -10px; right: -10px; bottom: -4px; height: 9px; border-radius: 2px; background: linear-gradient(#e3c88e, #8a6a35); }
.smp__face { position: relative; display: block; aspect-ratio: 3 / 4.4; border-radius: 2px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 34px 46px -26px rgba(0, 0, 0, .65), 0 6px 12px -6px rgba(0, 0, 0, .3); }
.smp__fold { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 16%, transparent 70%, rgba(0, 0, 0, .22)), linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 24%, transparent 80%, rgba(0, 0, 0, .18)); }
.smp__tag { position: absolute; bottom: 12px; inset-inline-start: 12px; display: flex; gap: 8px; align-items: baseline; padding: 7px 11px; background: #FBFAF7; color: #1D1814; border-radius: 2px; font: 500 12.5px/1.2 var(--f-body); box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.smp__tag b { font-weight: 400; color: #7A6D60; font-size: 11px; }
.smp.is-on { --ry: 0deg; --lift: 120; z-index: 20; margin-inline: clamp(14px, 3vw, 48px); }
.smp.is-on .smp__tag { opacity: 1; transform: none; }
.smp.is-on .smp__face { box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 50px 70px -30px rgba(0, 0, 0, .7); }
.smp:focus-visible .smp__face { outline: 2px solid #A98549; outline-offset: 4px; }
.rack__info { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; max-width: 640px; margin: clamp(30px, 4vw, 48px) auto 0; padding: 20px 26px; border-radius: 18px; text-decoration: none; color: var(--ink); }
.rack__no { font: 400 clamp(34px, 3.4vw, 46px)/1 var(--f-logo); color: var(--taupe); min-width: 2.2ch; text-align: center; }
.rack__txt { display: grid; gap: 4px; }
.rack__txt strong { font: 600 var(--t-h3)/1.25 var(--f-display); }
:lang(en) .rack__txt strong { font-family: var(--f-logo); font-weight: 400; }
.rack__txt span { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.rack__go { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--linen); font-size: 18px; transition: transform .4s var(--ease); }
.rack__info:hover .rack__go { transform: translateX(4px); }
[dir="rtl"] .rack__info:hover .rack__go { transform: translateX(-4px); }
.rack__info.is-swap .rack__txt { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .rack__row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 30vw 30px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); }
  .rack__row::-webkit-scrollbar { display: none; }
  .smp { width: 44vw; margin-inline-end: -20vw; scroll-snap-align: center; }
  .smp.is-on { --lift: 60; margin-inline: 4vw; }
  .rack__info { grid-template-columns: auto 1fr; }
  .rack__go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .smp__swing { transition: none; } }

/* ---------- the live 3D studio behind the door ---------- */
.door__3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 0; display: block; }
.door.is-3d .pane { display: none; }
.door.is-3d .room { z-index: 2; pointer-events: none; transform: none; }
.door.is-3d .room__intro, .door.is-3d .note { pointer-events: auto; }
.door.is-3d .swatch { opacity: 0; pointer-events: none; }
.door.is-3d .room__intro { padding: clamp(22px, 3vw, 36px); border-radius: 22px; opacity: clamp(0, calc((var(--p, 0) - .55) * 3), 1); transform: translateY(calc((1 - var(--p, 0)) * 30px));
  background: linear-gradient(112deg, rgba(255,255,255,.5), rgba(255,255,255,.18)); backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1);
  border: 1.5px solid var(--glass-edge-green); box-shadow: inset 0 2px 0 rgba(255,255,255,.85), inset 0 -3px 0 var(--glass-edge-deep), 0 30px 60px -36px rgba(0,0,0,.5); }
[data-theme="night"] .door.is-3d .room__intro { background: linear-gradient(112deg, rgba(30,24,20,.62), rgba(30,24,20,.38)); border-color: rgba(120,170,152,.35); }
.door.is-3d .door__words { z-index: 3; }
.door.is-3d .door__line { text-shadow: 0 2px 30px rgba(233, 229, 224, .9); }
[data-theme="night"] .door.is-3d .door__line { text-shadow: 0 0 40px rgba(0,0,0,.7); }
@media (max-width: 860px) { .door.is-3d .room__table { display: none; } .door.is-3d .room { align-content: end; padding-bottom: 24px; } }
.door.is-3d .room__title .wordmark { font-size: clamp(40px, 4.6vw, 70px); }
.door.is-3d .room__intro { max-width: 440px; justify-self: end; }
[dir="rtl"] .door.is-3d .room__intro { justify-self: start; }
.door.is-3d .room { grid-template-columns: 1fr minmax(300px, 440px); }

/* real photographed samples (fal.ai) replace the drawn textures site wide */
.m-viola { background: #F1ECE6 url(/3d/viola.jpg) center / cover; }
.m-pearl { background: #F1ECE6 url(/3d/pearl.jpg) center / cover; }
.m-ebony { background: #1d1814 url(/3d/ebony.jpg) center / cover; }
.m-travertine { background: #DCCBB2 url(/3d/travertine.jpg) center / cover; }
.m-velvet { background: #4E1519 url(/3d/velvet.jpg) center / cover; }
.m-dots { background: #EFE7DA url(/3d/dots.jpg) center / cover; }
.m-stripe { background: #F2EBDF url(/3d/stripe.jpg) center / cover; }
.m-velvet::after, .m-dots::after, .m-stripe::after { display: none; }
