/* ---------------------------------------------------------------------------
   Hot Box — eathotbox.com

   Same layout system as Mike & Patty's (grid, spacing scale, square corners,
   the band rhythm), different voice. The brands are siblings, not twins: they
   share the skeleton, never the display face.

   Type is Lato, not BentonSans. Benton ExtraComp/Cond Black IS M&P's voice —
   reusing it would make the two read as one brand — and it is a licensed Font
   Bureau face self-hosted for mikeandpattys.com, which serving from another
   brand's domain may not cover.

   COLOUR RULES, measured 2026-12-04 against the brand sheet. Read these before
   painting anything; two of the four brand colours cannot carry text.

     Red     #ee202e   on paper 3.79:1   display type only, never body copy
     Pink    #fac3c1   fills and bands only — 1.1:1 on paper
     Grey    #67686b   on paper 4.72:1   fine print, captions
     Black   #231f20   on paper 14.2:1   all body copy
     White   #ffffff   on Red  4.30:1    UNDER AA — large text only

   So: WHITE ON RED IS NOT BODY COPY. A red band carries a headline and a
   button, never a paragraph. Paragraphs on red want a white or pink plate
   under them. This is Hot Box's version of "OG Green can never carry text".
   --------------------------------------------------------------------------- */

:root {
  --red: #ee202e;
  --pink: #fac3c1;
  --grey: #67686b;
  --ink: #231f20;
  --paper: #fdedeb;          /* the page field: Pink at ~18%, never plain white */

  --display: "Lato", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --max: 84rem;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --header-h: 5rem;

  --bg: var(--paper);
  --fg: var(--ink);
  --line: rgb(35 31 32 / .16);
  --muted: var(--grey);
}

/* Square corners, like M&P: nothing gets a radius except photography, which
   takes 16px the way M&P's --maker-shape-image-border-radius does. */
:root { --radius: 0; --img-radius: 16px; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---- Type ------------------------------------------------------------------
   Lato Black, uppercase, tight. It carries the weight BentonSans ExtraComp
   carries for M&P without borrowing its shapes. Headlines are red on paper;
   at display sizes 3.79:1 clears AA large (3:1). Body stays black. */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); color: var(--red); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); color: var(--red); }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); letter-spacing: .01em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.label {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; font-size: .75rem; color: var(--grey);
}

a { color: inherit; }
img, svg { max-width: 100%; }

/* ---- Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); }
/* A .page-head already pads its own bottom; halve what the next section adds. */
.page-head + .section { padding-top: clamp(32px, 4.5vw, 64px); }

.two-col { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 861px) { .two-col { grid-template-columns: 1fr 1fr; } }

.head { margin-bottom: 40px; }
.head p { margin-top: 6px; color: var(--muted); }

/* ---- Colour bands ----------------------------------------------------------
   theme-red is the loud one. Its h2 goes white, which at 4.30:1 is AA-large
   only — so a red band gets a headline and a button, not paragraphs. Anything
   longer belongs on theme-pink, where black reads at 10.6:1. */
.theme-red  { background: var(--red); --bg: var(--red); --fg: #fff;
              --line: rgb(255 255 255 / .28); --muted: var(--pink); }
.theme-red h1, .theme-red h2, .theme-red h3, .theme-red p, .theme-red li,
.theme-red dd, .theme-red dt { color: #fff; }
/* The label was Pink on Red: 2.79:1, under even the 3:1 large-text floor, and
   it is 12px anyway. On red it goes white. Pink stays a fill, not a type
   colour -- the same rule as "OG Green can never carry text" on M&P. */
.theme-red .label { color: #fff; }
.theme-ink p, .theme-ink li, .theme-ink dd { color: #fff; }

.theme-pink { background: var(--pink); --bg: var(--pink); --fg: var(--ink);
              --line: rgb(35 31 32 / .22); --muted: #6b4a48; }
.theme-pink h1, .theme-pink h2 { color: var(--red); }

.theme-ink  { background: var(--ink); --bg: var(--ink); --fg: #fff;
              --line: rgb(255 255 255 / .2); --muted: #b9b7b8; }
.theme-ink h1, .theme-ink h2 { color: var(--red); }
.theme-ink h3 { color: #fff; }

/* ---- Buttons ---------------------------------------------------------------
   Square, heavy, no radius — same discipline as M&P's
   --maker-shape-button-border-radius: 0. */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 22px; border: 2px solid currentColor; background: none;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .04em; font-size: .9375rem; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--fg); color: var(--bg); }
/* The primary button is INK, not Red. White on Red is 4.30:1 and black on Red
   3.76:1 -- a 14px bold label clears neither, and AA's 3:1 concession is for
   large text only. Red stays the loud colour for fields, headlines and
   artwork; it just never carries a small label. On a red band the button
   flips to white with red text, which is the same 4.30:1 but with the ratio
   working for a large enough mark -- so that one is sized up. */
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.theme-red .btn { color: #fff; }
.theme-red .btn:hover { background: #fff; color: var(--red); }
.theme-red .btn-primary { background: #fff; border-color: #fff; color: var(--ink); }
.theme-red .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.text-link {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .04em; font-size: .875rem;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}

/* ---- Header ----------------------------------------------------------------
   Red bar, white type, 19px links.

   The size is a CONTRAST REQUIREMENT, not a taste call. White on Red measures
   4.30:1. AA wants 4.5:1 of normal text and allows 3:1 only for LARGE text,
   where large means 18.66px (14pt) at bold weight. At 19px/900 the nav clears
   that line and the pairing is compliant; at 17px it is not, and that is
   exactly what this row was while it carried six links. FAQ and Contact moved
   to the footer, four links fit at 19px, and the size came back with them.

   So: do not add a fifth and sixth link back to this row without either
   keeping 19px or accepting the miss. If it ever has to hold more, the
   one-line fix is .site-header { background: var(--ink) } -- white on ink is
   14.2:1 at any size, and red stays the loud colour everywhere else.
   The mobile panel sets its links to 19px for the same reason. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--red); color: #fff;
  border-bottom: 3px solid var(--ink);
}
.site-header .wrap.bar, .site-header > .wrap {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap; min-height: var(--header-h);
}

/* Pickup strip: the slim utility bar above the nav row, matching M&P's
   .pickup and the strip header-bar.js paints on the Square site. INK, not a
   tint of red: white on ink is 14.6:1, where white on red is 4.30:1 and fails
   below 18.66px bold -- and this type is 14px. */
.pickup { background: var(--ink); color: #fff; }
.pickup .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  min-height: 40px; font-size: .875rem; }
.pickup .where { display: flex; align-items: center; gap: 9px; min-width: 0; color: #fff; }
.pickup .where strong { font-weight: 900; }
.pickup .where:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.pickup .where:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pickup .pin { flex: 0 0 12px; }
/* #cfcdce on ink is 9.7:1 -- the footer's dim already uses it. */
.pickup .when { color: #cfcdce; white-space: nowrap; }
@media (max-width: 600px) { .pickup .when { display: none; } }
.site-header a { text-decoration: none; }
.header-mark { display: block; width: clamp(110px, 13vw, 156px); height: auto; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap;
            gap: clamp(.75rem, 1.6vw, 1.5rem); margin-inline-start: auto; }
.site-nav a {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .03em; font-size: 1.1875rem; padding: 4px 0;   /* 19px: see above */
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: #fff; }
.header-cta { margin-inline-start: auto; }
@media (min-width: 861px) { .site-nav { order: 2; } .header-cta { order: 3; margin-inline-start: 0; } }
.header-cta .btn { padding: 10px 18px; font-size: .875rem; }
/* On the red bar the CTA is ink: at 14px its label is small text, and neither
   white (4.30:1) nor black (3.79:1) clears 4.5:1 against red. */
.site-header .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* The burger only exists on small screens. */
.nav-check, .burger { display: none; }

@media (max-width: 860px) {
  /* Six links will not sit on one phone row, and an un-wrapped nav pushed the
     document to 575px at a 375px viewport. So below 861px the links move into
     a panel behind the burger instead of a second row. Nothing is unreachable:
     the toggle is always present -- hiding the nav with no toggle once left
     Menu, About and FAQ with no way in at all. */
  .site-header .wrap { gap: 12px; }
  .burger {
    display: block; flex: 0 0 44px; width: 44px; height: 44px;
    position: relative; cursor: pointer; order: 3;
  }
  .burger span, .burger::before, .burger::after {
    content: ""; position: absolute; left: 11px; width: 22px; height: 3px;
    background: #fff; border-radius: 1px; transition: transform .2s, opacity .2s;
  }
  .burger::before { top: 14px; }
  .burger span    { top: 21px; }
  .burger::after  { top: 28px; }
  .nav-check:checked ~ .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-check:checked ~ .burger span    { opacity: 0; }
  .nav-check:checked ~ .burger::after  { transform: translateY(-7px) rotate(-45deg); }
  .nav-check:focus-visible ~ .burger { outline: 3px solid #fff; outline-offset: 2px; }

  .header-cta { margin-inline-start: auto; order: 2; }
  .header-cta .btn { padding: 9px 14px; font-size: .8125rem; }

  .site-nav {
    order: 4; flex-basis: 100%; margin-inline-start: 0;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding-bottom: 8px;
  }
  .nav-check:checked ~ .site-nav { display: flex; }
  /* In the panel the links are 19px again -- back over the large-text line,
     so the open menu is compliant even though the desktop row is not. */
  .site-nav a {
    font-size: 1.1875rem; padding: 14px 2px; min-height: 48px;
    display: flex; align-items: center;
    border-bottom: 1px solid rgb(255 255 255 / .35);
  }
  .site-nav a:first-child { border-top: 1px solid rgb(255 255 255 / .35); }
  .site-nav a:hover, .site-nav a[aria-current="page"] {
    border-bottom-color: rgb(255 255 255 / .35); text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* ---- Hero ------------------------------------------------------------------
   The mascot runs off the right edge, cropped by the band, the way M&P's
   Carolina Caviar cut-out does on catering. */
/* Text on paper, the pizza running off the right edge. The food is the loudest
   thing Hot Box owns, so it carries the hero instead of a flat dark field. */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero .wrap {
  position: relative; z-index: 1;
  padding-block: clamp(48px, 7vw, 96px);
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (min-width: 861px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 { color: var(--red); }
.hero .lead { margin-top: 20px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-shot {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; border-radius: var(--img-radius);
}
/* WHICH ARTWORK FILE TO USE -- the Hot Box marks come in two cuts and they
   are not interchangeable.
     *-outlined.svg  one pink (#fac3c1) silhouette path, then the red line
                     paths over it. The body is what holds the drawing
                     together ON A PHOTO or at small sizes.
     *-red.svg       open line work, 20-57 separate paths, no outer contour.
                     Nothing to cut around, nothing to fill. Crisp on paper
                     at large sizes; invisible on a photo.
   So: outlined ON PHOTOS and when small; line-only ON PAPER and when big.
   Pink measures ~1.1:1 against the paper ground, so an outlined mark on
   paper reads as a ghost -- that is why Find Us keeps the line-only van.
   A die-cut white edge is not an option for either cut: with no outer
   contour it traces every individual stroke rather than wrapping the figure.

   The mascot sits straight on the hero photo, bottom right, hanging off the
   lower edge so he reads as stepping out of the shot. */
.hero-figure { position: relative; }
/* He hangs off the bottom edge rather than sitting inside it, so he reads as
   stepping out of the shot. The hero clips at its own bounds, and the wrap's
   vertical padding is what he drops into -- keep the overhang under that or
   his feet get cut. */
.hero-art {
  position: absolute; right: 4%; bottom: -16%;
  display: block; width: auto; height: clamp(124px, 18vw, 208px);
  transform: rotate(-6deg);
  filter: drop-shadow(0 8px 18px rgb(35 31 32 / .4));
  pointer-events: none;
}
@media (max-width: 860px) { .hero-art { bottom: -13%; right: 3%; } }

/* ---- Menu ------------------------------------------------------------------
   Prices live in ordering, not here — same decision as M&P's menu, and it is
   what keeps the page from going stale behind Square. */
.menu-section + .menu-section { margin-top: clamp(40px, 5vw, 64px); }
.menu-section h2 { margin-bottom: 20px; }
.menu-list { list-style: none; margin: 0; padding: 0;
             display: grid; gap: 4px 40px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.menu-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.menu-list .item { font-family: var(--display); font-weight: 900; text-transform: uppercase;
                   letter-spacing: .01em; font-size: 1rem; }
.menu-list .desc { color: var(--muted); font-size: .9375rem; margin-top: 2px; }

/* ---- Photo grid -------------------------------------------------------------
   Square crops so the row never goes ragged, 16px radius on the image the way
   M&P's photography does while everything else stays square-cornered. */
/* Four across, stated rather than auto-filled: with seven pies, auto-fill gave
   a different count at every width and the second row kept re-grouping them. */
.shots { list-style: none; margin: 0; padding: 0;
         display: grid; gap: clamp(16px, 2vw, 24px);
         grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 1;
             object-fit: cover; border-radius: var(--img-radius); }
.shots .item { display: block; margin-top: 10px;
               font-family: var(--display); font-weight: 900; text-transform: uppercase;
               letter-spacing: .01em; font-size: .9375rem; }

/* A menu row that has a photo puts it alongside the name. */
.menu-list li.has-photo { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.menu-list li.has-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }

/* ---- Tiles ------------------------------------------------------------------ */
.tiles { list-style: none; margin: 0; padding: 0;
         display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* Outlined, not filled. With the header and hero now light, three solid black
   blocks were the only dark slab before the footer. A 2px rule holds the shape
   without the weight, and black body copy on paper is 14.2:1. */
.tile { background: transparent; color: var(--ink);
        border: 2px solid var(--ink); padding: 26px 22px; }
.tile h3 { color: var(--red); }
.tile p { margin-top: 8px; color: var(--grey); font-size: .9375rem; }
/* No art in the tiles. The Hot Box marks are fine open line work drawn for
   print, and at tile size the strokes thin out to nothing -- the mascot was
   illegible at 56px. The rule for this set: use them BIG (the hero sticker,
   the van on Find Us, the match on About) or not at all. */

/* ---- Rows ------------------------------------------------------------------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 20px 0; border-top: 1px solid var(--line); }

/* ---- FAQ -------------------------------------------------------------------
   Native <details>, so it works with no JS and the browser handles the a11y.
   The marker is replaced by our own, because the default triangle sits in a
   different place in every engine. */
/* The FAQ is a list and a list reads better close. The generic .section
   rhythm (up to 128px top and bottom) was built for bands of different
   colours, which this page does not have until the contact band at the end. */
.faq-section { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(40px, 5vw, 64px); }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding-left: 1.75rem; list-style: none; cursor: pointer;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; position: absolute; left: 0; top: -.08em;
  color: var(--red); font-size: 1.2em; line-height: 1;
}
.faq details[open] summary::before { content: "–"; }
.faq summary:hover { color: var(--red); }

/* ---- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 80px) 0 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 861px) { .footer-top { grid-template-columns: 1fr auto; align-items: start; } }
/* The grill lettering is 626x170. Sized by WIDTH: the clamp on height that
   the portrait stacked lockup used would have made this one enormous. */
.footer-mark { display: block; width: min(320px, 100%); height: auto; }
/* Two columns of links. align-items:start matters: stretched, the shorter list
   got the same height as the longer one and its own grid spread the rows out
   to fill it, so the two columns had visibly different line spacing. */
.footer-nav { display: grid; gap: 24px clamp(32px, 5vw, 72px); align-items: start;
              grid-template-columns: repeat(2, minmax(110px, max-content)); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex;
                 flex-direction: column; gap: 10px; }
.footer-nav li { line-height: 1.3; }
.footer-nav a { font-size: .9375rem; color: #e6e4e5; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / .18);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8125rem; color: #b9b7b8;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 14px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.theme-red :focus-visible, .theme-ink :focus-visible, .site-header :focus-visible,
.site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }

/* ---- Forms -----------------------------------------------------------------
   Netlify Forms, same wiring as mikeandpattys.com. The honeypot field has to
   exist in the built HTML for Netlify to see it at deploy, so .hp HIDES it
   rather than the markup omitting it.
   Inputs are white, not --paper: the pink ground and a pink field are 1.1:1
   apart and the box edge disappears. White on paper still reads as a field. */
.form { display: grid; gap: 16px; max-width: 40rem; margin-top: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px;
              font-family: var(--display); font-weight: 900; font-size: .875rem;
              letter-spacing: .02em; text-transform: uppercase; }
.form input, .form textarea, .form select {
  font-family: var(--body); font-size: 1rem; font-weight: 400;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 0; padding: 12px; min-height: 48px;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 3px solid var(--ink); outline-offset: 0; }
.theme-pink .form input:focus, .theme-pink .form textarea:focus { outline-color: var(--red); }
.form .hp { position: absolute; left: -9999px; }

/* ---- Fine print and fact lists ---------------------------------------------
   .fine is Grey on paper, 4.72:1 -- AA for normal text, so it is safe at
   .875rem. It is NOT safe on red or on ink; those grounds set --muted to a
   light value and .fine follows it. */
.fine { color: var(--muted); font-size: .875rem; max-width: 56ch; }
.facts { margin: 0; display: grid; gap: 20px; }
.facts > div { padding-top: 16px; border-top: 1px solid var(--line); }
.facts dd { margin: 6px 0 0; }

/* ---- Framed Square checkout -------------------------------------------------
   Square sends no X-Frame-Options or frame-ancestors, so its gift card page
   frames cleanly. Safari blocks third-party cookies in a frame and a payment
   there can fail -- the "open in a new tab" link above the frame is the way
   out and must stay. Fixed height because the frame cannot report its own. */
.gc { padding: 0; }
.gc-note { margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.gc-frame { background: #fff; }
/* Same numbers as mikeandpattys.com/gift-cards/: full width up to Square's own
   1167px content width, centred, and a fixed height because a cross-origin
   frame cannot report its own. 2080px is what Square's longest form needs. */
.gc-frame iframe { display: block; width: 100%; max-width: 1167px; margin: 0 auto;
                   height: 2080px; border: 0; }
@media (max-width: 700px) { .gc-frame iframe { height: 2300px; } }

/* ---- Find Us ----------------------------------------------------------------
   A red band closing the page, so every small white thing on it has to clear
   AA's LARGE-text threshold -- 18.66px at bold weight -- because white on red
   is 4.30:1 and normal text needs 4.5:1. The hours line is pushed to 19px/900
   for exactly that reason; shrinking it breaks the page's compliance.
   The outlined van sits bare on the red: its pink body is ~1.3:1 there, so the
   figure is carried by the red line work plus a white keyline, not by the
   body/ground contrast the plate used to give it. */
.find .lead { font-size: 1.5rem; line-height: 1.3; }
.find .find-hours { margin-top: 10px; font-size: 1.1875rem; font-weight: 900;
                    line-height: 1.45; letter-spacing: .01em; }
.find .find-hours strong { font-weight: 900; }
/* The keyline is what makes an outlined mark legible on red. Four hard
   drop-shadows at 0 blur trace the artwork's own silhouette -- this works on
   the *-outlined.svg cut only, because it HAS an outer contour. Run it on a
   *-red.svg (20-57 disjoint open paths, no contour) and it outlines every
   individual stroke instead of the figure. */
.art-keyline, .find-van {
  height: auto;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff)
          drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
.find-van { width: min(400px, 100%); justify-self: end; }
@media (max-width: 860px) { .find-van { justify-self: center; } }

/* ---------------------------------------------------------------------------
   Motion. All of it sits inside prefers-reduced-motion: no-preference, so it
   is off for anyone whose device asks for less, and the script at the end of
   base.html checks the same setting before it adds a single class.

   DELIBERATELY LIGHTER ON THE ICONS THAN M&P. Over there Eggy bobs, the stars
   twinkle and the smiley blinks when you poke it -- that mascot is the brand's
   whole personality and it earns the movement. Hot Box's marks are flat, hard
   line work drawn for print; bouncing them reads as a different, softer brand.
   So the icons here get ONE thing, a slow parallax on the hero mascot, and the
   movement budget goes to the page instead: sections rising in, photos lifting
   under the cursor.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* 1. Sections rise in. The script tags below-the-fold blocks .rv, then .in
     as they arrive, then strips both so each element's own transitions work
     normally afterwards. */
  .rv { opacity: 0; translate: 0 24px;
        transition: opacity .5s ease, translate .65s cubic-bezier(.2, .7, .2, 1); }
  .rv.in { opacity: 1; translate: 0 0; }

  /* 2. Hero parallax. The pizza and the mascot ride up at different rates as
     the hero scrolls, so the mascot separates from the photo instead of being
     pasted to it. --drift comes from the script. Composited with translate so
     it stacks on the mascot's own transform rather than overwriting it. */
  .hero-shot, .hero-art { translate: 0 var(--drift, 0px); }

  /* 3. Photo tiles lift and tip under the cursor, alternating like stickers.
     Desktop only -- there is no hover on a phone and a tap should not nudge
     the thing you are tapping. */
  @media (hover: hover) {
    .shots li img { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
    .shots li:hover img { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
    .shots li:nth-child(even):hover img { transform: translateY(-6px) rotate(2deg) scale(1.03); }
    .tile { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), background-color .15s ease; }
    .tile:hover { transform: translateY(-4px); }
  }
}

/* ---- Photographs set at an angle ---------------------------------------------
   A white border and a slight tilt, like a print dropped on the counter. The
   tilt is a custom property so an instance can set its own direction, and it
   lives on the FIGURE while the hover transform lives on the img -- putting
   both on one element means the hover overwrites the tilt. */
.shot-tilt { --tilt: -2.5deg; display: block; width: min(360px, 100%);
             background: #fff; padding: 12px; transform: rotate(var(--tilt));
             box-shadow: 0 10px 26px rgb(35 31 32 / .16); }
.shot-tilt img { display: block; width: 100%; height: auto; }
/* About gives the photo the larger share of the row -- it is the only picture
   on the page and at 360px it was a stamp next to three paragraphs. */
@media (min-width: 861px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; } }
