/* Inter covers Latin and Cyrillic. Load the local Arabic face only for Arabic glyphs. */
@font-face{
  font-family:"Noto Sans Arabic";
  src:url(assets/noto-sans-arabic.woff2) format("woff2");
  font-weight:300 600;
  font-display:swap;
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}
@font-face{
  font-family:"Cormorant Garamond";
  src:url(assets/cormorant-garamond.woff2) format("woff2");
  font-weight:300 700;
  font-display:swap;
}
@font-face{
  font-family:"Noto Naskh Arabic";
  src:url(assets/noto-naskh-arabic.woff2) format("woff2");
  font-weight:400 700;
  font-display:swap;
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF;
}
:root{--editorial-face:"Cormorant Garamond",Georgia,serif}
html:lang(ar){--editorial-face:"Noto Naskh Arabic","Cormorant Garamond",Georgia,serif}
html[dir=rtl]{font-family:"Noto Sans Arabic",Inter,system-ui,sans-serif}
.caption p{display:grid;gap:.38rem;white-space:normal}
.intro-title{
  font-size:clamp(1.35rem,2.45vw,2.55rem);
  line-height:1.05;
}
.intro-location{
  font-size:clamp(.8rem,1vw,1rem);
  line-height:1.4;
  font-weight:400;
}
:is(.intro-title,.campaign-titles h2,.plate .chapter-title h2,.edition-copy h2,
  .lookbook-intro h2,.season-note h3,.season-archive h4,.brand-copy h2,.season-history h3,
  .visit h2,.visit-details h3,:where(#site-panel) h2){
  font-family:var(--editorial-face);
  font-weight:var(--editorial-weight,500);
  letter-spacing:normal;
  font-synthesis:none;
  text-wrap:balance;
}
.campaign-titles{inset-inline-end:var(--gutter)}
.campaign-titles h2{
  --editorial-weight:540;
  margin:0;
  max-inline-size:min(29ch,100%);
  font-size:clamp(1.95rem,4.35vw,4.3rem);
  line-height:1.03;
  text-shadow:0 2px 9px #21160cb3,0 1px 2px #21160c9c;
}
.plate .chapter-title h2{font-size:clamp(3.35rem,8.8vw,9rem);line-height:.98}
.plate.studio .chapter-title h2{font-size:clamp(2.85rem,min(8vw,11.6svh),8.25rem)}
.plate.store .chapter-title h2{font-size:clamp(3rem,7.9vw,8.7rem)}
.plate .chapter-title p:not(.store-address){
  font-size:clamp(.84rem,1.05vw,1.04rem);
  letter-spacing:normal;
  font-weight:430;
}
.plate .chapter-title{inset-inline-end:4%}
.plate .chapter-title p{max-inline-size:27ch}
.edition-copy h2{line-height:.96}
.lookbook-intro h2{font-size:clamp(3.3rem,8.1vw,8rem);line-height:.94}
.season-note h3,.brand-copy h2{font-size:clamp(2.85rem,6.4vw,6.65rem);line-height:.97}
.lookbook-intro p,.season-note p,.brand-copy p{line-height:1.58}
.season-archive h4,.season-history h3{font-size:clamp(1.7rem,2.7vw,2.4rem);line-height:1.08}
.lookbook-photo figcaption{line-height:1.47}
.visit h2{font-size:clamp(3rem,6.1vw,6.35rem);line-height:.98;overflow-wrap:normal}
.visit h3{line-height:1.26}
.visit-details h3{font-size:clamp(1.95rem,3.35vw,3.05rem);line-height:1.05}
#site-panel h2{font-size:clamp(2.05rem,3.6vw,3.4rem);line-height:1}
dialog p{max-inline-size:39ch;line-height:1.65;text-wrap:pretty}
:lang(ar) :is(.intro-title,.campaign-titles h2,.plate .chapter-title h2,.edition-copy h2,
  .lookbook-intro h2,.season-note h3,.season-archive h4,.brand-copy h2,.season-history h3,
  .visit h2,.visit-details h3,:where(#site-panel) h2){line-height:1.19}
:lang(ar) .lookbook-photo figcaption{line-height:1.6}
@media(max-width:780px){
  .plate .chapter-title h2{font-size:clamp(2.65rem,11.3vw,5.5rem)}
  .plate.walk .chapter-title h2{font-size:clamp(2.4rem,9.4vw,4.55rem)}
  .plate.studio .chapter-title h2,.plate.store .chapter-title h2{font-size:clamp(2.55rem,11.3vw,5rem)}
  .edition-copy{align-items:center}
}
@media(max-width:400px){
  .screen > .scene-navigation .cta{gap:.4rem}
  .visit h2{font-size:clamp(2.65rem,12vw,3.25rem)}
  .edition-copy{column-gap:8px}
  .edition-save{gap:.35rem}
}
@media(max-width:370px){
  .lookbook-intro h2{font-size:3rem}
  .season-note h3,.brand-copy h2{font-size:2.6rem}
}
@media(max-height:510px){
  .campaign-titles h2{font-size:clamp(1.6rem,4.4vw,3.25rem)}
  .plate.store .chapter-title h2{font-size:clamp(2.3rem,6vw,3.7rem)}
}

/* The editorial title sets the pace. Garment notes remain readable at arm's length. */
.plate .chapter-title .outfit-detail{
  margin:.62em 0 0;
  font-size:clamp(.84rem,1.18vw,1.18rem);
  line-height:1.4;
  font-weight:450;
  max-inline-size:30ch;
  text-wrap:pretty;
}
.plate.shore .chapter-title{inset:auto}
.plate.shore .chapter-title h2{font-size:clamp(2.8rem,min(8.8vw,14svh),7.65rem)}
.walk .chapter-title{max-inline-size:min(62%,34em)}
.sound-toggle{
  position:fixed;z-index:14;right:var(--sound-right);
  top:max(calc((var(--bar) - var(--sound-size))/2),calc(env(safe-area-inset-top) + 8px));
  display:grid;place-items:center;inline-size:var(--sound-size);block-size:var(--sound-size);
  border:1px solid #d6c4a6;border-radius:50%;
  background:#f5ecdc;color:#372d24;box-shadow:0 3px 12px #21180e22;
  transition:background-color .2s,color .2s,border-color .2s;
}
.overture:not([hidden]):is([data-phase=loading],[data-phase=held]) ~ .sound-toggle{visibility:hidden}
.sound-toggle:focus-visible{outline-offset:3px;outline-color:#f5ecdc;box-shadow:0 0 0 4px #372d24}
.sound-toggle[data-playing]{background:#3c342b;color:#f8ebd4;border-color:#d8c4a4}
.back-to-top{
  position:fixed;z-index:10;right:var(--sound-right);
  bottom:calc(60px + env(safe-area-inset-bottom));
  display:inline-flex;align-items:center;gap:8px;min-block-size:44px;padding:0 14px;
  border:1px solid #d6c4a6;border-radius:999px;
  background:#f5ecdc;color:#372d24;box-shadow:0 3px 12px #21180e22;
  font-size:.85rem;font-weight:440;
}
.back-to-top[hidden]{display:none}
.back-to-top .action-arrow{transform:rotate(-90deg)}
.back-to-top:hover{background:#fffaed;border-color:#bd9e76}
.back-to-top:focus-visible{
  outline-offset:3px;outline-color:#f5ecdc;box-shadow:0 0 0 4px #372d24;
}
.sound-toggle :is(.sound-meter,.sound-muted){grid-area:1/1;transition:opacity .18s ease}
.sound-muted{position:relative;inline-size:20px;block-size:16px;direction:ltr}
.sound-muted::before{
  content:"";position:absolute;inset:2px auto 2px 0;inline-size:11px;
  background:currentColor;clip-path:polygon(0 34%,35% 34%,82% 0,100% 0,100% 100%,82% 100%,35% 66%,0 66%);
}
.sound-muted::after{
  content:"";position:absolute;inset:4.5px 0 4.5px auto;inline-size:7px;
  background:
    linear-gradient(45deg,transparent 42%,currentColor 44% 56%,transparent 58%),
    linear-gradient(-45deg,transparent 42%,currentColor 44% 56%,transparent 58%);
}
.sound-meter{display:flex;align-items:center;gap:2.5px;block-size:16px;direction:ltr;opacity:0}
.sound-toggle[data-playing] .sound-muted{opacity:0}
.sound-toggle[data-playing] .sound-meter{opacity:1}
.sound-meter i{
  inline-size:2px;block-size:15px;background:currentColor;border-radius:2px;
}
.sound-toggle[data-playing] .sound-meter i{transform:scaleY(var(--level))}
.sound-meter i:nth-child(1){--level:.56;--low:.24;--rate:1.02s;--phase:-.57s}
.sound-meter i:nth-child(2){--level:.94;--low:.38;--rate:1.54s;--phase:-.42s}
.sound-meter i:nth-child(3){--level:.71;--low:.25;--rate:1.18s;--phase:-.81s}
.sound-meter i:nth-child(4){--level:.53;--low:.18;--rate:1.33s;--phase:-.36s}
@media(prefers-reduced-motion:no-preference){
  .sound-toggle{transition:transform .18s cubic-bezier(.23,1,.32,1),background-color .2s,color .2s,border-color .2s}
  .sound-toggle:active{transform:scale(.95)}
  .sound-toggle[data-playing] .sound-meter i{
    animation:sound-level var(--rate) var(--phase) ease-in-out infinite alternate;
  }
  @keyframes sound-level{from{transform:scaleY(var(--low))}to{transform:scaleY(var(--level))}}
}
@media(hover:hover) and (pointer:fine){
  .sound-toggle:not([data-playing]):hover{background:#fffaed;border-color:#bd9e76}
  .sound-toggle[data-playing]:hover{background:#4b4034}
}
body:has(.screen.in-campaign) .sound-toggle{
  --campaign-ink-shadow:#1f1915e0;
  color:#fffbf1;background:none;border-color:transparent;box-shadow:none;
  transition-property:transform;
}
body:has(.screen.in-campaign) .sound-toggle[data-campaign-dark]{
  --campaign-ink-shadow:#fffaf1a6;
  color:#262119;outline-color:currentColor;
}
body:has(.screen.in-campaign) .sound-toggle :is(.sound-meter,.sound-muted){
  filter:drop-shadow(0 1px 2px var(--campaign-ink-shadow));
}
@media(forced-colors:active){
  :is(.sound-toggle,.back-to-top):focus-visible{outline-color:Highlight}
  .sound-meter i,.sound-muted::before,.sound-muted::after{forced-color-adjust:none;color:ButtonText}
}
.edition-copy h2{margin-block:.28em .4em}
@media(max-width:780px){
  .shore .chapter-title{bottom:6%;padding-block:9px}
  .walk .chapter-title{max-inline-size:63%}
  .plate .chapter-title .outfit-detail{margin-block-start:.46rem}
  .edition-copy h2{margin:0}
}
