/* =====================================================================
   Home page: games first, then the red section as one even grid
   (loaded after site.css, by the home page)
   ===================================================================== */

/* ---- a shorter logo header, so the games show up right away ---- */
.hero-compact { flex: none; padding: 1rem 1.25rem .9rem; flex-direction: row; gap: 1rem; }
.hero-compact .seal { width: 4.6rem; margin: 0; }
.hero-compact .hero-words { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hero-compact .wordmark { width: min(100%, 13.5rem); margin: 0 0 .3rem; }
.hero-compact .line { font-size: .9rem; gap: .4rem; }
.hero-compact .scroll-low { width: 2rem; }
.hero-compact .tagline { margin-top: .3rem; font-size: 1.05rem; }
@media (min-width: 46rem) {
  .hero-compact { gap: 1.6rem; padding: 1.3rem 1.25rem 1.1rem; }
  .hero-compact .seal { width: 6.2rem; }
  .hero-compact .wordmark { width: 18rem; }
  .hero-compact .line { font-size: 1rem; }
  .hero-compact .tagline { font-size: 1.2rem; }
}

/* ---- the games band ---- */
.arcade-band {
  --band: #2A160E;
  --band-card: #3B2116;
  --band-ink: var(--cream);
  --band-sub: #E3C99A;
  background: var(--band) radial-gradient(ellipse at 50% -20%, rgba(217, 154, 50, .28), transparent 60%);
  color: var(--band-ink);
  padding: 1.2rem 1rem 1.5rem;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .arcade-band { --band: #1A0D08; --band-card: #311C13; } }
:root[data-theme="dark"] .arcade-band { --band: #1A0D08; --band-card: #311C13; }
.arcade-inner { max-width: 64rem; margin: 0 auto; }

.arcade-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-bottom: .8rem; }
.arcade-eyebrow { margin: 0; display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.35rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.arcade-trophy { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); color: var(--espresso); }
.arcade-trophy svg { width: 1.2rem; height: 1.2rem; }
.arcade-ends { margin: 0; padding: .25rem .8rem; border-radius: 99px; background: rgba(244, 230, 200, .12); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; }

.arcade-feature { display: grid; gap: 1rem; }
.arcade-shot { display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 16 / 10; background: var(--band-card); box-shadow: 0 .4rem 1.2rem rgba(0, 0, 0, .45); outline: 3px solid var(--gold); outline-offset: -3px; }
.arcade-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
@media (hover: hover) { .arcade-shot:hover img { transform: scale(1.03); } }
.arcade-shot:focus-visible { outline: .25rem solid var(--cream); outline-offset: .2rem; }

.arcade-info { display: flex; flex-direction: column; }
.arcade-info h2 { margin: 0; font-family: "Alegreya SC", Georgia, serif; font-size: 2.3rem; line-height: 1; letter-spacing: .02em; }
.arcade-tag { margin: .3rem 0 .9rem; font-weight: 500; font-size: 1.25rem; color: var(--band-sub); }

.prizes { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.prizes[hidden] { display: none; }
.prizes li { display: flex; flex-direction: column; align-items: center; padding: .45rem .3rem .5rem; border-radius: .8rem; background: var(--band-card); border: 2px solid rgba(244, 230, 200, .18); text-align: center; line-height: 1.1; }
.prizes b { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--band-sub); }
.prizes span { font-weight: 700; font-size: 1.3rem; }
.prizes li:first-child { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.prizes li:first-child b { color: var(--espresso); }

.arcade-play {
  align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 3.5rem;
  border-radius: 99px; background: var(--red); color: var(--cream); text-decoration: none;
  font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 .3rem 0 #6E1712; transition: transform .08s ease, box-shadow .08s ease;
}
.arcade-play::after { content: "▸"; margin-left: .5rem; }
.arcade-play:active { transform: translateY(.2rem); box-shadow: 0 .1rem 0 #6E1712; }
.arcade-play:focus-visible { outline: .25rem solid var(--cream); outline-offset: .2rem; }
@media (hover: hover) { .arcade-play:hover { transform: translateY(-.1rem); box-shadow: 0 .4rem 0 #6E1712; } }

.arcade-board { margin-top: 1rem; padding: .7rem .9rem .6rem; border-radius: 1rem; background: var(--band-card); }
.arcade-board[hidden] { display: none; }
.arcade-board h3 { margin: 0 0 .35rem; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-sub); }
.arcade-board ol { list-style: none; margin: 0; padding: 0; }
.arcade-board li { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: .5rem; padding: .15rem 0; font-size: 1.25rem; font-weight: 700; }
.arcade-board li.none { display: block; font-weight: 500; font-size: 1.1rem; color: var(--band-sub); }
.arcade-board .rank { color: var(--gold); }
.arcade-board .who { font-family: "Courier New", monospace; letter-spacing: .2em; }
.arcade-board .pts { font-variant-numeric: tabular-nums; }
.arcade-all { display: inline-flex; align-items: center; gap: .2rem; margin-top: .35rem; color: var(--gold); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.arcade-all svg { width: 1rem; height: 1rem; }
.arcade-all:focus-visible { outline: .2rem solid var(--cream); outline-offset: .15rem; border-radius: .3rem; }

.arcade-more { margin-top: 1.4rem; }
.arcade-more h3 { margin: 0 0 .6rem; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-sub); }
.arcade-row { list-style: none; margin: 0 -1rem; padding: 0 1rem .4rem; display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.arcade-row::-webkit-scrollbar { display: none; }
.arcade-row li { scroll-snap-align: start; }
.arcade-row a { display: flex; flex-direction: column; height: 100%; border-radius: .8rem; overflow: hidden; background: var(--band-card); color: var(--band-ink); text-decoration: none; transition: transform .12s ease; }
.arcade-row img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.arcade-row b { padding: .4rem .6rem 0; font-size: 1.15rem; line-height: 1.1; }
.arcade-row span { padding: .1rem .6rem .55rem; font-size: .95rem; line-height: 1.15; color: var(--band-sub); }
.arcade-row a:focus-visible { outline: .2rem solid var(--cream); outline-offset: .15rem; }
@media (hover: hover) { .arcade-row a:hover { transform: translateY(-.15rem); } }

@media (min-width: 46rem) {
  .arcade-band { padding: 1.6rem 1.5rem 1.8rem; }
  .arcade-feature { grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; }
  .arcade-info h2 { font-size: 2.7rem; }
  .arcade-row { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; }
}

/* ---- the red section: one even grid of buttons ---- */
.panel-grid .panel-inner { max-width: 64rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.tile {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  min-height: 7.4rem; padding: .8rem .4rem .7rem; margin: 0;
  background: var(--btn-bg); color: var(--btn-ink); text-align: center; text-decoration: none;
  border-radius: 1rem; box-shadow: 0 .25rem 0 var(--btn-edge);
  transition: transform .08s ease, box-shadow .08s ease; -webkit-tap-highlight-color: transparent;
}
a.tile:active { transform: translateY(.2rem); box-shadow: 0 .05rem 0 var(--btn-edge); }
.tile:focus-visible { outline: .2rem solid var(--focus); outline-offset: .25rem; }
@media (hover: hover) {
  a.tile:hover { transform: translateY(-.12rem); box-shadow: 0 .37rem 0 var(--btn-edge); }
  a.tile:active { transform: translateY(.2rem); box-shadow: 0 .05rem 0 var(--btn-edge); }
}
.tile .icon { width: 2.5rem; height: 2.5rem; }
.tile .icon svg { width: 1.3rem; height: 1.3rem; }
.tile-label { margin: 0; font-weight: 700; font-size: 1.3rem; line-height: 1.05; }
.tile-value { font-weight: 500; font-size: 1.02rem; line-height: 1.15; color: var(--btn-sub); text-wrap: balance; }
.tile.is-open .tile-value { color: #2E7D32; font-weight: 700; }

/* the menu: the one dark tile, so it's the first thing people see */
.tile-menu { grid-column: 1 / -1; flex-direction: row; min-height: 4.4rem; gap: .8rem; --btn-bg: var(--espresso); --btn-ink: var(--cream); --btn-sub: #E3C99A; }
.tile-menu .tile-label { font-size: 1.7rem; letter-spacing: .1em; text-transform: uppercase; }
.tile-menu .tile-value { display: none; }

/* second row: icon on the left, words on the right */
.tile-wide, .tile-side { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 4.4rem; padding: .6rem .9rem .6rem .7rem; gap: .75rem; }
.tile-wide { grid-column: 1 / -1; }
.tile-side { grid-column: span 3; }
.tile-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.tile-go { flex: none; width: 1.15rem; height: 1.15rem; color: var(--btn-sub); display: grid; }
.tile-go svg { width: 100%; height: 100%; }
.tile-side .tile-label { font-size: 1.15rem; }
.tile-side .tile-value { font-size: .98rem; }

.tile-social { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .4rem; padding: .55rem .4rem; }
.tile-social .tile-label { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.tile-social ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .45rem; }
.tile-social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--icon-bg); color: var(--icon-ink); transition: transform .08s ease; }
.tile-social a svg { width: 1.25rem; height: 1.25rem; }
.tile-social a:focus-visible { outline: .2rem solid var(--brown); outline-offset: .15rem; }
@media (hover: hover) { .tile-social a:hover { transform: translateY(-.1rem); } }

@media (min-width: 46rem) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
  .tile { grid-column: span 1; min-height: 8.4rem; }
  .tile-menu { grid-column: span 1; flex-direction: column; gap: .3rem; }
  .tile-menu .tile-label { font-size: 1.45rem; }
  .tile-menu .tile-value { display: block; }
  .tile .icon { width: 2.8rem; height: 2.8rem; }
  .tile-label { font-size: 1.45rem; }
  .tile-value { font-size: 1.1rem; }
  .tile-wide { grid-column: span 2; min-height: 5rem; }
  .tile-side { grid-column: span 1; min-height: 5rem; }
  .tile-wide .tile-label { font-size: 1.4rem; }
  .tile-wide .tile-value { font-size: 1.1rem; }
}

/* small phones: keep the three small tiles and the second row tidy */
@media (max-width: 45.99rem) {
  .tile { padding: .8rem .25rem .7rem; }
  .tile-value { font-size: .95rem; }
  .tile .nowrap { white-space: nowrap; font-size: .92rem; }
  .tile-side .icon { display: none; }
  .tile-side { justify-content: center; text-align: center; padding: .55rem .5rem; }
  .tile-side .tile-text { align-items: center; }
}

/* ---- Google rating badge under the logo ---- */
.rb-stars { display: inline-flex; gap: .05rem; color: #E8A317; }
.rb-stars svg { width: 1rem; height: 1rem; }
.rating-badge {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; padding: .2rem .75rem .2rem .55rem;
  border-radius: 99px; background: var(--card); box-shadow: 0 .15rem 0 var(--card-shadow);
  color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.2;
}
.rating-badge b { font-size: 1.1rem; }
.rating-badge .rb-count { font-weight: 500; color: var(--muted); }
.rating-badge:focus-visible { outline: .2rem solid var(--ink); outline-offset: .15rem; }
@media (hover: hover) { .rating-badge:hover .rb-count { text-decoration: underline; } }

/* ---- what people say ---- */
.reviews { background: var(--bg); color: var(--ink); padding: 1.8rem 1.25rem .6rem; }
.reviews-inner { max-width: 64rem; margin: 0 auto; text-align: center; }
.reviews h2 { margin: 0 0 .7rem; font-weight: 700; font-size: 1.7rem; line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.reviews-score { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; color: inherit; text-decoration: none; }
.rs-google svg { width: 2rem; height: 2rem; display: block; }
.rs-num { font-family: "Alegreya SC", Georgia, serif; font-size: 2.6rem; line-height: 1; }
.rs-side { display: flex; flex-direction: column; align-items: flex-start; font-weight: 500; font-size: 1.05rem; color: var(--muted); }
.rs-side .rb-stars svg { width: 1.2rem; height: 1.2rem; }
.reviews-score:focus-visible { outline: .2rem solid var(--ink); outline-offset: .3rem; border-radius: .5rem; }
.review-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; text-align: left; }
.review-cards figure { margin: 0; height: 100%; padding: .9rem 1rem .8rem; border-radius: 1rem; background: var(--card); box-shadow: 0 .2rem 0 var(--card-shadow); display: flex; flex-direction: column; gap: .4rem; }
.review-cards blockquote { margin: 0; flex: 1; font-weight: 500; font-size: 1.2rem; line-height: 1.3; }
.review-cards figcaption { font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.1rem; }
.rv-btn { display: inline-flex; align-items: center; min-height: 3rem; padding: .3rem 1.3rem; border-radius: 99px; background: var(--red); color: var(--cream); box-shadow: 0 .2rem 0 #6E1712; font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.rv-alt { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.rv-btn:focus-visible { outline: .2rem solid var(--ink); outline-offset: .2rem; }
@media (min-width: 46rem) { .review-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---- Menu, Directions and Call stuck to the bottom of the screen (phones, tablets and computers) ---- */
.action-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom, 0px));
  background: var(--espresso); border-top: 2px solid var(--gold);
  box-shadow: 0 -.3rem 1rem rgba(20, 10, 6, .3);
  transition: transform .25s ease;
}
.action-bar.is-away { transform: translateY(110%); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 3.2rem; border-radius: .7rem; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.action-bar a:first-child { background: var(--red); }
.action-bar svg { width: 1.35rem; height: 1.35rem; color: var(--gold); }
.action-bar a:first-child svg { color: var(--cream); }
.action-bar a:active { background: rgba(244, 230, 200, .12); }
.action-bar a:focus-visible { outline: .2rem solid var(--cream); outline-offset: -.2rem; }
/* room at the very bottom so the bar never covers the footer, and the follow-us card sits above it */
body { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
.follow-pop { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }

/* computers: a floating rounded bar in the middle, with the icon beside each word */
@media (min-width: 46rem) {
  .action-bar {
    left: 50%; right: auto; bottom: 1rem; width: min(36rem, calc(100% - 2rem)); transform: translateX(-50%);
    padding: .4rem; gap: .4rem; border: 2px solid var(--gold); border-radius: 99px;
    box-shadow: 0 .5rem 1.6rem rgba(20, 10, 6, .4);
  }
  .action-bar.is-away { transform: translate(-50%, calc(100% + 1.5rem)); }
  .action-bar a { flex-direction: row; gap: .55rem; min-height: 3rem; border-radius: 99px; font-size: 1.1rem; }
  @media (hover: hover) { .action-bar a:hover { background: rgba(244, 230, 200, .12); } .action-bar a:first-child:hover { background: #B9352B; } }
  body { padding-bottom: 5rem; }
  .follow-pop { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); }
}
@media print { .action-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .action-bar { transition: none; } }
.rating-badge .rb-count { white-space: nowrap; }
@media (max-width: 45.99rem) { .rating-badge .rb-g { display: none; } .rating-badge { font-size: .95rem; } .rating-badge .rb-stars svg { width: .9rem; height: .9rem; } }

/* follower counts under the social icons (shown once the live numbers arrive) */
.tile-social li a { position: relative; }
.tile-social.has-counts ul { gap: .55rem; padding-bottom: .9rem; }
.fcount { position: absolute; top: calc(100% + .12rem); left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: .82rem; line-height: 1; color: var(--btn-ink); }
.fcount[hidden] { display: none; }

/* the claim rules under the prizes */
.arcade-rules { margin: -.4rem 0 1rem; font-size: 1rem; line-height: 1.3; color: var(--band-sub); }
.arcade-rules[hidden] { display: none; }
.arcade-rules a { color: var(--gold); font-weight: 700; }

/* the podium inside the games band */
.arcade-board .podium li { display: flex; grid-template-columns: none; padding: 0; font-size: inherit; }
.arcade-board .podium { margin-top: .4rem; }

/* Winning now / Last week's winners */
.pd-tabs { display: flex; gap: .3rem; padding: .25rem; margin: 0 0 .5rem; border-radius: 99px; background: rgba(244, 230, 200, .1); }
.pd-tabs[hidden] { display: none; }
.pd-tabs button { flex: 1; font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; min-height: 2.5rem; padding: .2rem .6rem; border: 0; border-radius: 99px; background: transparent; color: var(--band-sub); cursor: pointer; }
.pd-tabs button[aria-pressed="true"] { background: var(--gold); color: var(--espresso); }
.pd-tabs button:focus-visible { outline: .2rem solid var(--cream); outline-offset: .1rem; }
.arcade-board h3 { text-transform: none; letter-spacing: .02em; font-size: 1rem; text-align: center; }
@media (max-width: 45.99rem) { .pd-tabs button { font-size: .95rem; white-space: nowrap; padding: .2rem .4rem; } }

/* computers: the contest details and the game picture on the left, the podium on the right,
   both sides finishing at the same height; the other games in a full-width row below */
@media (min-width: 46rem) {
  .arcade-inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "head head" "info board" "shot board" "more more"; column-gap: 1.6rem; }
  .arcade-head { grid-area: head; }
  .arcade-feature { display: contents; }
  .arcade-info { grid-area: info; margin-bottom: 1.1rem; }
  .arcade-shot { grid-area: shot; aspect-ratio: auto; min-height: 15rem; }
  .arcade-board { grid-area: board; margin-top: 0; display: flex; flex-direction: column; }
  .arcade-board #arcade-podium { margin-top: auto; }
  .arcade-more { grid-area: more; }
}
.pd-tabs button { white-space: nowrap; }
@media (min-width: 46rem) and (max-width: 64rem) { .pd-tabs button { font-size: .95rem; padding: .2rem .4rem; } }

/* the cursive font for Jacob's signature, kept on our own site so it always loads */
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/great-vibes-latin-400-normal.woff2") format("woff2"); }

/* =====================================================================
   "Fresh churros since 1973": a page from the family photo album
   ===================================================================== */
.story-album { max-width: 64rem; }
.story-album .about-text { max-width: 40rem; margin: 0 auto; }

.album {
  list-style: none; margin: 1.1rem auto 2rem; padding: .4rem .3rem 0; max-width: 30rem;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c"; gap: 1.6rem 1rem;
}
.snap-1 { grid-area: a; --tilt: -2.2deg; width: 88%; justify-self: center; }
.snap-2 { grid-area: b; --tilt: 2.4deg; }
.snap-3 { grid-area: c; --tilt: -1.6deg; }

/* each print: cream photo paper with a wider bottom edge for the caption */
.snap figure {
  position: relative; margin: 0; padding: .5rem .5rem 0; background: #FFFDF6;
  box-shadow: 0 .1rem .15rem rgba(36, 19, 13, .18), 0 .5rem 1.1rem rgba(36, 19, 13, .22);
  transform: rotate(var(--tilt)); transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .snap figure:hover { transform: rotate(0deg) scale(1.03); box-shadow: 0 .2rem .3rem rgba(36, 19, 13, .2), 0 .9rem 1.8rem rgba(36, 19, 13, .28); z-index: 2; }
}
.print { position: relative; display: block; overflow: hidden; background: #E8D3B3; }
.print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* a soft, worn edge on the photo itself */
.print::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 1.4rem rgba(60, 35, 15, .28); pointer-events: none; }
.snap-1 .print img { filter: saturate(.92) contrast(1.02); }

/* handwritten captions, like pen on the photo's white edge */
.snap figcaption {
  padding: .3rem .2rem .45rem; text-align: center; color: #3B2416;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 1.4rem; line-height: 1.05; text-wrap: balance;
}

/* a strip of tape holding the print onto the page */
.tape {
  position: absolute; z-index: 1; top: -.75rem; left: 50%; width: 5.4rem; height: 1.55rem;
  transform: translateX(-50%) rotate(-3deg);
  background: linear-gradient(rgba(255, 250, 225, .82), rgba(244, 230, 190, .8));
  box-shadow: 0 .05rem .2rem rgba(36, 19, 13, .18);
  clip-path: polygon(3% 0, 97% 4%, 100% 22%, 97% 42%, 100% 64%, 97% 86%, 99% 100%, 2% 96%, 0 78%, 3% 58%, 0 38%, 3% 18%);
}
.snap-3 .tape { transform: translateX(-50%) rotate(4deg); }

/* old-fashioned photo corners on the newspaper clipping */
.corner { position: absolute; z-index: 1; width: 1.3rem; height: 1.3rem; background: #4A2415; }
.corner.tl { top: -.25rem; left: -.25rem; clip-path: polygon(0 0, 100% 0, 0 100%); }
.corner.tr { top: -.25rem; right: -.25rem; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.corner.bl { bottom: -.25rem; left: -.25rem; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.corner.br { bottom: -.25rem; right: -.25rem; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* the signature at the end of the story */
.signoff { display: flex; flex-direction: column; align-items: flex-end; margin: 1.1rem .4rem 0 0 !important; text-align: right; }
.sig { font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 700; font-size: 3rem; line-height: 1; transform: rotate(-2deg); transform-origin: right bottom; color: var(--ink); }
.sig-title { margin-top: .9rem; font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 46rem) {
  .album { max-width: 60rem; grid-template-columns: repeat(3, 1fr); grid-template-areas: "a b c"; gap: 2rem; align-items: center; margin: 1.6rem auto 2.4rem; }
  .snap-1 { width: 100%; --tilt: -3deg; }
  .snap-2 { --tilt: 2deg; margin-top: 1.4rem; }
  .snap-3 { --tilt: -2deg; }
  .snap figure { padding: .65rem .65rem 0; }
  .snap figcaption { font-size: 1.7rem; padding: .4rem .3rem .6rem; }
  .sig { font-size: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) { .snap figure { transition: none; } }
.snap figcaption { text-wrap: balance; }

/* no captions on the prints: a classic deeper bottom edge instead */
.snap figure { padding-bottom: 1.6rem; }
@media (min-width: 46rem) { .snap figure { padding-bottom: 2.3rem; } }

/* the story set as a neat block, straight on both sides */
.story-album .about-text p:not(.signoff) { text-align: justify; text-wrap: wrap; -webkit-hyphens: auto; hyphens: auto; }

/* the signature: fancy cursive with a pen flourish underneath */
.sig { font-family: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive; font-weight: 400; font-size: 3.4rem; line-height: 1; transform: rotate(-4deg); transform-origin: right center; color: var(--ink); }
.sig-flourish { display: block; width: 11.5rem; height: auto; margin: -.55rem -.2rem 0 0; color: var(--ink); opacity: .85; transform: rotate(-3deg); }
.sig-title { margin-top: .4rem; }
@media (min-width: 46rem) { .sig { font-size: 4.2rem; } .sig-flourish { width: 14rem; } }
@media (max-width: 45.99rem) { .story-album .about-text p:not(.signoff) { font-size: 1.1rem; line-height: 1.45; word-spacing: -.02em; } }

/* today's photo of the stand is the main photo: big on top on phones, big in the middle on computers */
.snap-3 { grid-area: a; --tilt: -1.5deg; width: 92%; justify-self: center; }
.snap-1 { grid-area: b; --tilt: -2.4deg; width: auto; }
.snap-2 { grid-area: c; --tilt: 2.2deg; }
@media (min-width: 46rem) {
  .album { grid-template-columns: 1fr 1.5fr 1fr; grid-template-areas: "b a c"; max-width: 58rem; gap: 1.6rem; padding: .4rem 1rem 0; }
  .snap-3 { width: 100%; --tilt: -1deg; z-index: 1; }
  .snap-1 { --tilt: -4deg; margin-top: 2.2rem; }
  .snap-2 { --tilt: 3.5deg; margin-top: 2.2rem; }
  .snap-3 figure { padding: .8rem .8rem 2.8rem; }
}

/* the photo labels, handwritten on each print's white edge */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-600-normal.woff2") format("woff2"); }
.snap figure, .snap-3 figure { padding-bottom: 0; }
.snap figcaption { font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 1.15rem; line-height: 1.08; color: #3B2416; text-align: center; text-wrap: balance; padding: .35rem .2rem .55rem; }
.snap-3 figcaption { font-size: 1.35rem; }
@media (min-width: 46rem) {
  .snap figcaption { font-size: 1.3rem; padding: .45rem .35rem .7rem; }
  .snap-3 figcaption { font-size: 1.6rem; padding: .55rem .4rem .85rem; }
}
