:root {
  --bg: #F1F8EA;
  --bg-tint: #DEEFF4;
  --card: #FFFFFF;
  --ink: #2E4434;
  --muted: #54695A;
  --accent: #3E9459;
  --accent-deep: #2C7343;
  --accent-soft: #CDEBD5;
  --blue: #3D93B7;
  --blue-deep: #2C7292;
  --blue-soft: #CFE9F3;
  --line: #D9EAD8;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(52, 94, 63, 0.10);
  --shadow-lift: 0 12px 32px rgba(52, 94, 63, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Caveat", cursive;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.nav-brand .paw { width: 24px; height: 24px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-ig { display: inline-flex; padding: 8px; border-radius: 12px; }

/* ---------- hero (compact — the photos are the main event) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 36px;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--accent-deep);
  margin: 0;
}
.hero-title {
  font-family: "Caveat", cursive;
  font-size: clamp(60px, 11vw, 104px);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 6px;
}
.hero-sub {
  font-size: 19px;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 20px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn-ghost { border-color: var(--blue-soft); color: var(--blue-deep); background: transparent; }
.btn-ghost:hover { background: var(--blue-soft); }

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-soft), transparent 70%);
  opacity: 0.85;
  animation: drift 14s ease-in-out infinite;
}
.float.blue { background: radial-gradient(circle at 35% 30%, var(--blue-soft), transparent 70%); }
.f1 { width: 340px; height: 340px; top: -80px; left: -100px; }
.f2 { width: 260px; height: 260px; bottom: -60px; right: -60px; animation-delay: -5s; }
.f3 { width: 180px; height: 180px; top: 30%; right: 12%; animation-delay: -9s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}

/* ---------- sections ---------- */
.section { padding: 56px 24px 72px; max-width: 1100px; margin: 0 auto; }
.section-tint {
  max-width: none;
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-tint > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-title {
  font-family: "Caveat", cursive;
  font-size: clamp(42px, 6vw, 60px);
  font-weight: 700;
  margin: 0 0 4px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 520px;
}
.feed-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* ---------- gallery ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.ph-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.ph-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ph-card img { display: block; width: 100%; height: auto; }
.ph-card figcaption, .ph-card .ph-cap {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--muted);
  padding: 10px 16px 14px;
}
.ph-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-deep);
}
.ph-placeholder .paw { width: 40px; height: 40px; opacity: 0.55; }
.ph-placeholder span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ---------- reels ---------- */
.reels {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
}
.reel {
  position: relative;
  flex: 0 0 min(300px, 78vw);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 58px;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.reel-audio {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(20, 38, 26, 0.62);
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease;
}
.reel-audio:hover { background: rgba(20, 38, 26, 0.85); }
.reel-audio svg { width: 20px; height: 20px; }
.reel.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--blue-soft), var(--accent-soft));
  color: var(--blue-deep);
  text-align: center;
  padding: 20px;
}
.reel.is-placeholder .paw { width: 46px; height: 46px; opacity: 0.6; }
.reel.is-placeholder p { font-family: "Caveat", cursive; font-size: 26px; margin: 0; }
.reel.is-placeholder span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; }

/* ---------- about ---------- */
.about-blurb {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- sponsors ---------- */
.sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.sponsor {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  transition: transform 250ms ease, box-shadow 250ms ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sponsor:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.sponsor h3 { margin: 0; font-size: 19px; }
.sponsor h3 a { color: var(--ink); text-decoration: none; }
.sponsor h3 a:hover { color: var(--accent-deep); }
.sponsor .deal {
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: var(--blue-deep);
  margin: 0;
}
.sponsor .tagline { color: var(--muted); font-size: 15px; margin: 0 0 10px; flex: 1; }
.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 10px 8px 16px;
  border: 2px dashed var(--accent-soft);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-family: "Quicksand", system-ui, sans-serif;
  transition: border-color 200ms ease, background 200ms ease;
}
.code-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.code-chip svg { width: 18px; height: 18px; color: var(--accent-deep); }
.sponsor.is-placeholder { opacity: 0.75; border-style: dashed; }
.sponsor .ph-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
}

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 56px 24px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer .paw { width: 28px; height: 28px; color: var(--accent); }
.footer p { margin: 8px 0 0; }
.footer-fine { font-size: 13px; opacity: 0.8; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #F1F8EA;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal animations (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  * { transition-duration: 1ms !important; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-ig) { display: none; }
  .section { padding: 44px 18px 56px; }
  .hero { padding: 44px 18px 28px; }
}
