:root {
  --bg: #0b0a10;
  --bg-2: #13111b;
  --line: #262230;
  --ink: #f4f1ea;
  --muted: #8f8b9c;
  --pink: #ff9ec7;
  --yellow: #ffe14d;
  --cyan: #5ee6f2;
  --purple: #b98cff;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --display: 'Archivo', system-ui, sans-serif;
  --tamil: 'Catamaran', 'Noto Sans Tamil', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--bg); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--yellow); color: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display);
  font-variation-settings: 'wdth' 112;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn span { transition: transform .15s ease; }
.btn:hover span { transform: translateX(4px); }
.btn--primary { background: var(--yellow); color: var(--bg); box-shadow: 0 4px 0 #b39a1c; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b39a1c; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #b39a1c; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--build { background: var(--purple); color: var(--bg); box-shadow: 0 4px 0 #7650b8; }
.btn--build:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #7650b8; }
.btn--small { padding: 10px 18px; font-size: 14px; background: var(--ink); color: var(--bg); }
.btn--small:hover { background: var(--yellow); }

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11, 10, 16, .86); backdrop-filter: blur(10px); border-color: var(--line); }
.nav__brand { text-decoration: none; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 18px; letter-spacing: -.01em; }
.nav__slash { color: var(--muted); margin: 0 6px; font-weight: 400; }
.nav__ev { color: var(--cyan); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 600; }
.nav__links a:hover { color: var(--ink); }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 104px var(--gutter) 48px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
/* diagonal panels echo the logo artwork */
.hero__slashes {
  position: absolute; inset: -10% -20%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  transform: skewX(-14deg);
  z-index: -2;
  opacity: .55;
}
.hero__slashes span { border-left: 3px solid #fff1; }
.hero__slashes span:nth-child(1) { background: linear-gradient(180deg, #3b1d5e 0%, #0b0a10 75%); }
.hero__slashes span:nth-child(2) { background: linear-gradient(180deg, #161420 0%, #0b0a10 70%); }
.hero__slashes span:nth-child(3) { background: linear-gradient(180deg, #0f2a3d 0%, #0b0a10 75%); }
.hero__slashes span:nth-child(4) { background: linear-gradient(180deg, #2a2420 0%, #0b0a10 70%); }
.hero__spot {
  position: absolute; z-index: -1;
  left: 50%; top: 46%;
  width: min(1100px, 140vw); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, #ff9ec733, transparent 70%) 18% 50% / 55% 100% no-repeat,
    radial-gradient(closest-side, #5ee6f22e, transparent 70%) 82% 50% / 55% 100% no-repeat,
    radial-gradient(closest-side, #0b0a10 30%, transparent);
  filter: blur(10px);
}
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 8px; }
.hero__kicker .sep { opacity: .5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px #ff9ec733; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px #ff9ec700; } }

.hero__stage { position: relative; width: min(1180px, 100%); }
.hero__logo { width: 100%; height: clamp(220px, 46vh, 520px); touch-action: pan-y; }
.hero__logo canvas { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }
.hero__fallback { width: min(720px, 100%); height: auto; margin: 40px auto; display: block; border-radius: 12px; }
.hero__sticker {
  position: absolute; right: 9%; bottom: 8%;
  transform: rotate(-6deg);
  font-family: var(--display); font-weight: 900; font-variation-settings: 'wdth' 125;
  font-size: clamp(14px, 2vw, 24px);
  letter-spacing: .02em;
  padding: .35em .7em .4em;
  border-radius: 10px;
  color: var(--bg);
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  box-shadow: 0 4px 0 #a6577c;
  pointer-events: none;
}
.hero__tamil {
  font-family: var(--tamil); font-weight: 900;
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.15;
  margin: 8px 0 10px;
  color: var(--ink);
}
.hero__lede {
  max-width: 30ch; margin: 18px auto 30px;
  font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25;
  font-weight: 700; font-variation-settings: 'wdth' 106; letter-spacing: -.01em;
  color: var(--ink);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__facts {
  display: grid; grid-template-columns: repeat(6, auto); gap: 1px;
  margin: 44px 0 0; padding: 0;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}
.hero__facts div { padding: 14px 24px; text-align: left; background: #0b0a10; }
.hero__facts .is-free { background: var(--yellow); }
.hero__facts .is-free dt { color: #0b0a10aa; }
.hero__facts .is-free dd { color: var(--bg); font-weight: 800; }
.hero__facts dt { color: var(--muted); font-size: 11px; }
.hero__facts dd { margin: 4px 0 0; font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: .04em; }
#days { color: var(--yellow); }
.hero__hint { position: absolute; bottom: 18px; right: var(--gutter); color: #5e5a6b; font-size: 11px; }

/* ── ticker ── */
.ticker { overflow: hidden; background: var(--yellow); color: var(--bg); border-block: 2px solid var(--bg); transform: rotate(-1.2deg); margin: 0 -10px; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: tick 38s linear infinite; }
.ticker__track span { font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(20px, 2.6vw, 32px); text-transform: uppercase; white-space: nowrap; }
.ticker__track span[lang="ta"] { font-family: var(--tamil); text-transform: none; }
.ticker__track i { font-style: normal; font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── sections ── */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.section__aside { max-width: 36ch; color: var(--muted); margin: 0; }
.label { color: var(--cyan); margin: 0 0 18px; }
h2 {
  margin: 0;
  font-weight: 900;
  font-variation-settings: 'wdth' 118;
  font-size: clamp(40px, 6.8vw, 96px);
  line-height: .92;
  letter-spacing: -.035em;
}
h2 em { font-style: normal; color: var(--pink); }

/* setlist */
.setlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.setlist li {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.setlist li:hover { background: linear-gradient(90deg, #ffffff06, transparent); padding-left: 12px; }
.setlist__n { color: var(--muted); }
.setlist h3 { margin: 0 0 6px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; font-variation-settings: 'wdth' 110; letter-spacing: -.02em; line-height: 1.05; }
.setlist p { margin: 0; max-width: 52ch; color: #bdb9c8; }
.setlist__ta { font-family: var(--tamil); font-weight: 800; font-size: clamp(18px, 2vw, 26px); color: var(--muted); transition: color .2s ease; }
.setlist li:nth-child(1):hover .setlist__ta { color: var(--pink); }
.setlist li:nth-child(2):hover .setlist__ta { color: var(--yellow); }
.setlist li:nth-child(3):hover .setlist__ta { color: var(--cyan); }
.setlist li:nth-child(4):hover .setlist__ta { color: var(--purple); }

/* doors */
.doors { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
.door {
  position: relative;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; align-items: flex-start;
  overflow: hidden;
}
.door h3 { margin: 10px 0 14px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; font-weight: 900; font-variation-settings: 'wdth' 115; letter-spacing: -.03em; }
.door > p { margin: 0 0 24px; max-width: 40ch; }
.door__tag { margin: 0; }
.door__list { list-style: none; margin: 0 0 32px; padding: 0; text-transform: none; letter-spacing: .01em; font-size: 13px; width: 100%; }
.door__list li { padding: 12px 0; border-top: 1px dashed currentColor; }
.door--build .door__list li { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.door__list b { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.door .btn { margin-top: auto; }
.door--play { background: var(--cyan); color: var(--bg); }
.door--play .door__list li { border-color: #0b0a1033; }
.door--play .btn--primary { background: var(--bg); color: var(--ink); box-shadow: 0 4px 0 #0008; }
.door--build { background: var(--bg-2); border: 2px solid var(--purple); }
.door--build .door__tag { color: var(--purple); }
.door--build .door__list li { border-color: #b98cff40; color: #d8d3e4; }
.door--build .door__list b { color: var(--purple); }
.door--play::after {
  content: 'பார்வை';
  font-family: var(--tamil); font-weight: 900;
  position: absolute; right: -12px; bottom: -36px;
  font-size: clamp(80px, 11vw, 150px); line-height: 1;
  color: #0b0a1012; pointer-events: none;
}

/* lineup groups */
.lineup { display: grid; gap: clamp(48px, 6vw, 72px); }
.lineup__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 2px solid var(--accent);
}
.lineup__head h3 {
  margin: 0; color: var(--accent);
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; font-variation-settings: 'wdth' 118; letter-spacing: -.02em; line-height: 1;
}
.lineup__head p { margin: 0; color: var(--muted); }
.lineup__group--studios { --accent: var(--purple); }
.lineup__group--creators { --accent: var(--cyan); }
.lineup__group .card:hover .card__q { color: var(--accent) !important; }

/* lineup cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; }
.card {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: 1.5px dashed #3a3546;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  position: relative;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, #ffffff05 14px 15px);
  transition: transform .25s ease, border-color .25s ease;
}
.card:nth-child(odd) { transform: rotate(-1deg); }
.card:nth-child(even) { transform: rotate(1.2deg); }
.card:hover { transform: rotate(0) translateY(-6px); border-color: var(--ink); }
.card__q { font-size: clamp(56px, 8vw, 110px); font-weight: 900; font-variation-settings: 'wdth' 125; line-height: 1; color: #2c2836; }
.card:nth-child(4n+1):hover .card__q { color: var(--pink); }
.card:nth-child(4n+2):hover .card__q { color: var(--yellow); }
.card:nth-child(4n+3):hover .card__q { color: var(--cyan); }
.card:nth-child(4n+4):hover .card__q { color: var(--purple); }
.card__meta { color: var(--muted); font-size: 11px; }
.card--you { border: 2px solid var(--purple); background: #b98cff14; }
.card--you .card__q { color: var(--purple); font-size: clamp(44px, 6vw, 80px); }
.card__link { font-weight: 800; text-decoration: none; color: var(--purple); }
.card__link:hover { text-decoration: underline; }

/* ticket */
.ticket {
  display: grid; grid-template-columns: 1fr auto;
  background: var(--ink); color: var(--bg);
  border-radius: 22px;
  position: relative;
  transform: rotate(-.8deg);
  box-shadow: 0 30px 80px -30px #ff9ec755;
}
.ticket__main { padding: clamp(28px, 4vw, 52px); }
.ticket__eyebrow { margin: 0 0 14px; color: #6b6676; }
.ticket__title { margin: 0 0 28px; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(48px, 8vw, 120px); line-height: .86; letter-spacing: -.04em; }
.ticket__title span { color: transparent; -webkit-text-stroke: 2px var(--bg); }
.ticket__grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; margin: 0; }
.ticket__grid dt { color: #6b6676; font-size: 11px; }
.ticket__grid dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.ticket__stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 32px clamp(24px, 3vw, 44px);
  border-left: 3px dashed #0b0a1033;
  position: relative;
}
.ticket__stub::before, .ticket__stub::after {
  content: ''; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg);
}
.ticket__stub::before { top: -15px; }
.ticket__stub::after { bottom: -15px; }
.ticket__date { display: flex; flex-direction: column; align-items: center; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 20px; letter-spacing: .1em; line-height: 1; }
.ticket__date b { font-size: clamp(64px, 8vw, 104px); letter-spacing: -.04em; color: var(--bg); }
.ticket .btn--primary { background: var(--bg); color: var(--yellow); box-shadow: 0 4px 0 #0006; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-size: clamp(19px, 2vw, 24px); font-weight: 700; font-variation-settings: 'wdth' 105;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 26px; color: var(--muted); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--yellow); }
.faq summary:hover { color: var(--yellow); }
.faq p { margin: -6px 0 26px; color: #bdb9c8; max-width: 62ch; }

/* contact */
.contact-strip { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 100px) var(--gutter) 0; }
.contact-strip__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 18px;
  padding: 22px clamp(20px, 3vw, 32px);
  background: var(--bg-2);
}
.contact-strip .label { margin-bottom: 6px; }
.contact-strip__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; font-variation-settings: 'wdth' 110; letter-spacing: -.02em; line-height: 1.1; }
.contacts { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px 36px; flex-wrap: wrap; }
.contact { display: grid; grid-template-columns: auto auto; gap: 2px 14px; align-items: baseline; }
.contact__name { grid-column: 1 / -1; font-weight: 800; font-size: 17px; }
.contact__name small { margin-left: 8px; font-size: 10px; font-weight: 600; color: var(--cyan); }
.contact__phone { text-decoration: none; color: var(--yellow); font-size: 13px; letter-spacing: .04em; }
.contact__wa { text-decoration: none; color: var(--muted); font-size: 12px; }
.contact__phone:hover, .contact__wa:hover { text-decoration: underline; }
.contact__wa:hover { color: #25d366; }

/* footer */
.foot { margin-top: clamp(100px, 14vw, 180px); padding: 0 var(--gutter) 28px; overflow: hidden; }
.foot__big {
  margin: 0;
  font-weight: 900; font-variation-settings: 'wdth' 125;
  font-size: clamp(56px, 16vw, 260px);
  line-height: .8; letter-spacing: -.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px #3a3546;
  user-select: none;
}
.foot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.foot__row a { text-decoration: none; }
.foot__links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.foot__links a { color: var(--ink); }
.foot__row a:hover { color: var(--cyan); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 999px;
  text-transform: none; letter-spacing: .02em; font-size: 13px;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ── responsive ── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(560px, 100%); }
  .hero__facts .is-free, .hero__facts div:last-child { grid-column: 1 / -1; }
  .doors { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-left: 0; border-top: 3px dashed #0b0a1033; flex-direction: row; justify-content: space-between; }
  .ticket__stub::before { top: -16px; left: -15px; }
  .ticket__stub::after { top: -16px; bottom: auto; left: auto; right: -15px; }
  .ticket__grid { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 88px; }
  .hero__logo { height: 44vw; margin: 12px 0 18px; }
  .kicker__city { display: none; }
  .hero__kicker { font-size: 11px; }
  .hero__sticker { right: 6%; bottom: 14%; font-size: 11px; border-radius: 7px; box-shadow: 0 3px 0 #a6577c; }
  .hero__facts { grid-template-columns: 1fr 1fr; width: 100%; }
  .hero__facts .is-free { grid-column: 1 / -1; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { justify-content: center; }
  .hero__hint { display: none; }
  .setlist li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .setlist__ta { order: -1; font-size: 16px; }
  .setlist__n { display: none; }
  .cards { gap: 12px; }
  .card { padding: 14px; }
  .card__meta { font-size: 10px; letter-spacing: .04em; }
  .card--you .card__q { font-size: 32px; }
  .card__link { font-size: 14px; }
  .contact-strip__inner { flex-direction: column; align-items: flex-start; }
  .contacts { flex-direction: column; }
  .nav { padding-block: 12px; }
  .nav__brand { font-size: 15px; }
  .btn--small { padding: 8px 14px; font-size: 13px; }
  .ticket { transform: none; }
  .ticket__main { padding: 24px 20px; }
  .ticket__title { font-size: 12.5vw; }
  .ticket__grid { gap: 12px 20px; }
  .ticket__date b { font-size: 48px; }
  .ticket__stub { padding: 18px 20px; gap: 12px; flex-wrap: wrap; }
  .ticket .btn { padding: 12px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
