/* ===========================================================================
   Wi-Pie — the homepage, "Sky to Space" (DECISIONS, 2026-11-20).
   Layout: nav / the sky (the truck's wrap) / lift-off / strip / menu / find /
   book / questions / request / the List / footer / phone dock.

   The first screen is light, like the truck: sky blue, swirls and the red
   checkers. Everything below the lift-off is space: navy, stars, yellow
   headings. The colours are the logo files' own (Wi-Pie_Logo_Files, 11-19).

   The catering, giveaway and 404 pages use this file too (THE OTHER PAGES).

   CSP-clean: no inline styles anywhere, and the fonts are this site's own
   files, so font-src 'self' stays as it is.
   =========================================================================== */

/* --- fonts --------------------------------------------------------------- */
/* Both under the SIL Open Font License (assets/fonts/OFL-*.txt). Caveat Brush
   stands in for the hand lettering on the covers; Nunito is a variable font,
   one file for every weight. */
@font-face {
  font-family: "Caveat Brush";
  src: url("../fonts/caveat-brush.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

/* --- tokens -------------------------------------------------------------- */
:root {
  color-scheme: light;             /* the forms are white cards: light pickers */

  /* the logo files' colours */
  --red:       #DE3C3A;            /* logo, checkers, big type only */
  --red-deep:  #C8302E;            /* buttons and bands: white text passes on it */
  --red-ink:   #A4231F;            /* small red text on light backgrounds */
  --navy:      #163E84;
  --navy-deep: #0F2D66;
  --navy-line: #3E6BB5;
  --blue:      #7BBBFB;
  --blue-mid:  #4F7FC4;
  --sky:       #CFE6FB;
  --yellow:    #F5CE45;
  --orange:    #E38E34;

  --mist:      #DCEBFB;            /* body text on navy */
  --ink-soft:  #4F6A9A;            /* secondary text on white */

  --wrap: 1160px;
  --r: 18px;
  --r-lg: 24px;
  --nav-h: 76px;

  --font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Caveat Brush", "Comic Sans MS", "Segoe Print", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* the star field behind the space sections: three tiles of dots, no motion */
  --stars:
    radial-gradient(circle at 24px 36px,   #fff 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 150px 110px, rgba(255, 255, 255, .85) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 270px 60px,  #fff 0 1px, transparent 1.6px);
  --stars-size: 310px 190px, 430px 270px, 540px 340px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.8rem, 7vw, 4.6rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }

/* Focus: navy on the light parts, yellow on the dark ones. */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.strip :focus-visible, .section :focus-visible, .cta :focus-visible,
.footer :focus-visible, .dock :focus-visible { outline-color: var(--yellow); }
.section .form :focus-visible { outline-color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--yellow); color: var(--navy); padding: .6rem 1rem; border-radius: 8px;
  font-weight: 800; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.wrap--split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .wrap--split { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* --- buttons ------------------------------------------------------------- */
/* On the light parts: red, and white with a navy edge. In space: yellow, and
   clear with a light-blue edge. Inside a white form card: red again. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px;
  border: 3px solid transparent;
  font: 800 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.btn--primary { background: var(--red-deep); color: #fff; }
.btn--primary:hover { background: var(--red-ink); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn--block { width: 100%; }

.section .btn--primary, .cta .btn--primary { background: var(--yellow); color: var(--navy); }
.section .btn--primary:hover, .cta .btn--primary:hover { background: #FFE07A; }
.section .btn--ghost { background: transparent; color: #fff; border-color: var(--blue); }
.section .btn--ghost:hover { border-color: var(--yellow); }
.section .form .btn--primary { background: var(--red-deep); color: #fff; }
.section .form .btn--primary:hover { background: var(--red-ink); }

/* --- nav ----------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 1.6rem;
  min-height: var(--nav-h);
  padding: .6rem clamp(1.2rem, 4vw, 2.4rem);
  border-bottom: 2px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s;
}
/* Clear over the sky; sky-coloured once past it, like a strip off the truck.
   A solid tint, never a backdrop blur (DECISIONS, 2026-10-06). */
.nav.is-stuck { background: rgba(207, 230, 251, .97); border-bottom-color: rgba(22, 62, 132, .18); }
.nav__brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.nav__logo { display: block; width: auto; height: 44px; }
.nav__links { display: none; gap: 1.8rem; font-size: 1rem; font-weight: 800; }
.nav__links a { color: var(--navy); text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav__cta { display: none; }
@media (min-width: 860px) { .nav__links { display: flex; } .nav__cta { display: inline-flex; } }

.nav__toggle {
  display: grid; gap: 5px; place-content: center;
  width: 46px; height: 46px; padding: 0;
  background: #fff; border: 3px solid var(--navy);
  border-radius: 14px; cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 2.6px; border-radius: 2px; background: var(--navy); transition: .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
@media (min-width: 860px) { .nav__toggle { display: none; } }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--sky);
  border-bottom: 2px solid rgba(22, 62, 132, .18);
  padding: .6rem clamp(1.3rem, 4vw, 2.4rem) 1.6rem;
}
.drawer nav { display: grid; gap: .2rem; }
.drawer a {
  padding: .85rem .2rem; font-size: 1.2rem; font-weight: 800; color: var(--navy);
  border-bottom: 1px solid rgba(22, 62, 132, .15); text-decoration: none;
}

/* ===========================================================================
   THE SKY — the truck's wrap as the first screen
   =========================================================================== */
.hero {
  --waves-h: clamp(150px, 23vw, 300px);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sky);
  /* the words end above the waves' mid-blue (it starts 58% down their strip) */
  padding: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3.5rem)) 0 calc(var(--waves-h) * .7);
  scroll-margin-top: 0;
}
/* the navy line from the wrap, sized to the page width; phones skip it */
.hero__sky { position: absolute; inset: 0 0 auto 0; z-index: -1; width: 100%; height: auto; }
@media (max-width: 899px) { .hero__sky { display: none; } }
.hero__waves { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: var(--waves-h); display: block; }
.hero__grid { display: grid; gap: clamp(2.4rem, 6vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 1fr; } }

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.title { font-size: clamp(3rem, 7.6vw, 5.4rem); line-height: .95; margin: 0 0 1.1rem; }
.tagline { font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 800; margin: 0 0 .4rem; }
.hero-lede { font-size: 1.08rem; max-width: 32rem; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 .9rem; }
.hero-note { font-size: .92rem; margin: 0; }

/* The planet on its white panel, with checker blocks on two corners, as it
   sits on the side of the truck. The checkers are pure CSS. */
.hero__badge {
  position: relative; justify-self: center;
  width: min(100%, 25rem); aspect-ratio: 1 / 1;
  display: grid; place-items: center; padding: 7%;
  background: #fff; border-radius: 8px;
}
.hero__badge::before, .hero__badge::after {
  content: ''; position: absolute;
  background: repeating-conic-gradient(var(--red) 0 25%, transparent 0 50%);
}
.hero__badge::before { top: -10.5%; right: -10.5%; width: 42%; height: 42%; background-size: 50% 50%; }
.hero__badge::after { bottom: -10.5%; left: -10.5%; width: 31.5%; height: 31.5%; background-size: 66.667% 66.667%; }
.hero__badge img { position: relative; z-index: 1; display: block; width: 100%; }
/* On a phone the logo comes first and smaller, with the buttons in reach. */
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--nav-h) + .75rem); }
  /* smaller on short screens, so the buttons stay on the first screen */
  .hero__badge { order: -1; width: min(56vw, 14rem, 28vh); margin-top: .75rem; }
  .hero__grid { gap: 2rem; }
  /* centred words cross the waves' peak too, so clear the whole strip */
  .hero { padding-bottom: calc(var(--waves-h) + .5rem); }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  /* the main button full width, the other two side by side under it */
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.3rem 0 .8rem; }
  .actions .btn--primary { grid-column: 1 / -1; }
  .actions .btn { padding-inline: .6rem; }
  .title { margin-bottom: .8rem; }
}

/* Short phones (an iPhone SE with Safari's bars is about 375 x 550): the
   main button has to stay on the first screen, so the logo shrinks and the
   extra line goes. */
@media (max-width: 899px) and (max-height: 720px) {
  .hero__badge { width: min(40vw, 9.5rem); }
  .hero-lede { display: none; }
}
@media (max-width: 899px) and (max-height: 600px) {
  .title { font-size: 2.6rem; }
  .hero__grid { gap: 1.2rem; }
}

/* Lift-off: from the sky's last blue into space. */
.liftoff {
  position: relative; margin-top: -1px;
  height: clamp(84px, 11vw, 150px);
  background: var(--blue-mid);
  overflow: hidden;
}
.liftoff::after {               /* the first stars, in the navy at the bottom */
  content: ''; position: absolute; inset: 55% 0 0 0;
  background-image: var(--stars); background-size: var(--stars-size);
}
.liftoff__waves { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.liftoff__rocket { position: absolute; z-index: 1; right: 12%; top: 22%; width: clamp(38px, 5vw, 64px); height: auto; }
.liftoff__ufo { position: absolute; z-index: 1; left: 8%; top: 30%; width: clamp(64px, 9vw, 120px); height: auto; }


/* ===========================================================================
   PIZZA COSMOS — asteroids and comets
   Plain CSS animation of transform and opacity only, so the browser moves
   them without redrawing the page. Behind the content, never clickable, and
   gone entirely under Reduce Motion. Each movement is split across nested
   elements with different, unrelated timings (drift, bob, tumble; fly, lob,
   tilt), so no two passes look alike.
   =========================================================================== */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.cosmos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
#menu > .wrap { position: relative; z-index: 1; }

/* Asteroids: drift across, bob on a lazy loop, and tumble - quick, then
   slow, with a little squash as if turning over. The small ones are far
   away: slower, and a little dimmer. */
.rock {
  position: absolute; left: 0; display: block;
  animation: drift var(--t, 60s) linear var(--d, 0s) infinite;
  will-change: transform;
}
.rock__bob  { display: block; animation: bob var(--b, 9s) ease-in-out var(--d, 0s) infinite; }
.rock__spin { display: block; width: 100%; height: auto; animation: tumble var(--s, 22s) ease-in-out var(--d, 0s) infinite; }
@keyframes drift {
  from { transform: translate3d(-12vw, 0, 0); }
  to   { transform: translate3d(112vw, var(--dy, 0px), 0); }
}
@keyframes drift-back {
  from { transform: translate3d(112vw, 0, 0); }
  to   { transform: translate3d(-12vw, var(--dy, 0px), 0); }
}
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30%      { transform: translate3d(6px, calc(var(--amp, 14px) * -1), 0); }
  65%      { transform: translate3d(-5px, calc(var(--amp, 14px) * .7), 0); }
}
@keyframes tumble {
  0%   { transform: rotate(0deg) scale(1, 1); }
  35%  { transform: rotate(calc(var(--dir, 1) * 150deg)) scale(1, .92); }
  50%  { transform: rotate(calc(var(--dir, 1) * 168deg)) scale(1, 1); }
  85%  { transform: rotate(calc(var(--dir, 1) * 330deg)) scale(.94, 1); }
  100% { transform: rotate(calc(var(--dir, 1) * 360deg)) scale(1, 1); }
}
.rock:nth-child(1) { top: 4%; width: 30px; --t: 72s; --d: -23s; --dy: 33px; --b: 9.8s; --amp: 10px; --s: 21s; }
.rock:nth-child(2) { top: 10%; width: 68px; --t: 42s; --d: -4s; --dy: -46px; --b: 14.5s; --amp: 22px; --s: 32s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(3) { top: 17%; width: 16px; opacity: .75; --t: 83s; --d: -69s; --dy: 59px; --b: 8.0s; --amp: 5px; --s: 17s; }
.rock:nth-child(4) { top: 23%; width: 40px; --t: 64s; --d: -28s; --dy: -27px; --b: 11.0s; --amp: 13px; --s: 24s; }
.rock:nth-child(5) { top: 30%; width: 22px; --t: 78s; --d: -37s; --dy: 40px; --b: 8.8s; --amp: 7px; --s: 19s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(6) { top: 37%; width: 54px; --t: 53s; --d: -32s; --dy: -53px; --b: 12.8s; --amp: 17px; --s: 28s; }
.rock:nth-child(7) { top: 44%; width: 14px; opacity: .75; --t: 85s; --d: -76s; --dy: 21px; --b: 7.8s; --amp: 4px; --s: 16s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(8) { top: 51%; width: 34px; --t: 69s; --d: -46s; --dy: -34px; --b: 10.2s; --amp: 11px; --s: 22s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(9) { top: 58%; width: 62px; --t: 46s; --d: -23s; --dy: 47px; --b: 13.8s; --amp: 20px; --s: 31s; }
.rock:nth-child(10) { top: 64%; width: 18px; opacity: .75; --t: 82s; --d: -66s; --dy: -60px; --b: 8.2s; --amp: 6px; --s: 17s; }
.rock:nth-child(11) { top: 71%; width: 44px; --t: 61s; --d: -9s; --dy: 28px; --b: 11.5s; --amp: 14px; --s: 25s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(12) { top: 78%; width: 26px; --t: 75s; --d: -51s; --dy: -41px; --b: 9.2s; --amp: 8px; --s: 20s; }
.rock:nth-child(13) { top: 85%; width: 50px; --t: 56s; --d: -19s; --dy: 54px; --b: 12.2s; --amp: 16px; --s: 27s; --dir: -1; animation-name: drift-back; }
.rock:nth-child(14) { top: 93%; width: 20px; opacity: .75; --t: 80s; --d: -2s; --dy: -22px; --b: 8.5s; --amp: 6px; --s: 18s; --dir: -1; animation-name: drift-back; }
@media (max-width: 719px) {          /* a phone gets seven, a little smaller */
  .rock:nth-child(even) { display: none; }
  .rock:nth-child(9) { width: 44px; }
  .rock:nth-child(13) { width: 38px; }
}

/* Comets: a slice with a flame of a tail. It lobs across - rising a little,
   then falling away - and tips its nose down as it goes, in about four
   seconds, then waits off-screen for its next pass. The tail flickers. */
.comet {
  position: absolute; left: 0; display: block; width: var(--w, 210px);
  opacity: 0;
  animation: fly var(--t, 16s) cubic-bezier(.3, .05, .6, 1) var(--d, 0s) infinite;
  will-change: transform, opacity;
}
.comet__arc  { display: block; animation: lob var(--t, 16s) var(--d, 0s) infinite; }
.comet__body {
  display: block; width: 100%; height: auto; overflow: visible;
  transform-origin: 88% 50%;
  animation: tilt var(--t, 16s) var(--d, 0s) infinite;
}
@keyframes fly {
  0%        { opacity: 0; transform: translate3d(-30vw, 0, 0); }
  3%        { opacity: 1; }
  23%       { opacity: 1; }
  26%, 100% { opacity: 0; transform: translate3d(130vw, 0, 0); }
}
@keyframes lob {
  0%        { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(.2, .6, .5, 1); }
  10%       { transform: translate3d(0, calc(var(--rise, 30px) * -1), 0); animation-timing-function: cubic-bezier(.5, 0, .85, .5); }
  26%, 100% { transform: translate3d(0, var(--fall, 90px), 0); }
}
@keyframes tilt {
  0%        { transform: rotate(var(--a0, -12deg)); animation-timing-function: ease-out; }
  10%       { transform: rotate(0deg); animation-timing-function: ease-in; }
  26%, 100% { transform: rotate(var(--a1, 16deg)); }
}
.comet__tail, .comet__core { transform-box: fill-box; transform-origin: 100% 50%; }
.comet__tail  { animation: flicker .42s ease-in-out infinite alternate; }
.comet__core  { animation: flicker .31s ease-in-out -.15s infinite alternate-reverse; }
.comet__spark { transform-box: fill-box; transform-origin: center; animation: twinkle .9s ease-in-out infinite alternate; }
.comet__spark:nth-of-type(2) { animation-delay: -.3s; animation-duration: .7s; }
.comet__spark:nth-of-type(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.comet__spark:nth-of-type(4) { animation-delay: -.45s; animation-duration: .8s; }
@keyframes flicker {
  from { transform: scale(1, 1); }
  to   { transform: scale(1.1, .86); }
}
@keyframes twinkle {
  from { opacity: .2; transform: scale(.6) rotate(0deg); }
  to   { opacity: 1;  transform: scale(1.1) rotate(25deg); }
}
.comet--a    { top: 6%;  --t: 17s; --d: 2s;  --w: 210px; --rise: 50px; --fall: 170px; --a0: -16deg; --a1: 24deg; }
.comet--b    { top: 44%; --t: 23s; --d: 11s; --w: 170px; --rise: 30px; --fall: 110px; --a0: -12deg; --a1: 18deg; }
.comet--lift { top: 10%; z-index: 1; --t: 19s; --d: 6s; --w: 140px; --rise: 8px; --fall: 26px; --a0: -5deg; --a1: 7deg; }
@media (max-width: 719px) {
  .comet--a { --w: 160px; --fall: 90px; }
  .comet--b { --w: 130px; }
  .comet--lift { --w: 110px; }
}

/* ===========================================================================
   STRIP
   =========================================================================== */
.strip { background-color: var(--navy); background-image: var(--stars); background-size: var(--stars-size); color: #fff; }
.strip__list {
  list-style: none; margin: 0 auto; padding: 1.4rem 1.3rem 2.4rem;
  width: min(100% - 2.6rem, var(--wrap));
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem;
  text-align: center;
}
@media (min-width: 720px) { .strip__list { grid-template-columns: repeat(4, 1fr); } }
.strip__list li { display: grid; gap: .15rem; }
.strip__list strong { font: 400 clamp(2.2rem, 4.4vw, 3rem)/1 var(--display); color: var(--yellow); }
.strip__list span { font-size: .9rem; color: var(--mist); }

/* ===========================================================================
   SECTIONS — space
   =========================================================================== */
.section { padding: clamp(4.5rem, 11vw, 7.5rem) 0; position: relative; background: var(--navy); color: #fff; }
/* in-page links land below the fixed nav, not under it */
.section, .cta { scroll-margin-top: calc(var(--nav-h) - 8px); }
.section--alt { background: var(--navy-deep); }
#menu { background-image: var(--stars); background-size: var(--stars-size); }
.section h2 { color: var(--yellow); }
.section__head { max-width: 42rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.section__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.kicker {
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .7rem;
}
.lede { color: var(--mist); font-size: 1.08rem; max-width: 38rem; margin-top: 1rem; }
.fineprint { color: var(--mist); font-size: .9rem; margin-top: 2rem; }
.fineprint a { color: var(--yellow); font-weight: 700; }

/* The menu's heading with the orange planet beside it. */
.section__art { display: block; width: clamp(8rem, 26vw, 14rem); margin-bottom: 1rem; }
@media (min-width: 720px) {
  .section__head--art {
    max-width: none; display: grid; grid-template-columns: minmax(0, 42rem) auto;
    column-gap: 2.5rem; align-items: center; justify-content: space-between;
  }
  .section__head--art > * { grid-column: 1; }
  .section__head--art .section__art { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--mist); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 13px; height: 13px; background: var(--red);
}

/* --- the menu cards ------------------------------------------------------ */
.tickets {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.tickets noscript { grid-column: 1 / -1; }
/* The plain menu that stands until main.js draws the cards: one line per pie. */
ul.tickets__plain { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; color: var(--mist); }
ul.tickets__plain strong { color: #fff; }
.ticket {
  position: relative; display: flex; flex-direction: column;
  padding: 1.4rem 1.4rem 1.3rem;
  background: var(--navy-deep);
  border: 2px solid var(--navy-line); border-radius: var(--r-lg);
  transition: border-color .25s, transform .25s var(--ease);
}
.ticket:hover { transform: translateY(-4px); border-color: var(--yellow); }
.ticket__name { font-size: 2.3rem; color: #fff; margin-bottom: .5rem; }
.ticket__blurb { color: var(--mist); font-size: .98rem; margin: 0; }
.ticket__price { margin: .9rem 0 0; font-weight: 800; color: var(--yellow); }
.ticket__tags { list-style: none; padding: 0; margin: auto 0 0; padding-top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.ticket__tags li {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); border: 1.5px solid rgba(123, 187, 251, .55); border-radius: 999px; padding: .2rem .65rem;
}

/* --- drinks -------------------------------------------------------------- */
.drinks { margin-top: 2.6rem; padding-top: 2.2rem; border-top: 2px solid var(--navy-line); }
.drinks h3 { color: #fff; font-size: 2.2rem; margin-bottom: 1.1rem; }
.drinks__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .55rem 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.drinks__list li { display: flex; align-items: baseline; gap: .7rem; color: var(--mist); }
.drinks__list .fill { flex: 1; border-bottom: 2px dotted rgba(123, 187, 251, .45); }
.drinks__list .price { color: var(--yellow); font-weight: 800; }
/* prices hidden: a leader line pointing at nothing looks like a bug, so the
   list becomes a plain set of names instead */
.drinks__list--plain { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.drinks__list--plain li::before {
  content: ''; width: 7px; height: 7px; background: var(--red); flex: none; align-self: center;
}

/* --- schedule: a sky-blue card off the truck ------------------------------ */
.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.schedule li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .3rem 1.2rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: var(--sky); color: var(--navy);
  border: 2px solid var(--sky); border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 var(--red);
}
.schedule__day { font: 400 1.9rem/1 var(--display); }
.schedule__place { grid-column: 2; font-weight: 800; }
.schedule__area { grid-column: 2; font-size: .9rem; }
.schedule__time { grid-row: 1 / span 2; grid-column: 3; font-weight: 800; white-space: nowrap; }
.schedule__status {
  grid-column: 1; grid-row: 2; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red-ink);
}
.schedule li[data-status="tentative"] { border: 2px dashed var(--navy); }
.schedule li[data-status="cancelled"] { opacity: .6; }
.schedule li[data-status="cancelled"] .schedule__place { text-decoration: line-through; }

/* --- forms: white cards ---------------------------------------------------- */
.form {
  display: grid; gap: 1rem;
  padding: clamp(1.4rem, 3.4vw, 2.1rem);
  background: #fff; color: var(--navy);
  border-radius: var(--r-lg);
}
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: .4rem; font-size: .92rem; font-weight: 800; }
.opt { font-weight: 600; font-size: .82rem; color: var(--ink-soft); }

input, textarea, select {
  width: 100%;
  padding: .75rem .9rem;
  font: inherit; font-weight: 500;
  font-size: 16px;                 /* keeps iOS from zooming on focus */
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
/* a white gap, then a navy ring: visible on the white cards and the red band */
input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red-deep); }
textarea { resize: vertical; }
::placeholder { color: #5F739C; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: .4rem 0 0; font-size: .95rem; font-weight: 700; min-height: 1.3em; }
.form__status[data-tone="ok"]   { color: #1D7A3A; }
.form__status[data-tone="bad"]  { color: var(--red-ink); }
.form__status[data-tone="busy"] { color: var(--ink-soft); }

/* --- questions ---------------------------------------------------------- */
/* Rendered from config.js; only answered questions, and none means no section. */
.faq { max-width: 46rem; }
.faq__item { border-bottom: 2px solid var(--navy-line); }
.faq__item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 1.1rem 2.4rem 1.1rem 0; font-weight: 800; color: #fff;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: .3rem; top: 50%;
  color: var(--yellow); font: 800 1.6rem/1 var(--font);
  transform: translateY(-50%); transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0 0 1.3rem; color: var(--mist); max-width: 40rem; }

/* --- closing CTA: the List, on the red checker band --------------------- */
.cta {
  --rail: clamp(32px, 6.5vw, 88px);
  position: relative; overflow: hidden;
  padding: clamp(4.5rem, 10vw, 6.5rem) 0; text-align: center;
  background: var(--red-deep); color: #fff;
}
.cta::before, .cta::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: var(--rail);
  background: repeating-conic-gradient(var(--red) 0 25%, #fff 0 50%);
  background-size: var(--rail) var(--rail);
}
.cta::before { left: 0; }
.cta::after { right: 0; }
.cta .wrap { width: min(100% - 2 * var(--rail) - 2rem, 46rem); }
.cta .kicker { color: #fff; }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { max-width: 34rem; margin-inline: auto; }

.signup {
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center;
  margin: 2rem auto 0; max-width: 34rem;
}
.signup input { flex: 1 1 15rem; border-color: #fff; }
.signup .btn { flex: 0 0 auto; }
.signup .cf-turnstile { flex-basis: 100%; display: flex; justify-content: center; }
/* The optional details under the email row: one column on a phone, three
   side by side once there is room. */
.signup__more {
  flex-basis: 100%; display: grid; gap: .8rem; margin-top: .4rem;
  grid-template-columns: 1fr;
  text-align: left;
}
@media (min-width: 640px) { .signup__more { grid-template-columns: repeat(3, 1fr); } }
.signup__more label { display: grid; gap: .4rem; align-content: end; font-size: .88rem; font-weight: 800; }
.signup__more select, .signup__more input { border-color: #fff; }
.cta .opt { color: #FFE4E1; }
.cta .form__status { text-align: center; color: #fff; }
.cta .fineprint { color: #fff; margin-top: 1.2rem; }

/* --- footer -------------------------------------------------------------- */
.footer { padding: 3.4rem 0 2rem; background: var(--navy-deep); color: var(--mist); }
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.footer__brand { margin: 0; }
.footer__brand img { display: block; width: 9.5rem; }
.footer__tag { font: 400 1.7rem/1.1 var(--display); color: var(--blue); margin: .6rem 0 .2rem; }
.footer__note, .footer p { font-size: .95rem; margin: .3rem 0; }
.footer__h { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--yellow); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .95rem; }
.footer__legal { text-align: center; font-size: .8rem; margin: 2.6rem 0 0; }

/* --- the phone dock ------------------------------------------------------ */
/* Fixed to the bottom on narrow screens, slid away until main.js says so.
   Wider screens have the nav's button instead. */
.dock { display: none; }
@media (max-width: 859px) {
  .dock {
    display: flex; gap: .6rem;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: var(--navy-deep); border-top: 2px solid var(--navy-line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .dock.is-up { transform: none; }
  .dock .btn { flex: 1; justify-content: center; }
  .dock .btn--ghost { background: transparent; color: #fff; border-color: var(--blue); }
  .dock [hidden] { display: none; }
  /* room under the footer, so the dock never sits on its last line */
  .footer { padding-bottom: 6rem; }
}

/* ===========================================================================
   THE OTHER PAGES — catering, giveaway, 404 (DECISIONS, 2026-11-20)
   Each is a <main class="section ..."> in space, under a nav drawn already
   stuck, so they share the homepage's buttons, focus rings and colours.
   =========================================================================== */
.nav--page::after {             /* a strip of the red checkers under the nav */
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  background: repeating-conic-gradient(var(--red) 0 25%, #fff 0 50%);
  background-size: 28px 28px;
}
.rules-page, .oops {
  min-height: 70vh;
  padding-top: calc(var(--nav-h) + 14px + clamp(2.5rem, 7vw, 4.5rem));
}
/* stars only where there is little text: dots between letters hurt reading */
.oops { background-image: var(--stars); background-size: var(--stars-size); }
.rules-page .wrap { max-width: 46rem; }
.rules-page h1, .oops h1 { font-size: clamp(2.8rem, 7vw, 4.4rem); color: var(--yellow); margin-bottom: 1rem; }
/* rules read better in plain bold subheads than in lettering */
.rules-page h2 { font: 800 1.3rem/1.3 var(--font); color: #fff; margin: 2.4rem 0 .8rem; }
.rules-page p, .rules-page li { color: var(--mist); }
.rules-page strong { color: #fff; }
.rules-page ul { padding-left: 1.3rem; margin: 0 0 1rem; display: grid; gap: .45rem; }
.rules-page li::marker { color: var(--red); }
.rules-page a:not(.btn) { color: var(--yellow); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
/* a blank still to fill in (the giveaway's value and date) */
.blank { display: inline-block; min-width: 3.5em; color: var(--yellow); border-bottom: 2px dashed var(--yellow); }

.oops { text-align: center; }
.oops__art { display: block; width: clamp(8rem, 22vw, 11rem); height: auto; margin: 0 auto 1.4rem; }
.oops .lede { margin-inline: auto; }
.oops__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* their footer is the one legal line, and there is no dock to clear */
.nav--page ~ .footer { padding: 2rem 0; }
.nav--page ~ .footer .footer__legal { margin: 0; }

/* --- reveal on scroll ---------------------------------------------------- */
/* Gated on .js (set by an inline script in <head>) so that if scripting is off
   or main.js fails to load, nothing is left invisible. */
.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --- Reduce Motion: nothing slides ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .ticket:hover { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cosmos, .comet { display: none; }
}

/* --- large monitors ---------------------------------------------------------
   On a 1440p or 4K screen the 1160px column and 17px text sat small in a wide
   field. Everything sized in rem grows with the root; the column widens. */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
  body { font-size: 1.0625rem; }
  :root { --wrap: 1280px; }
}
