/* PrankAI: cartoon prank call. Navy ink outlines, flat fills, pale ice paper. */
@font-face {
  font-family: "Gluten"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("/assets/gluten-800.66efe4b971.woff2") format("woff2");
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/onest.2dccb469cc.woff2") format("woff2");
}
:root {
  --ink: #1b2350;          /* outlines and text */
  --ink-2: #445080;
  --ink-3: #5a6591;
  --ice: #eaf5fb;          /* page */
  --snow: #ffffff;
  --red: #d2331f;          /* actions */
  --red-lip: #8f2213;
  --red-soft: #fde2dc;
  --teal: #1c7a6b;         /* answer, yes */
  --teal-lip: #10493f;
  --teal-soft: #d3efe8;
  --mustard: #f5be3a;      /* highlights */
  --mustard-soft: #fdf0c8;
  --pink: #f6b3aa;
  --focus: #2459e0;

  --font-display: "Gluten", "Comic Sans MS", "Chalkboard SE", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --line: 3px solid var(--ink);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --blob-a: 28px 20px 32px 18px / 20px 30px 18px 28px;   /* hand-drawn, never the same radius twice */
  --blob-b: 22px 30px 20px 34px / 30px 20px 32px 22px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--ice); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: var(--space-4); top: -4rem; z-index: 10; background: var(--snow); border: var(--line); padding: var(--space-3) var(--space-4); border-radius: 999px; font-weight: 600; }
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 38rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.star { width: 1em; height: 1em; flex: none; }

/* ---------- type ---------- */
.hero__title, .section__title, .flow__title, .tag__title, .tag__amount, .notepad__title, .closing__title,
.call__name, .steps__n, .wordmark, .call__burst, .day b, .total strong {
  font-family: var(--font-display);
}

/* ---------- buttons: candy with a squishy base ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); border: var(--line); border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 90ms ease, box-shadow 90ms ease, background-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--large { min-height: 58px; padding: 0 var(--space-8); font-size: 1.125rem; }
.btn--small { min-height: 44px; padding: 0 var(--space-4); font-size: 0.9375rem; }
.btn--primary { background: var(--red); color: var(--snow); box-shadow: 0 5px 0 var(--red-lip); margin-bottom: 5px; }
.btn--primary::after {
  content: ""; position: absolute; left: 0.85rem; top: 0.3rem; width: 1.1rem; height: 0.35rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.45); pointer-events: none;
}
.btn--primary:hover { background: #bf2c19; }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--red-lip); }
.btn--secondary { background: var(--snow); color: var(--ink); box-shadow: 0 4px 0 var(--ink); margin-bottom: 4px; }
.btn--secondary:hover { background: var(--mustard-soft); }
.btn--secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--quiet { border-color: transparent; background: transparent; padding-inline: var(--space-3); }
.btn--quiet:hover { background: var(--snow); border-color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 3; background: var(--ice); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 800; font-size: 1.625rem; line-height: 1; text-decoration: none; letter-spacing: 0.01em; }
.wordmark .star { color: var(--mustard); width: 1em; height: 1em; transform: rotate(-12deg); }
.wordmark .star path { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; paint-order: stroke; }
.wordmark--small { font-size: 1.25rem; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__link { display: none; }
.site-nav__link a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.site-nav__link a:hover { color: var(--ink); text-decoration: underline wavy var(--red); }
.site-nav .btn { margin-bottom: 0; box-shadow: 0 3px 0 var(--red-lip); }
@media (min-width: 52rem) { .site-nav__link { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--space-6) 0; background: var(--ice); }
.sky { position: absolute; inset: 0; pointer-events: none; color: var(--ink); }
.sky__doodle { position: absolute; width: 2rem; opacity: 0.28; }
.sky__doodle .doodle { width: 100%; height: auto; }
.sky__doodle--1 { left: 5%; top: 7%; transform: rotate(12deg); color: var(--red); opacity: 0.45; }
.sky__doodle--2 { left: 44%; top: 3%; width: 2.5rem; }
.sky__doodle--3 { right: 7%; top: 10%; width: 2.75rem; transform: rotate(-12deg); color: var(--teal); opacity: 0.5; }
.sky__doodle--4 { left: 3%; top: 60%; width: 1.5rem; color: var(--mustard); opacity: 0.9; }
.sky__doodle--5 { right: 4%; top: 55%; width: 2.25rem; transform: rotate(20deg); }
.sky__doodle--6 { left: 42%; top: 70%; width: 1.5rem; color: var(--red); opacity: 0.4; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--space-10); align-items: center; padding-bottom: var(--space-12); }
.hero__title {
  font-weight: 800; font-size: clamp(3.5rem, 17vw, 7rem); line-height: 0.88; letter-spacing: -0.01em;
  color: var(--ink); max-width: 6em; transform: rotate(-2deg); transform-origin: left center;
  -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--mustard), 6px 6px 0 var(--ink);
}
.hero__lede { margin-top: var(--space-8); max-width: 34ch; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.hero__actions { margin-top: var(--space-8); display: grid; gap: var(--space-3); justify-items: start; }
.hero__note { font-size: 0.9375rem; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 30rem) { .hero__actions .btn { width: 100%; } }
.hills { display: block; width: 100%; height: clamp(3.5rem, 8vw, 6rem); margin-top: -1px; }
.hero .hills { position: relative; z-index: 2; margin-bottom: -2px; }
@media (min-width: 60rem) {
  .hero { padding-top: var(--space-10); }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-16); }
}

/* ---------- the stage: Santa + phone ---------- */
.stage { position: relative; display: grid; justify-items: center; padding-top: 5.5rem; }
.stage__actor { position: absolute; top: 0.25rem; left: max(-0.75rem, calc(50% - 12.75rem)); width: 9.5rem; z-index: 0; transform: rotate(-8deg); }
.call { position: relative; z-index: 1; }
.art { width: 100%; height: auto; overflow: visible; }
@media (min-width: 60rem) {
  .stage { padding-top: 6.5rem; }
  .stage__actor { width: 10rem; left: calc(50% - 13.75rem); }
}

.call { display: grid; justify-items: center; gap: var(--space-4); width: 100%; }
.call__phone {
  position: relative; width: min(100%, 20.5rem); padding: 0.9rem; border: var(--line); border-radius: 2.75rem 2.5rem 2.75rem 2.4rem;
  background: var(--teal); box-shadow: 8px 10px 0 rgba(27, 35, 80, 0.16); transform: rotate(3deg);
}
.call__phone::before { /* speaker slot */
  content: ""; position: absolute; top: 0.38rem; left: 50%; width: 3.5rem; height: 0.3rem; margin-left: -1.75rem;
  border-radius: 999px; background: var(--ink);
}
.call__screen {
  position: relative; padding: var(--space-6) var(--space-5) var(--space-6); border: var(--line);
  border-radius: 2rem 1.8rem 2rem 1.75rem; background: var(--snow); text-align: center;
}
.call__burst {
  position: absolute; z-index: 3; top: -2.25rem; right: -1.5rem; display: grid; place-items: center;
  min-width: 7.5rem; height: 5.25rem; padding: 0.15rem 1.9rem 0; white-space: nowrap; font-weight: 800; font-size: 1.375rem; color: var(--ink);
  background: var(--mustard); transform: rotate(10deg);
  clip-path: polygon(50% 0, 60% 22%, 82% 6%, 78% 30%, 100% 28%, 86% 48%, 100% 66%, 78% 68%, 84% 94%, 62% 78%, 50% 100%, 40% 78%, 16% 94%, 22% 68%, 0 66%, 14% 48%, 0 28%, 22% 30%, 18% 6%, 40% 22%);
  filter: drop-shadow(0 0 0 var(--ink));
}
.call__screen:not([data-state="ringing"]) ~ .call__burst, .call__phone:has(.call__screen:not([data-state="ringing"])) .call__burst { display: none; }
.call__status { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); min-height: 1.6em; font-variant-numeric: tabular-nums; }
.call__avatar {
  position: relative; display: grid; place-items: center; margin: var(--space-4) auto var(--space-3);
  width: 7rem; height: 7rem; border: var(--line); border-radius: 50%; background: var(--mustard-soft); overflow: visible;
}
.call__avatar .art { width: 4.6rem; }
.call__avatar::before, .call__avatar::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--red); opacity: 0; }
.call__name { font-weight: 800; font-size: 2rem; line-height: 1.05; }
.call__place { color: var(--ink-2); font-size: 0.9375rem; }
.call__lines { display: grid; gap: var(--space-3); margin-top: var(--space-5); text-align: start; }
.call__lines:empty { display: none; }
.call__line { font-size: 0.9375rem; line-height: 1.45; padding: var(--space-2) var(--space-3); border: 2px solid var(--ink); border-radius: 16px 16px 16px 4px; background: var(--mustard-soft); }
.call__line b { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--red-lip); }
.call__line--friend { background: var(--teal-soft); border-radius: 16px 16px 4px 16px; margin-inline-start: 1.5rem; }
.call__line--friend b { color: var(--teal-lip); }
.call__missed { margin-top: var(--space-4); font-size: 0.9375rem; color: var(--ink-2); }
.call__actions { display: flex; justify-content: center; gap: var(--space-12); margin-top: var(--space-6); }
.call__actions[data-call-actions="connected"], .call__actions[data-call-actions="ended"] { gap: 0; }
.call__action { display: grid; justify-items: center; gap: var(--space-2); font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.call__btn {
  display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border: var(--line); border-radius: 50%;
  color: var(--snow); cursor: pointer; transition: transform 90ms ease, box-shadow 90ms ease;
}
.call__btn .icon { width: 1.75rem; height: 1.75rem; stroke-width: 2.6; }
.call__btn--decline { background: var(--red); box-shadow: 0 4px 0 var(--red-lip); }
.call__btn--answer { background: var(--teal); box-shadow: 0 4px 0 var(--teal-lip); }
.call__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.call__caption { font-size: 0.875rem; color: var(--ink-2); text-align: center; max-width: 30ch; }

/* One orchestrated moment: the phone rings when the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .call__phone:has([data-state="ringing"]) { animation: ring 2.2s ease-in-out 0.5s 4; }
  .call__burst { animation: pop 2.2s ease-in-out 0.5s 4; }
  [data-state="ringing"] .call__avatar::before { animation: halo 2.2s ease-out 0.5s 4; }
  [data-state="ringing"] .call__avatar::after { animation: halo 2.2s ease-out 0.95s 4; }
  .stage__actor { animation: bob 2.2s ease-in-out 0.5s 4; }
  .call__line { animation: line-in 280ms cubic-bezier(.3,1.4,.6,1) both; }
}
@keyframes ring {
  0%, 34%, 100% { transform: rotate(3deg); }
  4% { transform: rotate(-2deg) translateX(-3px); } 8% { transform: rotate(7deg) translateX(3px); }
  12% { transform: rotate(-2deg) translateX(-3px); } 16% { transform: rotate(7deg) translateX(3px); }
  20% { transform: rotate(0deg); } 26% { transform: rotate(4deg); }
}
@keyframes pop { 0%, 100% { transform: rotate(10deg) scale(1); } 6% { transform: rotate(4deg) scale(1.15); } 14% { transform: rotate(14deg) scale(0.95); } 22% { transform: rotate(10deg) scale(1); } }
@keyframes halo { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes bob { 0%, 100% { transform: rotate(-8deg) translateY(0); } 10% { transform: rotate(-12deg) translateY(-6px); } 20% { transform: rotate(-6deg) translateY(0); } }
@keyframes line-in { from { opacity: 0; transform: scale(0.85) translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 10vw, 6.5rem); }
.section--snow { background: var(--snow); }
.section--ice { background: var(--ice); }
.section__title { font-weight: 800; font-size: clamp(2.375rem, 7vw, 3.75rem); line-height: 0.98; max-width: 15ch; text-wrap: balance; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }

/* steps, joined by a curly phone cord */
.steps { position: relative; display: grid; gap: var(--space-10); margin-top: var(--space-12); }
.steps::before {
  content: ""; position: absolute; left: 1.55rem; top: 2rem; bottom: 2rem; width: 1.25rem; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 20 28'%3E%3Cpath d='M10 0c9 3 9 11 0 14S1 25 10 28' fill='none' stroke='%231B2350' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y center / 20px 28px;
}
.steps__item { position: relative; z-index: 1; display: grid; grid-template-columns: 4.25rem 1fr; column-gap: var(--space-4); align-items: start; }
.steps__n {
  display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border: var(--line); border-radius: 50%;
  font-weight: 800; font-size: 2.25rem; line-height: 1; padding-top: 0.2rem; background: var(--mustard);
}
.steps__item--2 .steps__n { background: var(--pink); transform: rotate(-6deg); }
.steps__item--3 .steps__n { background: var(--teal-soft); transform: rotate(5deg); }
.steps__title { font-size: 1.25rem; line-height: 1.3; font-weight: 700; margin-top: var(--space-2); }
.steps__item p { color: var(--ink-2); max-width: 34ch; margin-top: var(--space-1); }
@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
  .steps::before {
    left: 3rem; right: 3rem; top: 1.55rem; bottom: auto; width: auto; height: 1.25rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='20' viewBox='0 0 28 20'%3E%3Cpath d='M0 10c3-9 11-9 14 0s11 9 14 0' fill='none' stroke='%231B2350' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 28px 20px;
  }
  .steps__item { grid-template-columns: 1fr; }
  .steps__n { margin-bottom: var(--space-4); width: 4.75rem; height: 4.75rem; }
}

/* control: the parent's notepad */
.control { display: grid; gap: var(--space-12); align-items: start; }
.control__copy .lead { margin-top: var(--space-6); }
.facts { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.facts li { position: relative; padding-inline-start: 2.25rem; color: var(--ink-2); max-width: 40ch; }
.facts li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.15em; width: 1.4rem; height: 1.4rem; border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231C7A6B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.notepad {
  position: relative; padding: calc(var(--space-8) + 0.75rem) var(--space-6) var(--space-8); border: var(--line);
  border-radius: 10px 10px var(--blob-a); background: var(--snow);
  background-image: repeating-linear-gradient(180deg, transparent 0 2.45rem, #b9daf0 2.45rem calc(2.45rem + 2px));
  background-position: 0 5.85rem; box-shadow: 8px 10px 0 rgba(27, 35, 80, 0.14); transform: rotate(-2deg);
}
.notepad::before { /* spiral binding */
  content: ""; position: absolute; top: -0.85rem; left: 1rem; right: 1rem; height: 1.7rem;
  background: radial-gradient(circle at 50% 50%, var(--ice) 0 0.32rem, var(--ink) 0.34rem 0.52rem, transparent 0.54rem) 0 0 / 1.5rem 1.7rem repeat-x;
}
.notepad__title { font-weight: 800; font-size: 1.875rem; line-height: 1.05; color: var(--red); }
.notepad__child { color: var(--ink-2); font-weight: 600; margin-top: var(--space-1); }
.notepad__list { display: grid; gap: 0.15rem; margin-top: var(--space-6); }
.notepad__item { display: flex; gap: var(--space-3); align-items: center; min-height: 2.45rem; font-weight: 600; }
.notepad__item .icon { width: 1.75rem; height: 1.75rem; stroke-width: 3.4; }
.notepad__item--do .icon { color: var(--teal); }
.notepad__item--dont .icon { color: var(--red); }
@media (min-width: 52rem) { .control { grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; } .notepad { padding-inline: var(--space-10); } }

/* price on a gift tag */
.price { display: grid; gap: var(--space-10); align-items: center; }
.tag { position: relative; isolation: isolate; padding: var(--space-8) var(--space-8) var(--space-8) 5.25rem; transform: rotate(-3deg); max-width: 32rem; }
.tag__shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; filter: drop-shadow(8px 10px 0 rgba(27, 35, 80, 0.14)); }
.tag__hole { position: absolute; left: 2.1rem; top: 50%; width: 1.4rem; height: 1.4rem; margin-top: -0.7rem; border: var(--line); border-radius: 50%; background: var(--snow); }
.tag__hole::after { /* the string */
  content: ""; position: absolute; right: 100%; top: 50%; width: 3rem; height: 1.6rem; margin-top: -1.6rem;
  border: 3px solid var(--red); border-right: 0; border-bottom: 0; border-radius: 2rem 0 0 0;
}
.tag__title { font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.tag__amount { font-weight: 800; font-size: clamp(3.25rem, 13vw, 6rem); line-height: 0.95; margin-top: var(--space-2); white-space: nowrap; }
.tag__unit { font-weight: 600; margin-top: var(--space-2); }
.price__body { display: grid; justify-items: start; }
.price__list { display: grid; gap: var(--space-3); margin: 0 0 var(--space-8); padding: 0; list-style: none; max-width: 40ch; }
.price__list li { position: relative; padding-inline-start: 2rem; color: var(--ink-2); }
.price__list li::before { content: ""; position: absolute; inset-inline-start: 0.2rem; top: 0.45em; width: 0.85rem; height: 0.85rem; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--mustard); }
@media (min-width: 52rem) { .price { grid-template-columns: 1.1fr 1fr; gap: var(--space-16); } }

/* FAQ */
.faq { display: grid; gap: var(--space-10); }
.faq__list { display: grid; gap: var(--space-3); }
.faq__item { border: var(--line); border-radius: var(--blob-b); background: var(--snow); }
.faq__item:nth-child(even) { border-radius: var(--blob-a); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 3.5rem; padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231B2350' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat; transition: transform 160ms ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--pink); }
.faq__item p { padding: 0 var(--space-5) var(--space-5); color: var(--ink-2); max-width: 60ch; }
@media (min-width: 52rem) { .faq { grid-template-columns: 1fr 2fr; } }

/* closing: night with snow hills */
.closing { position: relative; background: var(--ink); color: var(--snow); padding-bottom: clamp(4rem, 9vw, 6rem); }
.closing .hills { background: var(--ice); margin-bottom: var(--space-8); }
.closing__inner { display: grid; gap: var(--space-4); justify-items: start; }
.closing__face { width: 7.5rem; transform: rotate(-8deg); }
.closing__title { font-weight: 800; font-size: clamp(2.375rem, 7vw, 4rem); line-height: 0.98; max-width: 14ch; }
.closing p { color: #c9d2ef; }
.closing .btn { margin-top: var(--space-4); border-color: var(--snow); }
.closing :focus-visible { outline-color: #9fb9ff; }

.site-footer { padding-block: var(--space-10); background: var(--ice); font-size: 0.9375rem; color: var(--ink-2); border-top: var(--line); }
.page-home .site-footer { border-top: 0; background: var(--ink); color: #c9d2ef; }
.page-home .site-footer :focus-visible { outline-color: #9fb9ff; }
.page-home .site-footer .wordmark { color: var(--snow); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); align-items: center; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.site-footer__links a { display: inline-block; padding-block: var(--space-2); }
.site-footer__copy { margin-inline-start: auto; }

/* ---------- booking ---------- */
.booking-header { background: var(--ice); border-bottom: var(--line); }
.booking-header__inner { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; }
.booking-header__exit { font-weight: 600; color: var(--ink-2); padding: var(--space-2); }
.preview-notice { background: var(--mustard); color: var(--ink); text-align: center; font-size: 0.875rem; font-weight: 600; line-height: 1.45; padding: var(--space-2) var(--gutter); border-bottom: var(--line); }
.progress { max-width: 38rem; padding-bottom: var(--space-4); }
.progress__label { display: flex; gap: var(--space-2); font-size: 0.9375rem; color: var(--ink-2); }
.progress__label strong { color: var(--ink); font-weight: 700; }
.beads { position: relative; display: flex; justify-content: space-between; margin-top: var(--space-3); padding-inline: 0.25rem; }
.beads::before { /* the phone cord */
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; top: 50%; height: 0.9rem; margin-top: -0.45rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 7c3-7 11-7 14 0s11 7 14 0' fill='none' stroke='%231B2350' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 22px 11px;
}
.bead { position: relative; width: 1.6rem; height: 1.6rem; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--snow); }
.bead.is-done.bead--1 { background: var(--red); }
.bead.is-done.bead--2 { background: var(--mustard); }
.bead.is-done.bead--3 { background: var(--teal); }
.bead.is-done.bead--4 { background: var(--pink); }

.flow { display: grid; gap: var(--space-8); padding-block: var(--space-8) 0; }
.flow__title { font-weight: 800; font-size: clamp(2.25rem, 8.5vw, 3rem); line-height: 1; text-wrap: balance; }
.flow__lede { margin-top: calc(var(--space-6) * -1); color: var(--ink-2); }
.field { display: grid; gap: var(--space-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-weight: 700; font-size: 1.0625rem; line-height: 1.35; padding: 0; }
.optional { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.45; }
.field__error { font-size: 0.9375rem; font-weight: 700; color: #a3200f; }
.field__error { display: flex; gap: 0.4rem; align-items: flex-start; }
.field__error::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; border-radius: 50%; background: #a3200f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 17.5v.5' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 56px; padding: 0.875rem var(--space-4); font-size: 1.0625rem; line-height: 1.4;
  background: var(--snow); border: var(--line); border-radius: 18px 14px 18px 12px; transition: box-shadow 120ms ease;
}
.field textarea { resize: vertical; min-height: 6.5rem; border-radius: var(--blob-b); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--mustard); }
.field [aria-invalid="true"] { border-color: var(--red) !important; background: #fff7f5; }
.reveal { margin-top: var(--space-4); }

.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input, .option input, .day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 3.25rem; min-height: 3rem;
  padding: 0 var(--space-4); border: var(--line); border-radius: 999px; background: var(--snow);
  font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 3px 0 var(--ink); margin-bottom: 3px;
  transition: transform 90ms ease, box-shadow 90ms ease, background-color 120ms ease;
}
.choice--wide span { padding-inline: var(--space-5); }
.choice input:hover + span { background: var(--mustard-soft); }
.choice input:checked + span { background: var(--teal); color: var(--snow); transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice input:disabled + span { background: var(--ice); color: var(--ink-3); box-shadow: none; border-style: dashed; text-decoration: line-through; }
.choice input:disabled { cursor: not-allowed; }
.field[data-invalid="true"] .choice span, .field[data-invalid="true"] .option { border-color: var(--red); }

.options { display: grid; gap: var(--space-3); }
.option { position: relative; display: flex; gap: var(--space-3); padding: var(--space-4); border: var(--line); border-radius: var(--blob-a); background: var(--snow); cursor: pointer; }
.option + .option { border-radius: var(--blob-b); }
.option::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.05rem; border-radius: 50%; border: 3px solid var(--ink); background: var(--snow); }
.option:has(input:checked) { background: var(--teal-soft); }
.option:has(input:checked)::before { background: radial-gradient(circle, var(--teal) 0 0.36rem, var(--snow) 0.4rem); }
.option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.option__text { display: grid; gap: var(--space-1); }
.option__text strong { font-weight: 700; }
.option__text span { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }

.check { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; line-height: 1.45; font-weight: 500; }
.check input { flex: none; width: 1.6rem; height: 1.6rem; margin: 0; accent-color: var(--teal); cursor: pointer; }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)); gap: var(--space-2); }
.day { position: relative; }
.day span {
  display: grid; justify-items: center; gap: 0.1rem; padding: var(--space-3) var(--space-1); border: var(--line);
  border-radius: 16px 12px 18px 12px; background: var(--snow); line-height: 1.15; box-shadow: 0 3px 0 var(--ink); margin-bottom: 3px;
  transition: transform 90ms ease, box-shadow 90ms ease;
}
.day:nth-child(3n + 2) span { border-radius: 12px 18px 12px 16px; }
.day small { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.day b { font-size: 1.75rem; font-weight: 800; padding-top: 0.15rem; }
.day input:hover + span { background: var(--mustard-soft); }
.day input:checked + span { background: var(--red); color: var(--snow); transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.day input:checked + span small { color: #ffe3dd; }
.day input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
[data-more-days] { justify-self: start; margin-top: var(--space-2); }
.slot-group { display: grid; gap: var(--space-2); }
.slot-group + .slot-group { margin-top: var(--space-4); }
.slot-group__label { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }

.summary { display: grid; border: var(--line); border-radius: var(--blob-a); background: var(--snow); padding-inline: var(--space-4); }
.summary__row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); padding-block: var(--space-4); border-bottom: 2px dashed #b9c4e3; }
.summary__row:last-child { border-bottom: 0; }
.summary dt { font-size: 0.875rem; color: var(--ink-3); grid-column: 1; }
.summary dd { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; }
.summary__edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; color: #a3200f; padding: var(--space-2); }
.summary__empty { color: var(--ink-3); font-weight: 400; }
.note { font-size: 0.9375rem; color: var(--ink-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-4); border-top: var(--line); font-weight: 600; }
.total strong { font-size: 2rem; font-weight: 800; }

.flow__actions {
  position: sticky; bottom: 0; z-index: 1; display: grid; gap: var(--space-3);
  margin-inline: calc(var(--gutter) * -1); padding: var(--space-4) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--ice); border-top: var(--line);
}
.flow__buttons { display: flex; gap: var(--space-2); align-items: center; }
.flow__buttons .btn--primary { flex: 1; }
.flow__fineprint { font-size: 0.875rem; color: var(--ink-2); text-align: center; }
@media (min-width: 40rem) {
  .flow__actions { position: static; margin-inline: 0; padding-inline: 0; border-top: 0; padding-bottom: var(--space-12); }
  .flow__buttons { justify-content: space-between; }
  .flow__buttons .btn--primary { flex: none; min-width: 14rem; }
  .flow__fineprint { text-align: start; }
}

.error-summary { border: var(--line); border-radius: var(--blob-a); background: var(--red-soft); padding: var(--space-4) var(--space-5); }
.error-summary p { font-weight: 700; }
.error-summary ul { margin-top: var(--space-2); padding-inline-start: 1.2em; }
.error-summary a { color: #a3200f; font-weight: 600; }

.done { display: grid; gap: var(--space-6); justify-items: start; padding-block: var(--space-10) var(--space-16); }
.done__art { width: 6rem; transform: rotate(-6deg); }
.done__badge { display: grid; place-items: center; width: 5rem; height: 5rem; border: var(--line); border-radius: 50%; background: var(--teal-soft); color: var(--teal); transform: rotate(-6deg); }
.done__badge .icon { width: 2.25rem; height: 2.25rem; stroke-width: 3.2; }
.done__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.done__subtitle { font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; margin-top: var(--space-4); }
.done .facts { margin-top: 0; }
.text-page { padding-block: var(--space-12) var(--space-16); display: grid; gap: var(--space-6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media (forced-colors: active) {
  .choice input:checked + span, .day input:checked + span { border: 4px solid Highlight; }
  .hero__title { text-shadow: none; }
}

/* ---------- pranks ---------- */
.pranks { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
.prank {
  position: relative; display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6);
  border: var(--line); border-radius: var(--blob-a); background: var(--snow); box-shadow: 6px 8px 0 rgba(27, 35, 80, 0.12);
}
.prank:nth-child(even) { border-radius: var(--blob-b); }
.prank--courier { transform: rotate(-1.5deg); background: var(--mustard-soft); }
.prank--parrot { transform: rotate(1deg); background: var(--teal-soft); }
.prank--kum { transform: rotate(1.5deg); background: var(--red-soft); }
.prank--barber { transform: rotate(-1deg); background: #fde8f0; }
.prank__art { width: 5.5rem; margin-bottom: var(--space-2); }
.prank__title { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1.05; }
.prank p { color: var(--ink-2); }
@media (min-width: 40rem) { .pranks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pranks { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.option--art { align-items: center; }
.option--art::before { align-self: center; }
.option__art { flex: none; width: 3.75rem; }
.option.is-disabled { opacity: 0.55; cursor: not-allowed; border-style: dashed; }
.flow__group { display: grid; gap: var(--space-8); margin-top: calc(var(--space-4) * -1); }

/* ---------- language menu (scales to dozens of languages) ---------- */
.langs { position: relative; }
.langs summary {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4);
  border: 2.5px solid currentColor; border-radius: 999px; cursor: pointer; list-style: none; font-weight: 600;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-25%); }
.langs__list {
  position: absolute; bottom: calc(100% + var(--space-2)); inset-inline-start: 0; z-index: 5; min-width: 12rem; max-height: 60vh; overflow: auto;
  display: grid; padding: var(--space-2); border: var(--line); border-radius: 18px 14px 18px 12px; background: var(--snow); color: var(--ink);
}
.langs__list a { display: block; padding: var(--space-2) var(--space-3); border-radius: 10px; text-decoration: none; font-weight: 600; }
.langs__list a:hover { background: var(--mustard-soft); }
.langs__list a[aria-current="page"] { background: var(--teal-soft); }
.langs__list--open { position: static; margin-top: var(--space-6); max-width: 20rem; }
.page-home .langs__list :focus-visible { outline-color: var(--focus); }
