/* chaishots.in, v2 (26 Nov 2026): painted paper. Gouache paintings, real show frames, Fraunces + Anek Telugu,
   ink on cream paper with one marigold accent. Three body sizes; the hero line is the only display size. */
:root {
  --paper: #f1e8d6;
  --paper-2: #e9dec8;      /* a second sheet */
  --paper-3: #fbf6ec;      /* a lighter card */
  --ink: #1b2140;          /* ink blue */
  --muted: #4f5370;        /* 6.6:1 on paper */
  --line: rgba(27, 33, 64, 0.16);
  --marigold: #c9801a;     /* display only */
  --marigold-ink: #8a4f08; /* marigold for small text, 4.9:1 on paper */
  --night: #141a33;

  --serif: "Fraunces", Georgia, serif;
  --te: "Anek Telugu", system-ui, sans-serif;

  --t-head: clamp(2.6rem, 5.2vw, 5.2rem);
  --t-body: clamp(1.08rem, 1.05vw, 1.2rem);
  --t-sm: 0.9375rem;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: var(--t-body); line-height: 1.6; font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 14;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* the paper's tooth */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .48  0 0 0 0 .38  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font-size: var(--t-head); line-height: 1; letter-spacing: -0.025em; font-variation-settings: "SOFT" 100, "opsz" 144; }
h2 em, h1 em { font-style: italic; color: var(--marigold); }
h3 { font-size: var(--t-body); font-weight: 600; line-height: 1.35; }
.te { font-family: var(--te); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease); }
.nav.solid { background: rgba(241, 232, 214, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 30px; max-width: none; }
.brand img { height: 46px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0 auto 0 8px; padding: 0; }
.nav ul a { font-size: var(--t-sm); opacity: 0.82; transition: opacity 160ms var(--ease); }
.nav ul a:hover { opacity: 1; }
.nav .get { margin-left: auto; }
.menu-btn { display: none; }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 500 var(--t-sm)/1 var(--serif); border: 0; cursor: pointer; white-space: nowrap; transition: transform 180ms var(--ease), box-shadow 220ms var(--ease);
  box-shadow: 0 12px 28px -14px rgba(27, 33, 64, 0.8); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(27, 33, 64, 0.85); }
.btn.sm { height: 42px; padding: 0 18px; }

.stores { display: inline-flex; border-radius: 999px; background: var(--ink); box-shadow: 0 16px 34px -16px rgba(27, 33, 64, 0.85); }
.stores a { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; color: var(--paper); font: 500 var(--t-sm)/1.1 var(--serif); transition: background-color 160ms var(--ease); }
.stores a:first-child { border-radius: 999px 0 0 999px; }
.stores a:last-child { border-radius: 0 999px 999px 0; border-left: 1px solid rgba(241, 232, 214, 0.22); }
.stores a:hover { background: #283058; }
.stores svg { width: 20px; height: 20px; flex: none; }
.stores.light { background: var(--paper); }
.stores.light a { color: var(--ink); }
.stores.light a:last-child { border-left-color: var(--line); }
.stores.light a:hover { background: #fffaf0; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100dvh; overflow: hidden; isolation: isolate; padding-top: var(--nav-h); }
.hero .paint { position: absolute; inset: 0; z-index: -1; }
.hero .paint img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0; transform: scale(1.03); animation: wash 2.2s var(--ease) 0.1s forwards; }
.hero .paint::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(241, 232, 214, 0.92) 0%, rgba(241, 232, 214, 0.55) 30%, transparent 52%); }
.hero .head { padding: clamp(12px, 3vh, 36px) var(--gutter) 0; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 10.5rem); line-height: 0.95; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.tile { display: inline-block; height: 0.78em; aspect-ratio: 3 / 4; vertical-align: -0.06em; margin: 0 0.08em; border-radius: 0.5em 0.5em 0.08em 0.08em; overflow: hidden;
  box-shadow: 0 0 0 3px var(--paper), 0 14px 30px -12px rgba(27, 33, 64, 0.6); transform: translateY(0.4em) scale(0.9); opacity: 0; animation: rise 1s var(--ease) 0.2s forwards; }
.tile.t2 { animation-delay: 0.45s; } .tile.t3 { animation-delay: 0.6s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.under { display: flex; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(16px, 3vh, 30px); }
.under .te { font-weight: 600; color: var(--marigold-ink); margin-bottom: 4px; font-size: 1.25rem; }
.under .sub { color: var(--muted); max-width: 36ch; }
@keyframes wash { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ rhythm */
section { position: relative; }
.pad { padding-block: clamp(96px, 13vh, 160px); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head-row p { color: var(--muted); max-width: 46ch; }

/* ------------------------------------------------------------------ every kind of story: the painted hoardings */
.stories { padding-top: clamp(96px, 13vh, 160px); }
.mural { position: relative; isolation: isolate; }
.mural .paint { position: relative; aspect-ratio: 16 / 9; max-height: 92vh; width: 100%; overflow: hidden; }
.mural .paint img { width: 100%; height: 100%; object-fit: cover; }
.mural .paint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, transparent 14%, transparent 86%, var(--paper) 100%); pointer-events: none; }
.mural .title { position: absolute; left: var(--gutter); top: clamp(48px, 9%, 110px); max-width: 30vw; z-index: 2; }
.mural .title p { margin-top: 18px; color: var(--ink); }
.note { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 10px 14px 11px; background: var(--paper-3); color: var(--ink); border-radius: 3px; transform: rotate(var(--r, -2deg));
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55); font-size: var(--t-sm); line-height: 1.3; max-width: 15rem; }
.note b { font-weight: 600; font-style: italic; color: var(--marigold-ink); font-size: var(--t-body); }
.note::before { content: ""; position: absolute; left: 50%; top: -7px; width: 38px; height: 14px; margin-left: -19px; background: rgba(201, 128, 26, 0.35); transform: rotate(-4deg); } /* tape */

.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: clamp(40px, 6vw, 72px); margin-bottom: 26px; }
.rail { overflow: hidden; padding-block: 12px 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rail-in { display: flex; gap: 30px; width: max-content; padding-inline: 15px; animation: drift 80s linear infinite; }
.rail:hover .rail-in { animation-play-state: paused; }
.poster { flex: none; width: clamp(160px, 15vw, 220px); margin: 0; }
.poster .pic { aspect-ratio: 3 / 4.15; overflow: hidden; border-radius: 4px; background: var(--paper-2); box-shadow: 0 0 0 6px var(--paper-3), 0 22px 40px -22px rgba(27, 33, 64, 0.7); transform: rotate(var(--r, 0deg)); transition: transform 260ms var(--ease); }
.poster:hover .pic { transform: rotate(0deg) translateY(-6px); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ gaps of the day */
.gaps { background: var(--paper); }
.vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.vig { margin: 0; }
.vig .pic { aspect-ratio: 1; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
.vig img { width: 100%; height: 100%; object-fit: contain; transition: transform 900ms var(--ease); }
.vig:hover img { transform: scale(1.03) rotate(-0.6deg); }
.vig figcaption { margin-top: 10px; text-align: center; }
.vig figcaption span { display: block; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: clamp(48px, 7vw, 88px); }
.facts > div { padding-top: 20px; border-top: 1px solid var(--line); }
.facts p { color: var(--muted); margin-top: 6px; }

/* ------------------------------------------------------------------ your language */
.lang-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.big-te { font-family: var(--te); font-weight: 600; color: var(--ink); line-height: 1.15; font-size: clamp(3.2rem, 6.6vw, 7.6rem); }
.big-te span { display: block; white-space: nowrap; }
.big-te span + span { color: var(--marigold); }
.points > div { padding-block: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 12rem 1fr; gap: 6px 24px; }
.points > div:last-child { border-bottom: 1px solid var(--line); }
.points p { color: var(--muted); }

/* ------------------------------------------------------------------ the house of chai bisket */
/* a great slow ring of everything the house has made, like a halo rising behind it; the house's lower windows light up one by one */
.house { --D: min(1240px, 94vw); position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; padding-top: clamp(64px, 9vh, 110px); }
.house-stage { position: relative; height: calc(var(--D) * 0.74); }
.halo { position: absolute; left: 50%; top: 0; width: var(--D); height: var(--D); margin-left: calc(var(--D) / -2); }
.halo::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(240, 168, 58, 0.28), rgba(240, 168, 58, 0.08) 45%, transparent 70%); }
.halo::after { content: ""; position: absolute; inset: 9.5%; border-radius: 50%; border: 1px solid rgba(240, 178, 74, 0.22); }
.ring { position: absolute; inset: 0; animation: turn 180s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.tile-r { --t: calc(var(--D) * 0.118); position: absolute; left: 50%; top: 50%; width: var(--t); aspect-ratio: 4 / 5; margin: calc(var(--t) * -0.625) 0 0 calc(var(--t) / -2);
  transform: rotate(calc(var(--i) * 360deg / var(--n))) translateY(calc(var(--D) / -2 + var(--t) * 0.68));
  padding: calc(var(--t) * 0.045); background: var(--paper-3); border-radius: calc(var(--t) * 0.09); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(240, 178, 74, 0.25); }
.tile-r img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--t) * 0.06); }
.house-head { position: absolute; left: 0; right: 0; top: calc(var(--D) / 2); transform: translateY(-50%); z-index: 3; text-align: center; padding-inline: var(--gutter); }
.house .from { color: rgba(241, 232, 214, 0.78); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.45rem); letter-spacing: 0.01em; }
.house .cb { margin: clamp(10px, 1.4vw, 18px) auto clamp(16px, 2vw, 26px); }
.house .cb img { height: calc(var(--D) * 0.2); width: auto; margin-inline: auto; filter: drop-shadow(0 0 40px rgba(240, 168, 58, 0.35)); }
.house .big { font-size: clamp(1.7rem, 3.3vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; font-style: italic; color: #f6e7c8; font-variation-settings: "SOFT" 100, "opsz" 144; }
.house .line { margin: 14px auto 0; max-width: 46ch; color: rgba(241, 232, 214, 0.8); font-size: var(--t-sm); text-wrap: balance; }
.house .nw { white-space: nowrap; }
.cb-visit { display: inline-flex; margin-top: 22px; color: var(--paper); }
.cb-visit span { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); border-bottom: 1px solid rgba(240, 178, 74, 0.6); padding-bottom: 3px; transition: color 180ms var(--ease); }
.cb-visit svg { width: 16px; height: 16px; transition: transform 180ms var(--ease); }
.cb-visit:hover span { color: #f0b24a; } .cb-visit:hover svg { transform: translateX(4px); }
/* the house rises in front of the lower half of the ring */
.house-art { position: relative; z-index: 2; margin-top: calc(var(--D) * -0.2); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%); }
.house-frame { position: relative; aspect-ratio: 16 / 9; }
.house-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42) saturate(0.55); transition: filter 2600ms var(--ease); }
.house-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(0deg, var(--ink) 0%, transparent 100%); pointer-events: none; }
.win { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border-radius: 30% 30% 6% 6%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 196, 102, 0.55), rgba(255, 170, 70, 0.18) 55%, transparent 75%); mix-blend-mode: screen;
  opacity: 0; transform: scale(0.94); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: calc(500ms + var(--d) * 260ms); }
.win.small { border-radius: 40%; }
.house.lit .house-frame img { filter: none; }
.house.lit .win { opacity: 1; transform: none; animation: breathe 7s ease-in-out calc(3s + var(--d) * 0.7s) infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (max-width: 860px) {
  /* on a phone the ring is wider than the screen: only its great upper arc shows */
  .house { --D: 168vw; padding-top: 24px; }
  .house-stage { height: calc(var(--D) * 0.72); }
  .house .cb img { height: 26vw; }
  .house-frame { width: 165%; margin-left: -32.5%; }
  .house-art { margin-top: calc(var(--D) * -0.06); }
}
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } .house-frame img { filter: none; transition: none; } .win { display: none; } }

/* ------------------------------------------------------------------ more from chai shots */
.stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-block: clamp(36px, 5vw, 72px); }
.stage + .stage { border-top: 1px solid var(--line); }
.stage.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.stage.flip .frame { order: 2; }
.frame { position: relative; padding: 12px; background: var(--paper-3); border-radius: 4px; transform: rotate(var(--r, -0.8deg)); box-shadow: 0 30px 60px -34px rgba(27, 33, 64, 0.7); transition: transform 300ms var(--ease); }
.frame:hover { transform: rotate(0deg); }
.frame .media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--paper-2); position: relative; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.stage h3 { font-size: var(--t-head); font-weight: 400; line-height: 1; letter-spacing: -0.025em; font-variation-settings: "SOFT" 100, "opsz" 144; margin-bottom: 18px; }
.stage .what { color: var(--muted); margin-bottom: 24px; max-width: 44ch; }
.stage .link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--marigold); padding-bottom: 3px; }
.stage .link svg { width: 18px; height: 18px; transition: transform 180ms var(--ease); }
.stage .link:hover svg { transform: translateX(4px); }
.games-list { display: grid; gap: 6px; margin-bottom: 26px; }
.games-list b { font-weight: 600; }
.games-list span { color: var(--muted); }

/* ------------------------------------------------------------------ careers + faq */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job p { color: var(--muted); }
.job .go { grid-row: span 2; color: var(--marigold-ink); }
.job .go svg { width: 22px; height: 22px; }
.job:hover h3 { color: var(--marigold-ink); }
.all-jobs { display: inline-block; margin-top: 16px; color: var(--muted); font-size: var(--t-sm); border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 22px; height: 22px; position: relative; }
summary i::before, summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details .ans { padding-bottom: 22px; color: var(--muted); max-width: 60ch; }

/* ------------------------------------------------------------------ last call: the lane at night */
.last { min-height: 100dvh; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--paper); }
.last .paint { position: absolute; inset: 0; z-index: -1; }
.last .paint img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.last .paint img { object-position: 40% 50%; }
.last .paint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, transparent 7%); }
.last .wrap { padding-left: calc(var(--gutter) + 3vw); }
.last h2 { font-size: clamp(3.2rem, 8vw, 8.6rem); line-height: 0.95; margin-bottom: 22px; }
.last h2 em { color: #f0b24a; }
.last p { max-width: 32ch; margin-bottom: 32px; color: rgba(241, 232, 214, 0.86); }

/* ------------------------------------------------------------------ footer */
footer { padding-block: 64px 40px; background: var(--paper); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot img { height: 58px; width: auto; margin-bottom: 14px; }
.foot h3 { font-size: var(--t-sm); color: var(--muted); font-weight: 400; font-style: italic; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--t-sm); }
.foot ul a:hover { color: var(--marigold-ink); }
.foot .made { color: var(--muted); font-size: var(--t-sm); }
.legal-line { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: var(--t-sm); }

/* ------------------------------------------------------------------ inner pages */
.page { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(72px, 10vw, 120px); }
.page h1 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.98; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100, "opsz" 144; margin-bottom: 18px; }
.page .lede { color: var(--muted); margin-bottom: clamp(40px, 6vw, 64px); }
.doc { max-width: 70ch; }
.doc h2, .doc h3 { font-size: var(--t-body); font-weight: 600; letter-spacing: 0; line-height: 1.35; margin: 2em 0 0.6em; font-variation-settings: "SOFT" 100, "opsz" 14; }
.doc p, .doc li { margin: 0 0 0.9em; }
.doc ul, .doc ol { padding-left: 1.2em; margin: 0 0 1em; }
.doc a { color: var(--marigold-ink); text-decoration: underline; text-underline-offset: 3px; }
.doc a.btn { color: var(--paper); text-decoration: none; }
.doc strong { font-weight: 600; }
.doc li .cont { display: block; margin-top: 0.35em; color: var(--muted); }
.card-cta { margin-top: 40px; padding: clamp(24px, 4vw, 40px); border-radius: 6px; background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 14px; justify-items: start; }
.card-cta p { color: var(--muted); }

/* ------------------------------------------------------------------ reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .head-row, .lang-grid, .split, .stage, .stage.flip { grid-template-columns: 1fr; }
  .stage.flip .frame { order: 0; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts > div { padding-block: 18px; }
  .mural .title { max-width: 44vw; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav ul { display: none; }
  .nav.open ul { display: grid; position: absolute; top: var(--nav-h); left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 22px; gap: 0; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
  .nav.open ul a { display: block; padding: 14px 0; font-size: var(--t-body); border-top: 1px solid var(--line); opacity: 1; }
  .nav.open { background: var(--paper); }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-btn svg { width: 24px; height: 24px; }
  .brand img { height: 40px; }
  .hero .paint img { object-position: 22% 100%; }
  .hero .paint::before { background: linear-gradient(180deg, rgba(241, 232, 214, 0.96) 0%, rgba(241, 232, 214, 0.75) 45%, transparent 68%); }
  .hero h1 { font-size: 15vw; }
  .stores { width: 100%; }
  .stores a { flex: 1; justify-content: center; padding: 0 10px; }
  .mural .paint { aspect-ratio: 4 / 5; max-height: none; }
  .mural .paint img { object-position: 62% 50%; }
  .note { display: none; }
  .vignettes { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .points > div { grid-template-columns: 1fr; }
  .last { align-items: end; padding-bottom: 56px; min-height: 92dvh; }
  .last .paint img { object-position: 78% 50%; }
  .last .paint::after { background: linear-gradient(0deg, rgba(20, 26, 51, 0.92) 0%, rgba(20, 26, 51, 0.5) 45%, transparent 75%), linear-gradient(180deg, var(--paper) 0%, transparent 8%); }
}
@media (max-width: 420px) { .stores a { height: 52px; font-size: 0.9rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail-in { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero .paint img, .tile { animation: none; opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ now streaming: every show */
.poster { display: block; }
.poster .pic { display: block; aspect-ratio: 2 / 3; }
.shows-page { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)); }
.shows-head { display: grid; grid-template-columns: 1fr minmax(0, 38ch); gap: 18px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.shows-head h1 { font-size: clamp(3.2rem, 8vw, 8rem); line-height: 0.92; letter-spacing: -0.035em; font-variation-settings: "SOFT" 100, "opsz" 144; }
.shows-head h1 em { font-style: italic; color: var(--marigold); }
.shows-head p { color: var(--muted); }
.filters { position: sticky; top: var(--nav-h); z-index: 20; display: flex; flex-wrap: wrap; gap: 6px 40px; padding-block: 14px; margin-bottom: clamp(24px, 3vw, 36px); background: var(--paper); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tabs button { border: 0; background: none; padding: 6px 0; font: 400 var(--t-sm)/1.2 var(--serif); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--marigold); font-style: italic; }
.tabs + .tabs { padding-left: 40px; border-left: 1px solid var(--line); }
.shows-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 13vw, 190px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 30px); }
.show[hidden] { display: none; }
.show-btn { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.show-btn .pic { display: block; aspect-ratio: 2 / 3; padding: 6px; background: var(--paper-3); border-radius: 4px; box-shadow: 0 20px 36px -22px rgba(27, 33, 64, 0.7); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.shows-grid li:nth-child(5n+1) .pic { transform: rotate(-0.8deg); } .shows-grid li:nth-child(5n+3) .pic { transform: rotate(0.7deg); } .shows-grid li:nth-child(5n+4) .pic { transform: rotate(-0.4deg); }
.show-btn .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
.show-btn:hover .pic, .show-btn:focus-visible .pic { transform: translateY(-6px) rotate(0deg); box-shadow: 0 30px 44px -24px rgba(27, 33, 64, 0.8); }
.show-btn:focus-visible { outline: none; } .show-btn:focus-visible b { text-decoration: underline; text-decoration-color: var(--marigold); }
.show-btn b { display: block; margin-top: 12px; font-weight: 500; font-size: var(--t-sm); line-height: 1.25; }
.show-btn > span:last-child { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); font-style: italic; }
.shows-empty { padding: 60px 0; color: var(--muted); text-align: center; }
.shows-get { margin-top: clamp(72px, 10vw, 128px); padding-block: clamp(64px, 9vw, 112px); background: var(--ink); color: var(--paper); text-align: center; }
.shows-get h2 { margin-bottom: 30px; } .shows-get h2 em { color: #f0b24a; }
.shows-get .stores { margin-inline: auto; }
.show-dlg { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 6px; background: var(--paper-3); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(27, 33, 64, 0.8); }
.show-dlg::backdrop { background: rgba(27, 33, 64, 0.62); backdrop-filter: blur(3px); }
.show-dlg[open] { animation: dlg-in 320ms var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.dlg-in { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(20px, 3vw, 36px); padding: clamp(18px, 2.4vw, 28px); }
.dlg-pic { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(27, 33, 64, 0.8); }
.show-dlg h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; margin: 8px 40px 10px 0; }
.dlg-meta { color: var(--marigold-ink); font-style: italic; margin-bottom: 18px; }
.dlg-desc { margin-bottom: 14px; }
.dlg-cast { color: var(--muted); font-size: var(--t-sm); margin-bottom: 26px; }
.dlg-x { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.dlg-x:hover { background: var(--paper); }
@media (max-width: 860px) {
  .shows-head { grid-template-columns: 1fr; }
  .filters { gap: 2px; flex-direction: column; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; min-width: 0; max-width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .tabs + .tabs { padding-left: 0; border-left: 0; }
  .shows-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .dlg-in { grid-template-columns: 1fr; }
  .dlg-pic { width: 52%; }
  .show-dlg .stores { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .show-dlg[open] { animation: none; } }
