/* ============================================================
   Color Pour Jam — Festival sky + rainbow pour stream
   Unique layout: pennant nav, pour bottle hero, juice shelf features
   ============================================================ */

:root {
  --sky-top: #7EC8F5;
  --sky-mid: #B8E4FF;
  --sky-bottom: #E8F6FF;
  --cream: #FFF9F3;
  --cream-dark: #FEF0E4;
  --white: #FFFFFF;

  --blue: #1E6BFF;
  --blue-dark: #1554CC;
  --yellow: #FFB800;
  --orange: #FF6B35;
  --pink: #FF3D8A;
  --purple: #8B5CF6;
  --green: #4ADE80;
  --red: #EF4444;

  --text: #1E3A5F;
  --text-muted: #4A6B8A;
  --text-light: #6B8CA8;

  --shadow-soft: 0 4px 24px rgba(30, 107, 255, 0.12);
  --shadow-clay: 0 6px 0 rgba(30, 58, 95, 0.08), 0 12px 32px rgba(30, 107, 255, 0.15);
  --shadow-clay-press: 0 2px 0 rgba(30, 58, 95, 0.08), 0 6px 16px rgba(30, 107, 255, 0.12);
  --shadow-glow: 0 0 40px rgba(255, 184, 0, 0.35);

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --nav-height: 76px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --transition: 200ms ease-out;
  --shell: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky-mid) 0%, var(--sky-bottom) 35%, var(--cream) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 2.5rem;
  height: 2.5rem;
}

/* ---- Festival sky background (static, GPU-friendly) ---- */
.festival-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.festival-sky__cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.festival-sky__cloud--1 {
  width: 120px;
  height: 48px;
  top: 8%;
  left: 10%;
  box-shadow: 40px 0 0 -8px rgba(255, 255, 255, 0.7), 80px 4px 0 -12px rgba(255, 255, 255, 0.6);
}

.festival-sky__cloud--2 {
  width: 90px;
  height: 36px;
  top: 15%;
  right: 15%;
  box-shadow: 35px 0 0 -6px rgba(255, 255, 255, 0.65);
}

.festival-sky__cloud--3 {
  width: 70px;
  height: 28px;
  top: 22%;
  left: 55%;
}

.festival-sky__city {
  position: absolute;
  bottom: 35%;
  left: 0;
  right: 0;
  height: 180px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 249, 243, 0.3) 100%),
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 60px,
      rgba(30, 58, 95, 0.04) 60px, rgba(30, 58, 95, 0.04) 62px);
  mask-image: linear-gradient(180deg, black 30%, transparent 100%);
}

.festival-sky__city::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 40px;
  height: 120px;
  background: rgba(200, 220, 240, 0.5);
  border-radius: 4px 4px 0 0;
  box-shadow:
    50px 20px 0 0 rgba(180, 210, 235, 0.45),
    110px 0 0 0 rgba(190, 215, 240, 0.5),
    170px 35px 0 0 rgba(175, 205, 230, 0.4),
    240px 10px 0 0 rgba(195, 218, 242, 0.48),
    310px 25px 0 0 rgba(185, 212, 238, 0.42),
    380px 5px 0 0 rgba(200, 220, 240, 0.5),
    450px 30px 0 0 rgba(178, 208, 234, 0.44),
    520px 15px 0 0 rgba(192, 216, 241, 0.46),
    590px 0 0 0 rgba(188, 214, 239, 0.5),
    660px 22px 0 0 rgba(182, 210, 236, 0.43),
    730px 8px 0 0 rgba(198, 219, 243, 0.47),
    800px 28px 0 0 rgba(176, 206, 232, 0.41);
}

.festival-sky__balloons {
  position: absolute;
  top: 12%;
  right: 8%;
}

.balloon {
  position: absolute;
  width: 28px;
  height: 34px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.balloon::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(30, 58, 95, 0.2);
  transform: translateX(-50%);
}

.balloon--red { background: var(--red); left: 0; }
.balloon--blue { background: var(--blue); left: 36px; top: 12px; }
.balloon--yellow { background: var(--yellow); left: 72px; top: -4px; }
.balloon--pink { background: var(--pink); left: 108px; top: 8px; }

/* ---- Static rainbow pour accent ---- */
.pour-stream {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.28;
  contain: strict;
}

.pour-stream__path {
  fill: none;
  stroke: url(#pourGrad);
  stroke-width: 5;
  stroke-linecap: round;
}

/* ---- Pennant navigation ---- */
.pennant-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pennant-nav.is-scrolled .pennant-nav__bar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.pennant-nav__bunting {
  display: flex;
  justify-content: center;
  gap: 0;
  height: 14px;
  overflow: hidden;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.pennant-nav.is-scrolled .pennant-nav__bunting {
  opacity: 0;
  height: 0;
}

.pennant-nav__bunting span {
  width: 28px;
  height: 18px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.pennant-nav__bunting span:nth-child(7n+1) { background: var(--blue); }
.pennant-nav__bunting span:nth-child(7n+2) { background: var(--red); }
.pennant-nav__bunting span:nth-child(7n+3) { background: var(--yellow); }
.pennant-nav__bunting span:nth-child(7n+4) { background: var(--pink); }
.pennant-nav__bunting span:nth-child(7n+5) { background: var(--green); }
.pennant-nav__bunting span:nth-child(7n+6) { background: var(--purple); }
.pennant-nav__bunting span:nth-child(7n) { background: var(--orange); }

.pennant-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-height);
  padding: 0 1.25rem;
  margin: 0 1rem;
  margin-top: 0.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-clay);
  transition: background var(--transition), box-shadow var(--transition);
}

.pennant-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.pennant-nav__logo {
  display: block;
  border-radius: 10px;
  filter: drop-shadow(0 2px 4px rgba(30, 107, 255, 0.2));
}

.pennant-nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pennant-nav__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
}

.pennant-nav__jam {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pennant-nav__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pennant-nav__link {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}

.pennant-nav__link:hover,
.pennant-nav__link:focus-visible {
  color: var(--blue);
  background: rgba(30, 107, 255, 0.08);
}

.pennant-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 var(--blue-dark), 0 6px 16px rgba(30, 107, 255, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.pennant-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--blue-dark), 0 8px 20px rgba(30, 107, 255, 0.35);
}

.pennant-nav__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--blue-dark), 0 4px 12px rgba(30, 107, 255, 0.25);
}

.pennant-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 107, 255, 0.1);
  color: var(--blue);
  cursor: pointer;
  transition: background var(--transition);
}

.pennant-nav__toggle:hover {
  background: rgba(30, 107, 255, 0.18);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 3px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #4F8FFF);
  box-shadow: 0 4px 0 var(--blue-dark), var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--blue-dark), 0 8px 24px rgba(30, 107, 255, 0.25);
}

.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--blue-dark);
}

.btn--secondary {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(30, 107, 255, 0.25);
  box-shadow: var(--shadow-clay);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(30, 107, 255, 0.15);
}

.btn--store {
  flex-direction: row;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--text);
  border: 3px solid rgba(30, 58, 95, 0.1);
  box-shadow: var(--shadow-clay);
  text-align: left;
}

.btn--store span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn--store small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
}

.btn--store:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(30, 107, 255, 0.18);
}

.btn--block {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.hero__pour-bottle {
  position: absolute;
  top: calc(var(--nav-height) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
}

.pour-bottle {
  position: relative;
  transform: rotate(-25deg);
}

.pour-bottle__neck {
  width: 14px;
  height: 20px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(30, 107, 255, 0.3);
  border-radius: 4px 4px 0 0;
}

.pour-bottle__body {
  width: 48px;
  height: 72px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(30, 107, 255, 0.3);
  border-radius: 8px 8px 16px 16px;
  overflow: hidden;
}

.pour-bottle__liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(180deg, var(--yellow), var(--orange), var(--pink), var(--purple), var(--blue));
}

.pour-bottle__stream {
  display: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  flex: 1;
  padding-bottom: 4rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(30, 107, 255, 0.15);
  border-radius: var(--radius-pill);
}

.hero__title {
  font-family: var(--font-display);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line--blue {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--blue);
  text-shadow: 0 3px 0 rgba(30, 107, 255, 0.15);
}

.hero__title-line--rainbow {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 25%, var(--pink) 50%, var(--purple) 75%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(255, 107, 53, 0.2));
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Hero visual stage */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__stage {
  position: relative;
}

.phone-mock {
  position: relative;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-mock__bezel {
  position: relative;
  width: min(280px, 72vw);
  padding: 12px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 36px;
  box-shadow:
    0 0 0 3px #444,
    0 20px 60px rgba(30, 58, 95, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-mock__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-mock__screen {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.phone-mock__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(255, 184, 0, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.hero__cups {
  position: absolute;
  bottom: -10px;
  left: -30px;
  right: -30px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.glass-cup {
  width: 44px;
  height: 64px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px 6px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5), var(--shadow-soft);
}

.glass-cup--1 { transform: rotate(-8deg) translateY(8px); }
.glass-cup--2 { transform: translateY(-12px); width: 52px; height: 72px; }
.glass-cup--3 { transform: rotate(6deg) translateY(4px); }

.glass-cup__layer {
  width: 100%;
}

.glass-cup__layer--red { height: 35%; background: var(--red); }
.glass-cup__layer--yellow { height: 30%; background: var(--yellow); }
.glass-cup__layer--blue { height: 55%; background: var(--blue); }
.glass-cup__layer--green { height: 40%; background: var(--green); }
.glass-cup__layer--pink { height: 35%; background: var(--pink); }

.hero__wave {
  margin-top: auto;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 60px;
}

/* ---- Features: juice bar shelf ---- */
.features {
  background: var(--cream);
  padding: 5rem 0 6rem;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section-head__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  background: rgba(255, 61, 138, 0.1);
  border-radius: var(--radius-pill);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-head__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.shelf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}

.shelf__board {
  position: absolute;
  bottom: 0;
  left: -2%;
  right: -2%;
  height: 18px;
  background: linear-gradient(180deg, #E8C9A8 0%, #D4A574 50%, #C4956A 100%);
  border-radius: 4px;
  box-shadow: 0 6px 0 #B8845A, 0 12px 24px rgba(180, 132, 90, 0.3);
}

.shelf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem 2rem;
  background: var(--white);
  border: 3px solid rgba(30, 107, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.shelf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 rgba(30, 58, 95, 0.06), 0 16px 40px rgba(30, 107, 255, 0.18);
}

.shelf-card--1 { transform: rotate(-2deg); }
.shelf-card--2 { transform: rotate(1deg) translateY(-8px); }
.shelf-card--3 { transform: rotate(-1deg); }
.shelf-card--4 { transform: rotate(2deg) translateY(-4px); }

.shelf-card--1:hover { transform: rotate(-2deg) translateY(-6px); }
.shelf-card--2:hover { transform: rotate(1deg) translateY(-14px); }
.shelf-card--3:hover { transform: rotate(-1deg) translateY(-6px); }
.shelf-card--4:hover { transform: rotate(2deg) translateY(-10px); }

.shelf-card__cup {
  width: 48px;
  height: 68px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(200, 220, 240, 0.8);
  border-radius: 6px 6px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  box-shadow: inset 0 4px 12px rgba(255, 255, 255, 0.6);
}

.shelf-card__liquid--rainbow {
  height: 100%;
  background: linear-gradient(180deg, var(--red) 20%, var(--yellow) 40%, var(--green) 60%, var(--blue) 80%);
}

.shelf-card__liquid--mystery {
  height: 100%;
  background: repeating-linear-gradient(180deg, #94A3B8 0px, #94A3B8 12px, var(--purple) 12px, var(--purple) 24px);
}

.shelf-card__liquid--triple {
  height: 100%;
  background: linear-gradient(180deg, var(--pink) 33%, var(--orange) 33%, var(--orange) 66%, var(--yellow) 66%);
}

.shelf-card__liquid--splash {
  height: 100%;
  background: linear-gradient(180deg, var(--blue) 50%, var(--green) 50%);
}

.shelf-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 50%;
  color: var(--blue);
}

.shelf-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.shelf-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}

/* ---- Screenshots gallery (horizontal filmstrip) ---- */
.gallery {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sky-bottom) 100%);
}

.gallery__strip-wrap {
  margin-inline: -0.5rem;
  padding: 1rem 0.5rem 0.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 107, 255, 0.35) transparent;
}

.gallery__strip-wrap::-webkit-scrollbar {
  height: 6px;
}

.gallery__strip-wrap::-webkit-scrollbar-thumb {
  background: rgba(30, 107, 255, 0.35);
  border-radius: var(--radius-pill);
}

.gallery__banner {
  max-width: min(640px, 88%);
  margin-inline: auto;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-clay);
}

.gallery__banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.gallery__strip {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0.75rem 1.5rem;
  overflow: visible;
}

.gallery__shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  transition: transform var(--transition);
}

.gallery__frame {
  padding: 10px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 28px;
  box-shadow:
    0 0 0 2px #444,
    var(--shadow-clay);
}

.gallery__frame img {
  display: block;
  width: min(220px, 42vw);
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  object-position: top center;
  background: #0f172a;
  border-radius: 20px;
}

.gallery__shot--tilt-left {
  transform: rotate(-3deg) translateY(4px);
  transform-origin: center bottom;
}

.gallery__shot--tilt-right {
  transform: rotate(3deg) translateY(4px);
  transform-origin: center bottom;
}

.gallery__shot--lift {
  transform: translateY(-10px);
}

.gallery__shot:hover {
  transform: translateY(-4px);
}

.gallery__shot--tilt-left:hover {
  transform: rotate(-3deg) translateY(-2px);
}

.gallery__shot--tilt-right:hover {
  transform: rotate(3deg) translateY(-2px);
}

.gallery__shot--lift:hover {
  transform: translateY(-14px);
}

/* ---- Download: parade float ---- */
.download {
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sky-bottom) 100%);
}

.float-cta {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  background: linear-gradient(135deg, var(--white) 0%, #FFF5EB 100%);
  border: 4px solid rgba(255, 184, 0, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay), var(--shadow-glow);
}

.float-cta__flags {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.float-cta__flags span {
  width: 24px;
  height: 16px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.float-cta__flags span:nth-child(1) { background: var(--blue); }
.float-cta__flags span:nth-child(2) { background: var(--pink); }
.float-cta__flags span:nth-child(3) { background: var(--yellow); }

.float-cta__inner {
  text-align: center;
}

.float-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.float-cta__text {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.float-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.float-cta__wheels {
  position: absolute;
  bottom: -16px;
  left: 15%;
  right: 15%;
  display: flex;
  justify-content: space-between;
}

.float-cta__wheels span {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at 30% 30%, #666, #333);
  border-radius: 50%;
  border: 3px solid #555;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ---- Footer ---- */
.site-footer {
  padding: 2.5rem 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--yellow);
}

.site-footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0.55);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(400px, 100%);
  padding: 2rem;
  background: var(--white);
  border: 3px solid rgba(30, 107, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.25);
  text-align: center;
  animation: modal-in 300ms ease-out;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(30, 58, 95, 0.06);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.modal__close:hover {
  background: rgba(30, 107, 255, 0.1);
  color: var(--blue);
}

.modal__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.modal__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ---- Scroll reveal (lightweight) ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.reveal--delay {
  transition-delay: 100ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Animations ---- */
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .shelf {
    grid-template-columns: repeat(2, 1fr);
  }

  .shelf-card--2,
  .shelf-card--4 {
    transform: rotate(0);
  }

  .shelf-card--2:hover,
  .shelf-card--4:hover {
    transform: translateY(-6px);
  }

  .hero__grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .pennant-nav__bar {
    margin: 0 0.75rem;
    padding: 0 1rem;
  }

  .pennant-nav__links {
    position: fixed;
    top: calc(var(--nav-height) + 1.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid rgba(30, 107, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-clay);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .pennant-nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pennant-nav__link {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .pennant-nav__cta {
    width: 100%;
    justify-content: center;
  }

  .pennant-nav__toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }

  .hero__eyebrow {
    margin-inline: auto;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__cups {
    left: 0;
    right: 0;
  }

  .festival-sky__balloons,
  .pour-stream,
  .hero__pour-bottle {
    display: none;
  }
}

@media (max-width: 480px) {
  .shelf {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .shelf-card {
    transform: none !important;
  }

  .shelf-card:hover {
    transform: translateY(-4px) !important;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .float-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--store {
    justify-content: center;
  }

  .gallery__shot--tilt-left,
  .gallery__shot--tilt-right,
  .gallery__shot--lift {
    transform: none;
  }

  .gallery__shot:hover,
  .gallery__shot--tilt-left:hover,
  .gallery__shot--tilt-right:hover,
  .gallery__shot--lift:hover {
    transform: none;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .phone-mock:hover {
    transform: none;
  }
}
