/* Pup Fuel — information site. Official blue from the leaping-dog mark: #2498C8 */
:root {
  --blue: #2498C8;
  --blue-dark: #16627F;
  --blue-deep: #1A7AA3;
  --blue-ink: #0E4A61;
  --blue-soft: #E8F6FA;
  --cream: #FFF9F0;
  --cream-2: #FFF3E0;
  --white: #FFFFFF;
  --ink: #1F2A32;
  --mute: #4A5A64;
  --line: #D9E3E8;
  --peanut: #D4A574;
  --banana: #F7DC6F;
  --oat: #E8DCC8;
  --shadow: 0 12px 32px rgba(22, 98, 127, 0.12);
  --radius: 24px;
  --font: "Fredoka", system-ui, sans-serif;
  --body: "Quicksand", system-ui, sans-serif;
  --max: 1120px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(36, 152, 200, 0.10), transparent 32%),
    var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='%232498C8' d='M36 42c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm-12-6c-2.4 0-4.4 2-4.4 4.4s2 4.4 4.4 4.4 4.4-2 4.4-4.4-2-4.4-4.4-4.4zm24 0c-2.4 0-4.4 2-4.4 4.4s2 4.4 4.4 4.4 4.4-2 4.4-4.4-2-4.4-4.4-4.4zM24 26c-2.4 0-4.4 2-4.4 4.4S21.6 35 24 35s4.4-2 4.4-4.4S26.4 26 24 26zm24 0c-2.4 0-4.4 2-4.4 4.4S45.6 35 48 35s4.4-2 4.4-4.4S50.4 26 48 26z'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.6em;
  color: var(--blue-ink);
}
h1 { font-size: clamp(3.4rem, 12vw, 7rem); line-height: 0.88; color: var(--blue); }
h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Language: show one locale at a time, keep each element's natural display */
html:not(.lang-en) [data-lang="en"] { display: none; }
html.lang-en [data-lang="es"] { display: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--blue-ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem var(--pad);
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--blue);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--blue-ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand img { width: 52px; height: auto; }
.jump {
  display: none;
  gap: 1.15rem;
  margin-left: auto;
}
.jump a {
  text-decoration: none;
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.jump a:hover { color: var(--blue); }
.lang {
  display: inline-flex;
  margin-left: auto;
  border: 2px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.jump + .lang { margin-left: 0; }
.lang button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
}
.lang button[aria-pressed="true"],
.lang button.active {
  background: var(--blue);
  color: var(--white);
}
.lang button:focus-visible,
.btn:focus-visible,
.shot:focus-visible,
.lightbox-close:focus-visible,
.skip:focus-visible {
  outline: 3px solid var(--banana);
  outline-offset: 2px;
}

@media (min-width: 800px) {
  .jump { display: flex; }
}

/* Hero */
.hero {
  display: grid;
  gap: 2rem;
  padding: 2.2rem var(--pad) 3rem;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 2px solid var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.8rem 0.35rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow img { width: 28px; height: auto; }
.hero h1 .fuel { color: var(--blue-ink); }
.tagline {
  font-family: var(--font);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 550;
  color: var(--blue-dark);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.lede { font-size: 1.12rem; color: var(--mute); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 3px solid var(--blue);
  box-shadow: 3px 3px 0 var(--blue-ink);
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--blue-ink); }
.btn.ghost {
  background: var(--white);
  color: var(--blue-ink);
  box-shadow: 3px 3px 0 var(--oat);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}
.hero-dog {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(36, 152, 200, 0.25));
  animation: hop 3.4s ease-in-out infinite;
}
@keyframes hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-shot {
  margin: -1.2rem 0 0;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.55rem 0.55rem 0;
  box-shadow: var(--shadow);
  border: 3px solid var(--blue);
  overflow: hidden;
}
.hero-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}
.hero-shot figcaption,
.story-shot figcaption {
  font-size: 0.9rem;
  color: var(--blue-dark);
  padding: 0.65rem 0.7rem 0.8rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
  .hero-dog { width: min(100%, 380px); }
}

/* Story */
.story {
  display: grid;
  gap: 1.75rem;
  padding: 3rem var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  align-items: center;
}
.kicker {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-weight: 650;
}
.story-shot {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--banana);
  box-shadow: var(--shadow);
}
.story-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 860px) {
  .story { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

/* Flavor */
.flavor {
  padding: 3rem var(--pad) 4rem;
  background: linear-gradient(180deg, rgba(232, 246, 250, 0.7), transparent 18rem);
}
.sec-head { max-width: var(--max); margin: 0 auto 1.8rem; text-align: center; }
.sec-head .lede { margin: 0.6rem auto 0; }
.accent { color: var(--blue); }
.flavor h2 .accent { color: #C48A3A; }

.flavor-stage {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.flavor-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--peanut);
  box-shadow: var(--shadow);
  background: var(--white);
}
.flavor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.flavor-copy { padding: 0.2rem 0.2rem 0; }
.tips {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
  display: grid;
  gap: 0.75rem;
}
.tips li {
  background: var(--white);
  border-left: 6px solid var(--banana);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 16px rgba(22, 98, 127, 0.06);
}
.soon-chip {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-weight: 550;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-top: 0.3rem;
}
@media (min-width: 860px) {
  .flavor-stage { grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; }
  .flavor-photo img { aspect-ratio: 4 / 5; max-height: 640px; }
}

.subhead {
  max-width: var(--max);
  margin: 0 auto 1.1rem;
  text-align: center;
}
.ingredients {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--max);
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.4rem 1.2rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
}
.card img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 0.6rem; }
.card.peanut { border-color: var(--peanut); }
.card.banana { border-color: var(--banana); }
.card.oat { border-color: var(--oat); }
.claim-note {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  text-align: center;
  color: var(--mute);
  font-size: 0.92rem;
}
@media (min-width: 760px) {
  .ingredients { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}

/* Gallery */
.gallery { padding: 3rem var(--pad) 4rem; }
.shots {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 20px rgba(22, 98, 127, 0.08);
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.shot:hover img { transform: scale(1.04); }
@media (min-width: 800px) {
  .shots { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
  .shots li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .shots li:nth-child(1) .shot img { aspect-ratio: 4 / 5; }
  .shots li:nth-child(8) { grid-column: span 2; }
  .shots li:nth-child(8) .shot img { aspect-ratio: 16 / 9; }
}

/* How to get some */
.get {
  padding: 1rem var(--pad) 3rem;
}
.get-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--blue);
  color: var(--white);
  border-radius: 32px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 16px 40px rgba(22, 98, 127, 0.25);
  text-align: center;
}
.get-card h2,
.get-card .kicker,
.get-card .lede,
.get-card .promise { color: var(--white); }
.get-card .kicker { color: #D9F3FB; }
.get-card .lede { margin: 0 auto 1.2rem; color: #F2FBFE; }
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  margin: 0.2rem 0 1.1rem;
  font-weight: 700;
}
.price strong {
  font-family: var(--font);
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.promise { max-width: 38rem; margin: 0 auto; font-size: 1.02rem; }

/* Safety */
.safety { padding: 0 var(--pad) 4rem; }
.safety-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 3px solid var(--peanut);
}
.safety-card h2 { font-size: 1.45rem; }
.safety-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

/* Footer */
.foot {
  background: var(--blue);
  color: var(--white);
  padding: 2.4rem var(--pad) 2.6rem;
  margin-top: 0.5rem;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2rem;
}
.foot img { width: 120px; height: auto; }
.foot-brand {
  font-family: var(--font);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.foot p { color: #F2FBFE; }
.tiny { font-size: 0.88rem; opacity: 0.9; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, 94vw);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(14, 74, 97, 0.82); }
.lightbox figure {
  margin: 0;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #0E4A61;
}
.lightbox figcaption {
  padding: 0.8rem 1rem 1rem;
  font-weight: 700;
  color: var(--blue-ink);
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: var(--white);
  color: var(--blue-ink);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.lightbox:not([open]) { display: none; }

/* Mobile refinements */
@media (max-width: 639px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-dog { width: min(82%, 280px); }
  .brand img { width: 44px; }
  .brand span { font-size: 1.02rem; }
  .card { padding: 1.1rem 1rem 1.15rem; }
  .card img { width: 88px; height: 88px; }
  .top { gap: 0.65rem; }
}

/* Favor the cookies in the featured cooling-rack shot */
.shots li:first-child .shot img { object-position: center 72%; }
