/* SnackMasterG. Colours, lettering and art from Gavin's own banner and bag labels (17 Nov 2026):
   brick wall #A0472B, logo gold #F6C82C, label mustard #FDB82D and butter #F5CD7B, comb red #DD3530, and the thick near-black
   outline every label uses. Display type: Luckiest Guy (Apache 2.0), the closest match to the label lettering. Body: Atkinson
   Hyperlegible Next (OFL). The look is a printed label: hard ink outlines, flat offset shadows, a little print grain. */

@font-face { font-family: "Luckiest Guy"; src: url("../fonts/luckiest-guy-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --brick: #A0472B; --brick-deep: #6E2E1B; --gold: #F6C82C; --mustard: #FDB82D; --butter: #F5CD7B; --pancake: #EFC473;
  --cream: #FFF6E2; --ink: #1E150C; --ink-2: #4A3826; --red: #C42A25; /* the comb red #DD3530, deepened for text contrast */
  --line: 3px solid var(--ink); --r: 18px; --wrap: 1180px;
  --sec: clamp(72px, 8vw, 112px);        /* one rhythm for every section */
  --head-gap: clamp(32px, 4vw, 52px);    /* section heading to its content */
  --display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: 78px;                          /* the sticky header's height */
  --vh: 1vh;
  /* header and hero: wider on tall screens so Gavin and Quinn can fill the height (about 1.6 x the hero's height), never past the screen */
  --gutter: max(16px, 3vw);              /* the page's side margin */
  --hero-wrap: min(100% - 2 * var(--gutter), max(var(--wrap), calc(1.61 * (100 * var(--vh) - var(--head)) + 56px)));
  color-scheme: light;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }  /* the screen with the browser's bars showing: what a visitor sees first */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--ink); }  /* clears the sticky header; ink past both ends, like the header and footer */
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-head .wrap, .hero .wrap { width: var(--hero-wrap); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--gold); border: var(--line); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold); }
.js .no-js { display: none; }
html:not(.js) .js-only { display: none; }

/* Print grain, as on the labels */
.intro, .treats { background-image: url("../img/grain.png"); background-size: 180px; }

/* Buttons: sticker-cut, ink outline, flat shadow that presses in */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .87em 1.35em .53em;   /* Luckiest Guy sits high in its line: text measured centred in Chrome and WebKit */
  font: 1.2rem/1 var(--display); letter-spacing: .02em; color: var(--ink); text-decoration: none; cursor: pointer;
  border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-gold { background: var(--gold); }
.btn-cream { background: var(--cream); }

/* Lettering like the labels: gold fill, ink outline, ink drop */
.title, .shout {
  margin: 0 0 .35em; font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .015em;
  color: var(--gold); -webkit-text-stroke: .085em var(--ink); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--ink);
}
.title { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }

/* Header: ink bar, sticky, like the footer. Logo, the three sections, Order. Phones: Menu opens the links (js/site.js) */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--cream); box-shadow: 0 3px 0 rgba(30, 21, 12, .35); }
.head-row { position: relative; display: flex; align-items: center; gap: 12px 28px; height: var(--head); }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { width: clamp(168px, 17vw, 214px); }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 16px 9px; border-radius: 999px; font: 1.06rem/1 var(--display); letter-spacing: .04em;
  color: var(--cream); text-decoration: none;
}
.site-nav a:hover { color: var(--gold); background: rgba(255, 246, 226, .08); }
.head-cta { min-height: 46px; padding: .7em 1.35em .42em; font-size: 1.08rem; border-color: var(--gold); box-shadow: none; }
.head-cta:hover { transform: none; box-shadow: none; background: #FFD84A; }
.menu-btn { display: none; }

/* Hero: Gavin's brick wall (img/brick.svg, tools/make_bricks.py). Exactly the first screen under the header at every size
   (tests/fold_check.py): the headline, lede, both buttons, Gavin and Quinn and the badge are always on it, and the next section starts
   right at its bottom edge. Type and spacing scale with the screen's height as well as its width; Gavin and Quinn stand on the
   hero's bottom edge on a stage that takes whatever room is left (if that's short, they rise from the edge, faces first). */
.hero { position: relative; overflow: hidden; background: var(--brick) url("../img/brick.svg") 0 0 / 784px 264px repeat; border-bottom: 4px solid var(--ink); color: var(--cream); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); column-gap: clamp(20px, 3.5vw, 56px);
  min-height: calc(100 * var(--vh) - var(--head) - 4px);
}
.hero-copy { align-self: center; padding-block: clamp(20px, calc(5 * var(--vh)), 64px); container-type: inline-size; }
.hero-kicker {
  display: inline-block; margin: 0 0 clamp(12px, calc(2.6 * var(--vh)), 28px); padding: .62em 1.1em .5em; font: clamp(.86rem, calc(1.9 * var(--vh)), 1.12rem)/1 var(--display);
  letter-spacing: .07em; color: var(--ink); background: var(--cream); border: var(--line); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg);
}
.hero-title {
  margin: 0; font: 400 clamp(1.6rem, min(9.6cqi, calc(8.4 * var(--vh))), 6.6rem)/.95 var(--display); letter-spacing: .01em; color: var(--gold);
  white-space: nowrap;  /* each half on its own line; the size above keeps the longer one (9.89em) inside the column */
  -webkit-text-stroke: .085em var(--ink); paint-order: stroke fill; text-shadow: .06em .07em 0 var(--ink);
}
.hero-title span { display: block; }
.hero-title .hero-title-2 { color: var(--cream); }
.hero-lede {
  max-width: 34ch; margin: clamp(12px, calc(2.8 * var(--vh)), 28px) 0 clamp(16px, calc(3.6 * var(--vh)), 34px);
  font-size: clamp(1rem, min(3.4cqi, calc(2.6 * var(--vh))), 1.55rem); font-weight: 600; line-height: 1.5; text-shadow: 0 2px 0 rgba(30, 21, 12, .45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.hero-actions .btn { min-height: clamp(48px, calc(7 * var(--vh)), 64px); font-size: clamp(1.05rem, calc(2.3 * var(--vh)), 1.4rem); padding-inline: 1.5em; }
.hero-note { margin: clamp(12px, calc(2.6 * var(--vh)), 24px) 0 0; font-weight: 700; font-size: 1.05rem; color: var(--cream); }
.hero-note::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); vertical-align: 1px; }
/* The art column is a size container: the stage is as big as the column allows, keeps the art's shape, and sits on the bottom edge */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 0; container-type: size; }
.hero-stage {
  --sh: min(calc(100cqh - clamp(14px, calc(4 * var(--vh)), 44px)), calc((100cqh - 10px) / 1.1), calc(100cqw * 2722 / 2812));
  /* the middle term: room above for the badge (10% of the art high) on short laptop screens; taller screens already have it */
  position: relative; flex: none; margin-top: auto; height: var(--sh); aspect-ratio: 2812 / 2722;
}
.hero-stage img { position: relative; z-index: 1; width: 100%; height: 100%; }
.hero-stage::before {  /* a gold sun behind them, outlined like everything else */
  content: ""; position: absolute; left: 50%; bottom: 14%; width: 94%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); box-shadow: 9px 10px 0 rgba(30, 21, 12, .42);
}
.hero-badge {  /* a true circle; its three words sized to it and centred (Luckiest Guy sits high in its line: measured by the letters, .21em down and .035em right) */
  --bw: clamp(64px, calc(var(--sh) * .21), 132px);
  position: absolute; z-index: 2; display: grid; place-items: center; box-sizing: border-box;
  top: -10%; left: 12%;  /* on the sun's upper-left rim, like a seal, with gold between it and Quinn's ear */
  width: var(--bw); height: var(--bw); margin: 0; padding: .42em 0 0 .07em; text-align: center;
  font: calc(var(--bw) * .2)/.92 var(--display); letter-spacing: .02em;
  color: var(--cream); background: var(--red); border: var(--line); border-radius: 50%; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-10deg);
}
/* Phones, and screens taller than they are wide (tablets upright): the words on top, Gavin and Quinn under them */
@media (max-width: 700px), (max-aspect-ratio: 5/6) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .hero-copy { align-self: start; padding: clamp(18px, calc(3.4 * var(--vh)), 56px) 0 clamp(12px, calc(2.4 * var(--vh)), 28px); }
  .hero-lede { max-width: 40ch; }
  .hero-title { font-size: clamp(1.6rem, min(9.6cqi, calc(6.6 * var(--vh))), 6.6rem); }
  .hero-lede { font-size: clamp(1rem, min(3.4cqi, calc(2.2 * var(--vh))), 1.4rem); }
  .hero-art { overflow: hidden; }  /* on a short phone they rise from the bottom edge, faces first */
  .hero-stage { --sh: max(min(calc(100cqh - 8px), calc((100cqw - 152px) * 2722 / 2812)), 210px); }  /* room at the side for the badge */
  .hero-stage::before { width: 88%; }
  /* the badge beside them, in the room left at the side, never over a face */
  .hero-badge { --bw: clamp(62px, calc((100cqw - var(--sh) * 2812 / 2722) / 2 - 10px), 108px); left: calc(100% + 2px); right: auto; top: 16%; }
}
/* Short phones: the drop-off note gives its room to Gavin and Quinn (it's in step 3 too) */
@media (max-width: 700px) and (max-height: 600px) { .hero-note { display: none; } }
/* Phones on their side: one compact row */
@media (max-height: 480px) and (min-width: 560px) {
  html:root { --head: 58px; }  /* beats the phone header height further down */
  .hero-kicker, .hero-note { display: none; }
  .hero-lede { margin: 8px 0 12px; font-size: .98rem; line-height: 1.4; }
  .hero-actions .btn { min-height: 44px; font-size: 1rem; padding-inline: 1.15em; }
  .hero-copy { padding-block: 12px; }
}

/* Intro: mustard, like the Beef Strips label */
.intro { background-color: var(--mustard); border-bottom: 4px solid var(--ink); padding: var(--sec) 0 calc(var(--sec) * .8); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .45fr); gap: 40px; align-items: center; }
.intro-text { grid-column: 2; grid-row: 1; }
.shout { font-size: clamp(3rem, 8vw, 6rem); transform: rotate(-3deg); color: var(--cream); }
@media (min-width: 1001px) { .shout { font-size: clamp(3rem, 5.8vw, 5.2rem); } }
.intro-text p { margin: 0 0 1em; font-size: 1.22rem; max-width: 52ch; }
.intro-text p:last-child { margin-bottom: 0; }
.promises { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 16px; padding: 0; margin-top: var(--head-gap); margin-bottom: 0; }
.promises li {
  font: 1.12rem/1 var(--display); letter-spacing: .02em; padding: .7em 1em .55em; background: var(--cream);
  border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink);
}
.promises li:nth-child(odd) { transform: rotate(-2.2deg); }
.promises li:nth-child(even) { transform: rotate(1.8deg); }

/* Section colours, top to bottom: brick hero, mustard intro, cream treats, ink order, brick story, ink footer (no two
   sections side by side in the same colour). */
/* The treats: the characters (traced to one style, tools/harmonize_art.py) on one panel colour; each card's rows (art, name,
   description, facts, button) line up across the row with subgrid, so nothing floats */
.treats { background-color: var(--cream); padding: var(--sec) 0; border-bottom: 4px solid var(--ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 48px; margin-bottom: var(--head-gap); }
.section-head .title { margin: 0; }
.treats .section-head { margin-bottom: calc(var(--head-gap) + 14px); }  /* the price stickers rise above the cards */
.lead { margin: 0; max-width: 40ch; font-size: 1.2rem; font-weight: 600; line-height: 1.5; }
.treat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 40px; }
.treat {
  position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; min-width: 0;
  /* the one column is pinned to the card: Safari otherwise sizes it from the art's natural width and the content spills into the next card */
  background: #FFFCF4; border: var(--line); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink);
}
.treat-art {
  min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 24px 24px 20px;
  /* WebKit's subgrid makes this row ~4.5 px taller than the panel (cream space above the name); align-self: stretch collapses the panel there, so leave it */
  background: var(--mustard) url("../img/grain.png") 0 0 / 180px; border-bottom: var(--line); border-radius: calc(var(--r) - 3px) calc(var(--r) - 3px) 0 0;
}
/* Each character is a whole die-cut sticker (tools/harmonize_art.py): nothing cut off, a little turned, a flat shadow.
   Placed absolutely in the panel's padded area (24 24 20) and fitted with contain: Safari/WebKit can't resolve height: 100% against
   a height that comes from aspect-ratio, so the sticker showed at its natural size, spilled out of the panel and stretched the row. */
.treat-art img {
  position: absolute; top: 24px; left: 24px; width: calc(100% - 48px); height: calc(100% - 44px); object-fit: contain;
  transform: rotate(-2.5deg); filter: drop-shadow(5px 6px 0 rgba(30, 21, 12, .38));
}
.treat:nth-child(even) .treat-art img { transform: rotate(2deg); }
.price {
  position: absolute; top: -18px; left: -18px; display: grid; place-items: center; width: 74px; height: 74px; padding-top: 6px;
  font: 1.6rem/1 var(--display); color: var(--cream); background: var(--red); border: var(--line); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink); transform: rotate(-11deg);
}
.treat:nth-child(even) .price { transform: rotate(8deg); }
.treat h3 { margin: 0; padding: 20px 30px 0; font: clamp(1.8rem, 2.6vw, 2.2rem)/1 var(--display); letter-spacing: .015em; }
.treat .desc { margin: 0; padding: 10px 30px 0; font-size: 1.1rem; line-height: 1.55; max-width: 46ch; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 36px; align-content: start; margin: 22px 30px 0; padding: 18px 0 0; border-top: 2px dashed rgba(30, 21, 12, .32); }
.facts dt { font: .8rem/1.2 var(--display); letter-spacing: .09em; color: var(--ink-2); }
.facts dd { margin: 4px 0 0; font-weight: 600; line-height: 1.4; }
.pick { align-self: end; padding: 26px 30px 30px; }
.add { width: 100%; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: var(--line); border-radius: 999px; background: var(--gold); padding: 4px; box-shadow: 4px 4px 0 var(--ink); }
.qty button { width: 44px; height: 44px; border: var(--line); border-radius: 50%; background: var(--cream); font: 1.5rem/1 var(--display); color: var(--ink); cursor: pointer; padding-top: 4px; }
.qty output { font: 1.45rem/1 var(--display); padding-top: 4px; text-align: center; flex: 1; }

/* How to order + the order slip */
.order { background-color: var(--ink); color: var(--cream); padding: var(--sec) 0; border-bottom: 4px solid var(--ink); }
.order .title { text-shadow: .06em .07em 0 var(--brick); }   /* the ink drop would vanish on ink: the wall's red instead */
.order .steps strong { color: var(--gold); }
.order .order-email { color: var(--gold); }
.order .steps li::before { color: var(--ink); border-color: var(--gold); box-shadow: 3px 3px 0 var(--brick); }
.order .pickup, .order .slip { color: var(--ink); box-shadow: 7px 7px 0 var(--gold); }
.order :focus-visible { outline-color: var(--gold); box-shadow: 0 0 0 6px var(--brick); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.how .title { margin-bottom: var(--head-gap); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; position: relative; padding-left: 68px; min-height: 52px; font-size: 1.2rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 50px; height: 50px; display: grid; place-items: center; padding-top: 5px;
  font: 1.5rem/1 var(--display); background: var(--gold); border: var(--line); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
}
/* Where to pick up: a ticket under the steps */
.pickup {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 24px; margin-top: 40px; padding: 24px 26px;
  background: var(--cream); border: var(--line); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink);
}
.pickup p { grid-column: 1; margin: 0; }
.pickup-k { font: .8rem/1.2 var(--display); letter-spacing: .09em; color: var(--ink-2); }
.pickup-name { font: 1.9rem/1.05 var(--display); letter-spacing: .015em; margin-top: 4px !important; }
.pickup-addr { font-weight: 600; margin-top: 6px !important; }
.pickup-go { grid-column: 2; grid-row: 1 / span 3; }
.order-email { font-weight: 700; overflow-wrap: anywhere; }
.slip {
  position: relative; background: var(--cream); border: var(--line); border-radius: 6px; padding: 30px 28px 26px; box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(.6deg);
}
.slip::before { content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 8px;
  background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 4px) 0 0 / 16px 8px repeat-x; }  /* punched holes: the section shows through */
.slip h3 { margin: 4px 0 14px; font: 2rem/1 var(--display); letter-spacing: .02em; }
.slip-lines { list-style: none; margin: 0; padding: 0; }
.slip-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px dashed rgba(30, 21, 12, .3); font-weight: 600; }
.slip-empty { margin: 0 0 6px; color: var(--ink-2); }
.slip-total { display: flex; justify-content: space-between; margin: 14px 0 18px; font: 1.5rem/1 var(--display); letter-spacing: .02em; }
.slip-how { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.slip-how legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.slip-how label { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; min-height: 32px; }
.slip-how input { width: 24px; height: 24px; accent-color: var(--ink); margin: 0; }
.slip-field { display: block; font-weight: 700; margin: 12px 0 6px; }
.slip-field span { font-weight: 400; color: var(--ink-2); }
.slip-input { width: 100%; font: inherit; font-size: 1.05rem; padding: 10px 12px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; }
.slip-error { color: #9B1C17; font-weight: 700; margin: 12px 0 0; }
.slip-send { width: 100%; margin-top: 20px; }
.slip-small { margin: 10px 0 0; font-size: .95rem; color: var(--ink-2); }
.slip-address { margin: 18px 0 0; padding-top: 14px; border-top: 2px dashed rgba(30, 21, 12, .3); font-weight: 600; overflow-wrap: anywhere; }
.copy { margin-left: 6px; font: .95rem/1 var(--display); padding: 8px 12px 6px; background: var(--gold); border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; }
.todo { outline: 2px dashed #C0392B; outline-offset: 2px; }

/* The photos as taped prints: white border, ink outline, flat shadow, a strip of butter-yellow tape */
.print { position: relative; margin: 0; background: #FFFDF7; padding: 10px; border: var(--line); border-radius: 4px; box-shadow: 7px 8px 0 rgba(30, 21, 12, .55); }
.print img { width: 100%; border: 1px solid rgba(30, 21, 12, .25); }
.print figcaption { padding: 9px 0 1px; text-align: center; font: 1.45rem/1 var(--display); letter-spacing: .03em; }
.print::before { content: ""; position: absolute; top: -15px; left: 50%; width: 104px; height: 30px; margin-left: -52px; background: rgba(245, 205, 123, .85); border: 1px solid rgba(30, 21, 12, .12); transform: rotate(-4deg); }
.print-quinn { grid-column: 3; grid-row: 1; transform: rotate(4deg); max-width: 250px; justify-self: end; }

/* Gavin's story, pinned to the wall */
.story { background: var(--brick) url("../img/brick.svg") 0 0 / 784px 264px repeat; padding: var(--sec) 0 calc(var(--sec) + 16px); border-bottom: 4px solid var(--ink); }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.prints { position: relative; padding-bottom: 22%; }
.print-main { transform: rotate(-3deg); width: 90%; padding-bottom: 34px; }
.print-main::before { left: 12px; margin-left: 0; transform: rotate(-9deg); }
.print-main::after { content: ""; position: absolute; top: -13px; right: 10px; width: 104px; height: 30px; background: rgba(245, 205, 123, .85); border: 1px solid rgba(30, 21, 12, .12); transform: rotate(8deg); }
.print-second { position: absolute; right: 0; bottom: 0; width: 46%; transform: rotate(5deg); }
.note {
  background: var(--cream) repeating-linear-gradient(to bottom, transparent 0 calc(1.7em - 1px), rgba(30, 21, 12, .13) calc(1.7em - 1px) 1.7em);
  background-position: 0 1.55em; border: var(--line); border-radius: 6px; padding: 30px 36px 26px; box-shadow: 8px 9px 0 rgba(30, 21, 12, .6);
  font-size: 1.22rem; line-height: 1.7; transform: rotate(.8deg);
}
.note-title { margin: 0 0 .3em; font: clamp(2.2rem, 4.6vw, 3.2rem)/1.05 var(--display); letter-spacing: .015em; color: var(--red); }
.note p { margin: 0 0 1.7em; max-width: 56ch; }
.note .sign { margin: 0; font: 1.6rem/1.7 var(--display); letter-spacing: .02em; transform: rotate(-2deg); transform-origin: left; }

/* Footer */
.foot { background: var(--ink); color: var(--cream); padding: 56px 0 calc(28px + var(--host-clear, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.foot-logo { width: min(100%, 340px); }
.foot-h { margin: 0 0 8px; font: 1.25rem/1 var(--display); letter-spacing: .03em; color: var(--gold); }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--cream); }
.foot .foot-copy { margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 246, 226, .2); font-size: .95rem; color: rgba(255, 246, 226, .8); }

/* Phone order bar */
.orderbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--host-clear, 0px)); z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 18px 11px; background: var(--gold); color: var(--ink); text-decoration: none; font: 1.1rem/1 var(--display); letter-spacing: .02em;
  border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
}
.orderbar[hidden] { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 701px) { .orderbar { left: auto; right: 24px; bottom: calc(24px + var(--host-clear, 0px)); width: 330px; } }

/* Header on narrower screens: Menu button, the links drop down under the bar */
@media (max-width: 860px) {
  :root { --head: 66px; }
  .head-row { gap: 10px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; font: 1.02rem/1 var(--display); letter-spacing: .04em;
    color: var(--cream); background: transparent; border: 2px solid rgba(255, 246, 226, .5); border-radius: 999px; cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; top: 100%; left: -16px; right: -16px; padding: 8px 16px 18px; background: var(--ink); border-top: 1px solid rgba(255, 246, 226, .15); box-shadow: 0 6px 0 rgba(30, 21, 12, .35); }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 16px 4px 13px; font-size: 1.3rem; border-radius: 0; border-bottom: 1px solid rgba(255, 246, 226, .12); }
  html:not(.js) .site-nav { order: 9; width: 100%; } html:not(.js) .head-row { flex-wrap: wrap; } html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
}
@media (max-width: 480px) {
  .brand img { width: 138px; }
  .head-cta, .menu-btn { min-height: 42px; }
  .head-cta { padding-inline: 1.05em; font-size: 1rem; }
  .menu-btn { padding: .38em 13px 0; gap: 8px; font-size: .98rem; }   /* (the text measured centred; it sat 3 px high) */
}
/* Tablets */
@media (max-width: 1000px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .treat h3, .treat .desc, .pick { padding-left: 24px; padding-right: 24px; }
  .facts { margin-left: 24px; margin-right: 24px; }
  .order-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .intro-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 40px; }
  .intro-text { grid-row: 1 / span 2; }
  .print-quinn { grid-column: 1; grid-row: 2; justify-self: center; max-width: 220px; }
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-logo { grid-column: 1 / -1; }
}
/* Phones */
@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .hero, .story { background-size: 549px 185px; }  /* the brick tile at 70% */
  .hero-note { font-size: 1rem; }

  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .intro-text { grid-column: 1; grid-row: auto; }
  .print-quinn { grid-column: 1; grid-row: auto; max-width: 200px; transform: rotate(3deg); }
  .prints { width: min(100%, 420px); margin-inline: auto; }
  .note { padding: 24px 22px 20px; font-size: 1.12rem; transform: none; }
  .treat-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .treat-art { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .price { width: 64px; height: 64px; font-size: 1.4rem; top: -14px; left: -10px; }
  .treat h3 { padding: 16px 20px 0; }
  .treat .desc { padding: 8px 20px 0; font-size: 1.06rem; }
  .facts { margin: 18px 20px 0; }
  .pick { padding: 22px 20px 22px; }
  .pickup { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .pickup-go { grid-column: 1; grid-row: auto; margin-top: 16px; justify-self: start; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 1em; }
  .slip { padding: 28px 20px 22px; transform: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .shout { transform: rotate(-2deg); }
  main { padding-bottom: 0; }
  .foot { padding-bottom: calc(96px + var(--host-clear, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}

/* The host's free-plan badge (an iframe it adds to the page) stays hidden; on phones it covered the order bar. */
#nl-badge-frame { display: none !important; }
/* Backup (js/site.js): if a host badge or overlay shows at the bottom anyway, --host-clear is its height plus a gap; the order bar and the footer
   move up by it, so nothing covers the order total or the last lines. 0 (no change) otherwise. */
