/* ============================================================
   Vivek Shukla: "Season 1"
   Paper, ink, one red pen and a yellow highlighter.
   Doodles "boil" (re-drawn on threes) like hand-drawn animation.
   ============================================================ */

/* ---------- Helvetica Neue LT Pro ----------
   Order per weight: the installed LT Pro font → macOS's built-in Helvetica
   Neue (same design) → web-font files in assets/fonts (add these once you
   have a web licence; file names below). */
@font-face {
  font-family: "HNLT Display"; font-weight: 900; font-style: normal; font-display: swap;
  src: local("Helvetica Neue LT Pro 97 Black Condensed"), local("HelveticaNeueLTPro-BlkCn"),
       local("Helvetica Neue Condensed Black"), local("HelveticaNeue-CondensedBlack"),
       url("assets/fonts/HelveticaNeueLTPro-BlkCn.woff2") format("woff2");
}
@font-face {
  font-family: "HNLT"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Helvetica Neue LT Pro 55 Roman"), local("HelveticaNeueLTPro-Roman"),
       local("Helvetica Neue"), local("HelveticaNeue"),
       url("assets/fonts/HelveticaNeueLTPro-Roman.woff2") format("woff2");
}
@font-face {
  font-family: "HNLT"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("Helvetica Neue LT Pro 65 Medium"), local("HelveticaNeueLTPro-Md"),
       local("Helvetica Neue Medium"), local("HelveticaNeue-Medium"),
       url("assets/fonts/HelveticaNeueLTPro-Md.woff2") format("woff2");
}
@font-face {
  font-family: "HNLT"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Helvetica Neue LT Pro 75 Bold"), local("HelveticaNeueLTPro-Bd"),
       local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"),
       url("assets/fonts/HelveticaNeueLTPro-Bd.woff2") format("woff2");
}

:root {
  --display: "HNLT Display", "Archivo", "Arial Narrow", sans-serif;
  --text: "HNLT", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --paper: #f2ecdf;
  --paper-deep: #e7dfcc;
  --card: #fbf8f1;
  --ink: #1a1712;
  --ink-2: #4a4439;
  --muted: #7a7266;
  --red: #ff4f1f;
  --marker: #ffd93b;
  --line: rgba(26, 23, 18, .16);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--text);
  color: var(--ink);
  background-color: var(--paper);
  /* paper grain */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
::selection { background: var(--marker); }

/* ---------- type ---------- */
.display {
  font-family: var(--display); font-stretch: 66%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
}
.hand { font-family: "Kalam", cursive; font-weight: 700; }
.mark {
  background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .9s var(--ease) .25s;
  padding: 0 .08em;
  margin: 0 -.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.in .mark, .mark.in { background-size: 100% 100%; }
.red { color: var(--red); }

/* ---------- hand-drawn boil ---------- */
html[data-boil="0"] .boil { filter: url(#boil-0); }
html[data-boil="1"] .boil { filter: url(#boil-1); }
html[data-boil="2"] .boil { filter: url(#boil-2); }

.doodle { overflow: visible; }
.doodle .ink  { stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle .pen  { stroke: var(--red); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle .thin { stroke-width: 2; }
.doodle .ghost { stroke: var(--ink); fill: none; stroke-width: 1.5; opacity: .22; }
.doodle .fill-marker { fill: var(--marker); }
.doodle .fill-paper { fill: var(--card); }
.doodle .fill-red { fill: var(--red); }
.doodle .fill-ink { fill: var(--ink); }
.doodle text { font-family: "Kalam", cursive; font-weight: 700; }
.doodle .note { fill: var(--red); font-size: 19px; }
.doodle .note-ink { fill: var(--ink); font-size: 19px; }

/* draw-on strokes */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.in .draw { stroke-dashoffset: 0; }
.in .draw.d1 { transition-delay: .35s; }
.in .draw.d2 { transition-delay: .7s; }
.in .draw.d3 { transition-delay: 1.05s; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(36px) rotate(var(--r, 0deg)); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: rotate(var(--r, 0deg)); }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
.stamp { opacity: 0; transform: scale(1.8) rotate(var(--r, -8deg)); transition: opacity .25s, transform .45s var(--pop); }
.in .stamp, .stamp.in { opacity: 1; transform: scale(1) rotate(var(--r, -8deg)); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(242, 236, 223, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: "Kalam", cursive; font-weight: 700; font-size: 30px; line-height: 1; display: flex; align-items: baseline; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; margin-left: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 15px; }
.nav-links a.u { position: relative; }
.nav-links a.u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a.u:hover::after { transform: scaleX(1); }

.sticker-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; font-weight: 800; font-family: var(--display); font-stretch: 66%;
  text-transform: uppercase; letter-spacing: .02em; font-size: 15px;
  padding: 12px 20px; border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg);
  transition: transform .25s var(--pop), box-shadow .25s var(--ease);
  cursor: pointer; font-family: inherit;
}
.sticker-btn:hover { transform: rotate(0) translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.sticker-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.sticker-btn.big { font-size: clamp(18px, 2vw, 22px); padding: 18px 30px; }
.sticker-btn.ink { background: var(--ink); }
.sticker-btn.paper { background: var(--card); color: var(--ink); }
.sticker-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; padding: 110px 0 40px; position: relative; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end; width: 100%; }
.hero-hi { font-size: clamp(22px, 2.4vw, 30px); color: var(--ink-2); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero-hi svg { width: 64px; height: 30px; }
.hero h1 { font-size: clamp(64px, 10vw, 156px); }
.hero h1 > span { display: block; }
.hero h1 .l1 { position: relative; width: fit-content; }
.hero h1 .l1 svg { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .22em; }
.hero-sub { margin-top: 32px; max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.hero-sub b { color: var(--ink); }
.hero-ctas { margin-top: 32px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero-ctas .hand { font-size: 20px; display: inline-flex; align-items: center; gap: 8px; }
.hero-ctas .hand svg { width: 26px; height: 34px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

.hero-photo { position: relative; align-self: end; justify-self: center; width: min(100%, 480px, 56svh); container-type: inline-size; }
.hero-photo .cut {
  position: relative; z-index: 1; width: 100%;
  filter: drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 -5px 0 #fff) drop-shadow(0 8px 18px rgba(26, 23, 18, .18));
  -webkit-mask-image: linear-gradient(#000 88%, transparent 100%);
          mask-image: linear-gradient(#000 88%, transparent 100%);
}
.hero-photo .doodle { position: absolute; inset: -22% -10% -4% 0; width: 110%; height: 126%; z-index: 2; pointer-events: none; }
.hero-photo .disc { position: absolute; z-index: 0; width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--marker); left: 12%; top: 4%; border: 2.5px solid var(--ink); }
.name-tag {
  position: absolute; z-index: 3; left: -6%; bottom: 7%; width: 210px; width: 44cqw; transform: rotate(-7deg);
  background: var(--red); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; text-align: center; color: #fff;
}
.name-tag .t1 { font-weight: 900; font-family: var(--display); font-stretch: 66%; font-size: 30px; font-size: 6.3cqw; letter-spacing: .04em; line-height: 1; padding-top: 10px; padding-top: 2cqw; }
.name-tag .t2 { font-size: 11px; font-size: max(8px, 2.3cqw); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; }
.name-tag .t3 { background: #fff; color: var(--ink); font-family: "Kalam", cursive; font-weight: 700; font-size: 36px; font-size: 7.6cqw; line-height: 1.25; padding: 6px 0 2px; border-top: 2.5px solid var(--ink); }

/* hero chat: texts "from" the phone, typed in one by one */
.chat { position: absolute; z-index: 3; left: 74%; top: 4%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.msg {
  margin: 0; font-family: var(--text); font-weight: 500; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.25; color: var(--ink);
  background: #fff; border: 2.5px solid var(--ink); border-radius: 16px 16px 16px 4px; padding: 8px 13px;
  box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; transform: rotate(-1.5deg);
}
.msg:nth-child(even) { transform: rotate(1deg); margin-left: 12px; }
.msg.link { background: var(--marker); font-weight: 700; transition: transform .25s var(--pop), box-shadow .25s var(--ease); }
.msg.link:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 5px 5px 0 var(--ink); }
.typing { display: none; gap: 4px; align-items: center; padding: 11px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat.play .msg:not(.show):not(.typing) { display: none; }
.chat.play .typing.show { display: inline-flex; }
.msg.show { animation: msgIn .4s var(--pop) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.8); } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); transform: rotate(-1.5deg); margin: 40px -20px 0; padding: 16px 0; overflow: hidden; border-block: 2.5px solid var(--ink); position: relative; z-index: 5; }
.ticker.alt { background: var(--marker); color: var(--ink); transform: rotate(1.2deg); margin-top: -8px; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 38s linear infinite; font-weight: 900; font-family: var(--display); font-stretch: 66%; text-transform: uppercase; font-size: clamp(24px, 3vw, 38px); line-height: 1; white-space: nowrap; }
.ticker.alt .ticker-track { animation-direction: reverse; animation-duration: 44s; }
.ticker-track svg { width: 26px; height: 26px; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   EPISODE GUIDE
   ============================================================ */
.guide { padding: 150px 0 60px; }
.guide-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.kicker { font-family: "Kalam", cursive; font-weight: 700; color: var(--red); font-size: 22px; display: block; margin-bottom: 8px; }
.guide h2 { font-size: clamp(56px, 8vw, 120px); }
.guide-note { max-width: 300px; font-size: 17px; color: var(--ink-2); }
.ep-list { list-style: none; border-top: 2.5px solid var(--ink); }
.ep-list a {
  display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 8px; border-bottom: 2.5px solid var(--ink); position: relative; overflow: hidden;
}
.ep-list a::before { content: ""; position: absolute; inset: 0; background: var(--marker); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.ep-list a:hover::before { transform: scaleY(1); }
.ep-list .no { white-space: nowrap; font-family: "Kalam", cursive; font-weight: 700; font-size: 22px; color: var(--red); }
.ep-list .ttl { font-weight: 900; font-family: var(--display); font-stretch: 66%; text-transform: uppercase; font-size: clamp(28px, 4vw, 52px); line-height: 1; }
.ep-list .tag { font-size: 14px; font-weight: 600; color: var(--ink-2); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; white-space: nowrap; background: var(--card); }
.ep-list li { position: relative; z-index: 0; }

/* ============================================================
   EPISODES
   ============================================================ */
.ep { padding: 140px 0; position: relative; }
.ep + .ep { border-top: 2.5px dashed var(--line); }
.ep .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ep.flip .ep-art { order: -1; }
.ep-card { display: inline-flex; align-items: stretch; border: 2.5px solid var(--ink); border-radius: 10px; overflow: hidden; margin-bottom: 28px; box-shadow: 4px 4px 0 var(--ink); background: var(--card); }
.ep-card .n { background: var(--ink); color: var(--paper); font-weight: 900; font-family: var(--display); font-stretch: 66%; font-size: 22px; padding: 6px 14px; letter-spacing: .04em; }
.ep-card .t { font-family: "Kalam", cursive; font-weight: 700; font-size: 20px; padding: 6px 16px 4px; }
.ep h2 { font-size: clamp(50px, 6.2vw, 96px); margin-bottom: 30px; }
.ep p { font-size: clamp(18px, 1.55vw, 21px); color: var(--ink-2); max-width: 520px; }
.ep p + p { margin-top: 18px; }
.ep p b { color: var(--ink); font-weight: 700; }
.aside { font-family: "Kalam", cursive; font-weight: 700; color: var(--red); font-size: 22px !important; transform: rotate(-1.5deg); display: inline-block; }
.ep-art { position: relative; }
.ep-art .doodle { width: 100%; height: auto; }
.frame-counter { position: absolute; right: 2%; bottom: -14px; font-family: "Kalam", cursive; font-weight: 700; font-size: 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 10px; }

/* Ep 4: photo */
.taped { position: relative; background: #fff; padding: 14px 14px 64px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); --r: 2.5deg; }
.taped img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(1.05) contrast(1.06); }
.taped figcaption { position: absolute; left: 18px; right: 18px; bottom: 14px; font-family: "Kalam", cursive; font-weight: 700; font-size: 22px; line-height: 1.2; }
.tape { position: absolute; width: 120px; height: 34px; background: rgba(255, 217, 59, .82); border: 1.5px solid rgba(26, 23, 18, .25); top: -16px; z-index: 2; }
.tape.l { left: -24px; transform: rotate(-24deg); }
.tape.r { right: -24px; transform: rotate(22deg); }

.roles { list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.roles li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 19px; }
.roles li b { font-weight: 800; color: var(--ink); }
.roles li span { color: var(--ink-2); }
.roles svg { width: 30px; height: 30px; margin-top: 1px; }

/* Ep 5: the best part */
.best { padding: 160px 0; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.best .wrap { text-align: center; }
.best .ep-card { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--red); border-color: var(--paper); }
.best .ep-card .n { background: var(--red); color: #fff; }
.best h2 { font-size: clamp(54px, 9vw, 150px); max-width: 1100px; margin: 0 auto; }
.best h2 .hl { color: var(--ink); background: var(--marker); padding: 0 .12em; display: inline-block; transform: rotate(-2deg); }
.best p { color: #bdb5a6; font-size: clamp(18px, 1.7vw, 22px); max-width: 620px; margin: 40px auto 0; }
.best .doodle { position: absolute; pointer-events: none; }
.best .sp1 { width: 90px; left: 7%; top: 16%; }
.best .sp2 { width: 60px; right: 9%; top: 26%; }
.best .sp3 { width: 120px; right: 12%; bottom: 12%; }
.best .doodle .ink { stroke: var(--paper); }

/* ============================================================
   CHARACTER SHEET
   ============================================================ */
.sheet-sec { padding: 150px 0 120px; }
.sheet-sec .head { text-align: center; margin-bottom: 56px; }
.sheet-sec h2 { font-size: clamp(54px, 8vw, 120px); }
.sheet {
  max-width: 1000px; margin: 0 auto; background: var(--card); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 10px 10px 0 var(--ink); display: grid; grid-template-columns: 340px 1fr; overflow: hidden; --r: -1deg;
}
.sheet-pic { background: var(--marker); border-right: 3px solid var(--ink); position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 100%; overflow: hidden; }
.sheet-pic img { width: 118%; max-width: none; margin-top: 120px; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-4px 0 0 #fff) drop-shadow(0 -4px 0 #fff); }
.sheet-bubble {
  position: absolute; z-index: 2; top: 64px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  font-family: "Kalam", cursive; font-weight: 700; font-size: 22px; white-space: nowrap;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 6px 16px; box-shadow: 3px 3px 0 var(--ink);
}
.sheet-bubble::after { content: ""; position: absolute; bottom: -9px; left: 46%; width: 14px; height: 14px; background: #fff; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.sheet-pic .lvl { position: absolute; top: 18px; left: 18px; background: var(--ink); color: var(--marker); font-weight: 900; font-family: var(--display); font-stretch: 66%; font-size: 18px; padding: 4px 12px; border-radius: 6px; letter-spacing: .06em; }
.sheet-body { padding: 40px 44px; }
.sheet-body h3 { font-size: clamp(44px, 5vw, 68px); }
.sheet-body .alias { font-family: "Kalam", cursive; font-weight: 700; color: var(--red); font-size: 21px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0; border-top: 2px solid var(--ink); }
.facts div { padding: 12px 0; border-bottom: 2px solid var(--ink); }
.facts div:nth-child(odd) { padding-right: 16px; border-right: 2px solid var(--ink); }
.facts div:nth-child(even) { padding-left: 16px; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 700; font-size: 17px; }
.stats { display: grid; gap: 14px; }
.stat { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; }
.stat .bar { height: 18px; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.stat .bar i { display: block; height: 100%; width: 0; background: var(--red); border-right: 2.5px solid var(--ink); transition: width 1.4s var(--ease); }
.stat .bar i.y { background: var(--marker); }
.stat .val { font-family: "Kalam", cursive; font-size: 17px; text-align: right; }
.moves { margin-top: 26px; }
.moves h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.moves ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: m; }
.moves li { counter-increment: m; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; background: var(--paper); }
.moves li::before { content: counter(m) "."; color: var(--red); margin-right: 6px; font-family: "Kalam", cursive; }
.moves li.weak { border-style: dashed; color: var(--ink-2); }
.moves li.weak::before { content: "!"; }
.small-print { text-align: center; margin-top: 28px; font-family: "Kalam", cursive; color: var(--muted); font-size: 18px; }

/* ============================================================
   NEXT EPISODE
   ============================================================ */
.next { padding: 140px 0 160px; text-align: center; position: relative; }
.next .tv { font-family: "Kalam", cursive; font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: var(--red); }
.next h2 { font-size: clamp(64px, 11vw, 176px); margin: 14px 0 26px; }
.next p { font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); max-width: 600px; margin: 0 auto 44px; }
.next .arrow { width: 120px; position: absolute; left: calc(50% + 190px); bottom: 120px; }

footer { border-top: 2.5px solid var(--ink); padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
footer .hand { font-weight: 700; font-size: 19px; color: var(--ink-2); }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.book-hero { padding: 140px 0 30px; }
.book-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.book-hero h1 { font-size: clamp(70px, 11vw, 170px); }
.book-hero .hand.sub { font-size: clamp(22px, 2.4vw, 30px); color: var(--red); margin-top: 16px; display: block; transform: rotate(-1.5deg); width: fit-content; max-width: 100%; }
.book-hero p { margin-top: 18px; color: var(--ink-2); font-size: 19px; max-width: 520px; }
.book-hero .doodle { width: 180px; }

.booker { max-width: var(--max); margin: 40px auto 140px; padding: 0 28px; }
.panel {
  background: var(--card); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink);
  display: grid; grid-template-columns: 300px 1fr 280px; min-height: 560px; overflow: hidden;
}
.pane { padding: 34px 30px; }
.pane + .pane { border-left: 2.5px solid var(--ink); }
.who { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--marker) url("assets/vivek-phone.webp") 59% 12% / 230% auto no-repeat; flex: none; }
.who b { font-size: 18px; display: block; }
.who small { font-family: "Kalam", cursive; font-weight: 700; color: var(--red); font-size: 16px; }
.pane h3 { font-size: 40px; margin-bottom: 10px; }
.pane .empty, .empty { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.durations { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.chip { border: 2.5px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .2s var(--pop), background .2s; }
.chip:hover:not(:disabled) { transform: translateY(-2px); background: var(--marker); }
.chip.on { background: var(--ink); color: var(--paper); }
.chip:disabled { opacity: .5; cursor: default; }
.meta { list-style: none; margin-top: 28px; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.meta li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.meta svg { width: 22px; height: 22px; }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cal-head h4 { font-weight: 900; font-family: var(--display); font-stretch: 66%; text-transform: uppercase; font-size: 30px; line-height: 1; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--paper); cursor: pointer; font-size: 18px; font-weight: 800; line-height: 1; transition: background .2s, transform .2s var(--pop); }
.cal-nav button:hover:not(:disabled) { background: var(--marker); transform: scale(1.06); }
.cal-nav button:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.day { aspect-ratio: 1; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 16px; color: #b5ad9e; position: relative; border-radius: 50%; cursor: default; }
.day.avail { color: var(--ink); font-weight: 900; cursor: pointer; }
.day.avail::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 18%; height: 30%; background: var(--marker); z-index: -1; border-radius: 3px; transform: rotate(-3deg); transition: all .25s var(--ease); }
.day.avail { z-index: 0; isolation: isolate; }
.day.avail:hover::before { left: 12%; right: 12%; bottom: 14%; height: 72%; border-radius: 50%; }
.day.sel { color: var(--ink); }
.day.sel::before { left: 12%; right: 12%; bottom: 14%; height: 72%; border-radius: 50%; }
.day.sel::after {
  content: ""; position: absolute; inset: -6%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M31 6 C 14 5, 5 17, 6 31 C 7 46, 20 55, 33 54 C 47 53, 55 41, 54 28 C 53 15, 42 7, 26 9' fill='none' stroke='%23ff4f1f' stroke-width='3.4' stroke-linecap='round'/></svg>") center / contain no-repeat;
  animation: circ .35s var(--pop);
}
@keyframes circ { from { transform: scale(.4) rotate(-40deg); opacity: 0; } }
.day.today { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tz { margin-top: 22px; font-size: 14px; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tz svg { width: 20px; height: 20px; }

.slots-title { font-weight: 900; font-family: var(--display); font-stretch: 66%; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 18px; }
.slots { display: grid; gap: 10px; max-height: 440px; overflow-y: auto; padding: 4px 8px 8px 2px; }
.slot { border: 2.5px solid var(--ink); background: var(--paper); border-radius: 12px; padding: 12px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .2s var(--pop), box-shadow .2s, background .2s; }
.slot:hover { background: var(--marker); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }

.form-step { grid-column: 2 / 4; }
.picked { border: 2.5px dashed var(--ink); border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); }
.picked small { font-family: "Kalam", cursive; font-weight: 700; color: var(--red); font-size: 16px; }
.picked b { font-size: 18px; }
.linkish { background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; transition: box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--marker), 4px 4px 0 2.5px var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.err { color: #c62d0a; font-weight: 700; margin-top: 14px; }

.done { grid-column: 1 / -1; text-align: center; padding: 80px 32px; position: relative; }
.done .stamp-big {
  display: inline-block; border: 4px solid var(--red); color: var(--red); border-radius: 12px; padding: 4px 22px;
  font-weight: 900; font-family: var(--display); font-stretch: 66%; font-size: clamp(64px, 9vw, 110px); line-height: 1; text-transform: uppercase;
  transform: rotate(-6deg); animation: stampIn .5s var(--pop); margin-bottom: 30px;
}
@keyframes stampIn { from { transform: scale(2.2) rotate(-6deg); opacity: 0; } }
.done h3 { font-size: clamp(36px, 4vw, 54px); }
.done p { color: var(--ink-2); max-width: 520px; margin: 14px auto 0; font-size: 18px; }
.done .when { display: inline-block; margin: 28px 0 10px; background: var(--marker); border: 2.5px solid var(--ink); border-radius: 12px; padding: 12px 20px; font-weight: 800; transform: rotate(-1deg); }
.done .meet { display: block; margin: 12px auto 32px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; text-decoration: underline; word-break: break-all; }
.done .form-actions { justify-content: center; }

.hidden { display: none !important; }

/* ============================================================
   MOTION: smooth scroll + type animation
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* hidden until the animation script takes over (falls back to visible) */
html.anim [data-split], html.anim [data-write], html.anim [data-type] { visibility: hidden; }

/* split text: each word sits in its own mask */
.sw { display: inline-block; vertical-align: top; overflow: hidden; padding: .1em .03em; margin: -.1em -.03em; }
.sw.open { overflow: visible; }
.swi, .sc { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* hero: highlighter and underline wait for the letters to land */
[data-split="hero"] .mark { transition-delay: 1.15s; }
.in[data-split="hero"] .draw.d1 { transition-delay: 1s; }
.swi { will-change: transform; }

/* rotating word */
.rot { display: inline-block; position: relative; height: 1.55em; vertical-align: top; overflow: hidden; color: var(--ink); font-weight: 700; }
.rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: .22em; height: .32em; background: var(--marker); z-index: -1; transform: rotate(-1deg); }
.rot { isolation: isolate; }
.rot-w { position: absolute; left: 0; top: 0; white-space: nowrap; }

/* photo pill inside a headline */
.pill {
  display: inline-block; vertical-align: middle; width: 1.7em; height: .78em; margin: -.1em .04em 0;
  border-radius: 999px; border: .06em solid var(--ink);
  background: var(--ink) url("assets/vivek-bootcamp.jpg") 38% 30% / cover no-repeat;
}

/* Apple-style pinned photo that opens up as you scroll */
.scene { position: relative; background: var(--ink); color: var(--paper); }
.scene-pin { position: relative; height: 100svh; overflow: hidden; }
.scene-media { position: absolute; inset: 0; overflow: hidden; }
.scene-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.scene-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26, 23, 18, .82) 100%); }
.scene-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 28px 7svh; max-width: var(--max); margin: 0 auto; z-index: 2; }
.scene-copy .kicker { color: var(--marker); }
.scene-copy h3 { font-size: clamp(40px, 5.6vw, 92px); color: #fff; }
.scene-copy p { font-family: "Kalam", cursive; font-weight: 700; font-size: clamp(19px, 2vw, 26px); color: var(--marker); margin-top: 14px; transform: rotate(-1deg); }

/* tickers driven by script (speed follows your scroll) */
.ticker-track.js { animation: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* nothing may push the page wider than the screen */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.hero .wrap > *, .ep .wrap > *, .book-hero .wrap > *, .guide-head > * { min-width: 0; }

/* big monitors: let the layout breathe */
@media (min-width: 1800px) {
  :root { --max: 1480px; }
  .hero-photo { width: min(100%, 560px, 58svh); }
}
/* small laptops / tablets in landscape: give the hero doodles room */
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-photo { width: min(80%, 420px, 52svh); }
  .chat { left: 70%; }
  .msg { font-size: 12px; padding: 6px 10px; }
}
@media (max-width: 960px) {
  .tape { width: 84px; height: 28px; }
  .tape.l { left: -10px; }
  .tape.r { right: -10px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { width: min(76%, 440px); margin-top: 30px; }
  .ep .wrap { grid-template-columns: 1fr; gap: 48px; }
  .ep.flip .ep-art { order: 0; }
  .sheet { grid-template-columns: 1fr; }
  .sheet-pic { border-right: 0; border-bottom: 3px solid var(--ink); height: 340px; }
  .sheet-pic img { width: 80%; max-width: 340px; margin-top: 100px; }
  .sheet-bubble { top: 52px; font-size: 19px; }
  .panel { grid-template-columns: 1fr; }
  .pane + .pane { border-left: 0; border-top: 2.5px solid var(--ink); }
  .form-step { grid-column: auto; }
  .slots { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .book-hero .wrap { grid-template-columns: 1fr; }
  .book-hero .doodle { display: none; }
  .next .arrow { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav-links a.u { display: none; }
  .nav .sticker-btn { padding: 9px 14px; font-size: 13px; margin-right: 6px; }
  .hero-photo { width: min(84%, 340px); }
  .hero { padding-top: 96px; }
  .ep, .best, .sheet-sec, .next { padding: 96px 0; }
  .guide { padding: 100px 0 30px; }
  .ep-list a { grid-template-columns: 54px 1fr; }
  .ep-list .tag { display: none; }
  .sheet-body { padding: 28px 22px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .facts div:nth-child(even) { padding-left: 0; }
  .stat { grid-template-columns: 110px 1fr 54px; font-size: 14px; gap: 10px; }
  .name-tag { left: -4%; bottom: 5%; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .name-tag .t2 { padding-bottom: 4px; }
  .hero-hi svg { display: none; }
  .chat { left: 68%; top: 2%; gap: 5px; }
  .msg { font-size: 11px; padding: 5px 9px; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  .msg:nth-child(even) { margin-left: 5px; }
  .ep-art .doodle text { font-size: 21px; }
  .taped { box-shadow: 5px 5px 0 var(--ink); }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .booker { padding: 0 14px; }
  .panel { box-shadow: 6px 6px 0 var(--ink); }
  .pane { padding: 26px 20px; }
  .best .doodle { display: none; }
}
@media (max-width: 360px) {
  .chat { left: 62%; }
  .msg { font-size: 10.5px; }
}
@media (max-width: 420px) {
  .stat { grid-template-columns: 1fr 52px; row-gap: 6px; }
  .stat > span:first-child { grid-column: 1 / -1; }
  .sheet { box-shadow: 6px 6px 0 var(--ink); }
}
/* phones held sideways: keep the hero photo within one screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-photo { width: min(44%, 280px); }
  .hero { min-height: auto; padding-top: 84px; }
  .nav .wrap { height: 58px; }
  .nav .sticker-btn { padding: 8px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .stamp { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .draw { stroke-dashoffset: 0; }
  .mark { background-size: 100% 100%; }
}
