/* Locs by Jazz: "A2 Soul era". Mobile-first; wide layout at 768px. */

:root {
  --cream: #FFF3E8;
  --pink: #E23E7E;
  --pink-deep: #C8255F;
  --blush: #F2BDD0; /* the QR dot pink, mixed with about two parts white */
  --cocoa: #3A1E1A;
  --marigold: #F6A623;
  --print-white: #FFFAF4;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .12 0 0 0 0 .1 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .14 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --shadow: 0 10px 22px rgba(58, 30, 26, .3);
  --out: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --page: 1100px;
  --gutter: max(16px, calc((100% - var(--page)) / 2));
  --print-w: min(236px, 62vw);
  --peek: min(206px, 57vw);
  --peek2: var(--peek);
  --reach: 1; /* prints shown on each side of the center one; carousel.js reads it */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: var(--cream) var(--grain);
  color: var(--cocoa);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.soft, .mast, .h2, .feat, .tg em, .mc h3, .mr b, .ig b, .cta strong, .fname {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Small caps label. On pink it sits on a cocoa pill so it passes AA contrast. */
.lbl {
  display: inline-block;
  padding: 5px 9px 4px;
  border-radius: 6px;
  background: var(--cocoa);
  color: var(--cream);
  font: 800 11px/1.2 var(--body);
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Stickers */
.tg {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 11px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .22);
  white-space: nowrap;
}
.tg em { font-style: italic; font-weight: 700; font-size: 17px; line-height: 1; }
.tg b { font: 800 12px/1 var(--body); letter-spacing: .05em; }
.tg.gd { background: var(--marigold); color: var(--cocoa); transform: rotate(-2deg); }
.tg.pk { background: var(--pink-deep); color: #fff; transform: rotate(1.5deg); }
.tg.ck { background: var(--cocoa); color: var(--cream); transform: rotate(-1deg); }

/* Cover */
.cover { position: relative; isolation: isolate; }
.cover-band {
  background: var(--pink) var(--grain);
  padding: 18px 20px 132px;
}
.kick { display: flex; justify-content: space-between; gap: 8px; }
.kick .lbl, .nw { white-space: nowrap; }
@media (max-width: 359px) { .kick .lbl { font-size: 10px; letter-spacing: .12em; } }
.mast { display: grid; margin-top: 14px; line-height: 1; }
.mast .by { font-style: italic; font-weight: 600; font-size: 26px; color: var(--cocoa); padding-left: 6px; }
.mast .jz {
  margin-top: -.12em;
  font-weight: 900;
  font-size: clamp(112px, 38vw, 180px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--cream);
  text-shadow: 5px 5px 0 var(--cocoa);
}
.frame {
  position: relative;
  margin: -118px 16px 0;
  aspect-ratio: 4 / 5;
  border: 8px solid var(--print-white);
  border-radius: 26px;
  overflow: hidden;
  background: var(--print-white);
  box-shadow: 0 12px 26px rgba(58, 30, 26, .28);
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.tags {
  position: relative;
  margin: -150px 0 40px 30px;
  display: grid; gap: 8px; justify-items: start;
}
.feat {
  padding: 0 20px 8px;
  font-style: italic; font-weight: 800; font-size: 28px; line-height: 1.05;
}
.feat span { color: var(--pink-deep); }

/* Sections */
.sec { padding-bottom: 28px; }
.band {
  background: var(--pink) var(--grain);
  padding: 34px var(--gutter) 22px;
  margin-top: 36px;
}
.h2 {
  margin-top: 10px;
  font-weight: 900;
  font-size: clamp(52px, 16vw, 76px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cream);
  text-shadow: 3px 3px 0 var(--cocoa);
}
.wrap { padding: 0 var(--gutter); }

/* Her Work: Spotlight carousel */
.work { overflow-x: clip; }
.spt { position: relative; outline: none; }
/* Each print looks like a vintage photo print: a warm ivory mat with visible paper grain,
   a thin pink rule printed around the photo, the photo sunk into the mat with a glossy
   sheen, and a two-layer shadow (a close contact shadow under a wider, softer one). */
.print {
  padding: 11px;
  border-radius: 14px;
  background: var(--grain-strong), linear-gradient(160deg, #FFFCF7, #F3E3CF);
  box-shadow: 0 1px 2px rgba(58, 30, 26, .28), 0 16px 30px -10px rgba(58, 30, 26, .5), inset 0 0 0 1px rgba(255, 255, 255, .8);
  aspect-ratio: 3 / 4;
}
.print::before {
  content: ""; position: absolute; inset: 4px;
  border: 1.5px solid rgba(200, 37, 95, .6);
  border-radius: 10px;
  pointer-events: none;
}
.print::after {
  content: ""; position: absolute; inset: 11px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(58, 30, 26, .22), inset 0 2px 7px rgba(58, 30, 26, .35);
  background: linear-gradient(118deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .12));
  pointer-events: none;
}
.print img, .print video {
  width: 100%; height: 100%; object-fit: cover; border-radius: 5px;
  pointer-events: none; -webkit-user-select: none; user-select: none;
}
.js .spt { height: calc(var(--print-w) * 4 / 3 + 40px); margin-top: 6px; touch-action: pan-y; }
.js .spt .print {
  position: absolute;
  top: 20px;
  left: calc(50% - var(--print-w) / 2);
  width: var(--print-w);
  transition: transform .6s var(--out), opacity .5s;
}
/* Prints well off to the side are not drawn (carousel.js moves this class as it turns). */
.js .spt .far { display: none; }
.js .spt:focus-visible .print:not([aria-hidden="true"]) { outline: 3px solid var(--pink-deep); outline-offset: 3px; }
.js .print figcaption { display: none; }
.no-js .spt {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter));
  padding: 24px var(--gutter);
}
.no-js .spt .print { position: relative; flex: none; width: min(70vw, 300px); scroll-snap-align: center; }
.no-js .print figcaption { position: absolute; z-index: 1; left: 10px; bottom: 10px; }
.no-js .cap, .no-js .count { display: none; }

/* Controls: arrows around a "03 / 14" count, the caption sticker under them.
   On phones the arrows are bare and nudge; wide screens get round buttons. */
.ctl {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  grid-template-areas: ". prev ctr next ." "cap cap cap cap cap";
  align-items: center;
  column-gap: 12px;
  margin-top: 12px;
}
.count {
  grid-area: ctr;
  font: 800 13px/1 var(--body);
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(58, 30, 26, .66);
}
.count b { font-weight: 800; color: var(--cocoa); }
.nav {
  display: flex; align-items: center; justify-content: center;
  margin: -14px; padding: 14px; /* a 44px tap target around a 16px arrow */
  border: 0;
  background: none;
  color: var(--pink-deep);
  cursor: pointer;
}
.nav[hidden], .no-js .nav { display: none; }
.prev { grid-area: prev; }
.next { grid-area: next; }
.nav .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.prev .ico { animation: nudgeL 1.8s ease-in-out infinite; }
.next .ico { animation: nudgeR 1.8s ease-in-out infinite; }
@keyframes nudgeL { 50% { transform: translateX(-4px); } }
@keyframes nudgeR { 50% { transform: translateX(4px); } }
.cap { grid-area: cap; display: flex; width: fit-content; margin: 16px auto 0; }
.cap[hidden] { display: none; }

.ig {
  display: flex; align-items: center; gap: 12px;
  max-width: 420px;
  min-height: 58px;
  margin: 26px auto 0;
  padding: 8px 14px;
  border: 2.5px solid var(--cocoa);
  border-radius: 16px;
  background: rgba(255, 250, 244, .85);
  transform: rotate(-1deg);
  text-decoration: none;
}
.ig .gly {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--pink);
  color: var(--cream);
}
.ig .txt { flex: 1; display: grid; gap: 4px; }
.ig small { font: 800 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(58, 30, 26, .78); }
.ig b { font-weight: 800; font-size: 19px; line-height: 1; }

/* The Menu */
.cards { display: grid; gap: 12px; padding-top: 20px; }
.mc {
  border: 2.5px solid var(--cocoa);
  border-radius: 20px;
  padding: 12px 16px 8px;
  background: rgba(255, 250, 244, .7);
}
.mc h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  font-weight: 900; font-size: 23px; line-height: 1;
}
.mc h3::after {
  content: ""; flex: 1; height: 13px;
  background: linear-gradient(var(--pink) 0 3px, transparent 3px 5px, var(--marigold) 5px 8px, transparent 8px 10px, var(--cocoa) 10px 13px);
}
.mr {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 7px 0;
  border-top: 1px solid rgba(58, 30, 26, .14);
  font-weight: 600; font-size: 16px; line-height: 1.25;
}
.mr b { font-weight: 800; font-size: 19px; font-variant-numeric: lining-nums tabular-nums; }
.ast { font-size: .55em; line-height: 0; vertical-align: .75em; margin-left: 1px; }
.mc small { display: block; padding: 4px 0 2px; font-style: italic; font-weight: 500; font-size: 15px; color: rgba(58, 30, 26, .78); }

/* Meet Jazz / Before you book (shown once content exists) */
.about { display: grid; gap: 20px; padding-top: 22px; }
.about .frame { margin: 0; transform: rotate(1.5deg); max-width: 420px; }
.about p, .rules { font-size: 18px; line-height: 1.55; max-width: 60ch; }
.rules { padding: 20px 0 0 1.2em; display: grid; gap: 8px; }

/* Find her */
#find { padding-bottom: 8px; }
.find { padding-top: 22px; display: grid; gap: 18px; }
.facts { list-style: none; padding: 0; display: grid; gap: 14px; max-width: 52ch; }
.facts li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.facts .gly {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  box-shadow: 0 3px 8px rgba(58, 30, 26, .2);
}
.facts li:nth-child(3n + 1) .gly { background: var(--pink); color: var(--cream); transform: rotate(-4deg); }
.facts li:nth-child(3n + 2) .gly { background: var(--marigold); color: var(--cocoa); transform: rotate(3deg); }
.facts li:nth-child(3n) .gly { background: var(--cocoa); color: var(--cream); transform: rotate(-2deg); }
.links { display: grid; gap: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 2.5px solid var(--cocoa);
  border-radius: 999px;
  background: rgba(255, 250, 244, .7);
  font: 700 16px/1 var(--body);
  text-decoration: none;
}
.btn .ico { color: var(--pink-deep); }
.btn.solid { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.btn.solid .ico { color: var(--marigold); }
.btn, .ig, .nav { transition: background-color .15s, box-shadow .15s, color .15s, scale .15s; }
.dn { rotate: 90deg; }
.go-row { display: none; }
.hours { list-style: none; padding: 0; display: grid; gap: 4px; font-weight: 600; }

/* ZIP map (inline SVG from scripts/make-map.mjs) */
.map { padding: 36px 0 0; }
.map-print {
  max-width: 560px;
  margin: 0 auto;
  border: 8px solid var(--print-white);
  border-radius: 18px;
  background: var(--print-white);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.map-svg { display: block; width: 100%; height: auto; }
.map figcaption { margin-top: 14px; text-align: center; font-size: 12px; color: rgba(58, 30, 26, .72); }
.m-md { fill: #F1E2D3; }
.m-dc { fill: var(--cream); }
.m-park { fill: rgba(246, 166, 35, .26); }
.m-campus { fill: rgba(246, 166, 35, .42); }
.m-water { fill: rgba(226, 62, 126, .16); }
.m-zip { fill: rgba(226, 62, 126, .2); }
.m-r3, .m-r2, .m-r1, .m-r0, .m-rail, .m-line, .m-ring { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-r3 { stroke: rgba(58, 30, 26, .2); stroke-width: 1; }
.m-r2 { stroke: rgba(58, 30, 26, .38); stroke-width: 1.6; }
.m-r1 { stroke: rgba(58, 30, 26, .62); stroke-width: 2.6; }
.m-r0 { stroke: var(--cocoa); stroke-width: 3.6; }
.m-rail { stroke: rgba(58, 30, 26, .5); stroke-width: 1.4; stroke-dasharray: 5 4; }
.m-line { stroke: rgba(58, 30, 26, .55); stroke-width: 2; stroke-dasharray: 2 5; }
.m-stn { fill: var(--print-white); stroke: var(--cocoa); stroke-width: 2.5; }
.m-ring { stroke: var(--pink-deep); stroke-width: 5; }
.m-ring2 { stroke-width: 2.5; opacity: .7; }
.map-svg text { paint-order: stroke; stroke: var(--cream); stroke-width: 5px; stroke-linejoin: round; fill: var(--cocoa); }
.m-place { font: 800 17px var(--body); letter-spacing: .18em; text-transform: uppercase; }
.m-small, .m-stl { font: 700 16px var(--body); }
.m-zipno { font: 900 54px var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; fill: var(--pink-deep) !important; }
.m-tag { fill: var(--pink-deep); }
.map-svg .m-tagt { font: 700 18px var(--body); font-style: italic; fill: #fff; stroke: none; }
.m-north path { fill: var(--cocoa); }
.m-north text { font: 800 15px var(--body); }

/* QR code: pink dots need a light ground to scan, so the code sits on a print-white card
   in a cocoa frame, with about three dots' width of clear space around it. */
.qr {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding-top: 30px;
  text-align: center;
}
.qr-card {
  flex: none;
  width: min(250px, 68vw);
  padding: 8px;
  border-radius: 20px;
  background: var(--cocoa);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.qr-code { padding: 8.5%; border-radius: 13px; background: var(--print-white); } /* ~3 dots of clear space */
.qr-code svg { display: block; width: 100%; height: auto; overflow: visible; }
.qr-txt {
  display: grid; gap: 10px; justify-items: center;
  max-width: 260px;
  font-size: 16px; font-weight: 600; line-height: 1.35;
  text-wrap: pretty;
}

/* The QR breathes: each small dot now and then turns pale pink and swells a little, out of
   step with its neighbors, and four star glints twinkle by the logo and the edges. A pale dot
   reads as blank to a scanner: a live phone camera still scans at once (owner-tested), but
   only about half of single still frames decode. The corner targets never move. It plays only
   while the code is on screen (main.js adds .live) and never under reduced motion. */
.qr-dots circle, .glint { transform-box: fill-box; transform-origin: center; }
.glint { scale: 0; }
.glint.lt { fill: #FFF6FA; }
.glint.pk { fill: var(--blush); }
@keyframes sparkle { 0%, 88%, 100% { fill: #DA4379; scale: 1; } 94% { fill: var(--blush); scale: 1.34; } }
@keyframes glint { 0%, 64%, 100% { scale: 0; rotate: 0deg; } 76% { scale: 1; rotate: 45deg; } 88% { scale: 0; rotate: 90deg; } }

/* Footer */
.foot { padding: 24px 20px 12px; text-align: center; color: rgba(58, 30, 26, .78); font-size: 15px; }
.fname { font-weight: 900; font-size: 30px; line-height: 1.1; color: var(--pink-deep); }

/* Sticky CTA */
.cta {
  position: fixed; z-index: 50;
  left: max(14px, calc(50% - 260px));
  right: max(14px, calc(50% - 260px));
  bottom: calc(14px + env(safe-area-inset-bottom));
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.cta small { display: block; margin-bottom: 4px; font: 800 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--marigold); }
.cta strong { font-weight: 800; font-size: 21px; line-height: 1; }
.cta .go { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-deep); color: #fff; }
.cta:focus-visible { outline-color: var(--marigold); }
.cta { transition: scale .15s; }
.cta .go { transition: background-color .15s; }

/* Wide screens (tablets and up). The cover becomes a two-column spread with its own
   booking buttons; the floating bar moves to the corner and waits until those scroll away. */
@media (min-width: 768px) {
  :root {
    --gutter: max(32px, calc((100% - var(--page)) / 2));
    --photo-w: clamp(300px, 34vw, 460px);
    --jz: clamp(140px, 18vw, 260px);
    --print-w: clamp(300px, 26vw, 360px);
    --peek: clamp(330px, 30vw, 440px);
  }

  .cover {
    display: grid;
    grid-template-columns:
      [full-start] var(--gutter)
      [text-start] minmax(0, 1fr)
      [text-end] clamp(32px, 5vw, 80px)
      [photo-start] var(--photo-w)
      [photo-end] var(--gutter) [full-end];
    grid-template-rows: auto auto 1fr;
  }
  /* The pink band runs edge to edge behind the masthead row only. */
  .cover::before {
    content: ""; z-index: -1;
    grid-column: full; grid-row: 1;
    background: var(--pink) var(--grain);
  }
  .cover-band { grid-column: text; grid-row: 1; background: none; padding: 44px 0 60px; }
  .kick { justify-content: flex-start; gap: 10px; }
  .mast { margin-top: 30px; }
  .mast .by { font-size: max(26px, calc(var(--jz) * .15)); }
  .mast .jz { font-size: var(--jz); text-shadow: 7px 7px 0 var(--cocoa); }
  .frame {
    grid-column: photo; grid-row: 1 / -1; align-self: start;
    margin: 64px 0 0;
    transform: rotate(1.5deg);
  }
  /* Stickers sit on the photo's lower left corner, as on phones. */
  .tags {
    grid-column: photo; grid-row: 1 / -1; align-self: start; justify-self: start;
    margin: calc(var(--photo-w) * 1.25 - 100px) 0 0 calc(-1 * clamp(28px, 4vw, 60px));
    gap: 10px;
  }
  .tg em { font-size: 20px; }
  .tg b { font-size: 13px; }
  .feat { grid-column: text; grid-row: 2; padding: 40px 0 0; font-size: clamp(30px, 3.4vw, 46px); }
  .go-row {
    grid-column: text; grid-row: 3; align-self: start;
    display: flex; flex-wrap: wrap; gap: 12px;
    padding: 28px 0 32px;
  }

  .band { margin-top: 64px; padding-top: 40px; padding-bottom: 26px; }

  .ctl {
    grid-template-columns: 1fr auto minmax(180px, max-content) auto 1fr;
    grid-template-areas: ". prev cap next ." ". prev ctr next .";
    column-gap: 18px;
    row-gap: 10px;
    margin-top: 22px;
  }
  .js .spt { margin-top: 20px; }
  .cap { margin: 0; justify-self: center; }
  .count { justify-self: center; font-size: 12px; }
  .nav {
    width: 48px; height: 48px; margin: 0; padding: 0;
    border: 2.5px solid var(--cocoa);
    border-radius: 50%;
    background: rgba(255, 250, 244, .7);
    color: var(--cocoa);
  }
  .nav .ico { width: 20px; height: 20px; animation: none; }
  .ig { margin-top: 34px; }
  /* Bigger here: laptops are often 1x screens, and phone cameras scan from farther away. */
  .qr { flex-direction: row; gap: 26px; text-align: left; }
  .qr-txt { justify-items: start; max-width: 200px; }
  .qr-card { width: 250px; }

  /* Menu: the long Locs card on the left, the two short cards stacked on the right. */
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    gap: 16px 24px;
    padding-top: 28px;
  }
  .mc { display: flex; flex-direction: column; }
  .mc:first-child { grid-row: span 2; }
  .mc small { margin-top: auto; }
  .about { grid-template-columns: 360px 1fr; align-items: center; gap: 48px; }
  .links { grid-template-columns: repeat(3, max-content); }

  .cta {
    left: auto;
    right: max(24px, calc((100% - var(--page)) / 2));
    bottom: 24px;
    gap: 20px;
  }
  .js .cta { transition: opacity .3s, visibility 0s, scale .15s; }
  .js:not(.cta-on) .cta { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
}

/* Desktop: Find her sits beside the map, with the QR code under her buttons,
   and reading type steps up a little. */
@media (min-width: 1024px) {
  .h2 { font-size: 88px; text-shadow: 4px 4px 0 var(--cocoa); }
  .find {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr auto auto auto auto 1fr;
    column-gap: clamp(40px, 6vw, 88px);
    padding-top: 40px;
  }
  .find > * { grid-column: 1; }
  .facts { grid-row: 2; }
  .links { grid-row: 3; grid-template-columns: minmax(0, 340px); }
  .hours { grid-row: 4; }
  .find .qr { grid-row: 5; justify-content: flex-start; padding-top: 18px; }
  .find .map { align-self: center; }
  .qr-card { width: clamp(226px, 20vw, 276px); }
  .find .map { grid-column: 2; grid-row: 1 / -1; padding: 0; }
  .facts li { font-size: 19px; }
  .mc { padding: 16px 20px 10px; }
  .mc h3 { font-size: 26px; }
  .mr { padding: 9px 0; font-size: 17px; }
  .mr b { font-size: 20px; }
}

/* Wide screens: two prints on each side of the center one, closer in, so all five fit. */
@media (min-width: 1200px) {
  :root {
    --reach: 2;
    --peek: calc(var(--print-w) * .9);
    --peek2: calc(var(--print-w) * .64);
  }
}

/* Mouse and trackpad: buttons lift onto a hard brown shadow, like a print block. */
@media (hover: hover) {
  .btn:hover, .ig:hover { background: var(--print-white); box-shadow: 4px 4px 0 var(--cocoa); }
  .btn.solid:hover { background: var(--cocoa); box-shadow: 4px 4px 0 var(--pink-deep); }
  .nav:hover { color: var(--cocoa); }
  .cta:hover .go { background: var(--pink); }
  .js .spt { cursor: pointer; }
  .js .spt .print:not([inert]) { cursor: default; }
}
@media (hover: hover) and (min-width: 768px) {
  .nav:hover { background: var(--cocoa); color: var(--cream); }
}

@media (prefers-reduced-motion: reduce) {
  .nav .ico { animation: none; }
  .js .spt .print { transition: opacity .2s; }
  .print video { pointer-events: auto; } /* videos get native controls in this mode */
}

/* Light animations. The cover plays once on load. The rest plays once as it scrolls in:
   main.js adds .anim to <html>, then .in to each part. Reduced motion skips all of it. */
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes stamp { from { opacity: 0; translate: 0 28px; text-shadow: 0 0 0 var(--cocoa); } 55% { opacity: 1; } }
@keyframes print { from { text-shadow: 0 0 0 var(--cocoa); } }
@keyframes settle { from { opacity: 0; scale: .94; } }
@keyframes pop { from { opacity: 0; scale: .3; } }
@keyframes dock { from { translate: 0 calc(100% + 30px); } }
@keyframes draw { from { scale: 0 1; } }
@keyframes ring { from { stroke-dashoffset: 1; } }
@keyframes drop { from { opacity: 0; translate: 0 -14px; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .mast .by, .kick { animation: rise .6s var(--out) both; }
  .mast .jz { animation: stamp .8s var(--out) .1s both; }
  .cover .frame { animation: settle .8s var(--out) .25s both; }
  .tags .tg { animation: pop .5s var(--pop) .6s both; }
  .tags .tg:nth-child(2) { animation-delay: .72s; }
  .tags .tg:nth-child(3) { animation-delay: .84s; }
  .feat { animation: rise .6s var(--out) .95s both; }
  .go-row { animation: rise .6s var(--out) 1.05s both; }
  .cta { animation: dock .6s var(--out) 1.2s both; }

  /* Parts wait, hidden, until they scroll in. Each scroll-in animation lets go when it ends,
     so hover and press effects can use the same properties afterwards. */
  .anim :is(.h2, .mc, .ig, .about .frame, .fname):not(.in),
  .anim .facts:not(.in) .gly,
  .anim .links:not(.in) .btn,
  .anim .qr:not(.in) > *,
  .anim .map-print:not(.in) .m-tagg { opacity: 0; }
  .anim .mc:not(.in) h3::after { scale: 0 1; }
  .anim .map-print:not(.in) .m-ring { stroke-dashoffset: 1; }

  /* Section titles rise, then their brown shadow "prints" under them. */
  .anim .h2.in { animation: rise .6s var(--out) backwards, print .45s var(--out) .3s backwards; }
  .anim :is(.mc, .ig, .about .frame, .fname).in { animation: rise .6s var(--out) backwards; }
  .mc h3::after { transform-origin: left; }
  .anim .mc.in h3::after { animation: draw .7s var(--out) .3s backwards; }
  .anim .facts.in .gly { animation: pop .5s var(--pop) backwards; }
  .anim .facts.in li:nth-child(2) .gly { animation-delay: .12s; }
  .anim .facts.in li:nth-child(3) .gly { animation-delay: .24s; }
  .anim .links.in .btn { animation: rise .5s var(--out) .2s backwards; }
  .anim .links.in .btn:nth-child(2) { animation-delay: .28s; }
  .anim .links.in .btn:nth-child(3) { animation-delay: .36s; }
  /* The QR card settles onto the page like a print; its words rise in after it. */
  .anim .qr.in .qr-card { animation: settle .7s var(--out) backwards; }
  .anim .qr.in .qr-txt { animation: rise .6s var(--out) .15s backwards; }
  /* Breathing: prime-numbered patterns of delays and lengths keep neighbors out of step. */
  .qr.live .qr-dots circle { animation: sparkle 6.4s ease-in-out infinite; }
  .qr.live .qr-dots circle:nth-child(7n+1) { animation-delay: -1s; }
  .qr.live .qr-dots circle:nth-child(7n+2) { animation-delay: -4.6s; }
  .qr.live .qr-dots circle:nth-child(7n+3) { animation-delay: -2.4s; }
  .qr.live .qr-dots circle:nth-child(7n+4) { animation-delay: -5.8s; }
  .qr.live .qr-dots circle:nth-child(7n+5) { animation-delay: -1.8s; }
  .qr.live .qr-dots circle:nth-child(7n+6) { animation-delay: -3.6s; }
  .qr.live .qr-dots circle:nth-child(5n+2) { animation-duration: 8.2s; }
  .qr.live .qr-dots circle:nth-child(5n+4) { animation-duration: 5.2s; }
  .qr.live .qr-dots circle:nth-child(11n+3) { animation-duration: 10.6s; }
  .qr.live .glint { animation: glint 2.8s var(--out) infinite; }
  .qr.live g:nth-child(2) > .glint { animation-delay: -1.1s; animation-duration: 3.5s; }
  .qr.live g:nth-child(3) > .glint { animation-delay: -.4s; animation-duration: 3.1s; }
  .qr.live g:nth-child(4) > .glint { animation-delay: -2s; animation-duration: 4s; }

  /* The map circle draws itself, then the "Home studio" tag drops on. */
  .anim .m-ring { stroke-dasharray: 1; }
  .anim .map-print.in .m-ring { animation: ring 1.3s var(--out) .2s backwards; }
  .anim .map-print.in .m-ring2 { animation-delay: .45s; }
  .anim .map-print.in .m-tagg { animation: drop .5s var(--pop) 1.1s backwards; }

  .btn:active, .cta:active, .nav:active { scale: .97; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .anim .mc.in:nth-child(2) { animation-delay: .1s; }
  .anim .mc.in:nth-child(3) { animation-delay: .2s; }
  .js .cta { animation: none; transition: opacity .3s, visibility 0s, translate .45s var(--out), scale .15s; }
  .js:not(.cta-on) .cta { translate: 0 20px; transition: opacity .3s, visibility 0s .45s, translate .45s var(--out); }
}
