/* kubi.tr — KUBİLAY HAN. One stylesheet for every page, both languages. */

:root {
  --bg: #13100c;            /* the han at night */
  --bg-2: #1b1712;
  --line: #3a3127;
  --ink: #f1e8d8;           /* lime plaster in lamplight */
  --dim: #b3a792;
  --mute: #8e8474;          /* 5.2:1 on --bg, 4.8:1 on --bg-2 (was #847a6a, just under 4.5:1 for 14–15 px text) */
  --gilt: #d9a74c;          /* the kitabe's gold */
  --gilt-hi: #f2c56d;
  --kepenk: #2f3a36;        /* the han's shutter green */
  --amber: #ffb547;
  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 48px);
  --head-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--gilt) 55%, transparent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gilt); }
:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow, .tag, .bay__no, .shop__no {
  font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gilt);
}
.lede { font-size: clamp(19px, 1.6vw, 23px); color: var(--dim); max-width: 40rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
  font: 500 15px/1.2 var(--sans); text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--gilt); }
.btn--gold { background: var(--gilt); border-color: var(--gilt); color: #17120b; }
.btn--gold:hover { background: var(--gilt-hi); border-color: var(--gilt-hi); }
/* a shop whose own site is not online yet: the button's place, not a button (tools/data.mjs ONLINE) */
.btn--soon { border-style: dashed; color: var(--dim); cursor: default; }
.btn--soon:hover { border-color: var(--line); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--gilt); color: #111; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--head-h);
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 8, 6, .72), rgba(10, 8, 6, 0));
  transition: background .35s;
}
.top.is-solid { background: rgba(16, 13, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top__mark {
  font: 600 17px/1 var(--serif); letter-spacing: .14em; text-decoration: none; color: var(--gilt-hi); white-space: nowrap;
}
.top__nav { display: flex; gap: clamp(12px, 2.4vw, 30px); margin-left: auto; }
.top__nav a { font-size: 15px; text-decoration: none; color: var(--dim); white-space: nowrap; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--ink); }
.top__lang {
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px;
}
.top__lang:hover { border-color: var(--gilt); }
@media (max-width: 760px) {
  .top { gap: 10px; }
  .top__nav { gap: 14px; }
  .top__nav a:nth-child(1) { display: none; }   /* the mark already goes home */
  .top__mark { font-size: 15px; letter-spacing: .1em; }
}
@media (max-width: 430px) {
  .top__nav a:nth-child(4) { display: none; }   /* contact: the e-mail is in every footer; the work and the maker stay */
  .top__nav a { font-size: 14px; }
}

/* -------------------------------------------------------------------- hero */
.hero { position: relative; height: 430svh; }
.hero__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #070a12; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(8, 7, 6, .62) 0%, rgba(8, 7, 6, .25) 38%, rgba(8, 7, 6, 0) 60%),
    linear-gradient(to top, rgba(8, 7, 6, .55) 0%, rgba(8, 7, 6, 0) 34%);
  opacity: var(--shade, 1);
}
.hero__beat { position: absolute; z-index: 2; opacity: 0; will-change: opacity, transform; }
.hero__beat--1 { left: var(--gutter); bottom: clamp(36px, 9svh, 96px); max-width: min(36rem, 100% - 2 * var(--gutter)); opacity: 1; }
.hero__title { margin: 0 0 18px; }
.hero__han {
  display: block; font: 600 clamp(15px, 1.25vw, 18px)/1 var(--serif); letter-spacing: .24em; color: var(--gilt-hi);
  margin-bottom: 14px;
}
.hero__who { display: block; font: 600 clamp(48px, 7.6vw, 112px)/.95 var(--sans); letter-spacing: -.035em; }
.hero__lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--ink); max-width: 31rem; margin-bottom: 10px; }
.hero__where { font: 500 13px/1.5 var(--mono); letter-spacing: .04em; color: var(--dim); margin-bottom: 18px; }
.hero__pun { font-size: 15px; color: var(--dim); max-width: 30rem; font-style: italic; }
.hero__cue {
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gilt-hi);
  margin: 22px 0 0; animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(6px); opacity: 1; } }
.hero__beat--2 { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(40rem, 100% - 2 * var(--gutter)); text-align: center; }
.hero__beat--2 p, .hero__beat--3 p {
  font: 600 clamp(26px, 3.3vw, 48px)/1.12 var(--sans); letter-spacing: -.02em; margin: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .6);
}
.hero__beat--3 { left: var(--gutter); bottom: clamp(36px, 9svh, 96px); max-width: min(34rem, 100% - 2 * var(--gutter)); }
@media (max-aspect-ratio: 4/5) {
  .hero__shade { background: linear-gradient(to top, rgba(8, 7, 6, .8) 0%, rgba(8, 7, 6, .4) 38%, rgba(8, 7, 6, 0) 62%); }
  .hero__beat--1, .hero__beat--3 { bottom: clamp(28px, 6svh, 60px); }
  .hero__pun { display: none; }
}

/* ------------------------------------------------------------------ arcade */
.arcade { position: relative; height: var(--arcade-h, 900svh); }
.arcade__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); align-content: start;
  padding-top: calc(var(--head-h) + 8px);
  background:
    radial-gradient(120% 70% at 50% 100%, #221c15 0%, var(--bg) 60%);
}
.arcade__head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.arcade__head h2 { font: 600 clamp(15px, 1.2vw, 18px)/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt-hi); margin: 0; }
.arcade__head p { margin: 0; color: var(--dim); font-size: 15px; }
.arcade__sound {
  margin-left: auto; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--dim);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.arcade__sound:hover { color: var(--ink); border-color: var(--gilt); }
.arcade__stage { position: relative; align-self: center; }
.arcade__track {
  display: flex; align-items: flex-start; gap: 0; width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}
/* the strip moves by fractions of a pixel, so each tile's edge is anti-aliased against the page: a dark hairline
   at every joint (9 Oct). Neighbours overlap by a pixel; their edges are the same unlit render (tools/tiles.py). */
.arcade__track > .bay + .bay { margin-left: -1px; }
.arcade__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -22px; height: 2px; background: var(--line); }
.arcade__progress i { display: block; height: 100%; width: 100%; background: var(--gilt); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* one bay: three registered layers from the same orthographic Blender camera */
.bay { --bay-h: min(100svh - 250px, 800px); width: calc(var(--bay-h) * 1050 / 1500); flex: none; margin: 0; }
.arcade { --bay-w: calc(min(100svh - 250px, 800px) * 1050 / 1500); }
.bay__fig { position: relative; margin: 0; width: 100%; aspect-ratio: 1050 / 1500; user-select: none; -webkit-user-select: none; background: #0d0b09; }
.bay__fig img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.bay__lit { opacity: 0; will-change: opacity; }
.bay__clip { position: absolute; inset: 0; clip-path: inset(var(--box, 49.4%) 0 0 0); pointer-events: none; }
.bay__curtain { will-change: transform; }
.bay__door { position: absolute; z-index: 2; display: none; cursor: pointer; }
.bay.is-open .bay__door { display: block; }
.bay__grab {
  position: absolute; z-index: 3; left: var(--ox0, 14%); width: calc(var(--ox1, 86%) - var(--ox0, 14%));
  top: var(--grab-top, 70%); height: var(--grab-h, 25%);
  cursor: grab; touch-action: none; border: 0; background: transparent; padding: 0; border-radius: 4px;
}
.bay__grab:active { cursor: grabbing; }
.bay__grab:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 2px; }
.bay__hint {
  position: absolute; z-index: 4; left: 50%; top: var(--hint-top, 80%); transform: translate(-50%, -50%);
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: #f6efe2; background: rgba(12, 10, 8, .72); padding: 8px 11px 7px; border-radius: 999px; pointer-events: none;
  transition: opacity .35s; opacity: 0;
}
.bay__hint::before { content: "↑ "; color: var(--amber); }
.bay.is-hint .bay__hint { opacity: 1; }
.bay__enter {
  position: absolute; z-index: 4; left: 50%; bottom: 4.5%; transform: translate(-50%, 8px);
  font: 600 14px/1 var(--sans); color: #17120b; background: var(--gilt-hi); border-radius: 999px; padding: 11px 16px;
  text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); white-space: nowrap;
}
.bay.is-lit .bay__enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bay__cap { margin: 14px 0 0; padding: 0 14px; min-height: 5.2em; }
.bay__no { display: block; margin-bottom: 4px; }
.bay__name { display: block; font: 600 clamp(18px, 1.5vw, 22px)/1.15 var(--sans); text-decoration: none; letter-spacing: -.005em; }
a.bay__name:hover { color: var(--gilt-hi); }
.bay__sub { display: block; font-size: 14px; color: var(--dim); line-height: 1.35; margin-top: 3px; }
.bay--kiralik .bay__name { color: var(--gilt-hi); }

@media (max-width: 700px) {
  .bay { --bay-h: min(60svh, 640px); }
  .arcade { --bay-w: calc(min(60svh, 640px) * 1050 / 1500); }
  .arcade__head p { font-size: 14px; }
  .bay__cap { min-height: 4.6em; }
}

/* -------------------------------------------------------- home: after arcade */
.atolye-teaser { padding: clamp(80px, 14vw, 180px) 0 clamp(40px, 6vw, 80px); }
.atolye-teaser h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 18ch; }
.atolye-teaser p { max-width: 40rem; color: var(--dim); font-size: 19px; }
.atolye-teaser__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.atolye-teaser__fig { display: block; border-radius: 2px; overflow: hidden; }
.atolye-teaser__fig img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.atolye-teaser__fig:hover img { transform: scale(1.02); }
@media (max-width: 860px) { .atolye-teaser__grid { grid-template-columns: 1fr; } }
.index-strip { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.index-strip h2 { font: 600 15px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt-hi); margin-bottom: 28px; }
.index-strip__list { list-style: none; margin: 0 0 48px; padding: 0; columns: 3 16rem; column-gap: 40px; }
.index-strip__list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.index-strip__list a { display: grid; grid-template-columns: 3.4em 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 12px 0; text-decoration: none; }
.index-strip__list span { grid-row: span 2; font: 500 12px/1.9 var(--mono); color: var(--gilt); }
.index-strip__list b { font-weight: 600; }
.index-strip__list i { font-style: normal; color: var(--dim); font-size: 14px; }
.index-strip__list a:hover b { color: var(--gilt-hi); }
.contact-line { margin: 0; }

/* -------------------------------------------------------------- shop pages */
main.shop { padding-top: var(--head-h); }
.shop__hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  width: min(84rem, 100% - 2 * var(--gutter)); margin: clamp(16px, 4vw, 48px) auto clamp(48px, 7vw, 96px);
}
.shop__bay { margin: 0; aspect-ratio: 1050 / 1500; max-height: calc(100svh - var(--head-h) - 48px); justify-self: center; }
.shop__bay img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.shop__no { margin-bottom: 18px; }
.shop__name { font-size: clamp(48px, 7vw, 104px); letter-spacing: -.03em; margin-bottom: 16px; }
.shop__line { font-size: clamp(21px, 2vw, 28px); line-height: 1.3; max-width: 30rem; margin-bottom: 30px; }
.shop__note { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }
.shop__window { margin: 18px 0 22px; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--mute); }
.shop__window b { font-weight: 600; color: inherit; letter-spacing: 0.02em; }
.shop__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 24px 64px; margin-bottom: clamp(48px, 7vw, 96px); }
.shop__body h2 { font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gilt); margin-bottom: 14px; }
.shop__body p, .shop__body li { color: var(--dim); font-size: 18px; }
.shop__body ul { margin: 0; padding-left: 1.1em; }
.shop__body li { margin-bottom: .5em; }
.shop__pics { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(48px, 7vw, 96px); }
.pic { margin: 0; grid-column: span 6; background: var(--bg-2); border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 10; }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pic--cutout { background: var(--pic-bg); }                                  /* a product on a plain ground: all of it */
.pic--cutout img { object-fit: contain; padding: 4% 5%; box-sizing: border-box; }
.pic--wide { grid-column: 1 / -1; aspect-ratio: auto; }                        /* a shop's only picture spans the row */
.pic--wide img { height: auto; }
.pic--site { grid-column: 1 / -1; border: 1px solid var(--line); aspect-ratio: auto; }
.pic--site img { height: auto; }
.shop__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 28px 0 0; border-top: 1px solid var(--line); margin-bottom: 64px; }
.shop__nav a { text-decoration: none; color: var(--dim); }
.shop__nav a b { color: var(--ink); font-weight: 600; }
.shop__nav a:hover b { color: var(--gilt-hi); }
@media (max-width: 760px) {
  .shop__hero { grid-template-columns: 1fr; }
  .shop__bay { width: min(78vw, 420px); max-height: none; }
  .pic { grid-column: 1 / -1; }
}

/* ----------------------------------------------------- list, atölye, misc */
main.list, main.atolye, main.notfound { padding-top: calc(var(--head-h) + clamp(32px, 6vw, 80px)); padding-bottom: 80px; }
main.list h1, main.atolye h1, main.notfound h1, .kiralik h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.03em; }
.list__table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 17px; }
.list__table th { text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gilt); padding: 0 16px 14px 0; border-bottom: 1px solid var(--line); }
.list__table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list__table td:first-child { font: 500 13px/1 var(--mono); color: var(--gilt); width: 3em; }
.list__table td:nth-child(2) a { font-weight: 600; text-decoration: none; }
.list__table td:nth-child(2) a:hover { color: var(--gilt-hi); }
.list__table td:nth-child(3), .list__table td:nth-child(4) { color: var(--dim); }
.list__pic { width: 104px; padding-right: 0 !important; }
.list__pic img { width: 84px; height: 120px; object-fit: cover; border-radius: 2px; transition: transform .3s var(--ease); }
.list__table tbody tr { transition: background .2s; }
.list__table tbody tr:hover { background: var(--bg-2); }
.list__table tbody tr:hover .list__pic img { transform: scale(1.04); }
@media (max-width: 640px) {
  .list__table th:nth-child(4), .list__table td:nth-child(4) { display: none; }
  .list__table { font-size: 16px; }
}
main.atolye > p { max-width: 42rem; font-size: 19px; color: var(--dim); }
main.atolye > p.lede { color: var(--gilt); font: 500 14px/1.5 var(--mono); letter-spacing: .04em; }
.atolye__view { margin: clamp(20px, 3vw, 36px) 0 clamp(32px, 4vw, 48px); }
.atolye__view img { width: 100%; height: auto; border-radius: 3px; }
.atolye__view figcaption { margin-top: 10px; color: var(--mute); font-size: 14px; }
/* the things in the room that come from the han's shops (9 Oct): each is a link; pointing at the room shows them
   faintly, pointing at one names it, and the list under the room lights the same thing */
.atolye__room { position: relative; }
.atolye__room img { display: block; }
.spot { position: absolute; border-radius: 6px; outline: 1px solid transparent; outline-offset: 2px;
  transition: outline-color .25s, background-color .25s; }
.atolye__room:hover .spot { outline-color: rgba(217, 167, 76, .3); }
.spot:hover, .spot.is-on { outline: 2px solid var(--gilt); background: rgba(217, 167, 76, .1); }
.spot__label { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px);
  white-space: nowrap; font: 500 12px/1 var(--mono); letter-spacing: .03em; color: var(--ink);
  background: rgba(19, 16, 12, .92); border: 1px solid var(--line); padding: 8px 11px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 2; }
.spot--below .spot__label { bottom: auto; top: calc(100% + 10px); }
.spot:hover .spot__label, .spot.is-on .spot__label { opacity: 1; transform: translate(-50%, 0); }
.atolye__things { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.atolye__things a { display: inline-block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; line-height: 1.2; color: var(--dim); text-decoration: none; transition: border-color .2s, color .2s; }
.atolye__things a:hover, .atolye__things a.is-on, .atolye__things a:focus-visible { border-color: var(--gilt); color: var(--ink); }
@media (hover: none) { .spot__label { display: none; } }   /* touch: the list under the room carries the names */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 32px 64px; margin: 56px 0; }
.cols h2 { font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gilt); margin-bottom: 18px; }
.cols ul, .cols ol { margin: 0; padding-left: 1.2em; color: var(--ink); font-size: 18px; }
.cols li { margin-bottom: .55em; }
.cols li::marker { color: var(--gilt); }
.kiralik { padding-top: calc(var(--head-h) + 24px); padding-bottom: 80px; }
.kiralik__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.kiralik__grid .bay { --bay-h: min(78svh, 820px); justify-self: center; }
.kiralik__text p { color: var(--dim); font-size: 19px; max-width: 34rem; }
.kiralik .bay__cap { display: none; }
@media (max-width: 760px) {
  .kiralik__grid { grid-template-columns: 1fr; }
  .kiralik__grid .bay { --bay-h: min(68svh, 640px, calc((100vw - 32px) * 10 / 7)); }   /* 68svh alone made a 402 px bay on a 390 px phone */
}

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding: 40px var(--gutter) 56px; color: var(--mute); font-size: 14px; }
.foot p { margin: 0 0 8px; max-width: 52rem; }
.foot__contact a { color: var(--ink); }
.foot__note { color: var(--dim); }

/* ----------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__pin { position: relative; height: auto; min-height: 100svh; }
  .hero__canvas { display: none; }
  .hero__beat--1 { position: absolute; }
  .hero__beat--2, .hero__beat--3 { display: none; }
  .hero__cue { animation: none; }
  .arcade { height: auto; }
  .arcade__pin { position: static; height: auto; overflow: visible; padding-bottom: 40px; }
  .arcade__track { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); gap: 28px 0; transform: none !important; }
  .arcade__progress { display: none; }
  .bay__curtain, .bay__clip { display: none; }
  .bay__lit { opacity: 1; }
  .bay__enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  ::view-transition-group(*), ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0s; }
}

/* -------------------------------------------- v3: the bigger door and All projects */
.bay--door .bay__fig--door { display: block; position: relative; margin: 0; width: 100%; aspect-ratio: 1050 / 1500; background: #0d0b09; text-decoration: none; }
.bay--door .bay__fig--door img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bay__enter--door { opacity: 1; pointer-events: none; transform: translate(-50%, 0); bottom: 6%; }
.bay--door .bay__fig--door:hover .bay__enter--door, .bay--door .bay__fig--door:focus-visible .bay__enter--door { background: var(--amber); }
.bay--door .bay__name { color: var(--gilt-hi); }

.list .court { margin-top: clamp(40px, 6vw, 72px); }
.list .court h2 { font: 600 15px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gilt-hi); margin-bottom: 10px; }
.court__lede { color: var(--dim); margin: 0 0 22px; }
.cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 28px 18px; }
.card a { display: block; text-decoration: none; }
.card__fig { margin: 0 0 12px; aspect-ratio: 1050 / 1500; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card a:hover .card__fig img, .card a:focus-visible .card__fig img { transform: scale(1.035); }
.card__no { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gilt); }
.card__name { display: block; font: 600 19px/1.2 var(--sans); margin-top: 2px; }
.card a:hover .card__name { color: var(--gilt-hi); }
.card__sub { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; line-height: 1.35; }
.court--inner .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
/* phones: two shopfronts a row. One a row made All projects about 9,500 px of scrolling for 17 shops (9 Oct). */
@media (max-width: 560px) {
  .cards, .court--inner .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .card__name { font-size: 16px; }
  .card__sub { font-size: 13px; }
}
.list .contact-line { margin-top: 56px; }
.index-strip h2 + .index-strip__list + h2 { margin-top: 40px; }
.court__view { margin: 6px 0 26px; border-radius: 3px; overflow: hidden; background: var(--bg-2); }
.court__view img { width: 100%; height: auto; display: block; }
.arcade__stage { cursor: grab; }
.arcade__stage.is-dragging, .arcade__stage.is-dragging * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
@media (prefers-reduced-motion: reduce) { .arcade__stage { cursor: auto; } }

/* 404: the han's one door with no number (9 Oct) */
.notfound__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.notfound__door { margin: 0; max-width: 360px; }
.notfound__door img { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 760px) { .notfound__grid { grid-template-columns: 1fr; } .notfound__door { max-width: 220px; } }
