:root {
  --ink: #141414;
  --paper: #f4f3ef;
  --night: #161616;
  --void: #0a0a0a;
  --cream: #f1efe9;
  --orange: #ff5a00;
  --green: #34c759;
  --blue: #a8c8ff;
  --ticket: #ff8a00;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Outfit", "Onest", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --gap: 8px;
  --dots: 1px dotted rgba(20, 20, 20, .5);
  --fit: 6.6;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --z-nav: 50; --z-skip: 60;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.022, 0.083, 0.171, 0.278, 0.395, 0.515, 0.633, 0.743, 0.842, 0.929, 1.001, 1.06, 1.104, 1.135, 1.154, 1.162, 1.162, 1.155, 1.142, 1.126, 1.108, 1.088, 1.069, 1.05, 1.033, 1.018, 1.005, 0.994, 0.986, 0.98, 0.976, 0.974, 0.973, 0.974, 0.976, 0.978, 0.981, 0.984, 0.987, 0.99, 0.993, 0.996, 0.998, 1, 1.002, 1);
  }
}
:lang(ru) { --fit: 8.05; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--orange); color: #111; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip {
  position: fixed; z-index: var(--z-skip); top: 12px; left: 50%; translate: -50% -160%;
  background: #fff; color: #111; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: translate .35s var(--ease-out);
}
.skip:focus-visible { translate: -50% 0; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mega {
  font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .86;
  font-size: clamp(3.2rem, 13.5vw, 13rem);
}

/* panels: rounded blocks on a dark page, like a contact sheet */
.panel { margin: var(--gap); border-radius: 24px; overflow: hidden; position: relative; }
.paper { background: var(--paper); }
.night { background: var(--night); color: var(--cream); }
.blue  { background: var(--blue); }
.void  { background: #0d0c0b; color: var(--cream); }

/* nav */
.nav {
  position: fixed; z-index: var(--z-nav); top: 22px; left: 26px; right: 26px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  transition: translate .6s var(--ease-out), opacity .4s;
}
.nav.is-hidden { translate: 0 -150%; opacity: 0; }
.nav.is-hidden:focus-within { translate: 0; opacity: 1; }
.logo {
  justify-self: start; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: #111;
  display: grid; place-items: center; text-decoration: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
  font: 800 .95rem/1 var(--display); letter-spacing: -.03em;
  transition: rotate .7s var(--spring), scale .5s var(--spring);
}
.logo:hover { rotate: -14deg; scale: 1.08; }
.logo:active { scale: .94; }
.pills { display: flex; gap: 8px; }
.pill {
  color: #111; text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 13px 20px; white-space: nowrap; box-shadow: 0 0 0 2px #111, 0 0 0 0 #111;
  transition: translate .5s var(--spring), box-shadow .5s var(--spring);
}
.pill:hover, .pill[aria-current="true"] { translate: -2px -3px; box-shadow: 0 0 0 2px #111, 3px 4px 0 2px #111; }
.pill:active { translate: 0 0; box-shadow: 0 0 0 2px #111, 0 0 0 0 #111; transition-duration: .12s; }
.pill-work { background: var(--orange); border-radius: 6px; }
.pill-about { background: var(--green); border-radius: 10px; }
.pill-contact { background: var(--blue); border-radius: 12px; }
.lang {
  justify-self: end; display: flex; padding: 3px; gap: 2px; border-radius: 10px;
  background: #111; border: 1px solid rgba(255, 255, 255, .22);
}
.lang button {
  background: none; border: 0; color: #fff; font: 600 .78rem/1 var(--sans); letter-spacing: .04em;
  padding: 9px 12px; min-height: 34px; border-radius: 8px; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), scale .3s var(--spring);
}
.lang button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .14); }
.lang button:active { scale: .92; }
.lang button[aria-pressed="true"] { background: #fff; color: #111; }
@media (max-width: 640px) {
  .nav { top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; }
  .logo { display: none; }
  .pills { gap: 5px; }
  .pill { font-size: .8rem; padding: 10px 11px; }
  .lang button { font-size: .72rem; padding: 8px 9px; }
}
@media (max-width: 360px) {
  .nav { left: 12px; right: 12px; }
  .pill { font-size: .74rem; padding: 9px 8px; }
}

/* hero */
.hero {
  container-type: inline-size;
  min-height: calc(100vh - 16px); min-height: calc(100svh - 16px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px clamp(14px, 1.8vw, 30px) clamp(4px, .8vw, 12px);
  background: #5c0f0a; color: #f6f2ea; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; isolation: isolate;
  background: radial-gradient(120% 95% at 55% 18%, #8a2115 0%, #741a10 50%, #4a0f09 100%);
}
/* landscape: fit the photo to the height and melt its sides into the red wall */
.hero__bg img {
  position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
}
/* portrait: fill the frame, keep the face in view */
@media (max-aspect-ratio: 1/1) {
  .hero__bg img {
    left: 0; width: 100%; transform: none; object-fit: cover; object-position: 38% 45%;
    -webkit-mask-image: none; mask-image: none;
  }
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: #c2281a; mix-blend-mode: soft-light; opacity: .3;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(28, 3, 2, .7) 0%, rgba(28, 3, 2, .3) 30%, transparent 55%),
    radial-gradient(130% 110% at 50% 40%, transparent 60%, rgba(20, 2, 1, .5) 100%);
}
.hero__copy { max-width: 31rem; margin: 0 0 clamp(18px, 3vw, 46px) clamp(0px, .4vw, 8px); }
.hello { font-size: clamp(2.5rem, 4.6vw, 4.2rem); line-height: .95; margin-bottom: 14px; }
.lead { font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 500; line-height: 1.45; text-wrap: balance; }
.hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  white-space: nowrap; font-size: calc(100cqw / var(--fit)); padding-bottom: .1em;
}
.hero__title span { display: inline-block; }

/* intro: photo settles, copy and title rise in */
.js .hero__bg img { opacity: 0; scale: 1.14; }
.js .hello, .js .lead, .js .hero__title span { opacity: 0; }
.is-ready .hero__bg img { animation: settle 2.2s var(--ease-out) both; }
.is-ready .hello { animation: rise 1.1s var(--ease-out) .35s both; }
.is-ready .lead { animation: rise 1.1s var(--ease-out) .5s both; }
.is-ready .hero__title span { animation: rise-big 1.3s var(--ease-out) .15s both; }
.is-ready .hero__title span + span { animation-delay: .27s; }
.js:not(.is-ready) .nav { opacity: 0; translate: 0 -24px; }
@keyframes settle { from { opacity: 0; scale: 1.14; } to { opacity: 1; scale: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes rise-big { from { opacity: 0; translate: 0 45%; rotate: 4deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }

@media (max-width: 700px) {
  :root { --fit: 4.5; }
  :lang(ru) { --fit: 5.95; }
  .hero { padding-top: 96px; }
  .hero__title { line-height: .84; padding-bottom: .1em; }
  .hero__title span { display: block; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .4em; min-height: 50px; padding: 0 24px;
  color: #111; font-weight: 600; font-size: .98rem; text-decoration: none;
  box-shadow: 0 0 0 0 #111; transition: translate .5s var(--spring), box-shadow .5s var(--spring);
}
.btn:hover { translate: -3px -3px; box-shadow: 4px 4px 0 #111; }
.btn:active { translate: 0 0; box-shadow: 0 0 0 #111; transition-duration: .12s; }
.btn[target="_blank"]::after { content: "↗"; display: inline-block; transition: translate .5s var(--spring); }
.btn:hover::after { translate: 3px -3px; }
.btn-live { background: var(--orange); border-radius: 8px; }
.btn-code { background: var(--blue); border-radius: 8px; }
.btn-ink { background: #111; color: #fff; border-radius: 6px; }
.btn-ink:hover { box-shadow: 4px 4px 0 rgba(17, 17, 17, .35); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* work */
.work { padding: 150px var(--pad) clamp(60px, 8vw, 110px); }
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.work__sub { max-width: 15em; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; text-align: right; }
.project {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4.5vw, 72px);
  padding: clamp(36px, 5vw, 64px) 0; border-top: var(--dots);
}
.project.flip .cover { order: 2; }
.project:last-child { padding-bottom: 0; }
.cover {
  position: sticky; top: 92px; align-self: start; height: min(720px, calc(100svh - 108px)); min-height: 480px;
  border-radius: 18px; overflow: hidden; container-type: inline-size;
}
/* soft light inside each cover */
.cover::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at var(--lx, 30%) var(--ly, 20%), rgba(255, 255, 255, .28), transparent 70%);
  transition: opacity .6s;
}
.cover-green { background: var(--green); }
.cover-blue { background: var(--blue); }
.cover-sea { background: #2f8a96; }
.scr-map { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project.flip .cover { order: 0; }
  .cover { position: relative; top: 0; height: 480px; min-height: 0; }
  .work__sub { text-align: left; }
}

.kicker { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; }
.kicker .num { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; }
.info h3 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(2.7rem, 5.4vw, 5rem); margin: 14px 0 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips span {
  border: 1px solid var(--ink); border-radius: 6px; padding: 5px 13px; font-size: .8rem; font-weight: 600;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.chips span:hover { background: var(--ink); color: var(--paper); }
.sum { font-size: 1.12rem; line-height: 1.5; max-width: 38em; }
.info h4 {
  font: 600 .72rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  color: rgba(20, 20, 20, .55); margin: 38px 0 10px;
}
.rows { list-style: none; }
.rows li { padding: 13px 0; border-top: var(--dots); font-size: .98rem; font-weight: 500; line-height: 1.45; }
.rows li:last-child { border-bottom: var(--dots); }
.note { margin-top: 20px; font-size: .88rem; color: rgba(20, 20, 20, .62); max-width: 40em; }

/* phone mock-ups (pure CSS, sized in em from the container width) */
.phone {
  --pw: min(42cqw, 240px);
  position: absolute; width: var(--pw); aspect-ratio: 9 / 19; font-size: calc(var(--pw) / 16);
  border: .5em solid #0a0a0a; border-radius: 2.4em; background: #0c0c0f; overflow: hidden;
  box-shadow: 0 2.5em 4em -1.6em rgba(0, 20, 24, .55);
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * 1px), calc(var(--my, 0) * var(--depth) * 1px), 0) rotate(var(--rot));
  transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out);
}
.phone-a { left: 8cqw; top: 6%; --rot: -3deg; --depth: 14; }
.phone-b { right: 8cqw; top: 38%; --rot: 4deg; --depth: -22; }
.cover.is-live .phone-a { animation: float 7s ease-in-out infinite; }
.cover.is-live .phone-b { animation: float 7s ease-in-out -3.5s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.scr { height: 100%; padding: 1.7em 1.3em; display: flex; flex-direction: column; gap: 1.1em; }
.scr .top { display: flex; justify-content: space-between; align-items: center; }
.scr .top i { height: .7em; border-radius: 1em; background: #26262c; }
.scr .top i:first-child { width: 4.2em; }
.scr .top i:last-child { width: 1.8em; background: #c8ff4d; }

.ring {
  width: 9.6em; height: 9.6em; margin: .3em auto; border-radius: 50%; position: relative; flex: none;
  background: conic-gradient(#4dffd1 var(--p), #202026 0);
  transition: --p 1.8s var(--ease-out) .6s; filter: drop-shadow(0 0 .8em rgba(77, 255, 209, .35));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring::before { content: ""; position: absolute; inset: 1em; border-radius: 50%; background: #151519; }
.ring b, .ring i { position: relative; font-style: normal; }
.ring b { font: 800 2.2em/1 var(--display); letter-spacing: -.03em; color: #4dffd1; }
.ring i { font: 500 .68em var(--sans); color: #7b7b86; margin-top: .5em; }
.bars { display: grid; gap: 1em; }
.bars span { height: .6em; border-radius: 1em; background: #202026; position: relative; }
.bars span::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c);
  border-radius: inherit; box-shadow: 0 0 .8em var(--c);
  transform-origin: left; transition: transform 1.4s var(--ease-out) .8s;
}
.bars span:nth-child(2)::after { transition-delay: .95s; }
.bars span:nth-child(3)::after { transition-delay: 1.1s; }
.cards { display: grid; gap: .8em; }
.cards div { height: 3.2em; border-radius: 1em; background: #17171c; display: flex; align-items: center; gap: .9em; padding: 0 1em; }
.cards div::before { content: ""; width: 1.6em; height: 1.6em; border-radius: .5em; background: var(--c); }
.cards div::after { content: ""; height: .55em; width: 55%; border-radius: 1em; background: #2b2b32; }
.meal { display: flex; align-items: center; gap: .9em; padding: .8em; border-radius: 1.1em; background: #17171c; }
.meal .ph { flex: none; width: 3.6em; height: 3.6em; border-radius: .8em; background: linear-gradient(140deg, var(--a), var(--b)); }
.meal .ln { flex: 1; display: grid; gap: .55em; }
.meal .ln i { height: .55em; border-radius: 1em; background: #2b2b32; }
.meal .ln i:first-child { width: 78%; background: #3c3c46; }

@property --p { syntax: "<percentage>"; inherits: false; initial-value: 74%; }
.cards div, .meal { transition: opacity .7s var(--ease-out), translate .9s var(--ease-out); }
.meal:nth-child(3) { transition-delay: .7s; } .meal:nth-child(4) { transition-delay: .82s; }
.meal:nth-child(5) { transition-delay: .94s; } .meal:nth-child(6) { transition-delay: 1.06s; }
.cards div:nth-child(1) { transition-delay: 1.2s; } .cards div:nth-child(2) { transition-delay: 1.32s; }

/* map + night scene details */
.route { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-in-out) .7s; }
.route-2 { transition-delay: 1.3s; }
.pin { transform-box: fill-box; transform-origin: center; transition: scale .8s var(--spring) 1.2s; }
.cover.is-live .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.cover.is-live .beam { animation: beam 4s ease-in-out infinite; }
.cover.is-live .lamp { animation: lamp 4s ease-in-out infinite; }
.cover.is-live .stars circle { animation: twinkle 3s ease-in-out infinite; }
.cover.is-live .stars circle:nth-child(2) { animation-delay: -1s; }
.cover.is-live .stars circle:nth-child(3) { animation-delay: -2s; }
.cover.is-live .waves { animation: waves 3.5s linear infinite; }
@keyframes pulse { 0% { scale: .6; opacity: .55; } 100% { scale: 2.2; opacity: 0; } }
@keyframes beam { 50% { opacity: .55; } }
@keyframes lamp { 50% { fill: #fffbe0; } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes waves { to { translate: 40px 0; } }

/* scroll reveals (hidden states only exist once JS has tagged the element) */
[data-reveal] {
  transition: opacity 1s var(--ease-out) var(--d, 0s), translate 1.1s var(--ease-out) var(--d, 0s),
    clip-path 1.3s var(--ease-out) var(--d, 0s), rotate 1.3s var(--spring) var(--d, 0s), scale 1.1s var(--spring) var(--d, 0s);
}
[data-reveal]:not(.is-in) { opacity: 0; translate: 0 34px; }
[data-reveal="mask"] { clip-path: inset(-12% -6% -20% -6%); }
[data-reveal="mask"]:not(.is-in) { opacity: 1; translate: 0 .3em; clip-path: inset(0 0 100% 0); }
[data-reveal="cover"] { clip-path: inset(0 0 0 0 round 18px); }
[data-reveal="cover"]:not(.is-in) { opacity: 1; translate: 0; clip-path: inset(10% 8% 0 8% round 18px); }
[data-reveal="cover"]:not(.is-in) .phone { opacity: 0; transform: translate3d(0, 110px, 0) rotate(calc(var(--rot) * 3)); }
[data-reveal="cover"] .phone-b { transition-delay: .15s; }
[data-reveal="cover"]:not(.is-in) .ring { --p: 0%; }
[data-reveal="cover"]:not(.is-in) .bars span::after { transform: scaleX(0); }
[data-reveal="cover"]:not(.is-in) .meal, [data-reveal="cover"]:not(.is-in) .cards div { opacity: 0; translate: 1.6em 0; }
[data-reveal="cover"]:not(.is-in) .route { stroke-dashoffset: 1; }
[data-reveal="cover"]:not(.is-in) .pin { scale: 0; }
.rows[data-reveal] li { transition: opacity .8s var(--ease-out), translate .9s var(--ease-out); }
.rows[data-reveal]:not(.is-in) li { opacity: 0; translate: 0 18px; }
.rows[data-reveal] li:nth-child(2) { transition-delay: .07s; } .rows[data-reveal] li:nth-child(3) { transition-delay: .14s; }
.rows[data-reveal] li:nth-child(4) { transition-delay: .21s; } .rows[data-reveal] li:nth-child(5) { transition-delay: .28s; }
.rows[data-reveal]:not(.is-in) { opacity: 1; translate: 0; }
.rows[data-reveal].is-settled li { transition-delay: 0s; }

/* panels lift into place as they scroll in */
@supports (animation-timeline: view()) {
  .panel:not(.hero) { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .hero { animation: sink linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes lift { from { scale: .94; } to { scale: 1; } }
  @keyframes sink { to { scale: .92; opacity: .55; } }
}


/* about */
.about { padding: 150px var(--pad) clamp(70px, 9vw, 130px); }
.split { display: grid; grid-template-columns: minmax(90px, 1fr) 5fr; gap: 24px; margin-top: clamp(56px, 8vw, 110px); }
.label { font-size: .85rem; font-weight: 500; color: rgba(241, 239, 233, .6); padding-top: .5em; }
.about__text { font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 500; line-height: 1.28; letter-spacing: -.01em; max-width: 30em; text-wrap: pretty; }
.night .rows li { border-color: rgba(241, 239, 233, .4); font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 500; }
.night .rows li:last-child { border-color: rgba(241, 239, 233, .4); }
.night .rows li, .tbl tbody tr { transition: opacity .35s var(--ease-out), translate .5s var(--ease-out), color .35s; }
@media (hover: hover) {
  .night .rows:hover li, .tbl tbody:hover tr { opacity: .4; }
  .night .rows li:hover, .tbl tbody tr:hover { opacity: 1; translate: 8px 0; }
}

.tbl { width: 100%; margin-top: clamp(56px, 8vw, 110px); border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: .95rem; color: rgba(241, 239, 233, .5); padding: 0 0 14px; }
.tbl td { padding: 20px 24px 20px 0; border-top: 1px dotted rgba(241, 239, 233, .4); font-weight: 600; font-size: 1.05rem; vertical-align: top; }
.tbl tr:last-child td { border-bottom: 1px dotted rgba(241, 239, 233, .4); }
.tbl th:nth-child(1), .tbl td:nth-child(1) { width: 20%; }
.tbl th:nth-child(2), .tbl td:nth-child(2) { width: 48%; }
.tbl th:last-child, .tbl td:last-child { text-align: right; padding-right: 0; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 12px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { padding: 18px 0; border-top: 1px dotted rgba(241, 239, 233, .4); }
  .tbl tr:last-child { border-bottom: 1px dotted rgba(241, 239, 233, .4); }
  .tbl td, .tbl tr:last-child td { padding: 0; border: 0; }
  .tbl td:first-child { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; margin-bottom: 4px; }
  .tbl td:last-child { text-align: left; color: rgba(241, 239, 233, .6); font-weight: 500; margin-top: 4px; }
  .tbl th:nth-child(n), .tbl td:nth-child(n) { width: 100%; }
}

/* contact ticket */
.contact { padding: clamp(80px, 12vw, 170px) var(--pad); }
.ticket {
  position: relative; max-width: 760px; margin: 0 auto; padding: 0 46px; background: var(--ticket); border-radius: 6px;
  transform: rotate(-1.2deg);
  transition: transform .8s var(--spring), box-shadow .8s var(--ease-out), opacity 1s var(--ease-out),
    translate 1.2s var(--ease-out), rotate 1.5s var(--spring), scale 1.3s var(--spring);
}
.ticket:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 30, 70, .55); }
.ticket[data-reveal]:not(.is-in) { rotate: 6deg; scale: .9; translate: 0 70px; }
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle at center, #0a0a0a 0 6.5px, transparent 7px) center top / 14px 33.333% repeat-y;
}
.ticket::before { left: 16px; }
.ticket::after { right: 16px; }
.ticket__in {
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 44px); text-align: center;
  border-left: 1px dashed rgba(0, 0, 0, .6); border-right: 1px dashed rgba(0, 0, 0, .6);
}
.ticket h2 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; margin-bottom: 20px; }
.ticket p { max-width: 24em; margin: 0 auto 32px; font-weight: 500; }

/* footer */
.foot { margin-top: var(--gap); }
.marquee { overflow: hidden; padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px dotted rgba(241, 239, 233, .35); }
.marquee__track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee span { font: italic 400 clamp(2.2rem, 5.4vw, 5rem)/1 var(--serif); padding-right: .5em; white-space: nowrap; }
.marquee span::after { content: "·"; margin-left: .5em; }
@keyframes slide { to { transform: translateX(-50%); } }
.foot__body {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(28px, 4vw, 48px);
}
.wordmark { font: 800 clamp(6rem, 21vw, 20rem)/.78 var(--display); letter-spacing: -.055em; padding-bottom: .04em; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; font-size: .9rem; }
.foot__cols > div { display: grid; gap: 6px; }
.foot__cols h4 { font: 600 .7rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: rgba(241, 239, 233, .5); margin-bottom: 6px; }
.foot__cols a {
  width: fit-content; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.foot__cols a:hover { background-size: 100% 1px; }
.foot__copy { max-width: 13em; color: rgba(241, 239, 233, .6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after, .marquee__track { animation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .panel, .hero { animation: none !important; }
}
