/* House of Samina · Italian-house light layer (12 Nov 2026)
   Lighter type everywhere, quieter weights, more air. Loaded last. */

/* the header carries the bilingual mark: HOUSE OF / samına / هاوس اوف سامينا */
:root{--header-h:96px}
.brand img.word{height:72px!important;width:auto}
.brand img.arch{height:54px!important;width:auto}
.brand{gap:16px!important}
@media (max-width:760px){:root{--header-h:78px}.brand img.word{height:50px!important}.brand img.arch{height:38px!important}.brand{gap:12px!important}}

/* body: Jost Light, a little smaller, more leading, a breath of tracking */
body{font-weight:300;font-size:clamp(16.5px,1.1vw,18.5px);line-height:1.8;letter-spacing:.01em}
p,li,dd,td,figcaption,.lede{font-weight:300}
.lede{line-height:1.75}

/* headings and big figures: Jost ExtraLight */
h1,h2,h3,h4,.hero h1,.index .t,.f-h,.facts b,.commission ol li b,.gate h2{font-weight:200!important;letter-spacing:-.003em}
h2{line-height:1.08}

/* nothing heavier than Light anywhere */
b,strong,.acard b,.services b,.sizes b,.f-people b,.hero-caption b,.spec th,.makers strong,.btn,button,label,select,input,option,.date,.what{font-weight:300!important}

/* small capitals: lighter and wider, the Italian way */
.kicker,.spec th{font-size:11px;letter-spacing:.42em;font-weight:300!important}

/* menu: ExtraLight, full colour so it stays readable, more space between items */
html:not([lang="ar"]) .nav>a:not(.lang):not(.btn),html:not([lang="ar"]) .nav .theme-t span{font-weight:200!important;letter-spacing:.05em}
@media (min-width:1101px){.nav{gap:clamp(26px,2.4vw,40px)!important}html:not([lang="ar"]) .nav>a:not(.lang):not(.btn){font-size:15px!important;letter-spacing:.07em}}
.nav .btn{font-weight:300!important;letter-spacing:.2em}
.site-footer .foot-nav a{font-weight:200!important;letter-spacing:.06em}

/* more room around every chapter */
.sec{padding-top:clamp(130px,15vw,230px)!important;padding-bottom:clamp(130px,15vw,230px)!important}
@media (max-width:760px){.sec{padding-top:104px!important;padding-bottom:104px!important}}
.kicker{margin-bottom:28px}
h2{margin-bottom:.5em}

/* the catalogue form follows the house type (it was still in the old serif) */
.gate h2,.gate-lede,.gate-grid input,.gate-grid select,.gate option{font-family:'Jost','Helvetica Neue',Arial,sans-serif!important}
.gate-lede{font-weight:300}
/* Arabic never takes tracking (it breaks the joins) */
[lang="ar"],.lang,.lang-m,html[lang="ar"] body{letter-spacing:0!important}

/* lead paragraphs: ExtraLight, a touch larger, so the page reads airy at first glance */
.lede,.name-mean,p.sub,.chapter-note{font-weight:200!important;font-size:clamp(19px,1.5vw,22px)!important;line-height:1.75!important;letter-spacing:.012em}
.name-mean span,.name-mean [lang="ar"]{font-weight:300!important}

/* phone menu: a natural reading size, not display size */
@media (max-width:1100px){
  html:not([lang="ar"]) .nav>a:not(.btn):not(.lang){font-size:22px!important;padding-block:17px!important;letter-spacing:.03em!important}
  html[lang="ar"] .nav>a:not(.btn):not(.lang){font-size:21px!important;padding-block:16px!important}
  .nav>a:not(.btn):not(.lang)::before{font-size:10.5px}
}

/* the small Arabic switch beside the phone menu button: quieter */
@media (max-width:1100px){.lang-m{font-size:12.5px!important;font-weight:300;opacity:.85}}

/* Arabic page: lead paragraphs keep Light (ExtraLight Arabic is too faint for reading) */
html[lang="ar"] :is(.lede,.name-mean,p.sub,.chapter-note){font-weight:300!important}
.hw-wrap{margin:clamp(64px,8vw,120px) 0 clamp(64px,7vw,110px);text-align:center}
.hw-wrap .kicker{margin-bottom:clamp(30px,3.4vw,48px)}
.hw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,4.2vw,72px);align-items:start;text-align:center}
.hw figure{margin:0}
.hw .fr{position:relative;background:#16130F;padding:clamp(7px,.7vw,11px);box-shadow:0 26px 50px -26px rgba(0,0,0,.75),0 6px 14px -6px rgba(0,0,0,.35)}
.hw .fr::before{content:"";position:absolute;inset:0;border:1px solid rgba(201,163,106,.35);pointer-events:none}
.hw .mat{background:#F5F0E7;padding:clamp(14px,1.9vw,30px);box-shadow:inset 0 0 0 1px rgba(201,163,106,.55),inset 0 2px 6px rgba(0,0,0,.18)}
.hw img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;outline:1px solid rgba(0,0,0,.12)}
.hw figcaption{margin-top:20px;line-height:1.5}
.hw figcaption i{display:block;font-style:italic;font-weight:300;font-size:clamp(17px,1.3vw,20px);color:var(--cream)}
.hw figcaption span{display:block;margin-top:4px;font-size:10.5px;letter-spacing:.32em;text-transform:uppercase;color:var(--gold)}
html:not(.night) .hw .fr{box-shadow:0 26px 50px -28px rgba(60,40,20,.45),0 6px 14px -8px rgba(60,40,20,.25)}
@media (max-width:760px){
  .hw{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(var(--pad) * -1);padding:4px var(--pad) 24px;scroll-padding-inline:var(--pad)}
  .hw::-webkit-scrollbar{display:none}.hw figure{scroll-snap-align:start}
}

/* ---------- Designer review, 12 Nov 2026 ---------- */
/* one measured rhythm between chapters (was up to 230px a side) */
.sec{padding-top:clamp(112px,11.5vw,176px)!important;padding-bottom:clamp(112px,11.5vw,176px)!important}
@media (max-width:760px){.sec{padding-top:92px!important;padding-bottom:92px!important}}

/* night mode stays night: the sandstone chapters (tables, catalogues) take the house charcoal */
html.night .sec.gallery{--g-bg:#25221F;--g-ink:#EDE6DA;--g-mute:#A89F92;--g-gold:#C9A36A;--g-line:rgba(201,163,106,.2);--gold:#C9A36A}
html.night .sec.gallery .card .ph,html.night .sec.gallery .bk-img{background:#2F2B27!important}
html.night .sec.gallery .btn-gold{background:#C9A36A!important;border-color:#C9A36A!important;color:#15110B!important}
html.night .sec.gallery ::selection{background:#C9A36A;color:#15110B}
html.night .sec.gallery .book .bk-img{box-shadow:0 24px 40px -28px rgba(0,0,0,.7)!important}

/* the bath panel: the house charcoal, not pure black */
.bath-hero .copy{background:#1F1C1A}

/* Big 5: one colour, gold on night, ink on ivory */
html:not(.night) img.b5{filter:brightness(.22)}html:not(.night) #visit img.b5{filter:none}

/* nothing under 11px */
.foot-k,.gate-grid label,form label,label .opt,.c-ring span{font-size:11px!important}

/* WhatsApp on phones: smaller, quieter, and only after the first screen */
@media (max-width:760px){
  .wa-float{width:46px;height:46px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));background:rgba(28,26,24,.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 6px 18px rgba(0,0,0,.3)}
  html:not(.night) .wa-float{background:rgba(246,242,235,.88)}
  .wa-float svg{width:21px;height:21px}
}
.wa-float{transition:opacity .5s ease,transform .5s cubic-bezier(.16,1,.3,1),background .3s,color .3s}
.wa-float.wa-hide{opacity:0;transform:translateY(12px);pointer-events:none}

/* ---------- One block. One bath. (scroll sequence, 13 Nov 2026) ---------- */
.bh-seq{position:relative;overflow:hidden;background:#1F1C1A;min-height:420px;display:flex;flex-direction:column}
.bh-stage{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}
.bh-seq .bh-v,.bh-seq .bh-end{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 60%;min-height:0;display:block}
.bh-seq .bh-end{opacity:0}.bh-seq.bh-still .bh-end{opacity:1}.bh-seq.bh-still .bh-v{display:none}
.bh-cap{position:static;flex:0 0 auto;padding:clamp(16px,1.8vw,24px) clamp(18px,2.2vw,30px) clamp(14px,1.6vw,22px);background:#1F1C1A;color:#F3ECE1;pointer-events:none}
html:not(.night) .bh-cap{background:#E9E1D4;color:#2C2927}
html:not(.night) .bh-cap li::before{background:rgba(44,41,39,.25)}
html:not(.night) .bh-cap li span,html:not(.night) .bh-cap li::after{color:#9A7646}
html:not(.night) .bh-cap li::after{background:#9A7646}
.bh-cap ol{list-style:none;margin:0;padding:0;display:flex;gap:clamp(14px,2vw,28px)}
.bh-cap li{position:relative;padding-top:12px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;font-weight:300;opacity:.42;transition:opacity .6s ease}
.bh-cap li::before{content:"";position:absolute;left:0;top:0;width:100%;height:1px;background:rgba(243,236,225,.35)}
.bh-cap li::after{content:"";position:absolute;left:0;top:0;height:1px;width:calc(var(--f,0) * 100%);background:#C9A36A}
.bh-cap li span{margin-right:.7em;color:#C9A36A;font-style:normal}
.bh-cap li.on{opacity:1}
.bh-viz{margin:12px 0 0;font-size:10.5px!important;letter-spacing:.18em;text-transform:uppercase;opacity:.55}
@media (min-width:901px){
  .bh-run{height:260vh;margin-bottom:clamp(60px,7vw,100px)}
  .bh-run .bath-hero{position:sticky;top:calc(var(--header-h) + 2vh);height:calc(100vh - var(--header-h) - 4vh);max-height:820px;margin-bottom:0}
  .bh-run .bath-hero .copy{overflow:auto}
}
@media (max-width:900px){
  .bh-seq{min-height:0}.bh-stage{flex:none;aspect-ratio:3/2}
  .bh-cap ol{gap:12px}.bh-cap li{font-size:10.5px!important;letter-spacing:.16em}
}

/* ---- 13 Nov: lightbox, one calm frame on every screen ---- */
dialog.lb,.lb-img{background:#25221F!important}
.lb-thumbs button img{object-fit:contain;background:#25221F}
@media (min-width:861px){
  dialog.lb{width:min(1180px,94vw);height:min(800px,90vh);max-height:90vh}
  .lb-in{height:100%;max-height:none}
  .lb-img{box-sizing:border-box;height:100%;min-height:0;padding:clamp(28px,3.4vw,56px)}
  .lb-img img{width:100%;height:100%;max-height:none;object-fit:contain}
}
@media (max-width:860px){
  dialog.lb{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100%;max-height:100%;box-shadow:none}
  .lb-in{display:block;height:100%;max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .lb-img{box-sizing:border-box;height:min(64vh,560px);min-height:0;padding:calc(env(safe-area-inset-top,0px) + 66px) 18px 6px}
  .lb-img img{width:100%;height:100%;max-height:none;object-fit:contain}
  .lb-close{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);right:12px;z-index:3}
  .lb-txt{padding:26px var(--pad,20px) calc(env(safe-area-inset-bottom,0px) + 40px)}
}
/* ---- 13 Nov: carousels run to the edge of the screen, never cut at the margin ---- */
html,body{overflow-x:clip}
#tables,#baths-rail,#art-grid,#arch-rail,#bath-chapters{margin-right:calc(50% - 50vw);padding-right:calc(50vw - 50%)}
/* ---- 13 Nov: ivory is the house colour; the piece viewer follows it ---- */
#table .card .ph img.alt{background:var(--g-bg,#EDE6DA)}
html:not(.night) dialog.lb,html:not(.night) .lb-img{background:#F6F2EB!important;color:#2A2622}
html:not(.night) dialog.lb::backdrop{background:rgba(31,28,25,.6)}
html:not(.night) dialog.lb{box-shadow:0 30px 80px rgba(31,28,25,.28)}
html:not(.night) .lb-txt h3{color:#1F1C19}
html:not(.night) .lb-txt .sub{color:#8C6A3A}
html:not(.night) .lb-txt .note{color:#6F655A}
html:not(.night) dialog.lb .spec th{color:#8C6A3A}
html:not(.night) dialog.lb .spec td{color:#2A2622}
html:not(.night) dialog.lb .spec :is(tr,th,td){border-color:rgba(31,28,25,.14)}
html:not(.night) .lb-thumbs button{border-color:rgba(31,28,25,.16)}
html:not(.night) .lb-thumbs button img{background:#F6F2EB}
html:not(.night) .lb-thumbs button span{color:#6F655A}
html:not(.night) .lb-thumbs button[aria-pressed="true"]{border-color:#9A7646}
html:not(.night) .lb-thumbs button[aria-pressed="true"] span{color:#8C6A3A}
html:not(.night) .lb-close{background:rgba(246,242,235,.92);color:#8C6A3A;border-color:rgba(31,28,25,.18)}
html:not(.night) dialog.lb .btn-line{color:#2A2622;border-color:#9A7646}
html:not(.night) dialog.lb .btn-gold{background:#1F1C19;border-color:#1F1C19;color:#F6F2EB}

/* ---- 14 Nov: workshop film ---- */
.wfilm{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:clamp(36px,6vw,96px);align-items:center;margin:clamp(80px,9vw,136px) 0 clamp(40px,5vw,72px)}
.wf-v{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;background:#2A2622}
.wf-txt h3{font-size:clamp(34px,3.6vw,54px);font-weight:200;line-height:1.08;margin:14px 0 22px}
.wf-txt h3 span{display:block;font-style:italic;color:var(--gold,#8C6A3A)}
.wf-txt p:last-child{max-width:34em}
@media (max-width:760px){.wfilm{grid-template-columns:1fr;gap:28px}.wf-v{aspect-ratio:4/5}}

/* ---- 14 Nov: recent work reel ---- */
.reel-sec .sec-head{margin-bottom:clamp(36px,4vw,56px)}
.reel-row{display:flex;gap:clamp(16px,1.8vw,28px);overflow-x:auto;scroll-snap-type:x mandatory;padding:0 max(20px,calc((100vw - 1176px)/2)) 8px;scroll-padding-inline:max(20px,calc((100vw - 1176px)/2));scrollbar-width:none;-webkit-overflow-scrolling:touch}
.reel-row::-webkit-scrollbar{display:none}
.rv{flex:0 0 clamp(250px,24vw,340px);margin:0;scroll-snap-align:start}
.rv video{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#E9E1D4}
html.night .rv video{background:#25221F}
.rv figcaption{padding:16px 2px 0}
.rv figcaption b{display:block;font-weight:300;font-size:17px;letter-spacing:.01em}
.rv figcaption span{display:block;font-size:13px;line-height:1.55;opacity:.68;margin-top:4px}
@media (max-width:600px){.rv{flex-basis:72vw}}
/* recent work follows the ivory sections */
html:not(.night) #recent{background:var(--paper,#F6F2EB)!important;color:var(--ink-t)}
html:not(.night) #recent :is(h2,h3,.rv figcaption b){color:var(--ink-t)}
html:not(.night) #recent :is(p,.lede,.rv figcaption span){color:var(--ink-soft)}
html:not(.night) #recent :is(.kicker,.h-sub){color:var(--bronze)}
html:not(.night) #recent .reel-row + *{border-color:var(--hair)}

/* 14 Nov: workshop film larger, full frame on phones, full-screen button */
.wfilm{grid-template-columns:minmax(0,440px) minmax(0,1fr)}
.wf-box{position:relative}
.wf-full{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid rgba(255,255,255,.45);background:rgba(20,18,16,.38);color:#F6F2EB;font:300 11px/1 inherit;letter-spacing:.18em;text-transform:uppercase;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.wf-full svg{width:14px;height:14px}
@media (max-width:760px){.wf-v{aspect-ratio:9/16;max-height:82svh;width:auto;margin:0 auto}.wf-box{display:flex;justify-content:center}}

/* ---- 15 Nov: cinematic hero film ---- */
.hero .hero-media video.hero-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.6s ease;z-index:3}
.hero .hero-media video.hero-film.on{opacity:1}
.hero.has-film .hero-progress{visibility:hidden}
/* ---- 15 Nov: origin, a pinned film with chapters scrolling over it ---- */
.origin{position:relative;background:#141210;color:#F3EDE3}
.og-stage{position:sticky;top:0;height:100svh;overflow:hidden;z-index:0}
.og-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#141210}
.og-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,16,.35) 0%,rgba(20,18,16,.1) 40%,rgba(20,18,16,.65) 100%)}
.og-chapters{position:relative;z-index:1;margin-top:-100svh}
.og-ch{min-height:100svh;display:flex;align-items:flex-end;padding-bottom:clamp(64px,12vh,140px)}
.og-ch:first-child{align-items:center}
.og-card{max-width:560px;opacity:.15;transform:translateY(28px);transition:opacity 1s ease,transform 1.2s cubic-bezier(.16,1,.3,1)}
.og-card.in{opacity:1;transform:none}
.og-card .kicker{color:#D4B07A!important}
.og-card h2{font-size:clamp(40px,5.2vw,78px);font-weight:200;line-height:1.04;margin:16px 0 28px;color:#F6F2EB!important}
.og-card h3{font-size:clamp(30px,3.4vw,50px);font-weight:200;line-height:1.08;margin:10px 0 22px;color:#F6F2EB!important}
.og-card :is(h2,h3) span{display:block;font-style:italic;color:#D4B07A}
.og-card p{color:rgba(243,237,227,.86)!important;font-size:clamp(15px,1.15vw,17px);line-height:1.85;max-width:32em;text-shadow:0 1px 18px rgba(0,0,0,.35)}
.og-n{font-size:12px;letter-spacing:.32em;color:#D4B07A!important;margin:0}
@media (max-width:760px){.og-ch{padding-bottom:72px}.og-card p{font-size:15px}}
@media (prefers-reduced-motion:reduce){.og-card{opacity:1;transform:none}}
/* 15 Nov: films sit behind words; keep the words readable */
.hero .hero-media video.hero-film{filter:brightness(.7) contrast(1.04)}
.hero.has-film .hero-shade{background:linear-gradient(90deg,rgba(18,16,14,.78) 0%,rgba(18,16,14,.45) 42%,rgba(18,16,14,.08) 75%),linear-gradient(0deg,rgba(18,16,14,.55),rgba(18,16,14,0) 40%)!important;z-index:4}
.hero.has-film .hero-inner{z-index:5}
.og-v{filter:brightness(.6) contrast(1.05)}
.og-shade{background:linear-gradient(90deg,rgba(18,16,14,.72) 0%,rgba(18,16,14,.35) 45%,rgba(18,16,14,.05) 75%),linear-gradient(0deg,rgba(18,16,14,.5),rgba(18,16,14,0) 45%)}
.og-card{text-shadow:0 2px 24px rgba(0,0,0,.45)}
@media (max-width:760px){
 .hero.has-film .hero-shade{background:linear-gradient(180deg,rgba(18,16,14,.55) 0%,rgba(18,16,14,.7) 40%,rgba(18,16,14,.85) 100%)!important}
 .og-shade{background:linear-gradient(180deg,rgba(18,16,14,.35) 0%,rgba(18,16,14,.7) 45%,rgba(18,16,14,.88) 100%)}
}
/* 15 Nov: workshop film stacks on phones (the wider desktop rule was overriding it) */
@media (max-width:760px){.wfilm{grid-template-columns:1fr!important;gap:28px}.wf-txt{padding:0}}
/* Big 5 Global: the organiser's own colours (dark lettering on ivory, light lettering at night) */
html img.b5,html:not(.night) img.b5,html:not(.night) #visit img.b5{filter:none!important;opacity:1!important}
