/* ==========================================================
   Health Food Record Shop — site styles
   Colors and type follow the HFRS brand guide.
   ========================================================== */

@font-face { font-family: "Cubano"; src: url("../fonts/Cubano.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "BigNoodle"; src: url("../fonts/big_noodle_titling.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Eloquia"; src: url("../fonts/EloquiaDisplay-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "SignPainter"; src: url("../fonts/SignPainterHouseScript.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Itim"; src: url("../fonts/Itim-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --green: #153e26;
  --green-deep: #0f2d1b;
  --ink: #12291b;
  --cream: #f4efdd;
  --cream-dark: #e7dfc4;
  --card: #faf6ea;
  --orange: #e77637;
  --mustard: #ebb864;
  --sage: #7baf8d;
  --brown: #ac7334;
  --taupe: #c9bda5;
  --line: #d8cfb2;
  --muted: #5c6b58;
  --neon: #6dff8f;
  --neon-blue: #6fd6ff;

  --f-display: "Cubano", "Arial Narrow", sans-serif;
  --f-condensed: "BigNoodle", "Arial Narrow", sans-serif;
  --f-bold: "Eloquia", ui-sans-serif, system-ui, sans-serif;
  --f-script: "SignPainter", "Brush Script MT", cursive;
  --f-body: "Itim", ui-rounded, system-ui, sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 0 rgba(18, 41, 27, .08), 0 14px 30px -18px rgba(18, 41, 27, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* A hand-pulled paper grain, laid over everything. */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.16  0 0 0 0 0.1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  /* A ragged, hand-torn edge. */
  --torn: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0 24V9l22 4 31-7 27 6 40-5 26 8 33-9 30 6 41-4 22 7 38-8 29 6 35-3 27 7 39-9 26 5 44-4 20 6 37-7 30 8 34-6 28 3 41-5 25 7 36-8 33 6 29-4 42 6 24-7 35 5 31-3 27 8 40-9 28 6 32-4 26 5 38-7 21 6 33-5 30 3V24z'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.02rem, .96rem + .25vw, 1.14rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--grain);
  opacity: .32;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 100;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--green); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; line-height: .95; letter-spacing: .01em; }
.display { font-family: var(--f-display); text-transform: uppercase; }
.condensed { font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .04em; }
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.bold { font-family: var(--f-bold); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.h-xl { font-size: clamp(2.8rem, 1.6rem + 6vw, 6.4rem); }
.h-lg { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); }
.h-md { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.lede { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); max-width: 38ch; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-condensed); text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .14em; color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; border-radius: 2px; }

/* Hand-drawn underline */
.scribble {
  position: relative; white-space: nowrap;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9c30-6 60-7 92-4s70 4 104-3' fill='none' stroke='%23e77637' stroke-width='4' stroke-linecap='round'/></svg>") bottom / 100% .32em no-repeat;
  padding-bottom: .12em;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .7rem 1.5rem;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-bold); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem;
  text-decoration: none; border: 2px solid var(--bg); border-radius: 999px;
  box-shadow: 0 4px 0 var(--green-deep);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-deep); }
.btn--orange { --bg: var(--orange); --fg: var(--cream); }
.btn--cream { --bg: var(--cream); --fg: var(--green); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: none; }
.btn--ghost:hover, .btn--ghost:active { box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--green-deep); color: var(--cream);
  font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
  overflow: hidden; white-space: nowrap; padding: .45rem 0;
}
.ticker__track { display: inline-flex; gap: 2.5rem; padding-left: 2.5rem; animation: ticker 48s linear infinite; }
.ticker__track span::after { content: "✦"; color: var(--mustard); margin-left: 2.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
/* Horizontal lockup, as on the HFRS reference site: circle emblem + Cubano wordmark. */
.brand { gap: .65rem; }
.brand img { width: 2.75rem; flex-shrink: 0; }
.brand span { font-family: var(--f-display); text-transform: uppercase; font-size: .95rem; line-height: .92; letter-spacing: .03em; color: var(--green); }
.site-nav ul { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px; text-decoration: none;
  font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .12em; font-size: 1.15rem; color: var(--green);
  transition: background .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--cream-dark); }
.site-nav .btn { font-size: .8rem; min-height: 2.6rem; padding: .5rem 1.1rem; margin-left: .4rem; color: var(--cream); }
.site-nav .btn:hover { background: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--green); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .site-nav a { font-size: 1.5rem; padding: .7rem .5rem; border-radius: 8px; }
  .site-nav .btn { margin: .6rem 0 0; min-height: 3rem; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 900px);
  display: grid; align-items: end;
  color: var(--cream);
  background: var(--green-deep);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateY(-1.5%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 14, .35) 0%, rgba(10, 22, 14, .45) 35%, rgba(10, 22, 14, .85) 72%, rgba(10, 22, 14, .96) 100%),
    radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(5, 12, 8, .5) 100%);
}
.hero::after { /* torn paper edge into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background: var(--cream); -webkit-mask: var(--torn) center / 100% 100%; mask: var(--torn) center / 100% 100%;
}
.hero .wrap { padding: clamp(7rem, 16vh, 11rem) 0 clamp(4rem, 9vh, 6rem); display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.hero h1 { text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.hero h1 .script { display: block; font-size: .62em; color: var(--mustard); margin-top: .1em; transform: rotate(-3deg); }
.hero__lede { max-width: 46ch; color: rgba(244, 239, 221, .9); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.hero .btn--ghost { --fg: var(--cream); border-color: rgba(244, 239, 221, .55); }

/* ---------- The OPE(N) sign ----------
   Hangs on chains from the bottom of the nav, over the right side of the hero.
   Plays like the real animated LED sign: O, P, E write on, the blue ring
   lights, the word blinks, the N stays dark until release day. */
.hero { --sign-w: clamp(220px, 24vw, 340px); }
.hang-sign {
  position: absolute; top: 0; right: clamp(1.5rem, 7vw, 7rem); z-index: 3;
  width: var(--sign-w);
  padding-top: clamp(70px, 11vh, 120px);
  transform-origin: 50% 0;
  animation: sway 7s ease-in-out infinite;
}
.hang-sign.is-swinging { animation: swing 1.6s cubic-bezier(.3, 1.6, .5, 1) 1, sway 7s ease-in-out 1.6s infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(6deg); } 45% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(-1.2deg); } }
.hang-sign__chain {
  position: absolute; top: 0; width: 6px; height: calc(clamp(70px, 11vh, 120px) + 10%);
  background:
    radial-gradient(ellipse 3px 5px at 50% 50%, transparent 1.6px, #8b8f8c 2px, #3c403e 3px, transparent 3.4px) 0 0 / 6px 10px repeat-y;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6));
}
/* Lined up with the hooks on the sign photo. */
.hang-sign__chain--l { left: 22.5%; }
.hang-sign__chain--r { left: 73.5%; height: calc(clamp(70px, 11vh, 120px) + 3%); }

.neon {
  position: relative; display: block;
  width: 100%; aspect-ratio: 620 / 380; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.neon img { width: 100%; height: 100%; }
.neon__img { position: relative; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
/* A blurred copy behind the sign is the glow it throws on the night. */
.neon__halo {
  position: absolute; inset: -6%; width: 112% !important; height: 112% !important; max-width: none;
  filter: blur(26px) saturate(1.6); opacity: .8;
}
/* The base image is the sign photo with every tube switched off. Each tube
   is a slice of the lit photo laid on top that fades in when it switches on. */
.neon__tube {
  position: absolute; inset: 0;
  background: url("../img/open-sign-lit.png") center / 100% 100% no-repeat;
  opacity: 0;
}
/* The blue ring and O, P, E are always lit. */
.neon__tube--o { clip-path: inset(27% 73% 26% 5%); opacity: 1; }
.neon__tube--p { clip-path: inset(27% 55.4% 26% 27%); opacity: 1; }
.neon__tube--e { clip-path: inset(27% 36.5% 26% 44.6%); opacity: 1; }
.neon__tube--ring-top { clip-path: inset(7% 3% 72% 21%); opacity: 1; }
.neon__tube--ring-side { clip-path: inset(13% 2% 33% 86%); opacity: 1; }
.neon__tube--ring-bottom { clip-path: inset(70% 27% 5% 2%); opacity: 1; }
/* The N is the only tube that flickers: mostly dark with the odd stutter
   until release day, then lit with the odd stutter. */
.neon__tube--n { clip-path: inset(26% 14% 24% 63.5%); animation: tube-n 8s infinite; }
.is-open .neon__tube--n { animation: tube-n-lit 8s infinite; }

@keyframes tube-n { 0%, 40%, 41.6%, 42.4%, 86%, 87.4%, 100% { opacity: 0; } 41%, 42%, 87% { opacity: .85; } }
@keyframes tube-n-lit { 0%, 40%, 41.6%, 42.4%, 86%, 87.4%, 100% { opacity: 1; } 41%, 42%, 87% { opacity: .15; } }

/* Text sits left so the sign has the right side. */
.hero .wrap { justify-items: start; text-align: left; }
.hero .hero__ctas { justify-content: flex-start; }
.hero h1 { max-width: 12ch; }

@media (max-width: 860px) {
  .hero { --sign-w: clamp(170px, 46vw, 240px); }
  .hang-sign { right: var(--pad); padding-top: 28px; }
  .hang-sign__chain { height: calc(28px + 10%); }
  .hang-sign__chain--r { height: calc(28px + 3%); }
  .hero .wrap { padding-top: calc(var(--sign-w) * .62 + 100px); }
}

/* ---------- Countdown ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, 1.5vw, .9rem); width: min(100%, 560px); }
.countdown__unit {
  background: var(--cream); color: var(--green);
  border-radius: 10px; padding: .7rem .3rem .55rem; text-align: center;
  box-shadow: 0 4px 0 var(--green-deep);
  position: relative;
}
.countdown__unit::before { /* split-flap seam */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(18, 41, 27, .14);
}
.countdown__num { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 3vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lbl { display: block; font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.countdown-caption { font-family: var(--f-script); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--mustard); margin: -.3rem 0 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section--green { background: var(--green); color: var(--cream); }
.section--green .eyebrow { color: var(--mustard); }
.section--green .muted { color: rgba(244, 239, 221, .72); }
.section--paper { background: var(--cream) url("../img/paper.jpg") center / cover; }
.section--mustard { background: var(--mustard); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); max-width: 720px; }
.section-head p { margin: 0; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.torn-top::before, .torn-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; background: inherit;
  -webkit-mask: var(--torn) center / 100% 100%; mask: var(--torn) center / 100% 100%;
}
.torn-top::before { top: -21px; }
.torn-bottom::after { bottom: -21px; transform: scaleY(-1); z-index: 1; }

/* ---------- Nourishment (Body / Mind / Soul) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.trio__card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem; position: relative; box-shadow: var(--shadow);
}
.trio__card:nth-child(1) { transform: rotate(-1deg); }
.trio__card:nth-child(3) { transform: rotate(1deg); }
.trio__num { font-family: var(--f-condensed); color: var(--orange); font-size: 1.2rem; letter-spacing: .14em; }
.trio__card h3 { font-family: var(--f-display); font-size: 2.6rem; color: var(--green); margin: .3rem 0 .6rem; }
.trio__card p { margin: 0; color: var(--muted); }
.trio__card .feed { font-family: var(--f-script); font-size: 1.7rem; color: var(--brown); display: block; margin-top: 1rem; line-height: 1; }
.creed { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 32ch; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); line-height: 1.05; color: var(--green); }
.creed .script { color: var(--orange); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } .trio__card { transform: none !important; } }

/* ---------- Store directory (the sectors) ---------- */
.directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .directory { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .directory { grid-template-columns: 1fr; } }
.aisle {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  background: var(--green-deep); color: var(--cream);
  border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem;
  text-decoration: none; border: 1.5px solid rgba(244, 239, 221, .12);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  min-height: 210px;
}
a.aisle:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--mustard); background: #12361f; }
.aisle__no { font-family: var(--f-condensed); letter-spacing: .2em; font-size: 1.05rem; color: var(--sage); text-transform: uppercase; }
.aisle h3 { font-family: var(--f-display); font-size: 1.9rem; text-transform: uppercase; }
.aisle p { margin: 0; color: rgba(244, 239, 221, .75); font-size: 1rem; }
.aisle__status {
  margin-top: auto; align-self: flex-start;
  font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
  padding: .25rem .75rem; border-radius: 999px;
  background: var(--cream); color: var(--green);
}
.aisle__status--live { background: var(--orange); color: var(--cream); }
.aisle__status--soon { background: transparent; color: var(--mustard); border: 1.5px dashed var(--mustard); }
.aisle__arrow { position: absolute; right: 1.2rem; bottom: 1.2rem; font-size: 1.4rem; color: var(--mustard); transition: transform .3s var(--ease); }
a.aisle:hover .aisle__arrow { transform: translateX(4px); }
.aisle--soon { background: transparent; border-style: dashed; border-color: rgba(244, 239, 221, .28); }

/* ---------- Album feature ---------- */
.album { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.album__art { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; margin-inline: auto; }
.album__sleeve {
  position: absolute; inset: 6% 18% 6% 0; border-radius: 6px;
  background: var(--green) url("../img/paper.jpg") center / cover; background-blend-mode: multiply;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .6);
  display: grid; place-items: center; padding: 12%;
  z-index: 2;
}
.album__sleeve img { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .15)); }
.album__vinyl {
  position: absolute; top: 13%; right: 0; width: 74%; aspect-ratio: 1; z-index: 1;
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sticker { position: absolute; z-index: 3; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.sticker--a { width: 30%; left: -6%; top: -2%; transform: rotate(-14deg); }
.sticker--b { width: 24%; right: 6%; bottom: 0; transform: rotate(10deg); }

.menu-board {
  background: var(--ink); color: var(--cream);
  border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 10px solid #3b2a1a; box-shadow: inset 0 0 40px rgba(0, 0, 0, .55), var(--shadow);
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .05), transparent 60%);
}
.menu-board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px dashed rgba(244, 239, 221, .3); padding-bottom: .8rem; margin-bottom: .6rem; }
.menu-board__head h3 { font-family: var(--f-script); font-size: 2.2rem; color: var(--mustard); }
.menu-board__head span { font-family: var(--f-condensed); letter-spacing: .14em; color: var(--sage); }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tracks li {
  counter-increment: t; display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; gap: .5rem;
  padding: .42rem 0; font-family: var(--f-condensed); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .06em;
}
.tracks li::before { content: counter(t, decimal-leading-zero); color: var(--orange); font-size: 1.05rem; }
.tracks li span { overflow: hidden; white-space: nowrap; }
.tracks li span::after { content: " ............................................................................................"; color: rgba(244, 239, 221, .25); }
.tracks li em { font-style: normal; color: var(--sage); font-size: 1rem; letter-spacing: .1em; }
.tracks li.is-bookend { color: var(--mustard); }
.menu-board__foot { margin-top: 1rem; font-family: var(--f-script); font-size: 1.6rem; text-align: center; color: var(--cream); opacity: .85; }
@media (max-width: 900px) { .album { grid-template-columns: 1fr; } }

.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.facts li {
  font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem;
  padding: .35rem .85rem; border-radius: 6px; background: var(--cream-dark); color: var(--green);
}
.section--green .facts li { background: rgba(244, 239, 221, .1); color: var(--cream); }

/* ---------- SpitFire ---------- */
.spitfire { position: relative; overflow: hidden; background: var(--mustard) url("../img/paper-warm.jpg") center / cover; background-blend-mode: multiply; }
.spitfire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.spitfire__bottle { position: relative; display: grid; place-items: center; min-height: 520px; }
.spitfire__bottle .burst { position: absolute; width: 95%; max-width: 560px; animation: pulse 4s ease-in-out infinite; }
.spitfire__bottle .bottle { position: relative; width: min(56%, 300px); transform: rotate(14deg); filter: drop-shadow(0 30px 25px rgba(70, 30, 0, .45)); animation: bob 5s ease-in-out infinite; }
.spitfire__bottle .star { position: absolute; width: 44px; animation: twinkle 3s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05) rotate(2deg); } }
@keyframes bob { 50% { transform: rotate(11deg) translateY(-12px); } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }

.price-tag {
  position: relative; display: inline-grid; justify-items: center; gap: .1rem;
  background: var(--orange); color: var(--cream);
  padding: 2.2rem 1.6rem 1.4rem; border-radius: 12px 12px 14px 14px;
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
  transform: rotate(-5deg);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08);
}
.price-tag::before { content: ""; position: absolute; top: 1rem; width: 14px; height: 14px; border-radius: 50%; background: var(--mustard); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); }
.price-tag strong { font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); line-height: .9; text-shadow: 3px 3px 0 #b8521f; }
.price-tag small { font-family: var(--f-condensed); letter-spacing: .14em; font-size: 1.1rem; }
.spitfire h2 { color: var(--ink); }
.spitfire .sing { width: min(100%, 380px); filter: drop-shadow(2px 2px 0 rgba(150, 70, 20, .5)) brightness(.97); }
.spitfire .lede { color: #3b2a14; }
.in-person {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-top: 1.6rem;
  border: 2px dashed var(--brown); max-width: 520px;
}
.in-person svg { width: 40px; height: 40px; color: var(--orange); }
.in-person p { margin: 0; font-size: 1rem; color: var(--ink); }
.in-person b { font-family: var(--f-bold); text-transform: uppercase; letter-spacing: .04em; display: block; font-size: .95rem; color: var(--green); }
@media (max-width: 860px) {
  .spitfire__grid { grid-template-columns: 1fr; }
  .spitfire__bottle { min-height: 380px; order: -1; }
}

/* SpitFire real-life gallery: an endless scrolling strip of framed photos */
.sf-gallery {
  position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sf-gallery__track {
  --sf-w: clamp(200px, 24vw, 300px); --sf-gap: clamp(1rem, 2vw, 1.6rem);
  display: flex; gap: var(--sf-gap); width: max-content;
  padding: 1rem calc(var(--sf-gap) / 2) 2rem;
  animation: sf-scroll 40s linear infinite;
}
.sf-gallery:hover .sf-gallery__track { animation-play-state: paused; }
.sf-gallery__item {
  flex: 0 0 var(--sf-w); margin: 0;
  padding: 10px; background: var(--cream); border-radius: 22px;
  box-shadow: 0 14px 28px rgba(70, 30, 0, .28), 0 2px 0 rgba(150, 70, 20, .25);
  transition: transform .35s ease;
}
.sf-gallery__item:nth-child(odd) { transform: rotate(-1.5deg); }
.sf-gallery__item:nth-child(even) { transform: rotate(1.5deg); }
.sf-gallery__item:hover { transform: rotate(0) scale(1.04); }
.sf-gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
/* The track holds the photos twice; sliding by half loops seamlessly */
@keyframes sf-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .sf-gallery { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sf-gallery__track { animation: none; }
  .sf-gallery__item { scroll-snap-align: start; }
  .sf-gallery__item[aria-hidden="true"] { display: none; }
}

/* ---------- Shopkeepers ---------- */
.keepers { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.polaroids { position: relative; min-height: 520px; }
.polaroid {
  position: absolute; background: #fffdf5; padding: .7rem .7rem 2.8rem; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .55);
  width: 58%; transition: transform .4s var(--ease), z-index 0s;
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: .55rem; text-align: center; font-family: var(--f-script); font-size: 1.6rem; color: var(--ink); }
.polaroid--1 { left: 0; top: 2%; transform: rotate(-6deg); }
.polaroid--2 { right: 0; top: 18%; transform: rotate(5deg); }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 3; }
.polaroid::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(235, 184, 100, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}
@media (max-width: 860px) { .keepers { grid-template-columns: 1fr; } .polaroids { min-height: 420px; max-width: 460px; width: 100%; margin-inline: auto; } }

.receipt-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 2rem; }
.stat {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem;
  position: relative;
}
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); color: var(--green); line-height: 1; }
.stat span { display: block; font-size: .95rem; color: var(--muted); margin-top: .35rem; line-height: 1.35; }
.stat::after { content: ""; position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--taupe); }

/* ---------- The future shop ---------- */
.future { position: relative; color: var(--cream); background: var(--green-deep); overflow: hidden; }
.future__img { position: absolute; inset: 0; }
.future__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.future::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 22, 14, .96) 0%, rgba(10, 22, 14, .8) 45%, rgba(10, 22, 14, .25) 100%); }
.future .wrap { position: relative; z-index: 2; }
.future .section-head { max-width: 560px; }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 560px; }
.roadmap li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem; border-radius: 12px; background: rgba(244, 239, 221, .07); border: 1px solid rgba(244, 239, 221, .14);
  backdrop-filter: blur(4px);
}
.roadmap li.is-now { border-color: var(--mustard); background: rgba(235, 184, 100, .12); }
.roadmap .when { font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .12em; color: var(--mustard); font-size: 1.15rem; line-height: 1.1; }
.roadmap h3 { font-family: var(--f-bold); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .05em; margin-bottom: .3rem; }
.roadmap p { margin: 0; font-size: .98rem; color: rgba(244, 239, 221, .78); }
@media (max-width: 860px) { .future::before { background: linear-gradient(180deg, rgba(10, 22, 14, .7), rgba(10, 22, 14, .95)); } }

/* ---------- Sign-up (receipt) ---------- */
.signup-wrap { display: grid; place-items: center; }
.receipt {
  width: min(100%, 520px); background: #fffdf5; color: var(--ink);
  padding: 2.4rem clamp(1.4rem, 4vw, 2.4rem) 2.2rem; position: relative;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .5);
  transform: rotate(-1deg);
  font-family: var(--f-body);
}
.receipt::before, .receipt::after { /* zig-zag tear */
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: linear-gradient(-45deg, transparent 8px, #fffdf5 0) 0 0 / 16px 12px, linear-gradient(45deg, transparent 8px, #fffdf5 0) 0 0 / 16px 12px;
}
.receipt::before { top: -11px; transform: scaleY(-1); }
.receipt::after { bottom: -11px; }
.receipt__logo { width: 120px; margin: 0 auto .8rem; }
.receipt h2 { text-align: center; font-family: var(--f-script); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); color: var(--green); }
.receipt__sub { text-align: center; font-family: var(--f-condensed); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: .4rem 0 1.2rem; }
.receipt__rows { border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); padding: .8rem 0; margin-bottom: 1.4rem; font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.receipt__rows div span:last-child { color: var(--orange); }
.signup { display: grid; gap: .7rem; }
.signup label { font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; color: var(--muted); }
.signup input {
  font: inherit; font-size: 1.1rem; padding: .85rem 1rem; border-radius: 10px;
  border: 2px solid var(--line); background: var(--cream); color: var(--ink); width: 100%;
}
.signup input:focus { outline: none; border-color: var(--green); }
.signup .btn { width: 100%; }
.signup.is-done input { display: none; }
.signup-note { margin: .2rem 0 0; text-align: center; font-size: .95rem; color: var(--muted); min-height: 1.4em; }
.receipt__thanks { text-align: center; font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .2em; margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }
.barcode { height: 38px; margin: .8rem auto 0; width: 70%; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--cream); padding: 4.5rem 0 2rem; position: relative; }
.site-footer .wrap { display: grid; gap: 2.5rem; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-top img { width: 120px; }
.footer-tag { font-family: var(--f-script); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); color: var(--mustard); line-height: 1.1; }
.footer-tag small { display: block; font-family: var(--f-condensed); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 239, 221, .6); margin-top: .4rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid rgba(244, 239, 221, .3); text-decoration: none; font-family: var(--f-condensed); letter-spacing: .12em; text-transform: uppercase; }
.socials a:hover { border-color: var(--mustard); color: var(--mustard); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-family: var(--f-condensed); letter-spacing: .12em; text-transform: uppercase; font-size: 1.1rem; color: rgba(244, 239, 221, .8); }
.footer-links a:hover { color: var(--mustard); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(244, 239, 221, .15); padding-top: 1.4rem; font-size: .92rem; color: rgba(244, 239, 221, .6); }
.no-fast-food { font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .18em; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero .countdown { margin-top: 1.6rem; }
.page-hero .countdown__unit { box-shadow: 0 4px 0 var(--ink); }
.section--green .countdown-caption, .page-hero.section--green .countdown-caption { color: var(--mustard); }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.breadcrumbs { font-family: var(--f-condensed); letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; margin-bottom: 1.4rem; }
.breadcrumbs a { text-decoration: none; opacity: .75; }
.breadcrumbs a:hover { opacity: 1; }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.stage { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; box-shadow: var(--shadow); }
.stage__no { font-family: var(--f-condensed); letter-spacing: .16em; color: var(--orange); text-transform: uppercase; font-size: 1.05rem; }
.stage h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.6rem; color: var(--green); margin: .3rem 0 .5rem; }
.stage p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (max-width: 960px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

.quote { max-width: 30ch; margin: 0 auto; text-align: center; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); line-height: 1.12; }
.quote .script { display: block; margin-top: 0; line-height: 1; text-align: center; color: var(--orange); font-size: 1.15em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.find-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.find-list .ico { width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange); color: var(--cream); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.2rem; }
.find-list h3 { font-family: var(--f-bold); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .05em; color: var(--green); margin-bottom: .25rem; line-height: 1.2; }
.find-list p { margin: 0; font-size: .98rem; color: var(--muted); }

.label-card { background: var(--cream); border-radius: var(--radius); padding: 1.6rem; border: 2px solid var(--brown); box-shadow: var(--shadow); }
.label-card dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; }
.label-card dt { font-family: var(--f-condensed); text-transform: uppercase; letter-spacing: .14em; color: var(--brown); font-size: 1.05rem; }
.label-card dd { margin: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  /* Without motion the sign just stays lit. */
  .is-open .neon__tube--n { opacity: 1; }
}

.album__sleeve--cream { background-color: var(--cream); }
.page-hero .album__art { max-width: 400px; }
/* Resting size leaves room in the column for the record to come out at 120%. */
.album .album__art { max-width: 420px; }

/* Album cover art on the sleeve: square, full-bleed, record peeking out the right side */
.album__sleeve--cover {
  inset: 8% auto auto 0; width: 80%; aspect-ratio: 1;
  padding: 0; overflow: hidden; border-radius: 4px; background: var(--ink);
}
.album__sleeve--cover img { width: 100%; height: 100%; object-fit: cover; display: block; filter: none; }

/* Album art: hover, click or tap pulls the record out from behind the cover.
   Both grow 20%; the cover eases left, the record slides right to show its
   label. Uses translate/scale so the record keeps spinning. Distances are in
   cqw (percent of the art box) so the stickers track the cover's corners. */
.album__art { container-type: inline-size; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.album__art:focus-visible { outline: 2px dashed var(--mustard); outline-offset: 8px; border-radius: 8px; }
.album__art.is-out { z-index: 5; }
.album__vinyl, .album__sleeve, .album__art .sticker {
  transition: translate .7s var(--ease), scale .7s var(--ease);
}
.album__art.is-out .album__vinyl { translate: 30cqw 0; scale: 1.2; }
.album__art.is-out .album__sleeve { translate: -10cqw 0; scale: 1.2; }
.album__art.is-out .sticker--a { translate: -18cqw -8.8cqw; scale: 1.2; }
.album__art.is-out .sticker--b { translate: -1.6cqw 8cqw; scale: 1.2; }

/* Phones: shrink the art so the pulled-out record (it reaches ~1.64x the box
   width) stays on screen; nudge left since the record overhangs the right. */
@media (max-width: 600px) {
  .album .album__art, .page-hero .album__art { max-width: 58vw; left: -3vw; }
}
