/* BuildWithNik — names index. Tokens from DESIGN_SPEC.md, stage colours: grey #b2b2b2, near-white names. */
:root {
  --grey: #b2b2b2; --paper: #f5f5f2; --ink: #141414; --accent: #e64726; --mute: #4a4a47;
  --hair: rgba(20, 20, 20, .2);
  --pad: clamp(16px, 2.8vw, 40px);
  --fs: clamp(44px, 6.25vw, 112px);            /* name size: ~90 px at 1440 */
  --f-d: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-b: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-m: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grey); color: var(--ink); font: 400 17px/1.5 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
.mono { font-family: var(--f-m); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 120; background: var(--grey); display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad); transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.pre__t { font: 500 14px var(--f-m); letter-spacing: .08em; text-transform: uppercase; }
.pre__n { font: 500 clamp(110px, 24vw, 420px)/.78 var(--f-d); letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.is-ready .pre { transform: translateY(-101%); }

/* ---------- WebGL canvas ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--grey); }
.no-gl #gl { display: none; }
.stage-zone { position: relative; z-index: 1; }
main > section:not(.hero):not(.names) { position: relative; z-index: 2; }

/* ---------- bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: flex-start; padding: 14px var(--pad); pointer-events: none; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 16px; border-radius: 99px; background: rgba(20, 20, 20, .92); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font: 500 13px/1 var(--f-b); letter-spacing: .01em; text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill--brand { padding-right: 18px; }
.pill__logo { width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 28% 0, 72% 58%, 72% 0, 100% 0, 100% 100%, 72% 100%, 28% 42%, 28% 100%, 0 100%); }
.pill__sep { opacity: .45; }
.pill__date { font: 400 12px var(--f-m); letter-spacing: .04em; }
.pill ul { display: flex; gap: 2px; }
.pill a:not(.pill--brand) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; color: #fff; text-decoration: none; transition: background .25s, color .25s; }
.pill ul a { min-height: 36px; }
.pill ul a:hover, .pill ul a.is-here { background: rgba(255, 255, 255, .16); }
.pill ul a.is-cta { background: var(--accent); color: var(--ink); }
.pill ul a.is-cta:hover { background: #fff; }
.snd { height: 32px; margin-left: 4px; padding: 0 12px 0 22px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; font: 400 11px var(--f-m); letter-spacing: .06em; text-transform: uppercase; position: relative; color: #fff; }
.snd::before { content: ''; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #8a8a8a; transition: background .2s; }
.snd[aria-pressed='true']::before { background: var(--accent); }
.snd:hover { border-color: #fff; }
.menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 92px var(--pad) var(--pad); display: grid; grid-template-rows: auto 1fr auto; }
.hero__kicker { line-height: 1.6; color: var(--ink); }
.hero__blurb { position: absolute; right: var(--pad); bottom: calc(var(--pad) + 44px); width: min(21rem, calc(100% - 2 * var(--pad))); background: var(--paper); padding: 16px 18px; font-size: 15px; line-height: 1.45; }
.hero__blurb em { font-style: normal; color: var(--accent); font-weight: 600; }
.hero__title { align-self: end; font: 500 clamp(76px, 17.5vw, 330px)/.8 var(--f-d); letter-spacing: -.062em; color: #fff; margin-left: -.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease) .15s; }
.is-ready .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .27s; }
.hero__scroll { position: absolute; right: var(--pad); bottom: var(--pad); display: flex; gap: 14px; align-items: center; justify-content: space-between; text-decoration: none; min-height: 44px; padding: 0 18px; background: var(--ink); color: #fff; width: min(21rem, calc(100% - 2 * var(--pad))); transition: background .25s, color .25s, opacity .8s .6s; }
.hero__scroll:hover { background: var(--accent); color: var(--ink); }
.hero__kicker, .hero__blurb, .hero__scroll { opacity: 0; transition: opacity .8s .6s; }
.is-ready .hero__kicker, .is-ready .hero__blurb, .is-ready .hero__scroll { opacity: 1; }

/* ---------- names ---------- */
.names { position: relative; padding: clamp(70px, 10vh, 130px) 0 clamp(60px, 10vh, 140px); }
.names__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0 10vw 22px; }
.names__h { color: var(--ink); }
.names__count { margin-left: auto; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(20, 20, 20, .5); background: rgba(245, 245, 242, .35); font: 500 13px var(--f-b); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { background: rgba(245, 245, 242, .8); }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }

.list { margin: 0 10vw; border-top: 1px solid var(--hair); }
.row, .archive { position: relative; display: grid; grid-template-columns: 22.3% 1fr 56px; align-items: center; min-height: calc(var(--fs) * 2.12); border-bottom: 1px solid var(--hair); color: #fff; text-decoration: none; }
.row__city .cc { display: block; }
.row__city { font: 500 calc(var(--fs) * .44)/.98 var(--f-d); letter-spacing: -.025em; color: #fff; padding-right: 8px; opacity: .92; }
.row__h { display: contents; font: inherit; }
.row__name { position: relative; background: none; border: 0; padding: 0; margin: 0; text-align: left; font: 500 var(--fs)/.9 var(--f-d); letter-spacing: -.03em; color: rgba(255, 255, 255, .92); text-wrap: balance; text-shadow: 0 0 36px rgba(20, 20, 20, .22); max-width: 100%; padding-right: 4%; transition: color .3s, opacity .3s, transform .5s var(--ease); }
.row__name::after { content: ''; position: absolute; left: -17.9vw; right: -56px; top: calc(var(--fs) * -.5); bottom: calc(var(--fs) * -.5); }
.row__arrow { justify-self: end; font: 400 calc(var(--fs) * .32)/1 var(--f-b); color: #fff; transition: transform .5s var(--ease), opacity .3s; opacity: .85; }
.list.has-active .row:not(.is-active) .row__name { color: rgba(255, 255, 255, .76); }
.row.is-active .row__name { color: #fff; transform: translateX(.08em); }
.row.is-active .row__arrow { transform: translate(-6px, 6px); opacity: 1; }
.row.is-open .row__arrow { transform: rotate(90deg); }
.row__name:focus-visible { box-shadow: none; outline: 0; }
.row__name:focus-visible::after { outline: 2px solid #fff; outline-offset: -4px; box-shadow: inset 0 0 0 6px var(--ink); }
.row__detail { grid-column: 2 / 4; display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease), visibility 0s .5s; }
.row.is-open .row__detail { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease), visibility 0s 0s; }
.row__inner { overflow: hidden; min-height: 0; }
.card { background: var(--paper); color: var(--ink); padding: 18px 22px 20px; margin: 4px 0 26px; max-width: 520px; font-size: 15px; }
.card__k { color: var(--mute); }
.card__t { font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--f-d); letter-spacing: -.03em; margin: 8px 0 12px; }
.card__tags { display: flex; gap: 6px; margin-bottom: 14px; }
.card__tags span { font: 400 11px var(--f-m); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--ink); border-radius: 99px; padding: 3px 9px; }
.card__a { font-weight: 500; text-underline-offset: 4px; display: inline-block; padding: 6px 0; }
.card__a:hover { color: var(--accent); }

.js .row { opacity: 0; transform: translateY(46px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .row.in { opacity: 1; transform: none; }
.row.flash { animation: flash .55s var(--ease); }
@keyframes flash { from { opacity: 0; transform: translateY(24px); } }
.archive { margin: 0 10vw; min-height: calc(var(--fs) * 1.5); }
.archive .row__name { font: 500 var(--fs)/.9 var(--f-d); letter-spacing: -.03em; color: rgba(255, 255, 255, .9); padding: 0; }
.archive .row__city { font-size: calc(var(--fs) * .44); }
.archive:hover .row__name { color: #fff; }
.archive:hover .row__arrow { transform: translate(-6px, 6px); }

/* ---------- common section bits ---------- */
.wrap { max-width: 1680px; margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.eyebrow { color: var(--mute); margin-bottom: 20px; }
.h2 { font: 500 clamp(44px, 6.6vw, 112px)/.9 var(--f-d); letter-spacing: -.05em; }
.h2--light { color: var(--paper); }
.h3 { font: 500 clamp(30px, 3.4vw, 52px)/1 var(--f-d); letter-spacing: -.04em; margin-bottom: 24px; }
.lead { margin-top: 24px; max-width: 28rem; color: var(--mute); }

/* ---------- programme ---------- */
.prog { background: var(--paper); padding: clamp(72px, 11vw, 170px) 0; }
.prog__head { grid-column: 1 / 6; align-self: start; position: sticky; top: 96px; }
.prog__body { grid-column: 6 / 13; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.tabs [role=tab] { min-height: 48px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--ink); background: transparent; font-weight: 500; display: inline-flex; gap: 10px; align-items: center; transition: background .25s, color .25s; }
.tabs [role=tab] .mono { font-size: 11px; opacity: .8; }
.tabs [role=tab]:hover { background: #e6e6e1; }
.tabs [role=tab][aria-selected=true] { background: var(--ink); color: var(--paper); }
.saved { margin-top: 18px; color: var(--mute); }
.tt { border-top: 1px solid var(--ink); }
.tt__row { display: grid; grid-template-columns: 72px 1fr auto 48px; gap: 0 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair); animation: ttin .6s var(--ease) both; animation-delay: calc(var(--k) * 35ms); transition: background .25s, padding .35s var(--ease); }
@keyframes ttin { from { opacity: 0; transform: translateY(14px); } }
.tt__row:hover { background: #ececE6; padding-left: 10px; }
.tt__t { color: var(--ink); font-size: 13px; }
.tt__title { font: 500 clamp(19px, 1.7vw, 25px)/1.15 var(--f-d); letter-spacing: -.025em; }
.tt__who { margin-top: 4px; font-size: 14px; color: var(--mute); }
.tt__who a { color: var(--ink); text-underline-offset: 3px; font-weight: 500; }
.tt__who a:hover { color: var(--accent); }
.tt__kind { font-size: 10px; color: var(--mute); border: 1px solid transparent; }
.tt__row:not(.is-break) .tt__kind { border-color: rgba(20, 20, 20, .4); padding: 3px 9px; border-radius: 99px; }
.is-break .tt__title { font-size: 16px; font-weight: 400; color: var(--mute); }
.star { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.star svg { width: 22px; height: 22px; fill: transparent; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; transition: fill .25s, transform .35s var(--ease), stroke .25s; }
.star:hover svg { transform: scale(1.18) rotate(12deg); }
.star[aria-pressed=true] svg { fill: var(--accent); stroke: var(--accent); }
.tt__row.is-saved .tt__t { color: var(--accent); }

/* ---------- packages ---------- */
.tix { background: var(--ink); color: var(--paper); padding: clamp(72px, 11vw, 170px) 0; }
.tix .eyebrow { color: #b9b9b4; }
.tix__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 48px; margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.tix__tiers { border: 0; padding: 0; margin: 0; min-width: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; padding: 22px 22px 56px; border: 1px solid rgba(245, 245, 242, .3); cursor: pointer; transition: border-color .25s, background .25s, transform .4s var(--ease); min-height: 320px; }
.tier input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tier:hover { border-color: var(--paper); transform: translateY(-4px); }
.tier.is-on { border-color: var(--accent); background: rgba(230, 71, 38, .12); }
.tier:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.tier__top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tier__name { font: 500 26px/1 var(--f-d); letter-spacing: -.03em; }
.tier__note { font-size: 10px; color: #c9c9c4; text-align: right; }
.tier__price { font: 500 clamp(34px, 3.4vw, 50px)/1 var(--f-d); letter-spacing: -.05em; }
.tier__desc { font-size: 15px; line-height: 1.45; color: #d4d4cf; align-self: start; }
.tier__dot { position: absolute; left: 22px; bottom: 22px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--paper); transition: background .2s, border-color .2s, box-shadow .2s; }
.tier.is-on .tier__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(230, 71, 38, .3); }
.tix__side { border-top: 1px solid var(--paper); padding-top: 20px; }
.qty { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.qty__ctl { display: flex; align-items: center; border: 1px solid rgba(245, 245, 242, .4); border-radius: 99px; }
.qty__ctl button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 22px; border-radius: 50%; color: var(--paper); transition: background .2s; }
.qty__ctl button:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.qty__ctl button:disabled { opacity: .35; cursor: not-allowed; }
.qty__ctl output { min-width: 40px; text-align: center; font: 500 20px var(--f-d); font-variant-numeric: tabular-nums; }
.sum { border-top: 1px solid rgba(245, 245, 242, .25); padding: 14px 0 24px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: #d4d4cf; }
.sum .sum__total { color: var(--paper); font: 500 clamp(30px, 3vw, 44px)/1.1 var(--f-d); letter-spacing: -.04em; padding-top: 14px; }
.cta { width: 100%; min-height: 64px; border: 0; background: var(--accent); color: var(--ink); font: 600 18px var(--f-b); display: flex; justify-content: space-between; align-items: center; padding: 0 24px; transition: background .25s, color .25s, padding .35s var(--ease); }
.cta:hover { background: var(--paper); padding-right: 18px; }
.tix__msg { margin-top: 16px; min-height: 3em; color: var(--paper); font-size: 15px; }
.tix :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--accent); }

/* ---------- info ---------- */
.info { background: var(--paper); padding: clamp(72px, 11vw, 170px) 0; }
.info__faq { grid-column: 1 / 7; }
.info__way { grid-column: 8 / 13; }
.faq { margin-top: 40px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 14px 0; font: 500 clamp(19px, 1.7vw, 24px)/1.2 var(--f-d); letter-spacing: -.025em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.plus { position: relative; width: 20px; height: 20px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 40px 24px 0; color: var(--mute); max-width: 38rem; animation: ttin .5s var(--ease) both; }
.map { border: 1px solid var(--ink); margin-bottom: 28px; }
.way > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.way dt { color: var(--mute); padding-top: 3px; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--accent); color: var(--ink); padding: clamp(56px, 8vw, 120px) 0 28px; overflow: hidden; }
.foot__mark { font: 500 clamp(80px, 21.5vw, 400px)/.8 var(--f-d); letter-spacing: -.065em; margin: 0 0 clamp(40px, 6vw, 90px) -.04em; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; font-size: 15px; }
.foot__cols h3 { margin-bottom: 10px; }
.foot a { text-underline-offset: 4px; display: inline-block; padding: 2px 0; }
.foot a:hover { text-decoration-thickness: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid { display: block; }
  .prog__head { position: static; margin-bottom: 40px; }
  .info__way { margin-top: 64px; }
  .tix__form { grid-template-columns: 1fr; gap: 32px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; grid-template-rows: auto; padding-bottom: 60px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --fs: 44px; }
  .bar { padding-top: 10px; }
  .pill__sep, .pill__date { display: none; }
  .pill--nav { flex-direction: column; align-items: stretch; padding: 0; gap: 0; border-radius: 22px; min-width: 112px; }
  .menu { display: block; min-height: 44px; border: 0; background: transparent; color: #fff; font: 500 13px var(--f-b); padding: 0 18px; text-align: left; }
  .pill--nav ul, .pill--nav .snd { display: none; }
  .pill--nav.is-open { min-width: 210px; padding-bottom: 8px; }
  .pill--nav.is-open ul { display: flex; flex-direction: column; padding: 0 6px; }
  .pill--nav.is-open ul a { min-height: 48px; font-size: 16px; }
  .pill--nav.is-open .snd { display: block; margin: 6px 14px 4px; height: 40px; }
  .hero { padding-top: 80px; }
  .hero__blurb { left: var(--pad); right: auto; bottom: calc(var(--pad) + 52px); max-width: none; right: var(--pad); font-size: 14px; padding: 12px 14px; }
  .hero__title { margin-bottom: 190px; }
  .names__head { margin: 0 var(--pad) 18px; }
  .names__count { margin-left: 0; width: 100%; }
  .list, .archive { margin: 0 var(--pad); }
  .row, .archive { grid-template-columns: 1fr 36px; grid-template-rows: auto auto; padding: 16px 0 14px; min-height: 118px; align-content: center; row-gap: 6px; }
  .row__city { grid-column: 1; grid-row: 1; font: 500 11px/1.25 var(--f-m); letter-spacing: .06em; text-transform: uppercase; opacity: 1; }
  .row__city .cc { display: inline; }
  .row__city .cc::before { content: ' · '; }
  .hero__kicker { justify-self: start; background: var(--paper); padding: 8px 10px; }
  .row__name, .archive .row__name { grid-column: 1; grid-row: 2; padding-right: 0; }
  .row__arrow { grid-column: 2; grid-row: 1 / 3; font-size: 22px; align-self: center; }
  .row__name::after { left: 0; right: 0; top: -16px; bottom: -14px; }
  .row__detail { grid-column: 1 / 3; grid-row: 3; }
  .card { max-width: none; }
  .row.is-active .row__name { transform: none; }
  .tt__row { grid-template-columns: 52px 1fr 44px; row-gap: 4px; }
  .tt__kind { display: none; }
  .tt__row:hover { padding-left: 0; }
  .way > div { grid-template-columns: 1fr; gap: 4px; }
  .foot__cols { grid-template-columns: 1fr; }
  .tix__side { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .row { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__kicker, .hero__blurb, .hero__scroll { opacity: 1; }
}
