/* zakatelier.com
   Layout: white paper, a fixed index rail on the left, and one idea repeated at
   three scales: a round window onto the paint. Big words are cut out of the
   paper so the painting shows through; the lens does the same under the cursor. */

@font-face {
  font-family: "Archivo"; src: url("archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink:   #141412;
  --mid:   #77746d;
  --soft:  #b4b0a7;
  --rule:  #e7e4dd;
  --wash:  #f6f4ef;
  --apple: #b5341f;            /* sampled from the apple in the 2026 paintings */
  --font:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --side:  248px;
  --pad:   clamp(22px, 4.6vw, 64px);
  --ease:  cubic-bezier(.32,.72,0,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100% }
body {
  background: var(--paper); color: var(--ink);
  font: 340 15.5px/1.65 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
::selection { background: var(--ink); color: var(--paper) }
:focus-visible { outline: 2px solid var(--apple); outline-offset: 3px }
p { text-wrap: pretty }

@view-transition { navigation: auto }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s }

/* display voice: condensed and heavy, so letters are wide enough to hold paint */
.d { font-family: var(--font); font-stretch: 62%; font-weight: 850; line-height: .88; letter-spacing: -.012em; text-wrap: balance }
.paint {
  background: var(--bg, none) center / cover no-repeat, var(--ink);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lbl { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); font-weight: 420 }
.link { border-bottom: 1px solid var(--soft); transition: border-color .2s }
.link:hover { border-color: var(--ink) }

.go { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 14px; letter-spacing: .02em }
.go svg { width: 34px; height: 10px; overflow: visible; transition: transform .35s var(--ease) }
.go:hover svg { transform: translateX(8px) }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px;
  border: 1px solid var(--ink); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper) }
.btn.solid { background: var(--ink); color: var(--paper) }
.btn.solid:hover { background: var(--apple); border-color: var(--apple) }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.room-strip::-webkit-scrollbar { display: none }
.js-drift .room-strip { overflow: visible }
.say { text-transform: uppercase }
.sent { background: var(--wash); border-left: 2px solid var(--apple); padding: 12px 16px; max-width: 460px }

/* ------------------------------------------------------------ side rail */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 60;
  padding: 34px 30px 28px; display: flex; flex-direction: column;
  background: var(--paper); border-right: 1px solid var(--rule); overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 13px; margin-bottom: 44px }
.brand .logo { width: 70px; flex: 0 0 auto }
.brand .name { font-size: 12.5px; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; font-weight: 420 }
.nav-h { font-size: 11px; letter-spacing: .15em; color: var(--soft); margin-bottom: 12px }
.side ul { list-style: none; margin-bottom: 30px }
.side li a { display: flex; gap: 10px; padding: 5px 0; font-size: 13.5px; color: var(--mid); transition: color .2s }
.side li a:hover, .side li a.here { color: var(--ink) }
.side li a .yr { width: 34px; flex: 0 0 auto; color: var(--soft); font-variant-numeric: tabular-nums }
.side li a.here .yr { color: var(--apple) }
.side li a.here:not(:has(.yr))::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--apple); align-self: center; margin-right: -2px }
.side .social { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start }
.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px }
.langs a { color: var(--mid); min-height: 28px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent }
.langs a:hover { color: var(--ink) }
.langs a.here { color: var(--ink); border-color: var(--apple) }
.ig { width: 18px; height: 18px; color: var(--mid); transition: color .2s; display: block }
a:hover > .ig { color: var(--ink) }

.top { display: none }
.scrim { display: none }
.main { margin-left: var(--side); min-height: 100vh; min-width: 0 }

/* ------------------------------------------------------------ home: the sentence */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: clip; container-type: inline-size; cursor: crosshair }
.say {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--pad) 7vh;
  font-size: min(14.2cqw, 20.5vh); opacity: 0; transition: opacity 1.1s ease;
}
.say.on { opacity: 1 }
.say span { display: block; max-width: 100% }
.hero-lens {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--bg) center / cover no-repeat;
  clip-path: circle(var(--r, 150px) at var(--x, 72%) var(--y, 36%));
}
.hero-ring {
  position: absolute; left: var(--x, 72%); top: var(--y, 36%); width: calc(var(--r, 150px) * 2); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(20,20,18,.55), 0 18px 50px -18px rgba(0,0,0,.45);
}
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--mid);
}
.hero-foot a { color: var(--ink) }
.pips { display: flex; gap: 4px; list-style: none }
.pips button { width: 26px; height: 26px; display: grid; place-items: center }
.pips button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); transition: background .3s }
.pips button[aria-current="true"]::before { background: var(--apple); border-color: var(--apple) }
.hero-hint { margin-left: auto }

/* ------------------------------------------------------------ home: three rooms */
.rooms { padding: clamp(60px, 10vh, 120px) 0 0 }
.room { padding: 0 0 clamp(70px, 12vh, 140px); container-type: inline-size; overflow: clip }
.room-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(24px, 4cqw, 60px); align-items: end; padding: 0 var(--pad) }
.room-year { font-size: clamp(120px, 30cqw, 380px); display: block }
.room-text { padding-bottom: clamp(10px, 2.4cqw, 34px); max-width: 44ch }
.room-text h2 { font-size: clamp(30px, 4.6cqw, 58px); margin-bottom: 14px }
.room-text p { color: var(--mid); margin-bottom: 20px }
.room-strip { overflow-x: auto; scrollbar-width: none; padding-right: var(--pad); display: flex; gap: clamp(14px, 2.2cqw, 28px); margin-top: clamp(26px, 4cqw, 48px); padding-left: var(--pad); will-change: transform }
.room-strip a { flex: 0 0 auto; width: clamp(150px, 21cqw, 270px) }
.room-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 16px 34px -22px rgba(0,0,0,.5); transition: transform .5s var(--ease) }
.room-strip a:hover img { transform: translateY(-6px) }

.band { background: var(--wash); border-block: 1px solid var(--rule); container-type: inline-size }
.band-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch }
.band-in > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover }
.band-txt { padding: clamp(34px, 6cqw, 84px) var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 22px }
.band-txt blockquote { font-size: clamp(26px, 4cqw, 46px) }
.band-txt p { color: var(--mid); max-width: 46ch }
.note { padding: clamp(40px, 7vh, 80px) var(--pad); display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; justify-content: space-between }
.note p { font-size: clamp(19px, 2.2vw, 26px); font-weight: 300; max-width: 30ch }

/* ------------------------------------------------------------ series: the wall */
.wall { position: relative }
.wall-stick { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100vh; min-height: 520px }
.wall-head { display: flex; align-items: end; gap: 20px 34px; flex-wrap: wrap; padding: 34px var(--pad) 0 }
.wall-head h1 { font-size: clamp(34px, 5vw, 68px) }
.wall-head .lbl { padding-bottom: 8px }
.views { margin-left: auto; display: flex; gap: 2px; padding-bottom: 4px }
.views button { min-height: 36px; padding: 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); border-bottom: 1px solid transparent }
.views button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink) }
.wall-view { overflow-x: auto; overflow-y: hidden; min-height: 0; scrollbar-width: thin }
.wall-track { position: relative; display: flex; align-items: center; gap: clamp(44px, 6.5vw, 120px); height: 100%; width: max-content; padding: 0; padding-inline: var(--pad) 12vw }
.js-wall .wall-stick { position: sticky; top: 0 }
.js-wall .wall-view { overflow: hidden }
.js-wall .wall-track { will-change: transform }

.hang { flex: 0 0 auto; display: flex; flex-direction: column; gap: 16px }
.hang .open { display: block; cursor: zoom-in; position: relative }
.hang img { height: min(52vh, 600px); width: auto; max-width: none; box-shadow: 0 22px 44px -26px rgba(0,0,0,.55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); background: var(--wash) }
.hang .open:hover img { transform: translateY(-5px); box-shadow: 0 32px 54px -28px rgba(0,0,0,.55) }
.tag { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 0 8px; align-items: baseline; font-size: 13px; line-height: 1.45; max-width: min(52vh, 600px) }
.tag .n { color: var(--soft); font-variant-numeric: tabular-nums }
.tag .t { font-weight: 520; font-size: 14.5px }
.tag .m { grid-column: 2 / 4; color: var(--mid) }
.tag .p { font-variant-numeric: tabular-nums; white-space: nowrap }
.tag .p s { color: var(--soft); margin-right: 6px }

.walltext { flex: 0 0 auto; width: min(36ch, 76vw); align-self: center }
.walltext h2, .walltext .lbl { margin-bottom: 14px }
.walltext h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 520 }
.walltext p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-weight: 300 }
.walltext p + p { margin-top: 14px; font-size: 14px; color: var(--mid); font-weight: 340 }
.walltext .go { margin-top: 22px }
.walltext.intro h2 { display: none }
.wall-end { flex: 0 0 auto; width: min(30ch, 70vw); display: flex; flex-direction: column; gap: 18px; align-items: flex-start }
.wall-end .d { font-size: clamp(34px, 4vw, 56px) }

.wall-foot { display: flex; align-items: center; gap: 22px; padding: 0 var(--pad) 26px; font-size: 12.5px; color: var(--mid) }
.count { font-variant-numeric: tabular-nums; color: var(--ink); min-width: 62px }
.rail { flex: 1; height: 1px; background: var(--rule); position: relative }
.rail i { position: absolute; left: calc(var(--p, 0) * 100%); top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--apple) }
.rail b { position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--p, 0) * 100%); background: var(--ink) }

.gridview { display: none; padding: 28px var(--pad) 70px }
.gridview ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 34px 26px }
.gridview .open { display: block; width: 100%; text-align: left; cursor: zoom-in }
.gridview img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; background: var(--wash); transition: transform .4s var(--ease) }
.gridview .open:hover img { transform: translateY(-4px) }
.gridview .t { font-size: 13.5px; font-weight: 520 }
.gridview .n { font-size: 12.5px; color: var(--soft); margin-right: 8px; font-variant-numeric: tabular-nums }
.show-grid .wall-view, .show-grid .wall-foot { display: none }
.show-grid .wall-stick { position: static; height: auto; min-height: 0; display: block }
.show-grid .gridview { display: block }
.show-grid.wall { height: auto !important }

.essay { max-width: 700px; padding: clamp(56px, 9vh, 110px) var(--pad) 40px }
.essay h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 26px }
.essay h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 520; margin: 34px 0 12px }
.essay p { margin-bottom: 16px }
.next { padding: 30px var(--pad) 90px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start }
.next a.d { font-size: clamp(40px, 7vw, 104px) }

/* ------------------------------------------------------------ the close look */
.look { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: var(--paper); color: var(--ink); overflow: hidden }
.look::backdrop { background: var(--paper) }
.look[open] { display: grid; grid-template-columns: minmax(0, 1fr) 380px; animation: lookin .35s var(--ease) }
@keyframes lookin { from { opacity: 0; transform: scale(.985) } }
.look-stage { position: relative; display: grid; place-items: center; padding: 34px; background: var(--wash); min-height: 0; overflow: hidden; touch-action: none }
#look-img { cursor: none }
.look-stage img { max-width: 100%; max-height: calc(100dvh - 68px); width: auto; height: auto; box-shadow: 0 30px 70px -34px rgba(0,0,0,.6); transition: opacity .25s }
.look-stage img.swap { opacity: 0 }
.lens {
  position: absolute; width: 250px; height: 250px; border-radius: 50%; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(.6); transition: opacity .2s, transform .3s var(--ease);
  background-repeat: no-repeat; background-color: var(--wash);
  box-shadow: 0 0 0 1px rgba(255,255,255,.95), 0 0 0 2px rgba(20,20,18,.6), 0 24px 50px -16px rgba(0,0,0,.6);
}
.lens.on { opacity: 1; transform: translate(-50%, -50%) scale(1) }
.look-info { display: flex; flex-direction: column; gap: 18px; padding: 30px 30px 24px; overflow-y: auto; border-left: 1px solid var(--rule) }
.look-top { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.look-x { width: 44px; height: 44px; margin: -10px -12px -10px 0; display: grid; place-items: center }
.look-x svg { width: 18px; height: 18px }
.look-info h2 { font-size: clamp(34px, 3.4vw, 50px) }
.look-meta { color: var(--mid); font-size: 13.5px }
.look-desc { font-size: 17px; line-height: 1.5; font-weight: 300 }
.look-story { font-size: 14.5px; line-height: 1.7; color: #3a3935; border-top: 1px solid var(--rule); padding-top: 16px }
.sw { display: flex; gap: 0; height: 26px }
.sw i { flex: 1 }
.scale { border-top: 1px solid var(--rule); padding-top: 14px }
.scale svg { width: 100%; max-width: 250px; height: auto; display: block; margin-top: 8px }
.look-price { font-size: 20px; font-weight: 520; font-variant-numeric: tabular-nums }
.look-price s { color: var(--soft); font-weight: 340; margin-right: 8px; font-size: 16px }
.look-hint { font-size: 12.5px; color: var(--mid) }
.look-nav { margin-top: auto; display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 12px }
.look-nav button { min-height: 44px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); padding: 0 4px }
.look-nav button:hover { color: var(--ink) }

/* ------------------------------------------------------------ index of works */
.page { padding: clamp(40px, 7vh, 80px) var(--pad) 60px }
.page-h { font-size: clamp(48px, 9vw, 132px); margin-bottom: clamp(22px, 4vh, 44px) }
.lede { font-size: clamp(18px, 1.9vw, 23px); font-weight: 300; line-height: 1.5; max-width: 34em; margin-bottom: 34px }
.ix-group { border-top: 1px solid var(--ink); padding: 14px 0 46px; display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 0 30px }
.ix-group > header .d { font-size: clamp(40px, 6vw, 78px) }
.ix-group > header p { color: var(--mid); font-size: 13.5px; margin-top: 8px }
.ix-list { list-style: none }
.ix-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 4px 0; border-bottom: 1px solid var(--rule); transition: padding .3s var(--ease), color .2s }
.ix-list .n { color: var(--soft); font-size: 12.5px; font-variant-numeric: tabular-nums }
.ix-list .t { font-size: clamp(17px, 1.9vw, 24px); font-weight: 300 }
.ix-list .p { color: var(--mid); font-size: 13px; font-variant-numeric: tabular-nums }
.ix-list img { display: none; width: 40px; height: 40px; object-fit: cover }
@media (hover: hover) { .ix-list a:hover { padding-left: 14px } .ix-list a:hover .t { font-weight: 520 } }
@media (hover: none) { .ix-list a { grid-template-columns: 40px 26px minmax(0, 1fr) auto } .ix-list img { display: block } }
.peek { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 1; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); background: var(--wash) center / cover }
.peek.on { opacity: 1 }

/* ------------------------------------------------------------ about, classes, contact */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: start }
.prose { max-width: 62ch }
.prose h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 520; margin: 38px 0 14px }
.prose h2:first-child { margin-top: 0 }
.prose p { margin-bottom: 16px }
.figure img { width: 100% }
.figure figcaption { font-size: 12.5px; color: var(--mid); margin-top: 8px }
.statement { font-size: clamp(30px, 5.2vw, 72px); max-width: 18em; margin-bottom: clamp(30px, 6vh, 60px) }

.life { margin: clamp(50px, 9vh, 100px) 0 0 }
.life h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 8px }
.life > p { color: var(--mid); max-width: 56ch; margin-bottom: 18px }
.life svg { width: 100%; height: auto; display: block; overflow: visible }
.life svg text { font-family: var(--font); fill: var(--mid); font-size: 12.5px }
.life svg .k { fill: var(--ink); font-weight: 520; font-size: 13.5px }
.life svg .axis { stroke: var(--rule); stroke-width: 1 }
.life svg .line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.life svg .dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5 }
.life svg .ser { fill: var(--apple) }
.life svg .trip { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4 }
.life svg .big { font-size: 15px }
.life svg .ball { fill: var(--apple) }
.life svg .halo { fill: var(--apple); opacity: .16 }
.life #walker { display: none }
.life.walk #walker { display: block }
.life.walk .ev { opacity: 0; transition: opacity .6s ease }
.life.walk .ev.on { opacity: 1 }
.globe { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); overflow: hidden; touch-action: pan-y; cursor: grab; margin-top: 18px; direction: ltr }
.globe:active { cursor: grabbing }
.globe canvas { display: block; width: 100%; height: 100% }
.globe-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mid); margin-top: 10px; max-width: none }
@media (max-width: 640px) { .globe { aspect-ratio: 4 / 5 } }
.life .chart { overflow-x: auto; scrollbar-width: none; padding-top: 34px }
.life .chart::-webkit-scrollbar { display: none }
.again { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); border-bottom: 1px solid var(--soft); min-height: 32px }
.again:hover { color: var(--ink) }
.route { list-style: none; margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 30px }
.route li { border-top: 1px solid var(--rule); padding: 12px 0 16px }
.route .y { display: block; font-size: 12.5px; color: var(--apple); font-variant-numeric: tabular-nums; letter-spacing: .06em }
.route .w { font-weight: 520 }
.route p { color: var(--mid); font-size: 14px; margin-top: 2px }

.faq { border-bottom: 1px solid var(--rule); padding: 14px 0 }
.faq summary { cursor: pointer; font-weight: 520; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 30px; align-items: center }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--mid); font-size: 20px; font-weight: 300 }
.faq[open] summary::after { content: "\2013" }
.faq p { margin: 10px 0 0; color: var(--mid) }

.classes { list-style: none; margin-top: 10px }
.classes li { display: grid; grid-template-columns: minmax(160px, 320px) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); padding: 30px 0; border-top: 1px solid var(--rule); align-items: start }
.classes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30% }
.classes h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 8px }
.classes .lbl { margin-bottom: 14px }
.classes p { max-width: 56ch; margin-bottom: 18px }

.form { display: grid; gap: 18px; max-width: 460px }
.form label { display: grid; gap: 7px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid) }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--soft); background: var(--paper); font: 340 15.5px/1.5 var(--font); color: var(--ink); border-radius: 0 }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none }
.form textarea { min-height: 150px; resize: vertical }
.form .btn { justify-self: start }
.facts { display: grid; gap: 0; margin: 0 }
.facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule) }
.facts dt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); padding-top: 3px }
.facts dd { overflow-wrap: anywhere }
.facts .ig { display: inline-block; vertical-align: -3px; margin-right: 6px }
.asked { background: var(--wash); border-left: 2px solid var(--apple); padding: 12px 16px; font-size: 14px; max-width: 460px; margin-bottom: 20px }

/* ------------------------------------------------------------ footer */
.foot { display: flex; align-items: center; gap: 12px; padding: 30px var(--pad); border-top: 1px solid var(--rule); font-size: 12px; letter-spacing: .1em; color: var(--mid) }
.foot img { width: 34px }
.foot a:last-child { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -13px }

/* ------------------------------------------------------------ small screens */
@media (max-width: 860px) {
  .side { transform: translateX(-102%); transition: transform .35s var(--ease); width: min(290px, 86vw); z-index: 95; padding-top: 26px }
  .side.open { transform: none; box-shadow: 0 0 50px rgba(0,0,0,.18) }
  .scrim.on { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(20,20,18,.28) }
  .top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 80; height: 58px; padding: 0 12px 0 22px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule) }
  .top .logo { width: 62px }
  .menu { width: 44px; height: 44px; display: grid; place-items: center }
  .menu span, .menu span::before, .menu span::after { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: .3s var(--ease) }
  .menu span { position: relative }
  .menu span::before, .menu span::after { content: ""; position: absolute; left: 0 }
  .menu span::before { top: -7px } .menu span::after { top: 7px }
  .menu[aria-expanded="true"] span { background: transparent }
  .menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg) }
  .menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg) }
  .main { margin-left: 0 }

  .hero { height: calc(100svh - 58px); min-height: 460px }
  .say { font-size: min(14.6cqw, 15svh); padding-bottom: 12svh }
  .hero-hint { display: none }
  .room-head { grid-template-columns: minmax(0, 1fr) }
  .band-in { grid-template-columns: minmax(0, 1fr) }

  .wall-stick, .js-wall .wall-stick { position: static; height: auto; min-height: 0; display: block }
  .wall-head { padding-top: 26px }
  .wall-view, .js-wall .wall-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 26px 0 22px }
  .wall-view::-webkit-scrollbar { display: none }
  .wall-track { gap: 30px; align-items: flex-start; height: auto; padding: 0 22px }
  .hang, .walltext, .wall-end { scroll-snap-align: center }
  .hang { width: 76vw } .hang img { width: 100%; height: auto } .tag { max-width: none }
  .walltext, .wall-end { align-self: center }

  .look[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow-y: auto }
  .look-stage { padding: 16px }
  .look-stage img { max-height: 58dvh }
  .look-info { border-left: 0; overflow: visible; padding: 20px 22px 22px }
  .lens { width: 190px; height: 190px }

  .cols { grid-template-columns: minmax(0, 1fr) }
  .ix-group { grid-template-columns: minmax(0, 1fr); gap: 16px }
  .classes li { grid-template-columns: minmax(0, 1fr) } .classes img { max-width: none }
  .life svg { min-width: 780px }
}
@media (min-width: 861px) { .hero-touch { display: none } }
@media (hover: none) { #look-img { cursor: default } }

/* ------------------------------------------------------------ Arabic: right to left, its own letterforms */
@font-face {
  font-family: "Noto Sans Arabic"; src: url("noto-arabic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
:root:lang(ar) { --font: "Noto Sans Arabic", "Archivo", "Geeza Pro", Tahoma, sans-serif }
:lang(ar) body { font-size: 16px; line-height: 1.9; font-weight: 380 }
:lang(ar) * { letter-spacing: 0 !important }                       /* spacing breaks the joins between Arabic letters */
:lang(ar) .d { font-stretch: 70%; font-weight: 800; line-height: 1.28 }
:lang(ar) .say { line-height: 1.22; font-size: min(12.4cqw, 17.5vh) }
:lang(ar) .lbl, :lang(ar) .nav-h, :lang(ar) .btn, :lang(ar) .views button, :lang(ar) .form label, :lang(ar) .facts dt, :lang(ar) .again, :lang(ar) .look-nav button { font-size: 13.5px }
:lang(ar) .brand .name { font-size: 16px; line-height: 1.5; font-weight: 600 }
:lang(ar) .look-story { font-size: 15.5px; line-height: 1.95 }
:lang(ar) .look-desc, :lang(ar) .walltext p { line-height: 1.75 }
:lang(ar) .room-year, :lang(ar) .ix-group > header .d, :lang(ar) .life svg { font-family: "Archivo", sans-serif }
:lang(ar) .life svg text { font-family: "Noto Sans Arabic", "Archivo", sans-serif }
[dir="rtl"] .side { inset: 0 0 0 auto; border-right: 0; border-left: 1px solid var(--rule) }
[dir="rtl"] .main { margin-left: 0; margin-right: var(--side) }
[dir="rtl"] .go svg { transform: scaleX(-1) }
[dir="rtl"] .go:hover svg { transform: translateX(-8px) scaleX(-1) }
[dir="rtl"] .hero-hint, [dir="rtl"] .views { margin-left: 0; margin-right: auto }
[dir="rtl"] .rail i { left: auto; right: calc(var(--p, 0) * 100%); margin: -4.5px -4.5px 0 0 }
[dir="rtl"] .rail b { left: auto; right: 0 }
[dir="rtl"] .gridview .open { text-align: right }
[dir="rtl"] .gridview .n { margin-right: 0; margin-left: 8px }
[dir="rtl"] .look-info { border-left: 0; border-right: 1px solid var(--rule) }
[dir="rtl"] .look-x { margin: -10px 0 -10px -12px }
[dir="rtl"] .sent, [dir="rtl"] .asked { border-left: 0; border-right: 2px solid var(--apple) }
[dir="rtl"] .facts .ig { margin-right: 0; margin-left: 6px }
[dir="rtl"] .foot a:last-child { margin-left: -13px; margin-right: auto }
[dir="rtl"] .life .chart { direction: ltr }
[dir="rtl"] .count, [dir="rtl"] .tag .n, [dir="rtl"] .ix-list .n { direction: ltr; unicode-bidi: isolate }
@media (hover: hover) { [dir="rtl"] .ix-list a:hover { padding-left: 0; padding-right: 14px } }
@media (max-width: 860px) {
  [dir="rtl"] .side { transform: translateX(102%) }
  [dir="rtl"] .side.open { transform: none }
  [dir="rtl"] .top { padding: 0 22px 0 12px }
  [dir="rtl"] .main { margin-right: 0 }
  [dir="rtl"] .look-info { border-right: 0 }
  :lang(ar) .say { font-size: min(13cqw, 13svh) }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none }
}
