/* Whine about AI: hand-drawn flipchart style */

:root {
  --paper: #faf8f0;
  --ink: #1c1c22;
  --red: #c82626;
  --green: #1e8741;
  --grey: #6e6e73;
  --wall: #e6e1d6;
  --title: "Permanent Marker", cursive;
  --brush: "Caveat Brush", cursive;
  --hand: "Gochi Hand", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wall);
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 6px 6px;
  color: var(--ink);
  font-family: var(--brush);
  font-size: 22px;
  line-height: 1.35;
}

main { padding: 24px 16px 8px; }


/* ---------- a flipchart sheet ---------- */
.sheet {
  position: relative;
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 92px 56px 64px;
  background-color: var(--paper);
  /* faint paper grain */
  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'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px rgba(0,0,0,.10);
  text-align: center;
}
.sheet:nth-of-type(even) { transform: rotate(.35deg); }
.sheet:nth-of-type(odd)  { transform: rotate(-.3deg); }

/* binding bar with ring holes */
.sheet::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 40px;
  background:
    radial-gradient(circle at center, #ebebe6 0 5px, #96968f 5.5px 9px, transparent 9.5px) 0 0 / 100px 40px repeat-x,
    linear-gradient(#cdcdc8, #cdcdc8);
  border-bottom: 5px solid #b9b9b4;
  background-position: 0 0, 0 0;
}
.sheet::after { /* soft shadow under binding */
  content: "";
  position: absolute; left: 0; right: 0; top: 45px; height: 10px;
  background: linear-gradient(rgba(0,0,0,.06), transparent);
}

/* chart number, bottom right */
.num {
  position: absolute; right: 20px; bottom: 16px;
  width: 38px; height: 38px;
  border: 3px solid var(--grey);
  border-radius: 52% 48% 55% 45% / 47% 55% 45% 53%;
  font-family: var(--title); font-size: 20px; line-height: 33px;
  color: var(--grey);
}

/* ---------- type ---------- */
h1, h2 {
  font-family: var(--title);
  font-weight: normal;
  margin: 0;
  letter-spacing: .5px;
}
h1 { font-size: clamp(48px, 10vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(36px, 7vw, 54px); }

.ul { display: block; width: min(440px, 80%); height: 18px; margin: 6px auto 26px; overflow: visible; }
.ul.short { width: min(300px, 70%); }
.ul path { fill: none; stroke-width: 5; stroke-linecap: round; filter: url(#rough); }
.ul-red path { stroke: var(--red); }

.subtitle { font-family: var(--brush); font-size: clamp(30px, 6vw, 42px); margin: 0 0 22px; color: var(--green); }
.when { font-family: var(--hand); font-size: clamp(24px, 4.5vw, 30px); margin: 0 0 30px; }
.big { font-size: clamp(25px, 4.6vw, 32px); margin: 0 auto 18px; max-width: 560px; }
.mid { font-size: clamp(22px, 4vw, 26px); margin: 18px 0 12px; }
.small, .note { font-family: var(--hand); font-size: 19px; color: var(--grey); margin: 18px 0 0; }
.green { color: var(--green); }
.red { color: var(--red); }

/* hand-drawn button */
.btn {
  display: inline-block;
  font-family: var(--title);
  font-size: clamp(22px, 4.2vw, 28px);
  color: var(--red);
  text-decoration: none;
  padding: 12px 30px;
  border: 3.5px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover, .btn:focus-visible { transform: rotate(-1.5deg) scale(1.03); background: rgba(200,38,38,.06); }

/* hook: circled phrase */
.circled { position: relative; display: inline-block; padding: 0 6px; margin: 10px 0 8px; color: var(--red); }
.circled svg { position: absolute; left: -16px; top: -14px; width: calc(100% + 32px); height: calc(100% + 26px); overflow: visible; }
.circled path { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; filter: url(#rough); }
.drawing { display: block; width: 100%; max-width: 600px; margin: 26px auto 0; }

/* agenda checklist */
.checklist { list-style: none; padding: 0; margin: 0 auto; display: inline-block; text-align: left; }
.checklist li { font-size: clamp(26px, 5vw, 34px); margin: 6px 0; padding-left: 52px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 28px; height: 28px;
  border: 3px solid var(--ink);
  border-radius: 3px 6px 2px 7px / 6px 2px 7px 3px;
  transform: rotate(-2deg);
}
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.thumbs img { width: 100%; display: block; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: transform .15s ease; }
.thumbs a:nth-child(odd) img { transform: rotate(-1.2deg); }
.thumbs a:nth-child(even) img { transform: rotate(1deg); }
.thumbs a:hover img { transform: scale(1.04); }

/* how it works: hand-drawn green arrows */
.arrows { list-style: none; padding: 0; margin: 0 auto; max-width: 560px; text-align: left; }
.arrows li { font-size: clamp(24px, 4.6vw, 30px); margin: 0 0 16px; padding-left: 52px; position: relative; }
.arrows li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 36px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 22'%3E%3Cpath d='M2 12 C 10 9, 20 13, 31 10 M22 3 L 32 10 L 23 19' fill='none' stroke='%231e8741' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.arrows strong { font-weight: normal; color: var(--red); }

/* who: tags in wobbly boxes */
.tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.tags span {
  font-family: var(--title); font-size: clamp(20px, 4vw, 26px);
  padding: 6px 18px; border: 3px solid var(--green); color: var(--green);
  border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
}

/* details */
dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; text-align: left; max-width: 560px; margin: 0 auto 32px; }
dt { font-family: var(--title); font-size: 22px; color: var(--grey); padding-top: 3px; }
dd { margin: 0; font-size: clamp(23px, 4.4vw, 28px); }

footer { text-align: center; padding: 6px 16px 40px; font-family: var(--hand); font-size: 18px; color: var(--grey); }

/* ---------- mobile ---------- */
@media (max-width: 600px) {
  main { padding: 16px 10px 4px; }
  .sheet { padding: 74px 22px 60px; margin-bottom: 30px; }
  .sheet::before { height: 32px; background-size: 70px 32px, auto; background-position: 0 0, 0 0; }
  h1 { font-size: 10vw; white-space: nowrap; }
  .sheet::after { top: 37px; }
  .thumbs { gap: 8px; }
  dl { grid-template-columns: 1fr; gap: 0; }
  dt { margin-top: 12px; font-size: 18px; }
}

/* ---------- hosts ---------- */
.headshot { display: block; width: min(320px, 78%); height: auto; margin: 0 auto 18px; transform: rotate(-1.5deg); }
.hosts { display: flex; justify-content: center; gap: clamp(8px, 4vw, 40px); margin: 0 auto 18px; }
.host { flex: 0 1 280px; margin: 0; min-width: 0; }
.host .headshot { width: 100%; margin: 0 auto 4px; }
.host-co .headshot { transform: rotate(1.5deg); }
.host figcaption { font-family: var(--hand); font-size: clamp(19px, 3.6vw, 24px); color: var(--grey); }
@media (max-width: 340px) {
  .hosts { flex-direction: column; align-items: center; }
  .host { flex-basis: auto; width: 78%; }
}
.hand-link {
  color: inherit; text-decoration: none; white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C 25 2, 55 7, 99 3' fill='none' stroke='%231e8741' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 7px;
  padding-bottom: 3px;
}
.hand-link:hover, .hand-link:focus-visible { color: var(--green); }
.hand-link svg { display: inline-block; vertical-align: -0.12em; margin-left: 4px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-out { width: .62em; height: .62em; }
.i-in { width: .95em; height: .95em; margin: 0 8px 0 0; }
.i-in.small-i { width: .8em; height: .8em; margin: 0 0 0 6px; }
.i-in .box { stroke: var(--ink); stroke-width: 2.2; }
.i-in path:not(.box) { stroke: var(--ink); stroke-width: 2.6; }
.link-row { margin: 0 0 6px; font-size: clamp(22px, 4vw, 26px); }
.link-row .tag { padding: 2px 4px 5px; }

/* ---------- request a seat form ---------- */
.curated { color: var(--grey); margin-top: 0; }
.seat-form { max-width: 520px; margin: 10px auto 0; text-align: left; }
.seat-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.seat-form label { display: block; font-family: var(--title); font-size: 18px; color: var(--grey); margin: 0 0 18px; letter-spacing: .3px; }
.seat-form input {
  display: block; width: 100%; margin-top: 2px;
  font-family: var(--brush); font-size: 26px; color: var(--ink);
  background: transparent; border: 0; outline: 0; padding: 4px 2px 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 8' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C 60 6, 140 2, 200 5 S 280 3, 298 5' fill='none' stroke='%231c1c22' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left bottom; background-size: 100% 8px;
}
.seat-form input::placeholder { color: #b5b3ab; font-size: 20px; }
.seat-form input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 8' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C 60 6, 140 2, 200 5 S 280 3, 298 5' fill='none' stroke='%231e8741' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.seat-form input:user-invalid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 8' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C 60 6, 140 2, 200 5 S 280 3, 298 5' fill='none' stroke='%23c82626' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.seat-form .btn { display: block; margin: 8px auto 0; cursor: pointer; font-family: var(--title); }
.seat-form .btn[disabled] { opacity: .55; cursor: wait; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 22px; text-align: center; margin: 0 0 10px; }
.thanks { padding: 10px 0 6px; }
.tick { width: 120px; height: 120px; display: block; margin: 0 auto 6px; overflow: visible; }
.tick path { fill: none; stroke-linecap: round; stroke-linejoin: round; filter: url(#rough); }
.tick .ring { stroke: var(--red); stroke-width: 4; }
.tick .check { stroke: var(--green); stroke-width: 8; }
.thanks-title { font-family: var(--title); font-size: clamp(38px, 7vw, 54px); margin: 0 0 10px; }

@media (max-width: 600px) {
  .seat-form .row { grid-template-columns: 1fr; }
  .hand-link { white-space: normal; }
}

/* ---------- doodles (decorative, aria-hidden) ---------- */
:root { --berry: #8a1c33; }
.doodle { pointer-events: none; overflow: visible; }
.doodle path, .doodle circle, .doodle rect { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#rough); }
.sheet > *:not(.doodle):not(.num) { position: relative; z-index: 1; }
.details { overflow: hidden; }

/* 1. little flipchart easel above the title */
.easel { display: block; width: 150px; height: 100px; margin: -20px auto 2px; }
.easel .g { stroke: var(--green); stroke-width: 3; }
.easel .r { stroke: var(--red); stroke-width: 2.6; }

/* 2. marker pen in the footer */
.marker { display: block; width: 150px; height: 60px; margin: 0 auto 2px; }
.marker .cap { stroke: var(--red); fill: rgba(200, 38, 38, .12); }
.marker .scribble { stroke: var(--red); stroke-width: 2.4; }

@media (max-width: 600px) {
  .easel { width: 96px; height: 64px; }
}

/* ---------- chart gallery (lightbox) ---------- */
.thumbs a { cursor: zoom-in; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(28, 22, 24, .96); display: flex; align-items: center; justify-content: center; padding: 56px 76px 20px; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; background: #f6f3ec; box-shadow: 0 6px 30px rgba(0,0,0,.5); border-radius: 2px; user-select: none; -webkit-user-drag: none; }
.lb figcaption { margin-top: 12px; color: #f6f3ec; font-family: "Gochi Hand", cursive; font-size: 22px; text-align: center; line-height: 1.2; }
.lb-count { font-family: "Permanent Marker", cursive; color: #f2a7b5; margin-right: 6px; }
.lb-btn { position: absolute; background: #f6f3ec; border: 3px solid var(--ink); border-radius: 50% 46% 52% 48% / 48% 54% 46% 52%; width: 56px; height: 56px; padding: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 2px 3px 0 rgba(0,0,0,.35); transition: transform .15s ease; }
.lb-btn svg { width: 100%; height: 100%; overflow: visible; }
.lb-btn path { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; filter: url(#rough); }
.lb-prev path, .lb-next path { stroke: var(--berry); }
.lb-btn:hover, .lb-btn:focus-visible { transform: rotate(-6deg) scale(1.06); outline: none; }
.lb-btn:focus-visible { box-shadow: 0 0 0 4px #f2a7b5; }
.lb-prev { left: 12px; top: 50%; margin-top: -28px; }
.lb-next { right: 12px; top: 50%; margin-top: -28px; }
.lb-close { top: 10px; right: 12px; width: 48px; height: 48px; }
@media (max-width: 640px) {
  .lb { padding: 60px 10px 86px; }
  .lb-img { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-prev { left: 22%; } .lb-next { right: 22%; }
  .lb figcaption { font-size: 19px; }
}

/* ---------- notices (18+, privacy) ---------- */
.notice-inline { max-width: 560px; margin: -12px auto 26px; }
.form-consent { font-size: 17px; margin: 4px 0 14px; text-align: left; }
.form-consent a, footer a { color: inherit; }
footer .notice { max-width: 640px; margin: 10px auto 6px; font-size: 16px; line-height: 1.35; }
footer .legal { max-width: 640px; margin: 0 auto; font-size: 15px; }
.privacy { max-width: 760px; margin: 0 auto; text-align: left; }
.privacy h1 { font-size: clamp(34px, 6vw, 48px); }
.privacy h2 { font-size: clamp(24px, 4vw, 30px); margin-top: 28px; }
.privacy p, .privacy li { font-size: 19px; line-height: 1.5; }
.privacy p, .privacy li { font-family: var(--hand); }
