/* Krystyn's Cookie Cottage
   Palette pulled from her "Meet your baker" card: blush, sage, forest ink, cookie gold. */
:root {
  --paper: #FBF1E8;      /* matches her logo's background */
  --paper-2: #F7E8E2;
  --blush: #EFC6BF;
  --blush-deep: #D98F8A;
  --sage: #A3B296;
  --sage-deep: #607356;
  --forest: #33422F;     /* text ink */
  --forest-soft: #5A6855;
  --cookie: #D49A5C;
  --cocoa: #8F7768;      /* her logo's line color */
  --white: #FFFDF9;

  --f-display: "Young Serif", Georgia, serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-script: "Allura", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius-soft: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blush-deep); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 1rem/1 var(--f-body);
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--blush) 60%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1.5px var(--blush); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-script { font: 400 2.1rem/0.9 var(--f-script); color: var(--forest); }
.brand-sub { font: 400 .78rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--cocoa); margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 6px 2px; background: linear-gradient(var(--blush-deep), var(--blush-deep)) left bottom / 0 2px no-repeat; transition: background-size .25s; }
.site-nav a:not(.btn):hover { background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle, .header-order { display: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  min-height: calc(100svh - 75px - var(--bar-h)); /* one full screen between header and social bar */
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(32px, 5vh, 64px) var(--gutter) clamp(72px, 10vh, 112px);
}
.hero-copy { max-width: 560px; }
.hero-script { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1 var(--f-script); color: var(--blush-deep); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.06; max-width: 13ch; text-wrap: balance; }
.lede { margin-top: 24px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 44ch; color: var(--forest-soft); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { margin-top: 28px; font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hearts { color: var(--blush-deep); letter-spacing: 2px; font-size: 1.05rem; }

.hero-visual { position: relative; width: 100%; max-width: 460px; margin: 0 4% 0 auto; }
.hero-logo { width: 100%; aspect-ratio: 1; }
.cookie-slot {
  position: absolute; right: -14%; bottom: -12%;
  width: clamp(130px, 14vw, 180px); aspect-ratio: 1;
}
.hero-note {
  position: absolute; right: calc(clamp(130px, 14vw, 180px) - 2%); bottom: -8%;
  font: 700 1.45rem/1.05 var(--f-hand); color: var(--sage-deep); text-align: right; transform: rotate(-3deg);
}
.note-arrow { position: absolute; width: 64px; height: 40px; right: -58px; top: -30px; color: var(--sage-deep); transform: scaleX(-1) rotate(-30deg); }

/* ---------- ribbon ---------- */
.ribbon { background: var(--sage); color: var(--white); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: 0 -10px; }
.ribbon-track { display: flex; gap: 0; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon span { font: 400 1.25rem/1 var(--f-display); padding: 0 22px; white-space: nowrap; }
.ribbon span::after { content: "♥"; color: var(--blush); margin-left: 44px; font-size: .9rem; position: relative; top: -2px; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .custom-intro h2, .about-copy h2, .order-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 12px; color: var(--forest-soft); font-size: 1.1rem; }
.handnote { font: 700 1.45rem/1.15 var(--f-hand); color: var(--sage-deep); }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font: 700 .95rem/1 var(--f-body); color: var(--forest);
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--forest);
  background: transparent; cursor: pointer;
}
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--forest); color: var(--white); }
.masonry { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 18px; }
.masonry li { break-inside: avoid; margin-bottom: 18px; }
.masonry li[hidden] { display: none; }
[hidden].btn { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 8px; }
.tile {
  display: block; width: 100%; padding: 0; border: 0; background: var(--white); cursor: zoom-in;
  border-radius: var(--radius-soft); overflow: hidden; text-align: left; color: var(--forest);
  box-shadow: 0 1px 0 var(--blush), 0 14px 30px -22px rgba(51, 66, 47, .55);
}
.tile img { width: 100%; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.035); }
.tile span { display: block; padding: 12px 16px 14px; font: 700 1.35rem/1.1 var(--f-hand); }

/* ---------- custom ---------- */
.custom { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.custom-intro p { margin-top: 16px; color: var(--forest-soft); max-width: 44ch; }
.flavors { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.flavors li { background: var(--blush); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.flavors li.signature { background: var(--forest); color: var(--white); }
.flavors li.signature::before { content: "♥"; color: var(--blush); margin-right: 6px; }
.custom-intro .flavor-note { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--blush); font-size: .98rem; max-width: 46ch; }
.flavor-note strong { color: var(--forest); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 22px 24px 22px 84px; background: var(--white); border-radius: var(--radius-soft);
  border: 1.5px dashed var(--sage);
}
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: var(--white); font: 400 1.3rem/1 var(--f-display);
}
.steps h3 { font-size: 1.35rem; }
.steps p { margin-top: 6px; color: var(--forest-soft); }
.custom-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; background: var(--paper-2); border-radius: var(--radius-soft); }
.custom-cta .handnote { flex: 1 1 340px; max-width: 54ch; }

/* ---------- classes ---------- */
.class-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; margin-bottom: 52px; }
.class-feature img { border-radius: 999px 999px var(--radius-soft) var(--radius-soft); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; object-position: 50% 70%; }
.class-feature h3 { font-size: 1.7rem; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "♥"; position: absolute; left: 4px; top: 0; color: var(--blush-deep); }
.mini-quote { margin: 24px 0 0; padding: 18px 22px; background: var(--blush); border-radius: var(--radius-soft); font: 700 1.5rem/1.15 var(--f-hand); }
.mini-quote cite { display: block; margin-top: 8px; font: 700 .9rem/1 var(--f-body); font-style: normal; color: var(--forest-soft); }

.sample-note[hidden] { display: none; }
.sample-note { margin-bottom: 12px; transform: rotate(-1deg); display: inline-block; color: var(--blush-deep); }
.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center;
  background: var(--white); border-radius: var(--radius-soft); padding: 18px 22px;
  border: 1.5px solid var(--paper-2);
}
.event-date { text-align: center; background: var(--paper-2); border-radius: 14px; padding: 10px 6px; }
.event-date .m { font-weight: 800; font-size: .85rem; color: var(--blush-deep); }
.event-date .d { font: 400 2.1rem/1 var(--f-display); }
.event h3 { font-size: 1.35rem; }
.event p { color: var(--forest-soft); font-size: .98rem; margin-top: 2px; }
.event .seats { margin-top: 8px; display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; }
.seat-bar { width: 120px; height: 8px; border-radius: 9px; background: var(--paper-2); overflow: hidden; }
.seat-bar i { display: block; height: 100%; background: var(--sage-deep); border-radius: 9px; }
.event-buy { text-align: right; }
.event-buy .price { font: 400 1.4rem/1 var(--f-display); margin-bottom: 10px; }
.event-buy .price small { font: 600 .8rem var(--f-body); color: var(--forest-soft); }
.event.is-full .btn { background: transparent; color: var(--forest-soft); border-color: var(--blush); }

.private-class {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 30px; border-radius: var(--radius-soft);
  background: var(--sage); color: var(--white);
}
.private-class h3 { font-size: 1.6rem; }
.private-class p { margin-top: 6px; max-width: 56ch; }
.private-class .btn-ghost { color: var(--white); border-color: var(--white); }
.private-class .btn-ghost:hover { background: var(--white); color: var(--forest); }

/* ---------- treats ---------- */
.treat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.treat img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 50%; border: 6px solid var(--white); box-shadow: 0 0 0 2px var(--blush); }
.treat h3 { font-size: 1.3rem; margin-top: 18px; }
.treat p { margin-top: 6px; color: var(--forest-soft); font-size: .98rem; }

/* ---------- reviews ---------- */
.reviews { max-width: none; background: var(--blush); margin-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 120px); }
.reviews > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.reviews .section-head p { color: var(--forest); }
.notes { columns: 3 280px; column-gap: 20px; }
.note {
  break-inside: avoid; margin: 0 0 20px; padding: 26px 24px 20px;
  background: var(--white) repeating-linear-gradient(transparent 0 31px, #F1DCD6 31px 32px);
  background-position: 0 14px;
  border-radius: 6px;
  box-shadow: 0 18px 30px -24px rgba(51, 66, 47, .6);
  position: relative;
}
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: color-mix(in srgb, var(--sage) 70%, transparent); }
.note:nth-child(3n+1) { rotate: -1deg; }
.note:nth-child(3n+2) { rotate: .8deg; }
.note blockquote { margin: 0; font: 600 1.55rem/32px var(--f-hand); }
.note figcaption { margin-top: 14px; font-weight: 800; font-size: .95rem; }
.note figcaption span { font-weight: 600; color: var(--forest-soft); margin-left: 6px; }
.note-wide blockquote { font-size: 1.7rem; }
.section-head .swipe-hint { display: none; margin-top: 4px; font: 700 1.25rem/1 var(--f-hand); color: var(--forest); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 999px 999px var(--radius-soft) var(--radius-soft); aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 30%; width: 100%; border: 8px solid var(--white); box-shadow: 14px 14px 0 var(--blush); }
.photo-note { position: absolute; right: -6px; top: 18%; font: 700 1.8rem/1 var(--f-hand); color: var(--blush-deep); transform: rotate(8deg); background: var(--paper); padding: 4px 12px; border-radius: 10px; }
.about-copy p { margin-top: 16px; max-width: 58ch; color: var(--forest-soft); }
.about-copy .signoff { font: 400 2rem/1.15 var(--f-script); color: var(--sage-deep); margin-top: 24px; }

/* ---------- order ---------- */
.order { padding-bottom: clamp(80px, 10vw, 130px); }
.order-card { background: var(--white); border-radius: 28px; padding: clamp(24px, 5vw, 56px); border: 2px solid var(--paper-2); box-shadow: 0 30px 60px -40px rgba(51, 66, 47, .45); }
.order-head { max-width: 620px; margin-bottom: 30px; }
.order-head p { margin-top: 10px; color: var(--forest-soft); }
.order-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
.opt { font-weight: 600; color: var(--forest-soft); }
.field input:not([type=checkbox]), .field select, .field textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--forest);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid #E2D3CC; background: var(--paper);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 45%, transparent); }
.field [aria-invalid="true"] { border-color: var(--blush-deep); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1.5px solid #E2D3CC; cursor: pointer; }
.checks input { accent-color: var(--sage-deep); width: 18px; height: 18px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .88rem; color: var(--forest-soft); }
.form-error { grid-column: 1 / -1; color: #A2453F; font-weight: 700; }
.order-success { text-align: center; padding: 30px 10px; }
.order-success svg { width: 90px; height: 84px; color: var(--sage-deep); }
.order-success h3 { font-size: 2rem; margin-top: 10px; }
.order-success p { margin: 10px auto 22px; max-width: 44ch; color: var(--forest-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--sage-deep); color: var(--white); padding: 64px var(--gutter) 28px; position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 30px;
  background: radial-gradient(circle at 20px 30px, var(--sage-deep) 20px, transparent 21px) 0 0 / 40px 30px repeat-x;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 150px; height: 150px; border-radius: 50%; border: 5px solid var(--white); }
.footer-tag { margin-top: 16px; max-width: 30ch; }
.site-footer h2 { font-size: 1.3rem; margin-bottom: 12px; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.contact a { text-decoration-color: var(--blush); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-fine { max-width: var(--max); margin: 40px auto 0; font-size: .85rem; opacity: .8; }

/* ---------- sticky social bar ---------- */
:root { --bar-h: 56px; }
body { padding-bottom: var(--bar-h); }
.social-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 4px;
  padding: 0 var(--gutter);
  padding-right: calc(var(--gutter) + 120px); /* room for the cookie */
  background: var(--forest); color: var(--white);
  box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .5);
}
.social-label { font: 700 1.35rem/1 var(--f-hand); color: var(--blush); margin-right: 10px; white-space: nowrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap;
  transition: background .2s;
}
.social-link:hover { background: rgba(255, 255, 255, .12); }
.social-link svg { width: 22px; height: 22px; flex: none; }
.social-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .25); margin: 0 8px; }
.social-bar :focus-visible { outline-color: var(--blush); }

/* ---------- the cookie ---------- */
.cookie {
  position: fixed; left: 0; top: 0; z-index: 50;
  width: 200px; height: 200px;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(110, 70, 30, .28));
}
.cookie-inner { width: 100%; height: 100%; pointer-events: auto; cursor: pointer; }
.cookie svg { width: 100%; height: 100%; overflow: visible; }
.cookie.is-gone { opacity: 0; transition: opacity .3s; }
.cookie-inner.chomp { animation: chomp .38s ease; }
@keyframes chomp {
  0% { transform: scale(1) rotate(0); }
  35% { transform: scale(.9) rotate(-6deg); }
  70% { transform: scale(1.05) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.crumbs { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 49; }
.all-gone {
  position: fixed; right: 18px; bottom: calc(var(--bar-h) + 14px); z-index: 51;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--forest); color: var(--white); text-decoration: none;
  padding: 12px 18px; border-radius: 18px 18px 4px 18px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.45);
  animation: pop .35s cubic-bezier(.3,1.6,.5,1);
}
.all-gone[hidden] { display: none; }
.all-gone strong { font: 700 1.3rem/1.1 var(--f-hand); }
.all-gone span { font-size: .9rem; font-weight: 700; color: var(--blush); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- dialogs ---------- */
dialog { border: 0; border-radius: 22px; padding: 0; color: var(--forest); background: var(--white); max-width: min(92vw, 820px); }
dialog::backdrop { background: rgba(51, 66, 47, .6); backdrop-filter: blur(3px); }
.close { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--forest); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox p { padding: 12px 20px 16px; font: 700 1.5rem/1.1 var(--f-hand); }
.events-status { padding: 22px 24px; background: var(--white); border-radius: var(--radius-soft); border: 1.5px dashed var(--sage); color: var(--forest-soft); }
.events-status a { font-weight: 700; color: var(--forest); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .treat-row { grid-template-columns: repeat(2, 1fr); }
  .custom, .class-feature, .about { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  /* phones/tablets: "Order cookies" always visible in the header, other links behind the menu icon */
  .header-order { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .nav-toggle {
    display: inline-grid; place-items: center; flex: none;
    width: 42px; height: 42px; padding: 0; border-radius: 50%;
    color: var(--forest); background: transparent; border: 2px solid var(--forest); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; grid-area: 1 / 1; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--blush);
    padding: 8px var(--gutter) 18px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
  .site-nav .btn { display: none; }
  .hero {
    grid-template-columns: 1fr; gap: 28px; min-height: 0;
    padding-top: 20px; text-align: center; justify-items: center;
  }
  .hero-visual { order: -1; width: min(64vw, 300px); margin: 0 auto 30px; }
  .cookie-slot { right: -34%; bottom: -14%; width: clamp(92px, 26vw, 120px); }
  .hero-note { right: auto; left: -14%; bottom: -16%; font-size: 1.2rem; text-align: left; transform: rotate(-5deg); }
  .note-arrow { display: none; }
  .hero-copy { max-width: 600px; }
  .hero h1 { max-width: 14ch; margin: 0 auto; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { padding-top: 14px; padding-bottom: 56px; gap: 18px; }
  .hero-visual { width: min(54vw, 260px); margin-bottom: 26px; }
  .hero-note { left: -30%; bottom: -14%; font-size: 1.1rem; }
  .hero-script { font-size: 1.75rem; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .lede { margin-top: 14px; font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; margin: 22px auto 0; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 4px; font-size: .9rem; }

  .section { padding-top: 64px; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 1rem; }

  /* gallery: two columns instead of one long stack */
  .masonry { columns: 2; column-gap: 10px; }
  .masonry li { margin-bottom: 10px; }
  .tile { border-radius: 12px; }
  .tile span { padding: 8px 10px 10px; font-size: 1.05rem; }
  .filters { gap: 6px; }
  .chip { padding: 9px 13px; font-size: .88rem; }

  .steps li { padding: 18px 18px 18px 64px; }
  .steps li::before { left: 16px; top: 18px; width: 36px; height: 36px; font-size: 1.1rem; }
  .custom-cta { padding: 22px 20px; }
  .custom-cta .btn { width: 100%; }

  .class-feature { margin-bottom: 36px; }
  .class-feature img { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--radius-soft) var(--radius-soft); }
  .mini-quote { font-size: 1.3rem; }
  .event { padding: 16px; }
  .event h3 { font-size: 1.2rem; }
  .event p { font-size: .92rem; }
  .event .seats { gap: 8px; font-size: .84rem; }
  .seat-bar { width: 56px; flex: none; }
  .private-class { padding: 24px 20px; }
  .private-class .btn { width: 100%; }

  /* reviews: swipe through instead of a long stack */
  .reviews { padding-bottom: 64px; }
  .notes {
    columns: auto; display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 14px var(--gutter) 18px;
    scrollbar-width: none;
  }
  .notes::-webkit-scrollbar { display: none; }
  .note { flex: 0 0 84%; margin: 0; scroll-snap-align: center; rotate: none !important; }
  .note blockquote, .note-wide blockquote { font-size: 1.4rem; line-height: 32px; }
  .section-head .swipe-hint { display: block; }

  .about-photo img { aspect-ratio: 1; }
  .photo-note { right: 4px; font-size: 1.5rem; }
  .about-copy .signoff { font-size: 1.7rem; }
  .order-card { padding: 22px 18px; border-radius: 22px; }
  .form-foot .btn { width: 100%; }
  .site-footer { padding-top: 52px; }
  .order-form { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
  .event-date .d { font-size: 1.6rem; }
  .event-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .event-buy .price { margin: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand { gap: 8px; min-width: 0; }
  .brand-script { font-size: 1.65rem; }
  .brand-sub { font-size: .66rem; letter-spacing: .16em; white-space: nowrap; }
  .brand-logo { width: 40px; height: 40px; }
  .header-order { padding: 9px 14px; font-size: .86rem; }
  .all-gone { right: 12px; }
}
@media (max-width: 760px) {
  .social-label, .social-sep { display: none; }
  .social-bar { justify-content: space-around; padding-right: calc(var(--gutter) + 70px); gap: 0; }
  .social-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .social-link { padding: 10px; }
  .social-link svg { width: 26px; height: 26px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .social-link[href^="mailto"] span, .social-link[href^="tel"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
  .tile img, .btn { transition: none; }
}
.nowrap { white-space: nowrap; }
