/* SPI · Studio Projects International — concept site
   Layers: fonts · tokens · base · components · sections · screens · type system (last) */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var.woff2) format('woff2-variations'), url(../fonts/archivo-var.woff2) format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var-ext.woff2) format('woff2-variations'), url(../fonts/archivo-var-ext.woff2) format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-500i.woff2) format('woff2'); font-style: italic; font-weight: 500; font-display: swap; }

:root {
  --ink: #05070e; --ink-2: #0a0e1a; --ink-3: #10162a; --ink-4: #182039;
  --fg: #eef0f5; --fg-2: #bcc3d1; --fg-3: #8d96a8;
  --line: rgba(220, 228, 245, .13); --line-2: rgba(220, 228, 245, .24);
  --gold: #e2b866; --gold-2: #c99a45; --gold-hi: #f6e2b0; --gold-soft: rgba(226, 184, 102, .14);
  --night: #1638c8;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant', Georgia, serif;
  --wide: 125%;
  --r: 3px;
  --hdr-h: 76px;
  --gut: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 899px) { :root { --hdr-h: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 var(--t-body)/1.6 var(--sans); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b, strong { font-weight: 600; }
::selection { background: rgba(226, 184, 102, .28); color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- components ---------- */
.lab { display: flex; align-items: center; gap: 10px; color: var(--fg-3); }
.lab::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.hero__lab::before, .apply__lab::before { display: none; }
.h2 em, .hero__h em, .person__name em { font-family: var(--serif); font-style: italic; font-weight: 500; color: #f4efe4;
  font-size: 1.14em; letter-spacing: 0; line-height: .9; font-stretch: 100%; }

/* the open SPI frame as an image border: hairline, open at the right middle like the logo */
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid var(--line-2);
  -webkit-mask: linear-gradient(#000 0 0) top/100% 34% no-repeat, linear-gradient(#000 0 0) bottom/100% 34% no-repeat, linear-gradient(90deg, #000 0 calc(100% - 2px), transparent 0) center/100% 100% no-repeat;
          mask: linear-gradient(#000 0 0) top/100% 34% no-repeat, linear-gradient(#000 0 0) bottom/100% 34% no-repeat, linear-gradient(90deg, #000 0 calc(100% - 2px), transparent 0) center/100% 100% no-repeat; }
.frame--gold::after { border-color: rgba(226, 184, 102, .55); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #120d04; }
.btn--gold::after { background: var(--gold-hi); }
.btn--line { border-color: currentColor; }
.btn--line::after { background: currentColor; opacity: .14; }
.iconbtn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%;
  transition: border-color .3s, background-color .3s, color .3s; }
.iconbtn svg { width: 20px; height: 20px; }
@media (hover: hover) { .iconbtn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); } }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4fd18b; animation: pulse 2.4s ease-out infinite; }
.pulse.is-off::after { animation-play-state: paused; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { position: relative; display: inline-flex; align-items: baseline; gap: 8px; min-height: 46px; padding: 0 18px; align-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--fg-2); transition: color .3s, border-color .3s, background-color .3s; }
.tab small { color: var(--fg-3); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.tab[aria-selected="true"] small { color: rgba(18, 13, 4, .7); }

.facts { display: grid; gap: 14px 28px; }
.facts > div { min-width: 0; border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { color: var(--fg-3); margin-bottom: 2px; }
.facts dd { color: var(--fg); }
.facts--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts__wide { grid-column: 1 / -1; }

.figs { display: flex; gap: clamp(22px, 3.4vw, 54px); }
.fig { display: flex; flex-direction: column; gap: 4px; }
.fig__v { font-weight: 300; font-stretch: var(--wide); font-size: var(--num); line-height: 1; letter-spacing: -.01em; color: var(--fg); white-space: nowrap; }
.fig .cap { color: var(--fg-3); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr-h); transition: background-color .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(5, 7, 14, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.hdr__in { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; color: var(--fg); }
.brand__name { font: 600 10.5px/1.35 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); }
.nav { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.nav a { position: relative; font-size: 14px; color: var(--fg-2); padding: 8px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-on { color: var(--fg); }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); transform-origin: left; }
.hdr__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i:first-child { top: 18px; } .menu-btn i:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 22.5px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .nav, .hdr__cta { display: none; } .menu-btn { display: block; } }
@media (max-width: 899px) { .brand__mark { width: 34px; height: 34px; } }
@media (max-width: 380px) { .brand__name { display: none; } }

.sheet { position: fixed; inset: 0; z-index: 35; background: rgba(5, 7, 14, .97); padding: calc(var(--hdr-h) + 18px) var(--gut) 30px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet__nav { display: flex; flex-direction: column; }
.sheet__nav a { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-stretch: var(--wide); font-weight: 300; font-size: clamp(1.25rem, 5.4vw, 1.8rem); line-height: 1.2; }
.sheet__nav small { font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--gold); font-stretch: 100%; }
.sheet__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 20px; color: var(--fg-2); }
.sheet__note, .foot__note { color: var(--fg-3); text-decoration: underline; text-underline-offset: 3px; }
.sheet__note { margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr-h) + 20px) 0 clamp(28px, 6svh, 72px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__mark { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.mark { width: min(32vmin, 300px); height: auto; overflow: visible; will-change: transform; }
.hero__body { position: relative; }
.hero__lab { gap: 12px; margin-bottom: clamp(16px, 2.6svh, 28px); }
.hero__dot { color: var(--fg-3); }
.hero__h { font-weight: 300; font-stretch: var(--wide); font-size: var(--h1); line-height: 1; letter-spacing: -.015em; margin-bottom: clamp(16px, 2.8svh, 30px); }
.hero__h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__h .ln > * { display: inline-block; }
.hero__lead { max-width: 37em; color: var(--fg-2); font-size: var(--t-lead); line-height: 1.6; margin-bottom: clamp(20px, 3.4svh, 36px); }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__btns .btn--line { color: var(--fg); }

.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(5, 7, 14, .9) 0%, rgba(5, 7, 14, .68) 30%, rgba(5, 7, 14, .12) 60%, rgba(5, 7, 14, .05) 100%),
  linear-gradient(0deg, rgba(5, 7, 14, .88) 0%, rgba(5, 7, 14, .15) 40%, rgba(5, 7, 14, 0) 70%),
  linear-gradient(180deg, rgba(5, 7, 14, .5) 0%, rgba(5, 7, 14, 0) 20%); }
/* the project reel: one photo at a time, slow push-in, cross-fade */
.reel { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.reel__s { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s 1.4s; }
.reel__s.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease), visibility 0s; }
.reel__s img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; will-change: transform; }
.hero__body { max-width: 1480px; }
.hero__h { max-width: 9em; }
/* console: the live countdown and the projects on screen */
.console { position: absolute; right: var(--gut); bottom: clamp(28px, 6svh, 72px); width: min(400px, 31vw); padding: 18px 22px 10px;
  background: rgba(8, 11, 22, .64); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--r); }
.console__lab { margin-bottom: 12px; color: var(--fg-2); }
.console__lab::before { display: none; }
.cd { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; }
.cd .cap { color: var(--fg-3); }
.cd__v { font-stretch: var(--wide); font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.1; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd__v b { font-weight: 300; }
.cd__v b:first-child { color: var(--gold); }
.cd__v small { font-size: .42em; letter-spacing: .1em; color: var(--fg-3); margin: 0 .5em 0 .15em; text-transform: uppercase; }
.cd__n { font-size: var(--t-small); color: var(--fg-2); }
.reel__cap { display: none; }
.reel__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rrow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 12px; width: 100%; text-align: left; padding: 11px 0 12px; color: var(--fg-3); transition: color .3s; }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rrow__t { font-stretch: 112%; font-size: 16px; line-height: 1.3; color: var(--fg-2); transition: color .3s; }
.rrow__k { grid-column: 1; font: 500 var(--t-cap)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.rrow__n { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; color: var(--fg-3); }
.rrow__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: transparent; overflow: hidden; }
.rrow__bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (hover: hover) { .rrow:hover .rrow__t { color: var(--fg); } }
.rrow[aria-current="true"] .rrow__t { color: var(--fg); }
.rrow[aria-current="true"] .rrow__k, .rrow[aria-current="true"] .rrow__n { color: var(--gold); }
@media (max-width: 1180px) and (min-width: 900px) { .console { width: 340px; } .hero__lead { max-width: 30em; } }

/* intro states (set by main.js): nothing of the hero shows until the intro starts or the page goes static */
.js:not(.no-anim) .hero:not(.is-go):not(.is-static) .hero__media,
.js:not(.no-anim) .hero:not(.is-go):not(.is-static) .hero__mark,
.js:not(.no-anim) .hero:not(.is-go):not(.is-static) .hero__body { visibility: hidden; }
.js .hero.is-intro .hero__body { visibility: hidden; }
.js.is-intro .hdr { opacity: 0; }
.hero.is-static .hero__mark, .no-anim .hero__mark { display: none; }
.no-anim .hero__body { visibility: visible !important; }

/* ---------- sections ---------- */
.sec { position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
/* blueprint grid, very faint */
.sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px; background-position: center top;
  -webkit-mask: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.sec { isolation: isolate; }

/* Poland */
.poland__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.poland__text { display: flex; flex-direction: column; gap: clamp(16px, 2.6svh, 28px); }
.gal { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gal__stage { position: relative; height: calc(var(--vis-h) - 62px); overflow: hidden; background: var(--ink-2); border-radius: var(--r); }
.gal__fig { position: absolute; inset: 0; opacity: 0; }
.gal__fig.is-on { opacity: 1; }
.gal__fig img { width: 100%; height: 100%; object-fit: cover; }
.gal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gal__cap { color: var(--fg-2); font-size: var(--t-small); }
.gal__n { font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; color: var(--gold); margin-right: 10px; }
.gal__arrows { display: flex; gap: 8px; }

/* Honours */
.honours__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.honours__img { height: var(--vis-h); max-height: 860px; display: flex; flex-direction: column; gap: 10px; }
.honours__img img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: 50% 40%; border-radius: var(--r); }
.honours__img figcaption { color: var(--fg-3); }
.honours__img::after { inset: -1px -1px 28px; }
.honours__text { display: flex; flex-direction: column; gap: clamp(16px, 2.4svh, 26px); }
.hlist { display: flex; flex-direction: column; }
.hrow { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 28px; padding: clamp(12px, 1.9svh, 20px) 0; border-top: 1px solid var(--line); }
.hrow:last-child { border-bottom: 1px solid var(--line); }
.hrow__y { color: var(--fg-3); padding-top: .35em; }
.hrow__t { font-stretch: 112%; font-weight: 400; font-size: var(--h3s); line-height: 1.2; color: var(--fg); }
.hrow__t i { font-style: normal; color: var(--gold); }
.hrow__d { grid-column: 2; color: var(--fg-2); font-size: var(--t-small); }
.hrow--gold .hrow__t { color: var(--gold-hi); }
.medal { display: inline-block; width: .7em; height: .7em; margin-right: .45em; border-radius: 50%; vertical-align: .02em;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 45%, var(--gold-2)); box-shadow: 0 0 0 1px rgba(246, 226, 176, .35); }

/* Expo map + explorer */
.expos__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(16px, 3svh, 32px); }
.expos__head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.expos__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 2.6vw, 40px); }
.map { position: relative; height: var(--map-h); background: radial-gradient(ellipse at 50% 60%, #0c1430 0%, var(--ink-2) 70%); border-radius: var(--r); overflow: hidden; }
.map__dots { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .5; }
.mpin { position: absolute; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; }
.mpin[hidden] { display: none; }
.mpin i { position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--fg-3); transition: background-color .3s, border-color .3s, transform .3s; }
.mpin i::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.mpin.is-past i { border-color: var(--fg-2); }
.mpin.is-on i { background: var(--gold); border-color: var(--gold-hi); transform: scale(1.15); }
.mpin.is-on i::after { animation: ring 2.6s ease-out infinite; }
.map.is-off .mpin i::after { animation-play-state: paused; }
.mpin--minor i { width: 8px; height: 8px; border-color: var(--gold); }
.mpin__l { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); transition: color .3s; }
.mpin__l small { font-size: 1em; color: var(--fg-3); }
.mpin.is-on .mpin__l { color: var(--fg); }
.mpin:hover .mpin__l { color: var(--gold); }
.mpin--osaka .mpin__l { left: auto; right: 26px; }
.mpin--milan .mpin__l { left: 4px; top: calc(50% + 16px); transform: none; }
.mpin--hamburg .mpin__l { left: 4px; top: auto; bottom: calc(50% + 14px); transform: none; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__arc { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: .9; }
.map__arc--past { stroke: var(--fg-3); opacity: .5; stroke-dasharray: 3 6; }
.map.is-off .map__ring { animation-play-state: paused; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.map__legend { position: absolute; left: 20px; bottom: 16px; color: var(--fg-3); }
.pav { display: flex; flex-direction: column; min-width: 0; height: var(--map-h); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pav__img { position: relative; flex: 1 1 auto; min-height: 120px; overflow: hidden; background: var(--ink-3); }
.pav__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pav__img--plan img { object-fit: contain; background: #f4f1ea; }
.pav__body { padding: clamp(16px, 2.2svh, 24px) clamp(18px, 1.8vw, 26px); display: flex; flex-direction: column; gap: 12px; }
.pav__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 13.5px; color: var(--fg-2); transition: color .3s, border-color .3s, background-color .3s; }
@media (hover: hover) { .chip:hover { color: var(--fg); border-color: var(--fg-3); } .tab:hover { color: var(--fg); border-color: var(--fg-3); } }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--fg); border-color: var(--fg); }
.pav__t { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
.pav__name { font-stretch: 112%; font-weight: 400; font-size: var(--h3m); line-height: 1.1; }
.pav__role { color: var(--fg-3); }
.pav__note { color: var(--fg-2); font-size: var(--t-small); }
.pav .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: var(--t-small); }
.pav--next .pav__body { flex: 1; justify-content: center; gap: 18px; }
.pav__count { font-stretch: var(--wide); font-weight: 300; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--gold); }
.pav__count small { font-size: .3em; color: var(--fg-2); letter-spacing: .1em; margin-left: .3em; }

/* Life of a pavilion */
.life__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.life__text { display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 24px); }
.quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: var(--quote); line-height: 1.3; color: var(--fg-2); }
.steps { display: flex; flex-direction: column; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 3.2em minmax(0, 1fr); align-items: baseline; gap: 2px 10px; width: 100%; text-align: left;
  padding: clamp(10px, 1.7svh, 16px) 0 clamp(10px, 1.7svh, 16px) 18px; border-top: 1px solid var(--line); color: var(--fg-2); transition: color .3s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.step__n { font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; color: var(--fg-3); }
.step__t { font-stretch: 112%; font-size: var(--h3s); line-height: 1.25; color: inherit; }
.step__s { grid-column: 2; font-size: var(--t-small); color: var(--fg-3); }
.step:hover { color: var(--fg); }
.step[aria-selected="true"] { color: var(--fg); }
.step[aria-selected="true"]::before { transform: scaleY(1); }
.step[aria-selected="true"] .step__n { color: var(--gold); }
.life__vis { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.life__fig { position: relative; height: calc(var(--vis-h) - var(--panel-h, 150px)); min-height: 240px; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.life__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.life__slide { position: absolute; inset: 0; }
.life__fig figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; background: rgba(5, 7, 14, .72); color: var(--fg-2); border-radius: 2px; }
.life__fig .lfig { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; align-items: flex-end; padding: 12px 16px; background: rgba(5, 7, 14, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r); }
.lfig b { font-stretch: var(--wide); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; color: var(--gold); white-space: nowrap; }
.life__panel { min-height: var(--panel-h, 150px); }
.life__panel p { color: var(--fg-2); font-size: var(--t-body); max-width: 40em; }

/* Buildings */
.bld__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.bld__side { display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 24px); }
.blist { display: flex; flex-direction: column; }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; width: 100%; text-align: left; padding: clamp(11px, 1.8svh, 16px) 0; border-top: 1px solid var(--line); color: var(--fg-2); transition: color .3s; }
.brow:last-child { border-bottom: 1px solid var(--line); }
.brow__t { font-stretch: 112%; font-size: var(--h3s); line-height: 1.2; color: inherit; }
.brow__p { color: var(--fg-3); font-size: var(--t-small); grid-column: 1; }
.brow__s { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 var(--t-cap)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); text-align: right; }
.brow__bar { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; margin-top: 6px; }
.brow__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--fg-3); }
.brow:hover, .brow[aria-selected="true"] { color: var(--fg); }
.brow[aria-selected="true"] .brow__s { color: var(--gold); }
.brow[aria-selected="true"] .brow__bar i { background: var(--gold); }
.bcard { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: var(--vis-h); max-height: 860px; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.bcard__img { position: relative; overflow: hidden; background: var(--ink-3); min-height: 160px; }
.bcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard__img--plan img { object-fit: cover; background: #f4f1ea; }
.bcard__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px clamp(20px, 3vw, 44px); padding: clamp(18px, 2.6svh, 28px) clamp(18px, 2.2vw, 32px); }
.bcard__h { display: flex; flex-direction: column; gap: 8px; }
.bcard__name { font-stretch: 112%; font-weight: 400; font-size: var(--h3m); line-height: 1.1; }
.bcard__kind { color: var(--fg-3); }
.bcard__text { color: var(--fg-2); font-size: var(--t-small); }
.bcard .facts { grid-template-columns: minmax(0, 1fr); gap: 10px; font-size: var(--t-small); }
.sched { display: flex; flex-direction: column; gap: 8px; }
.sched__bar { position: relative; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sched__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--gold-2), var(--gold-hi)); }
.sched__l { display: flex; justify-content: space-between; color: var(--fg-3); }

/* Services */
.svc__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(18px, 3.4svh, 40px); }
.pipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: clamp(18px, 3.4svh, 40px); }
.pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-2); }
.pipe__fill { position: absolute; left: 0; top: 11px; height: 1px; width: var(--fill, 10%); background: var(--gold); transition: width .7s var(--ease); }
.node { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; padding-right: 14px; color: var(--fg-2); transition: color .3s; }
.node__dot { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink); display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
.node__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); transition: background-color .3s, transform .3s; }
.node__n { font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; color: var(--fg-3); }
.node__t { font-stretch: 112%; font-size: var(--h3s); line-height: 1.2; color: inherit; }
.node:hover { color: var(--fg); }
.node[aria-selected="true"] { color: var(--fg); }
.node[aria-selected="true"] .node__dot { border-color: var(--gold); background: var(--gold-soft); }
.node[aria-selected="true"] .node__dot::after { background: var(--gold); transform: scale(1.3); }
.node[aria-selected="true"] .node__n { color: var(--gold); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; height: var(--svc-h); }
.svc__desc { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.svc__s { font-stretch: 108%; font-weight: 300; font-size: clamp(1.35rem, min(2.2vw, 3.6svh), 2.1rem); line-height: 1.3; color: var(--fg); }
.svc__ref { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.svc__ref b { font-weight: 500; }
.svc__ref span { color: var(--fg-2); font-size: var(--t-small); }
.svc__img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__img--plan img { background: #f4f1ea; }
.svc__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Team */
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.2fr) minmax(0, 3.2fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.team__text { display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 24px); align-self: center; align-items: flex-start; }
.person { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.person__img { height: calc(var(--vis-h) - 120px); max-height: 640px; overflow: hidden; border-radius: var(--r); background: #1a1a1a; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.05); transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.03); }
.person figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.person__name { font-stretch: 112%; font-weight: 400; font-size: var(--h3m); line-height: 1.1; }
.person figcaption .cap { grid-column: 1; color: var(--fg-3); }
.person__links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }

/* Careers */
.join__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.join__text { display: flex; flex-direction: column; gap: clamp(14px, 2.4svh, 24px); align-items: flex-start; }
.count { display: flex; gap: clamp(18px, 3vw, 44px); }
.count__u { display: flex; flex-direction: column; gap: 6px; }
.count__u b { font-stretch: var(--wide); font-weight: 200; font-size: var(--count); line-height: .92; color: var(--fg); font-variant-numeric: tabular-nums; }
.count__u:first-child b { color: var(--gold); }
.count__u .cap { color: var(--fg-3); }
.req { display: flex; flex-direction: column; width: 100%; max-width: 460px; }
.req li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line); }
.req li:last-child { border-bottom: 1px solid var(--line); }
.req b { font-weight: 500; }
.req span { color: var(--fg-2); text-align: right; }
.join__open { display: none; }
.apply { position: relative; display: flex; flex-direction: column; gap: clamp(12px, 2svh, 18px); padding: clamp(22px, 3.4svh, 34px) clamp(20px, 2.4vw, 34px);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld .cap { color: var(--fg-3); }
.fld input:not([type="radio"]):not([type="checkbox"]) { width: 100%; height: 48px; padding: 0 14px; background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .3s; }
.fld input:focus { outline: none; border-color: var(--gold); }
.fld input[aria-invalid="true"] { border-color: #e07a5f; }
.seg, .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span, .chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 14px; color: var(--fg-2); transition: color .25s, background-color .25s, border-color .25s; }
.seg label:hover span, .chips label:hover span { color: var(--fg); border-color: var(--fg-3); }
.seg input:checked + span { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.chips input:checked + span { background: var(--gold-soft); color: var(--gold-hi); border-color: var(--gold); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.apply__send { align-self: flex-start; }
.apply__note { color: var(--fg-3); }
.apply__note.is-warn { color: #ffd2c4; background: rgba(224, 122, 95, .16); border: 1px solid rgba(224, 122, 95, .5); border-radius: var(--r); padding: 10px 14px; }
.apply__x { display: none; position: absolute; right: 12px; top: 12px; }

/* Contact */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 8%, rgba(5, 7, 14, .55) 50%, rgba(5, 7, 14, .08)), linear-gradient(0deg, var(--ink), transparent 34%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.contact__in { display: flex; flex-direction: column; gap: clamp(16px, 2.8svh, 28px); }
.brief { display: flex; flex-direction: column; gap: clamp(14px, 2.2svh, 22px); padding: clamp(20px, 3svh, 32px) clamp(20px, 2.4vw, 34px);
  background: rgba(10, 14, 26, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: var(--r); }
.brief__q { display: flex; flex-direction: column; gap: 9px; }
.brief__q > .cap { color: var(--fg-3); }
.bchips { display: flex; gap: 6px; flex-wrap: wrap; }
.bchip { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 14.5px; color: var(--fg-2); transition: color .25s, background-color .25s, border-color .25s; }
@media (hover: hover) { .bchip:hover { color: var(--fg); border-color: var(--fg-3); } }
.bchip[aria-checked="true"] { color: var(--ink); background: var(--fg); border-color: var(--fg); }
.brief__out { display: flex; flex-direction: column; gap: 14px; padding-top: clamp(14px, 2.2svh, 20px); border-top: 1px solid var(--line); }
.brief__res { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.brief__img { height: 84px; border-radius: var(--r); overflow: hidden; background: var(--ink-3); }
.brief__img img { width: 100%; height: 100%; object-fit: cover; }
.brief__res .cap { color: var(--fg-3); }
.brief__ref { display: block; font-stretch: 112%; font-weight: 400; font-size: var(--h3s); line-height: 1.25; margin: 2px 0 3px; }
.brief__rt { display: block; color: var(--fg-2); font-size: var(--t-small); }
.brief__sum { font-family: var(--serif); font-style: italic; font-size: var(--quote); line-height: 1.25; color: #f4efe4; }
.brief__hint { display: flex; align-items: center; gap: 10px; color: var(--fg-2); font-size: var(--t-small); }
.brief__hint b { color: var(--gold); font-weight: 500; }
.brief__go { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__h { max-width: 14em; }
.clist { display: flex; flex-wrap: wrap; gap: 14px 34px; color: var(--fg-2); }
.clist li { display: flex; align-items: center; gap: 10px; }
.clist svg { width: 20px; height: 20px; color: var(--gold); }
.clist a { border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.clist a:hover { color: var(--fg); border-color: var(--gold); }
.clist__time b { font-weight: 400; color: var(--fg); font-variant-numeric: tabular-nums; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: clamp(40px, 7svh, 72px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px; }
.foot__brand { display: flex; flex-direction: column; gap: 18px; color: var(--fg-2); }
.foot__mark { width: 64px; height: 64px; color: var(--fg); }
.foot__index { display: flex; flex-direction: column; gap: 16px; }
.pindex { columns: 2; column-gap: 40px; }
.pindex li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--line); break-inside: avoid; font-size: var(--t-small); }
.pindex .y { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.pindex .r { grid-column: 2; color: var(--fg-3); font-size: 12.5px; }
.foot__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg-3); }
.foot__bar a:hover { color: var(--fg); }

/* Concept note */
.note-tab { position: fixed; left: 0; top: 50%; z-index: 30; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg;
  padding: 14px 7px; font: 600 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3);
  background: rgba(10, 14, 26, .8); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r) var(--r) 0; transition: color .3s; }
.note-tab:hover { color: var(--gold); }
.note { position: fixed; left: 16px; top: 50%; z-index: 45; transform: translateY(-50%); width: min(360px, calc(100vw - 32px)); padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.note[hidden] { display: none; }
.note .small { color: var(--fg-3); }
.note .small a { text-decoration: underline; }
.note__x { position: absolute; right: 10px; top: 10px; }

/* Phone dock */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; padding: 8px;
    background: rgba(10, 14, 26, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 6px;
    transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .dock__main { flex: 1; display: grid; place-items: center; min-height: 48px; background: var(--gold); color: #120d04; border-radius: var(--r); font-weight: 500; }
  .dock__ic { width: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); }
  .dock__ic svg { width: 20px; height: 20px; }
  .note-tab { display: none; }
}

/* ---------- screens: every section fits one viewport ---------- */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(16px, 3.6svh, 52px));
  --scr-b: clamp(20px, 4svh, 56px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --vis-h: clamp(340px, var(--scr-h), 820px);
  --map-h: clamp(300px, calc(var(--scr-h) - 150px), 640px);
  --svc-h: clamp(280px, calc(var(--scr-h) - 250px), 520px);
}
main > .sec { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) {
  main > .sec { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 900px) and (max-height: 820px) {
  :root { --scr-t: calc(var(--hdr-h) + 14px); --scr-b: 18px; }
}

/* ---------- phones and tablets ---------- */
@media (max-width: 899px) {
  :root { --scr-b: calc(92px + env(safe-area-inset-bottom)); }
  .hero { justify-content: flex-end; padding-bottom: 22px; }
  .hero__shade { background: linear-gradient(0deg, rgba(5, 7, 14, .96) 0%, rgba(5, 7, 14, .84) 44%, rgba(5, 7, 14, .2) 74%, rgba(5, 7, 14, .45) 100%); }
  .reel__s img { object-position: 50% 40%; }
  .console { position: relative; right: auto; bottom: auto; width: auto; margin: 18px var(--gut) 0; padding: 14px 16px 12px; }
  .console__lab { display: none; }
  .cd { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding-bottom: 12px; }
  .cd .cap { flex: 1 0 100%; }
  .cd__v { font-size: 1.45rem; }
  .cd__n { display: none; }
  .reel__cap { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
  .reel__cap .cap { color: var(--gold); }
  .reel__cap b { font-stretch: 112%; font-weight: 400; font-size: 16px; }
  .reel__list { flex-direction: row; gap: 6px; border-top: 0; margin-top: 10px; }
  .reel__list li { flex: 1; }
  .rrow { padding: 10px 0 0; min-height: 26px; }
  .rrow + .rrow { border-top: 0; }
  .rrow__t, .rrow__k, .rrow__n { display: none; }
  .rrow__bar { top: 12px; bottom: auto; height: 2px; background: var(--line-2); }
  .mark { width: min(46vw, 230px); }
  .hero__btns .btn { flex: 1 1 auto; min-height: 50px; padding: 0 18px; }

  .poland__grid, .honours__grid, .life__grid, .bld__grid, .join__grid, .expos__grid, .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .poland__grid { gap: 16px; }
  .poland__text { order: -1; gap: 12px; }
  .gal__stage { height: 34svh; }
  .gal { gap: 8px; }
  .facts--cols { display: none; }
  .figs { gap: 22px; }

  .honours__grid { grid-template-columns: 34% minmax(0, 1fr); gap: 16px; align-items: start; }
  .honours__text { display: contents; }
  .honours__text > .lab, .honours__text > .h2, .honours__text > .lead { grid-column: 1 / -1; }
  .honours__text > .lab { order: -3; } .honours__text > .h2 { order: -2; } .honours__text > .lead { order: -1; }
  .honours__img { height: 46svh; max-height: 420px; }
  .honours__img figcaption { display: none; }
  .honours__img::after { inset: -1px; }
  .hrow { grid-template-columns: minmax(0, 1fr); padding: 9px 0; }
  .hrow__y { padding: 0; }
  .hrow__d { grid-column: 1; }
  .honours__text > .lead { display: none; }
  .hrow:not(.hrow--gold) .hrow__d { display: none; }
  .hrow__t { font-size: 1.02rem; }

  .expos__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 42px; padding: 0 14px; }
  .expos__grid { gap: 10px; }
  .mpin:not(.is-on) .mpin__l { display: none; }
  .mpin .mpin__l, .mpin--hamburg .mpin__l { left: 50%; right: auto; top: auto; bottom: 22px; transform: translateX(-50%); }
  .mpin--milan .mpin__l, .mpin--hamburg .mpin__l { left: -6px; transform: none; }
  .mpin--osaka .mpin__l { left: auto; right: -4px; bottom: 22px; top: auto; transform: none; }
  .map { height: 21svh; }
  .pav__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .pav__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .pav { height: auto; }
  .pav__img { flex: none; height: 18svh; }
  .pav__body { padding: 14px 16px; gap: 9px; }
  .pav .facts { display: none; }
  .pav--next .pav__body { padding: 18px 16px; }
  
  .life__grid { gap: 14px; }
  .life__text { gap: 10px; }
  .quote { display: none; }
  .steps { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { flex: none; }
  .step, .brow, .node { white-space: nowrap; }
  .step { flex: none; width: auto; display: flex; gap: 8px; align-items: center; padding: 0 14px; min-height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); }
  .step:last-child { border-bottom: 1px solid var(--line-2); }
  .step::before { display: none; }
  .step__s { display: none; }
  .step__t { font-size: 14px; font-stretch: 100%; }
  .step[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .step[aria-selected="true"] .step__n { color: rgba(18, 13, 4, .7); }
  .life__fig { height: 34svh; min-height: 200px; }
  .life__panel { min-height: 0; }
  .life__panel p { font-size: var(--t-small); }

  .bld__grid { gap: 12px; }
  .bld__side { gap: 10px; }
  .blist { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .blist::-webkit-scrollbar { display: none; }
  .brow { flex: none; width: auto; display: flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); }
  .brow:last-child { border-bottom: 1px solid var(--line-2); }
  .brow__p, .brow__s, .brow__bar { display: none; }
  .brow__t { font-size: 14px; font-stretch: 100%; }
  .brow[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .bcard { height: auto; max-height: none; grid-template-rows: auto auto; }
  .bcard__img { height: 27svh; }
  .bcard__body { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; }
  .bcard .facts { display: none; }
  .sched__l span:first-child, .sched__l span:last-child { display: none; }
  .sched__l { justify-content: flex-start; }

  .pipe { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(var(--gut) * -1) 14px; padding: 0 var(--gut); }
  .pipe::-webkit-scrollbar { display: none; }
  .pipe::before, .pipe__fill { display: none; }
  .node { flex: none; flex-direction: row; align-items: center; gap: 8px; padding: 0 14px; min-height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); }
  .node__dot { display: none; }
  .node__t { font-size: 14px; font-stretch: 100%; }
  .node[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .node[aria-selected="true"] .node__n { color: rgba(18, 13, 4, .7); }
  .svc__head { margin-bottom: 14px; }
  .svc__grid { height: auto; gap: 14px; }
  .svc__img { order: -1; height: 26svh; }
  .svc__desc { gap: 12px; }
  .svc__s { font-size: 1.2rem; }

  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .team__text { grid-column: 1 / -1; gap: 12px; }
  .team__text .body { display: none; }
  .person { gap: 10px; }
  .person__img { height: 30svh; }
  .person figcaption { grid-template-columns: minmax(0, 1fr); }
  .person__links { display: none; }
  .person__name { font-size: 1.15rem; }

  .join__grid { gap: 16px; }
  .join__open { display: inline-flex; }
  .apply { position: fixed; inset: auto 0 0; z-index: 50; max-height: 92svh; overflow-y: auto; border-radius: 10px 10px 0 0; transform: translateY(105%);
    transition: transform .5s var(--ease); padding-bottom: calc(22px + env(safe-area-inset-bottom)); visibility: hidden; }
  .apply.is-open { transform: none; visibility: visible; }
  .apply__x { display: grid; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact__in { gap: 12px; }
  .contact__in .lead, .clist { display: none; }
  .brief { padding: 16px; gap: 12px; }
  .bchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .bchips::-webkit-scrollbar { display: none; }
  .bchip { flex: none; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .brief__res { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .brief__img { height: 64px; }
  .brief__go { flex-wrap: nowrap; }
  .brief__go .btn { min-height: 48px; padding: 0 18px; }
  .brief__go .btn--gold { flex: 1 1 auto; }
  .brief__q > .cap { display: none; }
  .brief__sum { font-size: 1.05rem; }
  .brief__rt { display: none; }
  .brief__out { gap: 12px; padding-top: 12px; }  .clist { flex-direction: column; gap: 10px; }
  .clist__time { display: none !important; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .pindex { columns: 1; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .map { height: 17svh; }
  .pav__img { height: 15svh; }
  .pav__note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gal__stage { height: 29svh; }
  .svc__img { height: 21svh; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .gal__stage, .life__fig { height: 40svh; }
}

/* ---------- type system (last) ---------- */
:root {
  --t-lab: 12px; --t-cap: 11.5px; --t-lead: 19px; --t-body: 17px; --t-small: 15px;
  --h1: clamp(3.2rem, min(7.2vw, 11svh), 7.6rem);
  --h2s: clamp(2.1rem, min(3.6vw, 5.8svh), 4rem);
  --h3m: clamp(1.45rem, min(1.9vw, 3.2svh), 1.95rem);
  --h3s: clamp(1.15rem, min(1.45vw, 2.5svh), 1.4rem);
  --quote: clamp(1.4rem, min(1.9vw, 3svh), 1.85rem);
  --num: clamp(2rem, min(3.4vw, 5.4svh), 3.4rem);
  --count: clamp(3.4rem, min(7.4vw, 12svh), 7.8rem);
}
@media (min-width: 900px) and (max-height: 820px) { :root { --t-lead: 17.5px; --t-body: 16px; --t-small: 14.5px; } }
@media (max-width: 899px) {
  :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15.5px; --t-body: 15.5px; --t-small: 14px;
    --h1: clamp(2.7rem, 12.4vw, 3.6rem); --h2s: clamp(1.75rem, 7.6vw, 2.3rem); --h3m: 1.35rem; --h3s: 1.12rem; --quote: 1.2rem;
    --num: clamp(1.6rem, 7.4vw, 2.1rem); --count: clamp(2.8rem, 15vw, 4rem); }
}
@media (max-width: 899px) and (max-height: 760px) { :root { --h1: clamp(2.3rem, 10.6vw, 3rem); --h2s: clamp(1.6rem, 6.8vw, 2rem); --t-lead: 14.5px; } }
.lab { font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.cap { font: 500 var(--t-cap)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.h2 { font-weight: 300; font-stretch: var(--wide); font-size: var(--h2s); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--fg-2); max-width: 36em; }
.body { font-size: var(--t-body); line-height: 1.6; color: var(--fg-2); }
.small { font-size: var(--t-small); line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
