/* ============================================================
   AKADI.TECH v4 — editorial community design
   The page background shifts tone as you scroll (light → lavender
   → indigo night → black). Each <section data-tone="…"> sets the
   tone while it crosses the middle of the screen.
   Brand colours live in :root; tone colours in body[data-tone].
   ============================================================ */

@property --bg     { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --fg     { syntax: "<color>"; inherits: true; initial-value: #12112a; }
@property --muted  { syntax: "<color>"; inherits: true; initial-value: #5d5b7a; }
@property --line   { syntax: "<color>"; inherits: true; initial-value: rgba(18,17,42,.12); }
@property --card   { syntax: "<color>"; inherits: true; initial-value: #f5f5fc; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #3b3be8; }

:root {
  --indigo: #3b3be8;
  --indigo-d: #2b2bc4;
  --violet: #8d87f6;
  --lav: #ececf8;
  --lav-2: #d9d6fb;
  --ink: #12112a;
  --night: #14122e;
  --black: #0a0a0b;
  --font: "Lexend", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tamil: "Noto Sans Tamil", "Lexend", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 72px;
  --gut: clamp(20px, 5vw, 80px);
  --max: 1280px;
  --r: 14px;
}

/* Tones (also applied per section when JavaScript is off) */
body,
html:not(.js) [data-tone="light"] { --bg: #ffffff; --fg: #12112a; --muted: #5d5b7a; --line: rgba(18,17,42,.12); --card: #f5f5fc; --accent: #3b3be8; }
body[data-tone="tint"],
html:not(.js) [data-tone="tint"]  { --bg: #e4e2fc; --fg: #12112a; --muted: #47457a; --line: rgba(18,17,42,.14); --card: #ffffff; --accent: #3b3be8; }
body[data-tone="ink"],
html:not(.js) [data-tone="ink"]   { --bg: #14122e; --fg: #efeefe; --muted: #a9a6d8; --line: rgba(255,255,255,.13); --card: rgba(255,255,255,.05); --accent: #a8a3ff; }
body[data-tone="black"],
html:not(.js) [data-tone="black"] { --bg: #0a0a0b; --fg: #f4f4f8; --muted: #9c9bab; --line: rgba(255,255,255,.11); --card: rgba(255,255,255,.045); --accent: #a8a3ff; }
html:not(.js) [data-tone] { background: var(--bg); color: var(--fg); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: --bg .8s var(--ease), --fg .8s var(--ease), --muted .8s var(--ease), --line .8s var(--ease), --card .8s var(--ease), --accent .8s var(--ease);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(88px, 11vw, 160px) 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.h-xl { font-size: clamp(46px, 7vw, 108px); letter-spacing: -.035em; line-height: 1; }
.h-l  { font-size: clamp(38px, 5vw, 72px); letter-spacing: -.03em; }
.h-m  { font-size: clamp(30px, 3.4vw, 46px); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); font-weight: 300; max-width: 46ch; }
p { color: var(--muted); }
.ta, .glyph, .mq__row { font-family: var(--tamil); }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 8px; border: 1.5px solid transparent;
  font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--solid { background: var(--indigo); color: #fff; }
.btn--solid:hover { background: var(--indigo-d); box-shadow: 0 10px 30px -12px rgba(59,59,232,.7); }
.btn--line { border-color: var(--fg); color: var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.link { color: var(--accent); font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; color: var(--fg); transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--fg); }
.chip.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chips--sm .chip { height: 32px; padding: 0 12px; font-size: 13px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 21px; letter-spacing: -.03em; }
.brand__mark { width: 36px; height: 36px; border-radius: 9px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; line-height: 1; padding-bottom: 3px; }
.brand__name span { color: var(--muted); font-weight: 400; }
.nav__links { display: flex; gap: clamp(16px, 2vw, 32px); font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; color: var(--fg); opacity: .78; transition: opacity .2s; }
.nav__links a:hover, .nav__links a.is-on { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 8px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 55; background: var(--bg);
  padding: 24px var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu nav { display: grid; }
.menu nav a { font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ============================================================
   HERO MOSAIC
   ============================================================ */
main { padding-top: var(--nav-h); }
.mosaic {
  display: grid; gap: 3px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, clamp(150px, calc((100svh - var(--nav-h)) / 3), 330px));
  grid-template-areas:
    "a  b  s1 c  x"
    "s2 h  h  h  sc"
    "s2 d  e  s3 f";
}
.tile { position: relative; overflow: hidden; min-width: 0; }
.js .tile { opacity: 0; transform: scale(.965); animation: tileIn 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
@keyframes tileIn { to { opacity: 1; transform: none; } }
.t-a { grid-area: a; } .t-b { grid-area: b; } .t-c { grid-area: c; } .t-x { grid-area: x; }
.t-d { grid-area: d; } .t-e { grid-area: e; } .t-f { grid-area: f; }
.t-s1 { grid-area: s1; } .t-s2 { grid-area: s2; } .t-s3 { grid-area: s3; }
.t-h { grid-area: h; } .t-sc { grid-area: sc; }

.tile--stat { background: var(--black); color: #fff; padding: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tile--stat p { color: #fff; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.45; font-weight: 400; max-width: 24ch; }
.tile--stat .ico { flex: none; width: clamp(28px, 2.6vw, 40px); height: auto; color: #fff; }
.t-s2 { justify-content: flex-end; }
.t-s2 .ico { color: var(--violet); }
.tile--accent { background: var(--indigo); }

.tile--head { display: flex; align-items: center; padding: 0 clamp(24px, 4.6vw, 84px); background: #fff; }
.tile--head h1 { font-size: clamp(36px, 4.3vw, 70px); color: var(--ink); letter-spacing: -.035em; line-height: 1.06; font-weight: 600; }
.rot { color: var(--indigo); display: inline-block; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rot.out { opacity: 0; transform: translateY(.22em); }

.tile--scroll { background: var(--indigo); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.tile--scroll span { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; }
.tile--scroll i { width: 1.5px; height: 64px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.tile--scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.tile--scroll:hover { background: var(--indigo-d); }

/* art tiles */
.art { color: #fff; }
.art__lbl { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.art--code { background: #1c1a48; padding: clamp(16px, 1.6vw, 26px); }
.art--code pre { font: 400 clamp(10px, .86vw, 13px)/1.75 var(--mono); color: #cfcdfb; white-space: pre; }
.art--code .k { color: #a8a3ff; } .art--code .f { color: #fff; } .art--code .n { color: #f2b233; } .art--code .c { color: #77749f; }
.caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; margin-left: 2px; background: #a8a3ff; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.art--timer { background: var(--lav-2); color: var(--ink); display: grid; place-items: center; }
.art--timer svg { width: 62%; max-width: 190px; transform: rotate(-90deg); grid-area: 1 / 1; }
.art--timer .trk { fill: none; stroke: rgba(59,59,232,.16); stroke-width: 7; }
.art--timer .prg { fill: none; stroke: var(--indigo); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; animation: ring 8s var(--ease) infinite; }
@keyframes ring { 0% { stroke-dashoffset: 314; } 80%, 100% { stroke-dashoffset: 0; } }
.art--timer b { grid-area: 1 / 1; font: 500 clamp(22px, 2.4vw, 40px) var(--mono); letter-spacing: -.04em; }

.art--glyph { background: #2a2870; display: grid; place-items: center; }
.art--glyph .glyph { font-size: clamp(96px, 10vw, 176px); line-height: 1; font-weight: 700; color: var(--violet); transform: translate(10%, 6%); }

.art--next { background: radial-gradient(circle at 80% 18%, rgba(59,59,232,.85) 0, rgba(42,40,170,.35) 28%, transparent 62%), var(--black); display: grid; place-items: center; }
.next__tag { position: absolute; left: 14px; top: 13px; display: flex; align-items: center; gap: 8px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.next__tag i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pingG 2s infinite; }
@keyframes pingG { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
.next__date { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.next__date b { font-size: clamp(56px, 6.4vw, 112px); font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); transition: color .4s var(--ease); }
.next__date span { font: 500 clamp(12px, 1.1vw, 16px) var(--mono); letter-spacing: .32em; margin-top: 8px; padding-left: .32em; color: var(--violet); }
.art--next:hover .next__date b { color: #fff; }

.art--map {
  background-color: #cdc9f8; color: var(--ink);
  background-image: radial-gradient(rgba(18,17,42,.22) 1.2px, transparent 1.4px); background-size: 14px 14px;
}
.art--map i { position: absolute; left: var(--x); top: var(--y); font: 500 10px var(--mono); letter-spacing: .08em; font-style: normal; padding-left: 16px; transform: translateY(-50%); }
.art--map i::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 0 rgba(59,59,232,.5); animation: ping 2.4s infinite; }
.art--map i:nth-child(2)::before { animation-delay: .6s; } .art--map i:nth-child(3)::before { animation-delay: 1.2s; } .art--map i:nth-child(4)::before { animation-delay: 1.8s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(59,59,232,.5); } 70%, 100% { box-shadow: 0 0 0 12px rgba(59,59,232,0); } }

.art--blueprint {
  background-color: #1f1d6b; display: grid; place-items: center;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 16px 16px; background-position: -1px -1px;
}
.art--blueprint svg { width: 78%; max-height: 86%; stroke: #dcdafd; stroke-width: 1.3; }
.art--blueprint svg path:not(.bp-axis):not(.bp-dim):not(.bp-flame), .art--blueprint svg circle { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3.2s var(--ease) .9s forwards; }
.art--blueprint .bp-axis { stroke-dasharray: 1 4; opacity: .5; }
.art--blueprint .bp-dim { stroke-dasharray: 2 3; opacity: .7; stroke-width: 1; }
.art--blueprint .bp-flame { stroke: #f2b233; animation: flick .9s ease-in-out infinite alternate; transform-origin: 60px 93px; }
.art--blueprint .bp-txt { fill: #dcdafd; stroke: none; font: 500 6px var(--mono); letter-spacing: .06em; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flick { from { transform: scaleY(.8); opacity: .7; } to { transform: scaleY(1.08); opacity: 1; } }

.hero__kicker { font: 500 clamp(10.5px, .9vw, 13px) var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); margin-bottom: clamp(12px, 1.4vw, 22px); }

/* tiles with a real photo (data.js → mosaic) get an indigo duotone */
.tile.has-photo { background: var(--indigo); }
.tile.has-photo > *:not(.art__lbl):not(img) { display: none; }
.tile.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.tile.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,10,20,.45)); }
.tile.has-photo .art__lbl { z-index: 1; color: #fff; }

/* ---------- intro ---------- */
.intro { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); }
.intro__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.launch { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 8px 16px 8px 14px; margin-bottom: 22px; border-radius: 999px; background: var(--lav); color: var(--ink); font-size: 14px; line-height: 1.35; transition: background-color .2s; }
.launch:hover { background: var(--lav-2); }
.launch b { font-weight: 600; color: var(--indigo); }
.launch__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); animation: ping 2.4s infinite; }
.launch[hidden] { display: none; }
.intro__tag { margin-top: 20px; color: var(--fg); font-size: 16px; line-height: 1.55; }
.intro__tag b { font-weight: 500; color: var(--accent); }
.founding { margin-top: 22px; max-width: 420px; }
.founding__bar { height: 6px; border-radius: 99px; background: var(--card); overflow: hidden; margin-bottom: 8px; border: 1px solid var(--line); }
.founding__bar span { display: block; height: 100%; width: 0; background: var(--indigo); border-radius: 99px; transition: width 1.4s var(--ease); }
.founding p { font-size: 13.5px; }
.pulse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pulse div { border-left: 1.5px solid var(--line); padding-left: 18px; }
.pulse dt { font-size: clamp(34px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.04em; color: var(--accent); line-height: 1.05; font-variant-numeric: tabular-nums; }
.pulse dd { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* ---------- section heads ---------- */
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec__sub { max-width: 40ch; }

/* ---------- events ---------- */
.events { padding-top: clamp(48px, 6vw, 80px); }
.events .chips { margin-bottom: 28px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--fg); transition: background-color .2s, color .2s, border-color .2s; }
.arrow svg { width: 22px; }
.arrow:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 25vw, 340px); gap: clamp(16px, 2vw, 28px);
  --edge: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge);
  padding: 4px var(--edge) 24px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -3px; }
.ev { scroll-snap-align: start; }
.ev h3 { font-size: 21px; margin-top: 18px; letter-spacing: -.02em; line-height: 1.2; color: var(--accent); }
.ev__meta { font-size: 14px; margin-top: 8px; color: var(--fg); opacity: .75; }
.ev__seats { font: 500 12px var(--mono); letter-spacing: .04em; margin-top: 10px; color: var(--muted); text-transform: uppercase; }
.ev__seats.low { color: #d9480f; }
.ev__seats.full { color: var(--muted); text-decoration: line-through; }
.poster {
  position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; text-align: left;
  padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  background: var(--indigo); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.poster:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(18,17,42,.55); }
.poster__top { display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.poster__main { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; max-width: 80%; position: relative; z-index: 1; }
.poster__date { position: absolute; right: 16px; bottom: 14px; text-align: right; line-height: 1; z-index: 1; }
.poster__date b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.05em; }
.poster__date span { font-size: 11px; letter-spacing: .14em; }
.poster::before { content: ""; position: absolute; inset: 0; }
.poster--demo { background: var(--indigo); }
.poster--demo::before { background: radial-gradient(circle at 100% 0, rgba(255,255,255,.28), transparent 45%); }
.poster--workshop { background: var(--lav-2); color: var(--ink); }
.poster--workshop::before { background-image: radial-gradient(rgba(18,17,42,.18) 1.2px, transparent 1.4px); background-size: 14px 14px; }
.poster--talk { background: #0d0c1f; }
.poster--talk::before { background: radial-gradient(circle at 85% 15%, rgba(59,59,232,.9), rgba(30,28,120,.4) 28%, transparent 58%); }
.poster--hackathon { background: linear-gradient(135deg, #2a2870, #0a0a0b 70%); }
.poster--hackathon::before { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px); }
.poster--social { background: var(--violet); }
.poster--social::before { background: radial-gradient(circle at 0 100%, rgba(255,255,255,.35), transparent 50%); }
.events__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.empty { padding: 40px 0; }
.empty a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- statement ---------- */
.statement { position: relative; min-height: 115vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0; }
.statement > .wrap { width: 100%; }
.statement__text { font-size: clamp(30px, 4.2vw, 62px); font-weight: 600; letter-spacing: -.03em; line-height: 1.16; max-width: 22ch; color: var(--fg); }
.js .statement__text .w { color: color-mix(in srgb, var(--fg) 20%, transparent); transition: color .35s var(--ease); }
.js .statement__text .w.on { color: var(--fg); }
.js .statement__text .ta.on { color: var(--indigo); }
.sparks i { position: absolute; left: var(--x); bottom: -40px; font-style: normal; color: var(--indigo); font-size: 22px; opacity: 0; animation: rise var(--t) linear infinite; animation-delay: var(--d); }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .55; } 85% { opacity: .35; } 100% { transform: translateY(-115vh) scale(1.1); opacity: 0; } }

/* ---------- paths ---------- */
.paths__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.path { display: flex; flex-direction: column; }
.path__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.path__ico { flex: none; width: 76px; height: 76px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; color: #fff; }
.pi-1 { background: #2a2870; }
.pi-2 { background: var(--indigo); font-weight: 600; }
.pi-3 { background: var(--black); }
.path h3 { font-size: clamp(26px, 2.4vw, 34px); color: var(--fg); }
.path h3 span { display: block; color: var(--accent); }
.path__price { font-size: 14px; margin-bottom: 8px; }
.path__price b { color: var(--fg); font-weight: 500; }
.path ul { margin: 8px 0 28px; flex: 1; }
.path li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--fg); }
.path li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- formats ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); }
.formats--4 { grid-template-columns: repeat(4, 1fr); }
.fmt { position: relative; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.fmt__n { font: 500 13px var(--mono); color: var(--accent); letter-spacing: .1em; }
.fmt h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 14px 0 12px; color: var(--fg); transition: transform .4s var(--ease); }
.fmt p { font-size: 15.5px; max-width: 36ch; }
.fmt__meta { display: inline-block; margin-top: 18px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.fmt::after { content: ""; position: absolute; left: 0; top: -1px; height: 1.5px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.fmt:hover::after { width: 100%; }
.fmt:hover h3 { transform: translateX(6px); }

/* ---------- season timeline ---------- */
.season-sec { padding-top: clamp(40px, 6vw, 80px); }
.season { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.season__side { position: sticky; top: calc(var(--nav-h) + 48px); }
.season__side .lead { margin: 22px 0 18px; }
.season__start { font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.season__start b { color: var(--fg); font-weight: 500; }
.weeks { position: relative; padding: 8vh 0 18vh; }
.weeks::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent); }
.wk { position: relative; padding: 34px 0 34px 44px; opacity: .32; transition: opacity .5s var(--ease); }
.wk.is-on { opacity: 1; }
.wk::before { content: ""; position: absolute; left: -5px; top: 44px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--muted); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.wk.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 24px 4px color-mix(in srgb, var(--accent) 55%, transparent); }
.wk__n { font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wk h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 8px 0 8px; color: var(--fg); }
.wk p { font-size: 16.5px; max-width: 38ch; }

/* ---------- marquee ---------- */
.marquee { padding: clamp(64px, 9vw, 130px) 0; overflow: hidden; }
.mq { overflow: hidden; }
.mq__row { display: flex; width: max-content; font-size: clamp(44px, 8vw, 120px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--fg); animation: mq 48s linear infinite; }
.mq__row span { padding-right: .5em; white-space: nowrap; }
.mq__row em { font-style: normal; color: var(--indigo); padding-right: .5em; }
.mq__row--rev { animation-direction: reverse; animation-duration: 56s; }
.mq__row--line { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.mq__row--line em { -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- chapters cloud ---------- */
.cloud { position: relative; height: clamp(440px, 46vw, 600px); margin: 8px 0 18px; }
.bub {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: var(--s); height: var(--s); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px;
  animation: bob 7s ease-in-out infinite; animation-delay: var(--d);
  transition: box-shadow .3s var(--ease), background-color .3s;
}
.bub b { font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bub small { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.bub--active { background: var(--indigo); color: #fff; }
.bub--active:hover { box-shadow: 0 18px 40px -14px rgba(59,59,232,.75); }
.bub--forming { border: 1.5px dashed var(--accent); color: var(--fg); background: var(--bg); }
.bub--forming:hover { background: var(--card); }
.bub--campus { background: var(--lav-2); color: var(--ink); }
.bub--online { background: var(--ink); color: #fff; }
@keyframes bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 12px)); } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); margin-bottom: 40px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg--active { background: var(--indigo); } .lg--forming { border: 1.5px dashed var(--indigo); } .lg--campus { background: var(--lav-2); }
.lead-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3.4vw, 44px); border-radius: 18px; background: var(--ink); color: #fff; flex-wrap: wrap; }
.lead-cta h3 { font-size: clamp(22px, 2.2vw, 30px); }
.lead-cta p { color: #b9b7dc; margin-top: 6px; max-width: 52ch; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.coc { margin-top: 36px; padding: 26px; border-radius: var(--r); background: var(--lav); }
.coc h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.coc p { color: #47457a; font-size: 15px; margin-bottom: 14px; }
.coc .link { color: var(--indigo); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; color: var(--fg); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 22px; font-weight: 300; color: var(--accent); transition: transform .3s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--card); }
details p { padding: 0 48px 26px 0; font-size: 16px; }

/* ---------- footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.news h2 { color: var(--fg); margin-bottom: 12px; }
.news__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.news__form input { height: 52px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); padding: 0 16px; color: var(--fg); }
.news__form input::placeholder { color: var(--muted); }
.news__form input.bad { border-color: #ff6b6b; }
.news__form .form-msg { grid-column: 1 / -1; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: clamp(48px, 6vw, 80px) 0; }
.footer__cols h4 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__cols a { display: block; padding: 5px 0; color: var(--fg); opacity: .82; transition: opacity .2s, color .2s; width: fit-content; }
.footer__cols a:hover { opacity: 1; color: var(--accent); }
#socials { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.wordmark { display: flex; justify-content: center; font-size: clamp(64px, 16.5vw, 250px); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--fg); user-select: none; padding: 10px 0 24px; }
.wordmark span { display: inline-block; transition: transform .5s var(--ease), color .5s var(--ease); }
.wordmark span:hover, .wordmark span.lift { transform: translateY(-14%); color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- floating whatsapp ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .25s var(--ease); }
.fab-wa[hidden] { display: none; }
.fab-wa svg { width: 28px; fill: #fff; }
.fab-wa:hover { transform: scale(1.06); }

/* ---------- modal + forms ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10,10,24,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  --bg: #ffffff; --fg: #12112a; --muted: #5d5b7a; --line: rgba(18,17,42,.14); --card: #f5f5fc; --accent: #3b3be8;
  position: relative; width: 100%; max-width: 560px; max-height: calc(100svh - 32px); overflow: auto;
  background: var(--bg); color: var(--fg); border-radius: 18px; padding: clamp(24px, 4vw, 40px);
  transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); box-shadow: 0 40px 80px -30px rgba(10,10,24,.6);
}
.modal.is-open .modal__box { transform: none; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.modal__x:hover { background: var(--card); color: var(--fg); }
.modal h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; padding-right: 36px; }
.modal .eyebrow { margin-bottom: 10px; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--fg); }
.form input, .form select, .form textarea { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 9px; padding: 0 14px; background: #fff; color: var(--fg); font-weight: 400; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(59,59,232,.14); }
.form .bad { border-color: #e5484d; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .check input { width: 18px; height: 18px; accent-color: var(--indigo); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { font-size: 14px; min-height: 0; }
.form-msg.err { color: #e5484d; }
.form-msg.ok { color: #1f9d55; }
.done { text-align: center; padding: 10px 0 4px; }
.done__ico { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: #fff; font-size: 30px; }
.done h3 { padding: 0; }
.done p { margin: 0 auto 22px; max-width: 38ch; }
.done .btns { justify-content: center; }
.coc-full { display: grid; gap: 12px; margin-top: 16px; font-size: 15px; }
.coc-full b { color: var(--fg); font-weight: 500; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14.5px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transition: all .35s var(--ease); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- the Akadi Club: log in, live events, forms ---------- */
[hidden] { display: none !important; }
.track:has(> .empty) { display: block; }
.track > .empty { max-width: 60ch; padding: 24px 0 32px; }
.ev__seats.full { text-decoration: none; }
.menu__btns { display: grid; gap: 10px; }
.poster--other { background: var(--ink); }
.poster--other::before { background: radial-gradient(circle at 100% 100%, rgba(141,135,246,.45), transparent 55%); }
.ev h3 a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ev__rsvp { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--accent); }
.ev__rsvp:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-note .link { font-weight: 500; }

/* ---------- privacy and terms pages ---------- */
.doc { padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); }
.doc__in { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 5vw, 58px); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 12px; }
.doc__date { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; margin: 38px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.doc a { color: var(--accent); border-bottom: 1px solid currentColor; }
.doc__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 22px 0 8px; }
.doc__box p { font-size: 15px; }
.doc-foot { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: 14px; color: var(--muted); }
.doc-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.doc-foot a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .intro__in { grid-template-columns: 1fr; }
  .pulse { grid-template-columns: repeat(4, 1fr); }
  .paths__intro { grid-template-columns: 1fr; }
  .paths, .formats { grid-template-columns: 1fr 1fr; }
  .paths .path--hot { order: -1; grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 33vw auto 33vw;
    grid-template-areas:
      "c  s1 f"
      "h  h  h"
      "d  s3 e";
  }
  .t-a, .t-b, .t-x, .t-s2, .t-sc { display: none; }
  .tile--head { padding: 48px 20px 44px; }
  .tile--head h1 { font-size: clamp(38px, 10.4vw, 64px); }
  .tile--stat { padding: 12px; gap: 8px; }
  .tile--stat p { font-size: clamp(11px, 3.2vw, 14px); }
  .tile--stat .ico { width: 24px; }
  .t-s3 .ico { display: none; }
  .t-s3 { justify-content: flex-end; }
  .art__lbl { left: 8px; bottom: 6px; font-size: 8.5px; }
  .art--glyph .glyph { font-size: 20vw; transform: translate(8%, 4%); }
  .next__date b { font-size: 15vw; }
  .next__date span { font-size: 10px; margin-top: 4px; }
  .next__tag { left: 8px; top: 7px; font-size: 8.5px; gap: 6px; }
  .lbl-city { display: none; }
  .art--map i { font-size: 8px; padding-left: 12px; }
  .art--map i::before { width: 7px; height: 7px; margin-top: -3.5px; }
  .season { grid-template-columns: 1fr; }
  .season__side { position: static; }
  .weeks { padding: 24px 0 0; }
  .wk { opacity: 1; }
  .faq, .news { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cloud { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .bub { position: relative; left: auto; top: auto; transform: none; animation: none; width: calc(var(--s) * .82); height: calc(var(--s) * .82); }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }
  .nav .btn--sm { display: none; }
  .pulse { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .paths, .formats { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 100%; }
  .row2 { grid-template-columns: 1fr; }
  .news__form { grid-template-columns: 1fr; }
  .statement { min-height: 90vh; }
  .br-wide { display: none; }
  details p { padding-right: 0; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .tile, .js .reveal { opacity: 1; transform: none; }
  .sparks { display: none; }
}
