@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #1c1c21;
  --panel-2: #2a2a31;
  --fg: #f5f5f6;
  --dim: #a5a5ad;
  --faint: #6f6f78;
  --rule: #2c2c33;
  --r: 14px;
  --pad: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.25rem; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-optical-sizing: auto; letter-spacing: -0.011em;
  font: 400 1rem/1.55 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--fg); color: var(--bg); }
h1, h2, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: var(--pad); top: -5rem; z-index: 30; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 0.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 90rem; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.25rem;
  border-radius: 10px; background: var(--fg); color: #101014;
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--ghost { background: rgba(255, 255, 255, 0.1); color: var(--fg); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { min-height: 2.25rem; padding: 0 0.9rem; border-radius: 8px; font-size: 0.875rem; }
.btn[hidden] { display: none; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav__in { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); height: 5.25rem; }
.nav__brand { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.nav__brand span { margin-left: 0.85rem; padding-left: 0.9rem; border-left: 1px solid var(--rule); color: var(--dim); font-weight: 400; font-size: 0.875rem; }
.nav__links { display: flex; gap: clamp(1.1rem, 2.6vw, 2.25rem); margin-right: auto; font-size: 0.9375rem; color: var(--dim); }
.nav__links a { padding: 0.5rem 0; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--fg); }

/* Intro */
.intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; padding-top: clamp(2.25rem, 6vw, 4.5rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 540; line-height: 1.1; letter-spacing: -0.028em; max-width: 16em; text-wrap: balance; }
.intro__meta { display: grid; gap: 0.2rem; color: var(--dim); font-size: 0.9375rem; text-align: right; }
.live { color: var(--fg); }
.live::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem; border-radius: 50%; background: #3ddc84; vertical-align: 0.05em; }

/* Featured work: stage plus list */
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.js .feat { grid-template-columns: minmax(0, 1fr) 15.5rem; }
.feat__stage { display: grid; gap: 1rem; }
.js .feat__stage { min-height: clamp(27rem, 36vw, 36rem); gap: 0; }
.slide {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  border-radius: var(--r); overflow: hidden; background: var(--tint, var(--panel));
  min-height: 24rem;
}
.js .slide { grid-area: 1 / 1; min-height: auto; overflow: clip; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }
.js .slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.slide--chatria { --tint: #2b1418; }
.slide--iw { --tint: #26220c; container-type: inline-size; }
.slide__text { display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(1.5rem, 3vw, 2.75rem); }
.slide__tag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); }
.slide__tag b { padding: 0.12rem 0.38rem; border-radius: 4px; background: rgba(255, 255, 255, 0.12); color: var(--fg); font-weight: 600; }
.slide--chatria .slide__tag b { background: #3ddc84; color: #06200f; }
.slide h2 { margin-top: 0.8rem; font-size: clamp(1.9rem, 3.3vw, 2.9rem); font-weight: 560; line-height: 1.02; letter-spacing: -0.025em; }
.slide__text > p:not([class]), .slide__full { margin-top: 1rem; color: #d0d0d6; font-size: 0.9688rem; line-height: 1.45; max-width: 30em; text-wrap: pretty; }
.slide__text > .slide__full { margin-top: 0.6rem; }
.slide__full[hidden] { display: none; }
.slide__full p { font-size: 0.875rem; line-height: 1.5; }
.slide__full p + p { margin-top: 0.6rem; color: var(--dim); }
.more { appearance: none; border: 0; background: none; cursor: pointer; align-self: flex-start; margin-top: 0.5rem; padding: 0.2rem 0; color: var(--dim); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
.more:hover { color: var(--fg); }
.more[hidden] { display: none; }
.slide__roles { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.slide__roles li { padding: 0.25rem 0.6rem; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #d0d0d6; font-size: 0.8125rem; }
.slide__act { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 1.75rem; }
.slide__img { position: relative; overflow: hidden; }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 6s ease-out; }
.slide.is-on .slide__img img { transform: scale(1.04); }
.slide--chatria { grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr); }
.slide__show { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; padding: clamp(1rem, 2vw, 1.5rem); background: #0b0b0e; }
.show__main { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); background: #000; }
.show__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; align-items: start; }
.show__thumbs button { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; display: grid; align-content: start; text-align: left; color: var(--dim); font-size: 0.75rem; transition: color 0.15s ease; }
.show__thumbs img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--rule); background: #000; transition: box-shadow 0.15s ease; }
.show__thumbs span { display: block; margin-top: 0.4rem; }
.show__thumbs button:hover { color: var(--fg); }
.show__thumbs button:hover img { box-shadow: 0 0 0 1px var(--faint); }
.show__thumbs button[aria-pressed="true"] { color: var(--fg); }
.show__thumbs button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--fg); }
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.25rem; }
.keys li { display: grid; align-content: start; gap: 0.15rem; padding: 0.65rem 0.75rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.keys b { font-size: 0.8125rem; font-weight: 600; line-height: 1.25; }
.keys span { color: var(--dim); font-size: 0.75rem; line-height: 1.3; }
.slide__word { display: flex; flex-direction: column; justify-content: center; padding: 6% 7%; background: #ffd500; color: #101014; font-weight: 800; text-transform: uppercase; font-size: 12.4cqw; line-height: 0.84; letter-spacing: -0.045em; }
.slide__word small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; }
.slide__word small:first-child { margin-bottom: auto; }
.slide__word small:last-child { margin-top: auto; }
.slide__word span:first-of-type { margin-top: 0.12em; }
.slide__word span:last-of-type { margin-bottom: 0.12em; }

.feat__list { display: grid; align-content: start; gap: 0.35rem; }
.feat__list[hidden] { display: none; }
.feat__list button {
  position: relative; overflow: hidden; width: 100%;
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 0.9rem; padding: 0.65rem;
  border-radius: 12px; transition: background-color 0.15s ease;
}
.feat__list button:hover { background: var(--panel); }
.feat__list button[aria-current="true"] { background: var(--panel-2); }
.feat__list img, .feat__list i { position: relative; z-index: 1; flex: none; width: 2.75rem; height: 3.45rem; border-radius: 7px; object-fit: cover; }
.feat__list i { display: grid; place-items: center; background: #ffd500; color: #101014; font-style: normal; font-weight: 600; font-size: 0.8125rem; }
.feat__list span { position: relative; z-index: 1; display: grid; min-width: 0; }
.feat__list b { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.feat__list small { color: var(--dim); font-size: 0.8125rem; line-height: 1.3; }
.feat__list button::before { content: ""; position: absolute; inset: 0; width: 0; background: rgba(255, 255, 255, 0.09); }

/* Rows */
.row { padding-top: clamp(3.5rem, 8vw, 6rem); }
.row__title { font-size: 1.125rem; font-weight: 560; letter-spacing: -0.01em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tiles li { display: grid; align-content: start; gap: 0.5rem; padding: 1.5rem; border-radius: var(--r); background: var(--panel); transition: background-color 0.15s ease, transform 0.2s ease; }
.tiles li:hover { background: var(--panel-2); transform: translateY(-3px); }
.tiles b { font-weight: 560; font-size: 1.0625rem; letter-spacing: -0.01em; }
.tiles span { color: var(--dim); font-size: 0.9375rem; line-height: 1.4; }

.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; padding-top: clamp(3.5rem, 8vw, 6rem); }
.card { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--panel); }
.card--say p { margin-top: 1.25rem; font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.018em; text-wrap: pretty; }
.facts { display: grid; align-content: center; }
.facts > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--dim); font-size: 0.9375rem; }

.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3.5rem, 8vw, 6rem); }
.book h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 560; line-height: 1.08; letter-spacing: -0.022em; }
.book__head p { margin-top: 0.9rem; color: var(--dim); max-width: 26em; }
.js .book__fallback { display: none; }
.book__label { margin-bottom: 0.6rem; color: var(--dim); font-size: 0.875rem; }
.chips + .book__label { margin-top: 1.5rem; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: 0.5rem; }
.chips--days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chips button {
  appearance: none; border: 0; cursor: pointer; min-height: 2.75rem; padding: 0.4rem 0.5rem;
  border-radius: 10px; background: var(--panel-2); color: var(--fg); font-weight: 500; font-size: 0.9375rem; line-height: 1.2;
  transition: background-color 0.15s ease;
}
.chips button small { display: block; color: var(--dim); font-size: 0.75rem; font-weight: 400; }
.chips button:hover { background: #383840; }
.chips button[aria-pressed="true"] { background: var(--fg); color: #101014; }
.chips button[aria-pressed="true"] small { color: #55555c; }
.book__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 0.75rem; margin-top: 1.5rem; }
.book__form label, .signin label { display: grid; gap: 0.4rem; color: var(--dim); font-size: 0.875rem; }
.book__wide { grid-column: 1 / -1; }
.book__form input, .book__form textarea, .signin input, .req__reply {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; resize: vertical;
}
.book__form input:focus-visible, .book__form textarea:focus-visible, .signin input:focus-visible, .req__reply:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.book__hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.book__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin-top: 0.35rem; }
.book__go .more { margin-top: 0; }
.btn:disabled { background: var(--panel-2); color: var(--faint); cursor: default; transform: none; }
.book__msg { min-height: 1.5rem; font-size: 0.9375rem; }
.book__msg[data-kind="ok"] { color: #3ddc84; }
.book__msg[data-kind="bad"] { color: #ff8a8a; }
.chips button:disabled { background: none; box-shadow: inset 0 0 0 1px var(--rule); color: var(--faint); cursor: default; text-decoration: line-through; }
.chips button:disabled::after { content: "taken"; display: block; font-size: 0.6875rem; text-decoration: none; }
.chips button:disabled:hover { background: none; }

.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(3.5rem, 8vw, 6rem); padding: clamp(1.75rem, 4.5vw, 3.5rem);
  border-radius: var(--r); background: linear-gradient(120deg, #2b1418 0%, #1c1c21 55%, #26220c 100%);
}
.banner h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 560; line-height: 1.08; letter-spacing: -0.022em; }
.banner h2 + p { margin-top: 0.6rem; color: var(--dim); }
.banner__act { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Footer */
.foot { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: 1.25rem; padding-bottom: 2.5rem; border-top: 1px solid var(--rule); color: var(--faint); font-size: 0.8125rem; line-height: 1.55; }
.foot p + p { margin-top: 0.7rem; max-width: 62rem; }
.foot__line { display: flex; justify-content: space-between; gap: 1rem; color: var(--dim); }
.foot a:hover { color: var(--fg); }

/* Full-page view */
.full { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #08080a; color: var(--fg); }
.full[open] { display: flex; flex-direction: column; }
.full::backdrop { background: #08080a; }
.full__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem var(--pad); border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.full__title { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full__toggle { display: flex; padding: 3px; border-radius: 10px; background: var(--panel); }
.full__bar button { appearance: none; border: 0; background: none; cursor: pointer; padding: 0.45rem 0.9rem; border-radius: 8px; color: var(--dim); font-weight: 500; }
.full__bar button:hover { color: var(--fg); }
.full__toggle button[aria-pressed="true"] { background: var(--fg); color: #101014; }
.full__bar .full__close { background: var(--panel); color: var(--fg); }
.full__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #555 transparent; }
.full__img { width: min(100%, 90rem); margin: 0 auto; }
.full[data-view="phone"] .full__img { width: min(100%, 390px); }

@media (max-width: 60rem) {
  .js .feat { grid-template-columns: minmax(0, 1fr); }
  .feat__list { grid-auto-flow: column; grid-auto-columns: minmax(11.5rem, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .nav__brand span { display: none; }
  .nav__in { height: 4.5rem; }
  .nav__links a:nth-child(2) { display: none; }
  .intro__meta { text-align: left; }
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: 15rem auto; }
  .slide__img { order: -1; min-height: 15rem; }
  .js .feat__stage { aspect-ratio: auto; min-height: 34rem; }
  .js .slide { grid-template-rows: minmax(9rem, 1fr) auto; }
  .js .slide--chatria { grid-template-rows: auto auto; }
  .slide--chatria { grid-template-rows: auto auto; }
  .js .slide__img { min-height: 7rem; }
  .slide__word { font-size: 20cqw; }
  .slide__show { order: -1; }
  .show__thumbs { gap: 0.5rem; }
  .slide--chatria { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book__form { grid-template-columns: minmax(0, 1fr); }
  .chips--days { grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); }
  .full__title { display: none; }
  .full__toggle { margin-right: auto; }
}
@media (max-width: 30rem) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .slide__full { animation: show 0.3s ease both; }
  @keyframes show { from { opacity: 0; transform: translateY(-0.25rem); } to { opacity: 1; transform: none; } }
  .feat.is-auto .feat__list button[aria-current="true"]::before { animation: fill 7s linear forwards; }
  .feat.is-auto:hover .feat__list button::before, .feat.is-auto:focus-within .feat__list button::before { animation-play-state: paused; }
  @keyframes fill { from { width: 0; } to { width: 100%; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .nav { position: static; }
  .copy, .skip, .full, .feat__list { display: none !important; }
}
