/*
  Get OffBeat site styles.
  Built on tokens.css: use its variables, never raw hex values, shadows or radii.
  Sections are "rooms": flat colour bands separated by a 2px midnight line.
*/

/* ---------- foundation ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Jump links (#events, #apply…) land below the sticky header, not under it. */
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, figure { margin: 0; }
a { color: var(--navy); }

.d { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: .98; color: var(--navy); }
.k { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.hand { font-family: var(--font-hand); font-weight: 600; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 62ch; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-5); font-weight: 700;
}
.skip-link:focus { top: var(--space-4); }

/* Smooth cross-fade between our own pages, where the browser supports it. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- layout ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 32px); }

.room { background: var(--cream); border-bottom: var(--line-outline); }
.room--bubblegum { background: var(--bubblegum); }
.room--periwinkle { background: var(--periwinkle); }
.room--mint { background: var(--mint); }
.room--citron { background: var(--citron); }
.room--sky { background: var(--sky); }
.room--warm { background: var(--warm); }
.room--midnight { background: var(--midnight); color: var(--cream); }
.room--midnight .d { color: var(--cream); }

.room__inner {
  padding-block: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; gap: 40px;
}
.room__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.room__title { font-size: clamp(38px, 5.5vw, 64px); }

.actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }

/* ---------- buttons and links ---------- */

.btn {
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  color: var(--navy); background: var(--bubblegum);
  border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease-out, box-shadow .12s ease-out;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-hover); }
.btn:active { transform: translate(5px, 5px); box-shadow: none; transition-duration: .08s; }
.btn--cream { background: var(--cream); }
.btn--mint { background: var(--mint); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--small { height: 44px; font-size: 15px; padding: 0 20px; }
.btn[disabled], .btn--off {
  background: var(--warm); border: var(--line-stitch); box-shadow: none; cursor: not-allowed; transform: none;
}
@media (max-width: 640px) {
  .actions > .btn { width: 100%; }
}

.arrow {
  color: var(--navy); font-weight: 700; font-size: 17px;
  text-decoration: underline; text-decoration-color: var(--bubblegum);
  text-decoration-thickness: 3px; text-underline-offset: 4px;
  display: inline-block; padding-block: 10px;
}
.arrow:hover { background: var(--bubblegum); }
.room--bubblegum .arrow { text-decoration-color: var(--cream); }
.room--bubblegum .arrow:hover { background: var(--cream); }

.nav-link {
  color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none;
  display: inline-block; padding: 12px 2px; min-height: 44px;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--bubblegum);
  text-decoration-thickness: 3px; text-underline-offset: 5px;
}

/* ---------- decorative bits ---------- */

/* One word or phrase in a headline may wear a tilted pill. Once per headline. */
.pill {
  display: inline-block; background: var(--cream);
  border: var(--line-outline); border-radius: 22px; box-shadow: var(--pop);
  padding: 0 .17em .08em; margin-top: 8px; transform: rotate(-2deg);
}

.tape {
  position: absolute; background: var(--citron);
  border: var(--line-outline); border-radius: var(--radius-tape);
}

/* Burst badge: absolute by default, placed by a page class. */
.burst { position: absolute; aspect-ratio: 1; width: 150px; container-type: inline-size; }
.burst svg {
  width: 100%; height: 100%; transform: rotate(var(--tilt, 8deg));
  filter: drop-shadow(5px 5px 0 var(--midnight));
}
.burst polygon { fill: var(--citron); stroke: var(--midnight); stroke-width: 1.2; stroke-linejoin: round; }
.burst span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20%; font-size: max(15px, 13cqw); line-height: 1; letter-spacing: -0.03em;
  transform: rotate(var(--tilt, 8deg));
}

/* Sticker kit: flat fill, midnight stroke, hard shadow, tilted. One wiggle on hover. */
.sticker {
  display: block; color: var(--midnight); transform: rotate(var(--tilt, 0deg));
  filter: drop-shadow(4px 4px 0 var(--midnight)); overflow: visible;
}
.sticker__fill, .sticker__line { stroke: var(--midnight); stroke-width: 2.4; stroke-linejoin: round; }
.sticker__ink { fill: var(--midnight); }
.sticker--bubblegum .sticker__fill { fill: var(--bubblegum); }
.sticker--periwinkle .sticker__fill { fill: var(--periwinkle); }
.sticker--citron .sticker__fill, .sticker--citron-fill { fill: var(--citron); }
.sticker--mint .sticker__fill { fill: var(--mint); }
.sticker--sky .sticker__fill { fill: var(--sky); }
.sticker--cream .sticker__fill, .sticker--cream-fill { fill: var(--cream); }
@media (hover: hover) {
  .sticker:hover { animation: wiggle .4s ease-in-out 1; }
}
@keyframes wiggle {
  33% { transform: rotate(calc(var(--tilt, 0deg) + 3deg)); }
  66% { transform: rotate(calc(var(--tilt, 0deg) - 3deg)); }
}

.empty {
  font-size: 18px; max-width: 62ch;
  background: var(--warm); border: var(--line-stitch); border-radius: var(--radius-card);
  padding: var(--space-6);
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--cream); border-bottom: var(--line-outline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 32px;
  padding-block: 8px;
}
.site-header__logo img { width: 120px; }
.site-header__nav { display: flex; align-items: center; gap: 0 28px; }
.site-header__nav .btn { margin-left: 4px; }

.menu-button {
  display: none; width: 48px; height: 48px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--midnight); background: var(--bubblegum);
  border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop-sm);
}
@media (max-width: 760px) {
  .site-header__nav { display: none; }
  .menu-button { display: inline-flex; }
}

/* ---------- phone menu ---------- */

.site-menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0;
  padding: 8px 16px 28px; background: var(--midnight); color: var(--cream);
  flex-direction: column;
}
.site-menu[open] { display: flex; }
.site-menu::backdrop { background: var(--midnight); }
.site-menu a { color: var(--cream); }
.site-menu :focus-visible { outline-color: var(--bubblegum); }
.site-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.site-menu__top img { width: 120px; }
.site-menu__close {
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--midnight); background: var(--bubblegum);
  border: 2px solid var(--cream); border-radius: var(--radius-pill);
}
.site-menu__nav {
  display: flex; flex-direction: column; margin-top: 24px;
  border-top: 1px solid rgb(214 210 255 / .35);
}
.site-menu__row {
  display: flex; justify-content: space-between; align-items: center; min-height: 68px;
  border-bottom: 1px solid rgb(214 210 255 / .35); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(32px, 10vw, 40px); line-height: 1;
}
.site-menu__row span[aria-hidden] { font-size: 24px; color: var(--bubblegum); letter-spacing: 0; }
.site-menu__bottom { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.btn--menu { height: 56px; width: 100%; border-color: var(--cream); color: var(--navy) !important; box-shadow: 4px 4px 0 #0E1230; } /* deeper than midnight so the pop shows on the midnight menu (from board 12) */
.site-menu__hi { display: flex; flex-direction: column; gap: 4px; }
.site-menu__hi .k { color: var(--bubblegum); }
.site-menu__hi a { color: var(--periwinkle); font-weight: 600; font-size: 16px; line-height: 30px; }
.site-menu__social { display: flex; gap: 20px; } /* instagram and tiktok side by side */

/* ---------- footer ---------- */

.site-footer { background: var(--cream); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  padding-block: clamp(40px, 6vw, 72px) 32px;
}
.site-footer__about { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 25px; }
.site-footer__about img { width: 150px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.site-footer__col { display: flex; flex-direction: column; gap: 2px; }
.site-footer__col .k { margin-bottom: 8px; }
.site-footer__place { font-size: 16px; padding: 12px 2px; }
.site-footer__land { border-top: var(--line-row); padding-block: 16px 4px; margin: 0; font-size: 14px; line-height: 20px; }
.site-footer__land + .site-footer__base { border-top: 0; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  border-top: var(--line-row); padding-block: 12px 32px; font-size: 14px; line-height: 20px;
}

/* ---------- home: hero ---------- */
/* Words in the middle, stickers scattered around them (and in a row under them on phones). */

.hero { overflow: hidden; }
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
  padding-block: clamp(48px, 9vw, 120px);
}
.hero__title { font-size: clamp(44px, 7vw, 96px); line-height: .94; }
.hero__lede { font-size: clamp(17px, 2vw, 22px); line-height: 1.5; max-width: 560px; }
.hero__actions { justify-content: center; }
.hero__stickers { position: absolute; inset: 0; pointer-events: none; }
.hero__burst { left: 0; bottom: 12%; width: clamp(130px, 13vw, 190px); }
.hero__heart { position: absolute; left: 14%; top: 14%; width: clamp(48px, 5vw, 72px); height: auto; }
.hero__flower { position: absolute; right: 1%; bottom: 14%; width: clamp(90px, 9vw, 132px); height: auto; }
.hero__sparkle { position: absolute; right: 9%; top: 10%; width: clamp(52px, 5vw, 76px); height: auto; }
@media (max-width: 900px) {
  .hero__inner { gap: 20px; }
  .hero__stickers { position: static; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
  .hero__stickers > * { position: relative !important; inset: auto !important; }
  .hero__burst { width: 116px; }
  .hero__heart { width: 46px; }
  .hero__flower { width: 76px; }
  .hero__sparkle { display: none; }
}
@media (max-width: 640px) { .hero__actions { flex-direction: column; gap: 6px; } }

/* ---------- 404 ---------- */

.not-found__smile { width: 120px; transform: rotate(-6deg); }

/* =========================================================
   Components (one block per design-system component)
   ========================================================= */

/* ---------- marquee ---------- */

.marquee {
  position: relative; overflow: hidden; height: 48px;
  border-bottom: var(--line-outline); color: var(--navy);
}
.marquee--periwinkle { background: var(--periwinkle); }
.marquee--bubblegum { background: var(--bubblegum); border-top: var(--line-outline); }
.marquee--sky { background: var(--sky); border-top: var(--line-outline); }
.marquee__track { display: flex; width: max-content; height: 100%; animation: marquee 40s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__phrase {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__pause { display: none; }
}
.marquee__pause {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 36px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); background: var(--cream);
  border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop-sm);
}
.marquee__icon-play, .marquee.is-paused .marquee__icon-pause { display: none; }
.marquee.is-paused .marquee__icon-play { display: block; }

/* ---------- chip ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; line-height: 1;
  padding: 7px 12px; color: var(--navy); background: var(--cream);
  border: var(--line-outline); border-radius: var(--radius-pill);
}
.chip--periwinkle { background: var(--periwinkle); }
.chip--sky { background: var(--sky); }
.chip--citron { background: var(--citron); }
.chip--mint { background: var(--mint); }
.chip--bubblegum { background: var(--bubblegum); }
.chip--stitch { border: var(--line-stitch); }

/* ---------- ticket hand-off ---------- */

.ticket { display: flex; flex-direction: column; gap: 8px; }
.ticket__btn { width: 100%; }
.ticket__note { font-size: 14px; line-height: 21px; }

/* ---------- events: next up + tiles ---------- */
/* The soonest night is big with the one loud button; the rest are quiet tiles with no box,
   so the posters do the talking. On phones both become compact rows. */

.ev-when { font-size: 12px; color: var(--soft-ink); }
.ev-meta { font-size: 15px; line-height: 1.4; color: var(--soft-ink); }
.ev-meta strong { color: var(--navy); }
.ev-link { color: var(--navy); text-decoration: none; }
.ev-link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.ev-link:focus-visible { outline: none; }
:is(.ev-next, .ev-tile):has(.ev-link:focus-visible) { outline: 3px solid var(--navy); outline-offset: 6px; border-radius: var(--radius-card); }
.ev-sold {
  position: absolute; left: 12px; top: 12px; transform: rotate(-5deg);
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-pill);
  box-shadow: var(--pop-sm); padding: 7px 12px; font-size: 15px; line-height: 1;
}

.ev-next {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.ev-next__media { position: relative; display: block; border-radius: var(--radius-panel); overflow: hidden; }
.ev-next__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease-out; }
.ev-next:hover .ev-next__media img { transform: scale(1.02); }
.ev-next__body { display: flex; flex-direction: column; gap: 10px; }
.ev-next__body .actions { position: relative; z-index: 1; margin-top: 6px; } /* above the card link */
.ev-next__title { font-size: clamp(40px, 5vw, 64px); line-height: .95; letter-spacing: -0.03em; }
.ev-next__price { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ev-next__price .d { font-size: 32px; }

.ev-tiles {
  display: grid; gap: 40px 28px; margin-top: 24px; padding-top: 40px; border-top: var(--line-row);
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
}
.room__head + .ev-tiles, .ev-tiles:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ev-tile { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ev-tile__media { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; transition: transform .15s ease-out, box-shadow .15s ease-out; }
.ev-tile__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ev-tile:hover .ev-tile__media { transform: translate(-2px, -2px); box-shadow: var(--pop-sm); }
.ev-tile__body { display: flex; flex-direction: column; gap: 6px; }
.ev-tile__title { font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.ev-tile:hover .ev-tile__title a { text-decoration: underline; text-decoration-color: var(--bubblegum); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ev-tile--sold-out .ev-tile__media img { opacity: .6; }
.ticket-note { font-size: 14px; line-height: 21px; }

@media (max-width: 640px) {
  .ev-next { grid-template-columns: 112px 1fr; gap: 6px 16px; align-items: start; }
  .ev-next__media { border-radius: var(--radius-input); }
  .ev-next__title { font-size: 24px; line-height: 1.05; }
  .ev-next__body { gap: 6px; }
  .ev-next__price .d { font-size: 22px; }
  .ev-next__body .actions { grid-column: 1 / -1; }
  .ev-next__body { display: contents; }
  .ev-next__body > :not(.actions) { grid-column: 2; }
  .ev-next__media { grid-row: 1 / span 4; }
  .ev-next__body .actions .btn { width: 100%; }
  .ev-next__more { display: none; }
  .ev-sold { left: 6px; top: 6px; font-size: 12px; padding: 5px 8px; }

  .ev-tiles { gap: 0; margin-top: 20px; padding-top: 0; grid-template-columns: 1fr; }
  .ev-tile { flex-direction: row; align-items: center; gap: 16px; padding-block: 14px; border-bottom: var(--line-row); }
  .ev-tile__media { flex: 0 0 88px; border-radius: var(--radius-input); }
  .ev-tile__title { font-size: 19px; }
  .ev-tile__body { gap: 3px; min-width: 0; }
}

/* ---------- countdown ---------- */

.countdown { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.countdown .k { font-size: 12px; }
.countdown__tiles { display: flex; gap: 6px; }
.countdown__tile {
  display: flex; align-items: baseline; gap: 3px; padding: 5px 9px;
  background: var(--periwinkle); border: var(--line-outline); border-radius: 10px;
}
.countdown__tile--s { background: var(--bubblegum); }
.countdown__n {
  font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.countdown__u { font-family: var(--font-display); font-weight: 800; font-size: 12px; }

/* ---------- photo frame (taped) ---------- */

.photo-frame { position: relative; padding-top: 12px; }
.photo-frame__mat {
  display: flex; flex-direction: column; gap: 8px; transform: rotate(var(--tilt, -2deg));
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-card);
  box-shadow: var(--pop); padding: 10px 10px 14px;
}
.photo-frame__mat img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: var(--line-outline); border-radius: var(--radius-input);
}
.photo-frame__caption { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.05; padding: 0 6px; }
.photo-frame__tape { left: 40%; top: 0; width: 96px; height: 28px; transform: rotate(3deg); }

/* ---------- maker card ---------- */

.maker-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
  border: var(--line-outline); border-radius: var(--radius-panel); box-shadow: var(--pop-lg);
  padding: clamp(20px, 3vw, 36px); background: var(--mint);
}
.maker-card--citron { background: var(--citron); }
.maker-card__portrait {
  flex: 0 1 220px; width: 220px; max-width: 100%; aspect-ratio: 1; object-fit: cover;
  border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop);
}
.maker-card__portrait--empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--cream); border: var(--line-stitch); box-shadow: none;
}
.maker-card__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.maker-card__name { font-size: clamp(34px, 4.5vw, 52px); line-height: 1; }
.maker-card__line { font-size: 18px; line-height: 28px; }
.maker-card__bio p + p { margin-top: 12px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.form__full { grid-column: 1 / -1; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.label { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.help { font-size: 14px; line-height: 21px; }
.field {
  width: 100%; min-height: 52px; padding: 0 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--navy); background: var(--cream);
  border: var(--line-outline); border-radius: var(--radius-input);
}
textarea.field { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.5; }
.field::placeholder { color: var(--soft-ink); }
/* Errors are never red: a thicker outline, a little pop, and a plain sentence. */
.field[aria-invalid="true"] { border: 3px solid var(--error); background: var(--error-soft); box-shadow: none; }
.field[aria-invalid="true"]:focus-visible { outline-color: var(--error); }
.field-error {
  display: flex; align-items: flex-start; gap: 8px; max-width: 100%;
  margin: 8px 0 0; color: var(--error);
  font-size: 15px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere;
}
.field-error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
  background: var(--error); color: var(--cream); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1;
}
.choices[aria-describedby] .choice { border-color: var(--error); }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.choices legend { padding: 0; margin-bottom: 10px; }
.choices__row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer;
  border: var(--line-outline); border-radius: var(--radius-pill); padding: 10px 16px;
  font-weight: 700; font-size: 15px; background: var(--cream);
}
.choice:has(input:checked) { background: var(--mint); }
.choice input, .check input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- messages ---------- */

.message {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
  border: var(--line-outline); border-radius: 16px; box-shadow: var(--pop-sm); background: var(--cream);
}
.message p:last-child { font-size: 16px; line-height: 24px; font-weight: 600; }
.message--success { background: var(--mint); }
.message--info { background: var(--sky); }
.message--heads-up { background: var(--citron); }
/* after .message, so its red outline wins */
.message--error { background: var(--error-soft); border-color: var(--error); color: var(--error); box-shadow: none; }
.message--error .k { color: var(--error); }

/* ---------- faq ---------- */

.faq {
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-panel);
  box-shadow: var(--pop); padding: 8px clamp(18px, 3vw, 32px);
}
.faq details { border-bottom: var(--line-row); padding: 18px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .d { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.1; }
.faq__icon {
  flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: var(--line-outline); border-radius: var(--radius-pill); font-weight: 700; font-size: 20px;
}
.faq__icon::before { content: "+"; }
.faq details[open] .faq__icon::before { content: "−"; }
.faq details > div { padding-top: 12px; max-width: 62ch; }

/* =========================================================
   Page sections
   ========================================================= */

.wrap--narrow { max-width: 880px; }
.room__row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.room__title--sm { font-size: clamp(36px, 4.8vw, 56px); }
.aside { font-size: clamp(26px, 3vw, 30px); line-height: 1.1; transform: rotate(-1.5deg); }
.prose { font-size: 18px; line-height: 29px; max-width: 62ch; }
.prose p + p { margin-top: 14px; }
/* Event descriptions from Bloom: small headings and bullet lists. */
.prose h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin-top: 26px; }
.prose ul { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.prose ul + p, .prose ul + ul { margin-top: 14px; }

/* teach and host pages: text beside a taped photo */
.split-room { overflow: hidden; }
.split { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.split__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split__media { flex: 1 1 340px; min-width: 0; }

/* home: faq, with a "still unsure? just ask" card beside it */
.faq-room { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.faq-room__side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.faq-room__list { flex: 2 1 460px; min-width: 0; box-shadow: var(--pop-lg); }
.ask-card {
  margin: 0; overflow: hidden; transform: rotate(-1.5deg);
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-panel); box-shadow: var(--pop);
}
.ask-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: var(--line-outline); }
.ask-card figcaption { padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ask-card__title { font-size: 26px; }
@media (max-width: 760px) {
  .faq-room__side { display: contents; }
  .ask-card { order: 3; transform: none; }
  .ask-card img { aspect-ratio: 16 / 9; }
}

/* event page: top */
.event-top { padding-block: 24px clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 24px; }
.event-top > .arrow { align-self: flex-start; }
.event-top__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.event-top__media { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.event-hero {
  position: relative; padding: 12px; background: var(--bubblegum);
  border: var(--line-outline); border-radius: var(--radius-panel); box-shadow: var(--pop-lg);
}
.event-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--line-outline); border-radius: 18px; }
.event-hero--poster img { aspect-ratio: 4 / 5; }
.event-top__media:has(.event-hero--poster) { flex-basis: 440px; max-width: 560px; }
.event-hero__date {
  position: absolute; left: 28px; top: 28px; transform: rotate(-4deg); text-align: center;
  background: var(--cream); border: var(--line-outline); border-radius: 16px; box-shadow: var(--pop-sm);
  padding: 10px 14px; font-size: 34px; line-height: .92; letter-spacing: -0.02em;
}
.event-hero .ev-sold { left: auto; right: 28px; top: 28px; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--line-outline); border-radius: 16px; }

.booking {
  flex: 1 1 380px; min-width: 0; position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 32px);
  background: var(--warm); border: var(--line-outline); border-radius: var(--radius-panel); box-shadow: var(--pop-lg);
}
.booking__head { display: flex; flex-direction: column; gap: 10px; }
.booking__title { font-size: clamp(44px, 5vw, 64px); line-height: .95; }
.booking__intro { font-size: 18px; line-height: 27px; }
.booking__links { display: flex; flex-wrap: wrap; gap: 0 24px; border-top: var(--line-row); padding-top: 8px; }
.booking__links .arrow { font-size: 15px; }
.booking .ticket__note { text-align: center; }
.btn--big { height: 56px; font-size: 18px; width: 100%; }
.facts {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px;
  border-block: var(--line-row); padding: 16px 0;
}
.facts dt { padding-top: 4px; }
.facts dd { margin: 0; font-size: 17px; line-height: 25px; font-weight: 600; }
.facts .arrow { padding-block: 0; }

/* event page: sections */
.make { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.make__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.make__lists { flex: 1 1 360px; min-width: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.list-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop);
}
.list-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 24px; }
.list-card--mint { background: var(--mint); }
.list-card--citron { background: var(--citron); }
.timeline {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}
.timeline li {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; font-size: 16px; line-height: 24px;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop-sm);
}
.timeline__time { font-size: 26px; line-height: 1; }
.maker-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; }
.maker-row .maker-card__portrait { flex: 0 1 220px; min-width: 160px; }
.maker-row__pronouns { font-size: 14px; vertical-align: middle; margin-left: 6px; }
.maker-row__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.venue-facts { margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.venue-facts div { display: flex; flex-direction: column; gap: 4px; }
.venue-facts dd { margin: 0; font-size: 16px; line-height: 25px; }
.getting-there > .arrow { align-self: flex-start; }
.venue-map { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
.venue-map__links { margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.venue-map__frame { width: 100%; }
.venue-map__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 440px; border: 2px solid var(--navy); border-radius: var(--radius-card); }

/* event page: phone booking bar */
.booking-bar { display: none; }
@media (max-width: 760px) {
  .booking { position: static; }
  /* Phones: the poster first, as wide as the booking card below it, with the card's own
     outline instead of the pink frame. Photos from past nights go after the card. */
  .event-top__grid { gap: 28px; }
  .event-top__media { display: contents; }
  .event-hero, .gallery { flex: 1 1 100%; }
  .gallery { order: 1; }
  .event-hero { padding: 0; background: none; border: 0; box-shadow: none; }
  .event-hero img { border-radius: var(--radius-panel); box-shadow: var(--pop-lg); }
  .booking__title { font-size: clamp(36px, 10vw, 48px); }
  .booking-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    background: var(--cream); border-top: var(--line-outline);
  }
  .booking-bar { transition: transform .2s ease-out; }
  .booking-bar.is-hidden { transform: translateY(110%); }
  .booking-bar .btn { height: 52px; padding: 0 22px; }
  .booking-bar__price { font-size: 24px; line-height: 1; }
  .booking-bar__sub { font-size: 14px; line-height: 20px; font-weight: 700; }
  body:has(.booking-bar) .site-footer { padding-bottom: 88px; }
}

/* teach with us / host a gathering */
.hero__title--maker { font-size: clamp(46px, 7.4vw, 96px); line-height: .93; }
.deal-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.deal {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; font-size: 16px; line-height: 25px;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop);
}
.deal h3 { font-size: 28px; line-height: 1; }
.deal--citron { background: var(--citron); }
.deal--bubblegum { background: var(--bubblegum); }
.deal--mint { background: var(--mint); }
.ask {
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start;
  background: var(--midnight); color: var(--periwinkle); border-radius: var(--radius-panel); padding: 28px;
}
.ask__head { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.ask__head .k { color: var(--citron); }
.ask__head .d { font-size: 30px; line-height: 1; color: var(--cream); }
.ask__list { flex: 2 1 460px; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 26px; }
.ask__list strong { color: var(--cream); }
.worries { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.worry {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; font-size: 16px; line-height: 25px;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-card);
}
.worry h3 { font-size: 26px; line-height: 1.02; }
.how {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}
.how li {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; font-size: 15px; line-height: 23px;
  background: var(--mint); border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop-sm);
}
.how h3 { font-size: 22px; line-height: 1.05; }
.how__n {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; letter-spacing: 0;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-pill);
}
.form-room { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.form-room__head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
/* teach with us (V1: the form is the whole page) */
.teach-apply .form-room { gap: 48px; padding-block: clamp(40px, 6vw, 80px); }
.teach-apply__head { position: sticky; top: 110px; }
.teach-apply__title { font-size: clamp(44px, 6vw, 76px); line-height: .95; }
.teach-apply__points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.45; }
.teach-apply__points li { display: flex; gap: 10px; }
.teach-apply__points li::before { content: "✓"; font-weight: 800; flex: none; }
.teach-apply__aside { font-size: 26px; transform: rotate(-2deg); }
.teach-apply__photo { max-width: 360px; margin-top: 8px; }
@media (max-width: 860px) { .teach-apply__head { position: static; } .teach-apply__photo { display: none; } }
.form-room__smile { width: 84px; transform: rotate(-6deg); margin-top: 6px; }
.form-card {
  flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-panel);
  box-shadow: var(--pop-lg); padding: clamp(22px, 3vw, 36px);
}
/* event page: the small "ask us anything" form under the FAQ */
.ask-form { flex: none; gap: 16px; box-shadow: var(--pop); }
.ask-form__title { font-size: clamp(24px, 3vw, 30px); line-height: 1.05; }

/* newsletter band */
.join { flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.join__text { position: sticky; top: 120px; }
@media (max-width: 760px) { .join__text { position: static; } }
.join__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.join__kicker { color: var(--bubblegum); }
.join__lede { font-size: 18px; line-height: 28px; color: var(--periwinkle); max-width: 480px; }
.join__form { flex: 1 1 380px; max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.join__label { color: var(--cream); }
.join__check { color: var(--periwinkle); }
.join__check input { accent-color: var(--bubblegum); }
.join__form .btn { align-self: flex-start; margin-top: 6px; }
.join__form .message { color: var(--navy); }
.room--midnight :focus-visible { outline-color: var(--bubblegum); }
@media (max-width: 640px) { .join__form .btn { align-self: stretch; } }

/* privacy */
.legal h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 28px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.table-wrap { overflow-x: auto; border: var(--line-outline); border-radius: var(--radius-card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: var(--line-row); vertical-align: top; }
.table-wrap th { font-family: var(--font-display); font-weight: 800; background: var(--warm); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* home: proof from past nights */
.proof { padding-block: clamp(48px, 7vw, 96px); }
.proof__head { margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.proof__stats { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.proof__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.proof__stats dd { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: .9; letter-spacing: -0.035em; }
@media (max-width: 760px) {
  .proof__stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 28px; }
  .proof__stats dd { font-size: 48px; }
}
.proof .quotes { margin-top: 32px; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.quote {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop-sm);
}
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }

/* home: not ready to book? */
.new-dates {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px;
  margin-top: 16px; padding: clamp(20px, 3vw, 28px); background: var(--warm); border-radius: var(--radius-panel);
}
.new-dates__title { font-size: 28px; line-height: 1; margin-bottom: 6px; }
.new-dates__text { flex: 1 1 260px; }
.new-dates__form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.new-dates__row { display: flex; gap: 10px; }
.new-dates__row .field { flex: 1; min-width: 0; }
.new-dates__check { font-size: 14px; }
@media (max-width: 640px) { .new-dates__row { flex-direction: column; } }

/* home: work with us. Two big links on midnight, then the venue strip. */
.partner-room__kicker { color: var(--bubblegum); }
.big-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--soft-ink); }
.big-links li { border-bottom: 1px solid var(--soft-ink); }
.big-link {
  display: grid; grid-template-columns: 120px 1fr auto; grid-template-rows: auto auto; align-items: center;
  column-gap: 28px; row-gap: 6px; padding-block: 28px; color: var(--cream); text-decoration: none;
}
.big-link img {
  grid-row: 1 / span 2; width: 120px; height: 120px; object-fit: cover;
  border: 2px solid var(--cream); border-radius: var(--radius-card); transform: rotate(-3deg); transition: transform .2s ease-out;
}
.big-link__title { color: var(--cream); font-size: clamp(40px, 6vw, 84px); line-height: .95; transition: color .15s; }
.big-link__sub { grid-column: 2; font-size: 17px; line-height: 1.5; color: var(--periwinkle); max-width: 56ch; }
.big-link__arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--cream); font-size: clamp(36px, 4vw, 56px); transition: transform .2s ease-out, color .15s; }
.big-link:hover .big-link__title, .big-link:focus-visible .big-link__title, .big-link:hover .big-link__arrow { color: var(--bubblegum); }
.big-link:hover .big-link__arrow { transform: translateX(6px); }
.big-link:hover img { transform: rotate(3deg) scale(1.05); }
.big-link:focus-visible { outline-color: var(--bubblegum); }
@media (prefers-reduced-motion: reduce) { .big-link img, .big-link__arrow { transition: none; } }
@media (max-width: 640px) {
  .big-link { grid-template-columns: 72px 1fr; column-gap: 16px; padding-block: 22px; }
  .big-link img { width: 72px; height: 72px; }
  .big-link__title { font-size: 36px; }
  .big-link__sub { grid-column: 1 / -1; font-size: 16px; }
  .big-link__arrow { display: none; }
}
.partner-room .partners { margin-top: 8px; background: transparent; }
.partner-room .partners__head { color: var(--periwinkle); }
.partners__head { padding-block: 0 12px; }


/* ---------- photo slider ---------- */
.slider__pause .slider__icon-play, .slider__pause[aria-pressed="true"] .slider__icon-pause { display: none; }
.slider__pause[aria-pressed="true"] .slider__icon-play { display: block; }
.slider__pause[hidden] { display: none; }
/* A swipeable row: arrow buttons, a "3 / 20" count and a progress line above it. */

.slider__bar { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.slider__count { min-width: 64px; font-variant-numeric: tabular-nums; }
.slider__progress { flex: 1; height: 4px; border-radius: var(--radius-pill); background: var(--cream); overflow: hidden; }
.slider__progress span { display: block; height: 100%; width: 0; background: var(--navy); border-radius: inherit; transition: width .15s ease-out; }
.slider__buttons { display: flex; gap: 10px; }
.slider__btn {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; font-weight: 800; cursor: pointer; color: var(--navy);
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop-sm);
  transition: transform .12s ease-out, box-shadow .12s ease-out;
}
.slider__btn:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: var(--pop); }
.slider__btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: none; }
.slider__btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.slider__track {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 6px max(16px, calc((100vw - 1200px) / 2 + 32px)) 14px;
  scroll-padding-inline: max(16px, calc((100vw - 1200px) / 2 + 32px));
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider__track:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.slider__item { flex: 0 0 clamp(250px, 26vw, 340px); scroll-snap-align: start; }
.slider__item figure { position: relative; margin: 0; }
.slider__item img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream);
  border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop-sm);
}
.slider__tag { position: absolute; left: 12px; bottom: 12px; background: var(--cream); }
@media (max-width: 640px) {
  .slider__item { flex-basis: 78vw; }
  .slider__btn { width: 44px; height: 44px; font-size: 18px; }
}

/* The reels strip sits between rooms on the homepage: one outline between them, not two. */
.room + .insta { border-top: 0; }

/* home: say hello */
.join__card { color: var(--navy); max-width: 640px; }
.join__card .message { color: var(--navy); }
.join__link { color: var(--cream); font-weight: 700; text-decoration-color: var(--bubblegum); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* instagram strip (bottom of every page) */
.insta { background: var(--warm); border-top: var(--line-outline); padding-block: clamp(40px, 6vw, 72px); overflow: hidden; }
.insta__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.insta__title { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; }
.insta__controls { display: flex; align-items: center; gap: 10px; }
.insta__nav {
  width: 44px; height: 44px; padding: 0; cursor: pointer; font-size: 20px; font-weight: 700;
  color: var(--navy); background: var(--cream);
  border: var(--line-outline); border-radius: var(--radius-pill); box-shadow: var(--pop-sm);
}
.insta__nav:active { transform: translate(3px, 3px); box-shadow: none; }
.insta__track {
  list-style: none; margin: 0; display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - 1200px) / 2 + 32px));
  padding: 4px max(16px, calc((100vw - 1200px) / 2 + 32px)) 16px;
  scrollbar-width: none;
}
.insta__track::-webkit-scrollbar { display: none; }
.insta__item { flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: start; }
.insta__item:nth-child(odd) .insta__card { transform: rotate(-1deg); }
.insta__item:nth-child(even) .insta__card { transform: rotate(1deg); }
.insta__card {
  position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 16;
  background: var(--periwinkle); border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop);
  transition: transform .12s ease-out, box-shadow .12s ease-out;
}
.insta__card:hover { transform: translate(-2px, -2px) rotate(0deg); box-shadow: var(--pop-hover); }
.insta__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The video waits, invisible, on top of the cover until its first frame plays, then fades in. */
.insta__video { opacity: 0; transition: opacity .3s ease-out; }
.insta__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .insta__video { transition: none; } }
.insta__badge {
  position: absolute; right: 10px; top: 10px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  background: var(--cream); border: var(--line-outline); border-radius: var(--radius-pill);
}
@media (max-width: 640px) { .insta__controls .insta__step { display: none; } } /* phones swipe; the pause button stays */
.insta__track { cursor: grab; }
.insta__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.insta__track.is-dragging a { pointer-events: none; }
.insta__nav { display: inline-grid; place-items: center; }


/* ---------- artist spotlight: meet our artists ---------- */
/* Taped polaroids with handwritten names: a slider on the homepage, a grid on /artists/
   and craft pages (two across on phones and tablets). Each opens the artist's own page. */

.artists__head { align-items: center; text-align: center; margin-inline: auto; }
.artists {
  list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 40px 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.artist__link { display: block; color: var(--navy); text-decoration: none; }
.artist__polaroid {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 8px;
  background: var(--cream); border: var(--line-outline); border-radius: 6px; box-shadow: var(--pop);
  transform: rotate(var(--tilt, 0deg)); transition: transform .2s ease-out, box-shadow .2s ease-out;
}
a.artist__link:hover .artist__polaroid, a.artist__link:focus-visible .artist__polaroid { transform: rotate(0deg) translateY(-4px); box-shadow: var(--pop-hover); }
.artist__polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.artist__tape { position: absolute; left: 38%; top: -12px; width: 76px; height: 24px; transform: rotate(-4deg); z-index: 1; }
.artist__name { font-size: 28px; line-height: 1; text-align: center; }
.artist__what { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; text-align: center; }
.artist__workshop { font-size: 19px; line-height: 1.15; text-wrap: balance; }
a.artist__link:hover .artist__workshop { text-decoration: underline; text-decoration-color: var(--bubblegum); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .artist__polaroid { transition: none; } }
/* Homepage: the polaroids in a slider. Extra room above and below, so the tape, the tilt
   and the hover lift aren't cut off by the sliding row. */
.artists-slider .slider__track { padding-top: 24px; padding-bottom: 28px; }
.artists-slider .artist__link { -webkit-user-drag: none; }
/* The photo slider frames its photos; a polaroid already is the frame. */
.artists-slider .slider__item img { border: 0; box-shadow: none; border-radius: 3px; }
.artists-room__more { display: flex; justify-content: center; padding-block: 4px clamp(40px, 5vw, 64px); }
.artists-room .room__inner { padding-bottom: 8px; }
/* An artist's own page: their polaroid beside their words. */
.artist-top { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; margin-top: 8px; }
.artist-top__photo { flex: 0 1 340px; min-width: 0; padding-top: 12px; }
.artist-top__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 760px) { .artist-top__photo { flex-basis: 100%; max-width: 300px; margin-inline: auto; } }
/* Fewer than four (a craft page): the cards stay polaroid-sized and centred. */
.artists--few { grid-template-columns: repeat(auto-fit, minmax(0, 250px)); justify-content: center; }
@media (max-width: 960px) {
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .artists { gap: 32px 18px; }
  .artist__name { font-size: 24px; }
  .artist__workshop { font-size: 17px; }
  .artist__tape { width: 56px; }
}

/* ---------- founder: why we started ---------- */

.founder { display: grid; grid-template-columns: 5fr 7fr; background: var(--cream); }
.founder__photo { position: relative; min-height: 560px; border-right: var(--line-outline); background: var(--bubblegum); }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
  padding: clamp(40px, 5vw, 80px) clamp(16px, 4vw, 64px); max-width: 760px;
}
.founder__quote { margin: 0; }
.founder__quote .d { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.founder__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.founder__name .d { font-size: 26px; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { min-height: 0; aspect-ratio: 1; border-right: 0; border-bottom: var(--line-outline); }
}

/* ---------- styleguide page (dev only) ---------- */

.sg-h { font-size: 32px; margin-top: 24px; }
.sg-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.sg-burst { position: relative; width: 150px; height: 150px; }
.sg-frame { max-width: 360px; }
.sg-stack { display: grid; gap: 16px; max-width: 560px; }

/* ---------- craft pages: /workshops/embroidery/ ---------- */

.craft-top__title { font-size: clamp(44px, 7vw, 96px); line-height: .94; }

/* "see all past workshops" under the homepage photo slider */
.proof__more { padding-block: 0 8px; }

/* Gift cards: the three "how it works" steps, numbered cards in a row (stacked on phones). */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
/* The same cards without numbers, for points that aren't steps (/artists/). */
.steps.steps--plain li { padding-top: var(--space-5); }
.steps.steps--plain li::before { display: none; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--warm); border: var(--line-outline); border-radius: var(--radius-card);
  box-shadow: var(--pop-sm); padding: var(--space-6) var(--space-5) var(--space-5);
}
.steps li::before {
  content: counter(step); position: absolute; top: calc(-1 * var(--space-4)); left: var(--space-5);
  width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800;
  background: var(--bubblegum); border: var(--line-outline); border-radius: var(--radius-pill);
}
.steps .d { display: block; font-size: 1.3rem; margin-bottom: var(--space-2); }
.steps p { margin: 0; }

/* Gift cards: a drawn card (components/gift_card.html), in the brand's flat, outlined style. */
.gcard {
  position: relative; aspect-ratio: 1.586; /* a real card's shape */ width: 100%; max-width: 420px;
  border: var(--line-outline); border-radius: var(--radius-card); box-shadow: var(--pop);
  padding: var(--space-3); transform: rotate(var(--tilt, 0deg)); color: var(--navy);
  container-type: inline-size;
}
.gcard--navy { background: var(--navy); color: var(--cream); }
.gcard--bubblegum { background: var(--bubblegum); }
.gcard--mint { background: var(--mint); }
.gcard--sky { background: var(--sky); }
.gcard__stitch {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  border: 2px dashed currentColor; border-radius: var(--radius-input); padding: 5cqw 6cqw;
}
.gcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.gcard__top img { width: 26cqw; height: auto; }
.gcard__label { font-size: max(11px, 3.4cqw); }
.gcard__line { font-family: var(--font-hand); font-size: max(20px, 8.4cqw); line-height: 1; margin: 0; }
.gcard__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-2); flex-wrap: wrap; }
.gcard__amount {
  background: var(--citron); color: var(--navy); border: var(--line-outline); border-radius: var(--radius-pill);
  padding: 1.5cqw 4cqw; font-size: max(13px, 4.4cqw); white-space: nowrap;
}
.gcard__where { font-size: max(11px, 3.2cqw); font-weight: 700; }
.gcard__sticker { position: absolute; top: -26px; right: -18px; }

.gift-hero { overflow: hidden; } /* the tilted cards never cause a sideways scroll */
.gift-hero__inner { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 900px) { .gift-hero__inner { grid-template-columns: 1.1fr 1fr; } }
.gift-hero__art { position: relative; display: grid; place-items: center; padding: var(--space-6) var(--space-5); }
.gift-hero__art .gcard { grid-area: 1 / 1; }
.gift-hero__back { translate: -8% -14%; }
.gift-hero__front { translate: 6% 10%; }
.gift-hero__sparkle { position: absolute; left: 0; bottom: 0; }

.gift-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-7) var(--space-6); }
@media (min-width: 760px) { .gift-cards { grid-template-columns: repeat(3, 1fr); } }
.gift-cards li { display: grid; justify-items: center; gap: var(--space-4); }
.gift-cards__caption { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .gift-hero__front { transition: rotate .2s ease-out; }
  .gift-hero__art:hover .gift-hero__front { rotate: -3deg; }
}

/* Contact page: other ways to reach us, and the nudges to the fuller teach/host forms. */
.contact-ways { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.contact-ways li { display: grid; gap: 2px; }
.contact-ways a { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.contact-nudge {
  display: none; margin: 0; padding: var(--space-3) var(--space-4);
  background: var(--mint); border: var(--line-outline); border-radius: var(--radius-input);
  font-size: 15px; line-height: 22px;
}
.contact-nudge a { font-weight: 700; color: var(--navy); }
.form-card:has(input[name="role"][value="maker"]:checked) .contact-nudge--maker,
.form-card:has(input[name="role"][value="venue"]:checked) .contact-nudge--venue { display: block; }
.site-footer__legal { display: flex; gap: var(--space-5); }
