/* ═══════════════════════════════════════════════════════════════
   JPQ EXOTICS — Dark Jungle Luxury Design System
   Palette: near-black jungle base + gold accent + cream text
   Fonts:   Syne (display) + Jost (body)
═══════════════════════════════════════════════════════════════ */

:root {
  --bg:           #080c08;
  --surface:      #0f150f;
  --surface-2:    #161e16;
  --gold:         #c9a84c;
  --gold-dim:     rgba(201, 168, 76, 0.25);
  --gold-glow:    rgba(201, 168, 76, 0.12);
  --cream:        #f0ebe0;
  --cream-mid:    #c8c2b5;
  --cream-muted:  #7a7468;
  --green-deep:   #0d2010;
  --border:       rgba(201, 168, 76, 0.18);
  --border-dim:   rgba(240, 235, 224, 0.08);

  --font-display: 'Clash Display', sans-serif;
  --font-body:    'Jost', sans-serif;

  --nav-h:  72px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background 200ms ease, transform 150ms ease, box-shadow 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-call:hover {
  background: #e0bc5e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}
.btn-call:active { transform: translateY(0); }
.btn-call:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: #f5c400;
  color: #000000;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid #f5c400;
  border-radius: var(--r-sm);
  transition: background 250ms ease, border-color 250ms ease, transform 150ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.btn-hero:hover {
  background: #ffd000;
  border-color: #ffd000;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 196, 0, 0.45);
}
.btn-hero:focus-visible { outline: 2px solid #f5c400; outline-offset: 3px; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background 200ms ease, transform 150ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.btn-gold:hover {
  background: #e0bc5e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}
.btn-gold:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease, transform 150ms ease;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-outline:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Typography helpers ─────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  background: rgba(8, 12, 8, 0.92);
  border-bottom-color: var(--border-dim);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  cursor: pointer;
}
.logo-jpq    { color: var(--gold); }
.logo-exotics { color: var(--cream); margin-left: 6px; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-mid);
  transition: color 200ms ease;
}
.nav-link:hover { color: var(--cream); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 450vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* layered dark vignette over the canvas */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, transparent 0%, rgba(8,12,8,0.35) 60%, rgba(8,12,8,0.85) 100%),
    linear-gradient(to bottom, rgba(8,12,8,0.6) 0%, transparent 20%, transparent 70%, rgba(8,12,8,0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 0 24px;
  pointer-events: none;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 14px);
  overflow: visible;
}

.hero-word {
  font-family: var(--font-display);
  font-size: clamp(72px, 15vw, 195px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: block;
}

/* JPQ — solid white */
.hero-word--left {
  color: #ffffff;
}

/* EXOTICS — transparent with sharp white outline */
.hero-word--right {
  color: transparent;
  -webkit-text-stroke: 2px #ffffff;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--cream-mid);
  max-width: 460px;
}

/* ── Hero phases ──────────────────────────────────────────── */
.hero-phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 80px);
  z-index: 2;
  pointer-events: none;
  gap: 28px;
}

/* Phase 1 — title + aux (always pointer-events-none except the CTA) */
.hero-phase-1-aux {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-phase--1 .btn-hero { pointer-events: auto; }

/* Phase 2 — left-anchored editorial */
.hero-phase--2 {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(48px, 8vw, 140px);
  padding-right: 30%;
  opacity: 0;
  gap: 12px;
}

/* Phase 3 — left-anchored stacked bird names override */
.hero-phase--3 {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(48px, 8vw, 140px);
  padding-right: 30%;
}

.hero-phase-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-phase-heading {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.5vw, 116px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  color: #fff;
}

.heading-word--gold {
  color: var(--gold);
}

/* Phase 3 — left-anchored stacked bird inventory */
.hero-phase--3 {
  opacity: 0;
  gap: 16px;
  /* alignment inherited from .hero-phase--3 override above */
}

.hero-avail-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-birds-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-bird-name {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: #ffffff;
  text-transform: none;
}

.hero-bird-name--gold {
  color: #f5c400;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  opacity: 1;
  transition: opacity 400ms ease;
}
.hero-scroll-hint.is-hidden { opacity: 0; }
.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cream-muted), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 0.9; transform: scaleY(1); }
}

/* ── Hero title botanical leaf decoration ───────────────────── */
.title-leaf-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.tl-leaf {
  position: absolute;
  opacity: 0.48;
  transform-origin: bottom center;
}
.tl-leaf--1 {
  bottom: 28%;
  left: -2%;
  width: clamp(120px, 16vw, 230px);
  animation: leafSway1 8s ease-in-out infinite;
}
.tl-leaf--2 {
  bottom: 22%;
  right: -2%;
  width: clamp(100px, 14vw, 200px);
  animation: leafSway2 9.5s ease-in-out infinite;
}
@keyframes leafSway1 {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-8px); }
}
@keyframes leafSway2 {
  0%, 100% { transform: scaleX(-1) rotate(-3deg) translateY(0); }
  50%       { transform: scaleX(-1) rotate(4deg) translateY(-6px); }
}

/* ══════════════════════════════════════════════════════════════
   JUNGLE SECTION
══════════════════════════════════════════════════════════════ */
.jungle-section {
  position: relative;
  background: #070b07;
  overflow: hidden;
  padding: 14vh 0 16vh;
  min-height: 120vh;
}

/* foliage layers — stacked by depth */
.foliage-layer {
  position: absolute;
  inset: -10% 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.foliage-layer--1 { z-index: 1; }
.foliage-layer--2 { z-index: 2; }
.foliage-layer--3 { z-index: 3; }

.foliage-svg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  max-width: 420px;
  height: 120%;
}
.foliage-svg--left  { left: -5%;  }
.foliage-svg--right { right: -5%; transform: scaleX(-1); transform-origin: center; }

/* bird silhouettes */
.bird-perch {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  will-change: transform;
}
.bird-perch--1 {
  left: 5%;
  top: 28%;
  width: clamp(100px, 14vw, 180px);
  opacity: 0;
}
.bird-perch--2 {
  right: 6%;
  top: 58%;
  width: clamp(90px, 13vw, 160px);
  opacity: 0;
  transform: scaleX(-1);
}

.bird-svg {
  width: 100%;
  height: auto;
}

/* CSS animation for idle perching */
@keyframes birdSway {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%       { transform: rotate(2.5deg) translateY(-3px); }
}
@keyframes birdSwayMirror {
  0%, 100% { transform: scaleX(-1) rotate(-2.5deg) translateY(0); }
  50%       { transform: scaleX(-1) rotate(2.5deg) translateY(-3px); }
}
.bird-perch--1.is-visible {
  opacity: 1;
  animation: birdSway 5s ease-in-out infinite;
  animation-delay: 0.3s;
}
.bird-perch--2.is-visible {
  opacity: 1;
  animation: birdSwayMirror 6s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* jungle content */
.jungle-content {
  position: relative;
  z-index: 20;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(80px, 12vw, 180px);
  display: flex;
  flex-direction: column;
  gap: 10vh;
}

.jungle-panel { max-width: 560px; }
.jungle-panel--2 { align-self: flex-end; text-align: right; }
.jungle-panel--2 .btn-outline { margin-left: auto; }

.jungle-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.jungle-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}

.jungle-text {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 300;
  color: var(--cream-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--bg);
  padding: 12vh 0;
  border-top: 1px solid var(--border-dim);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-left { position: sticky; top: calc(var(--nav-h) + 32px); }

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 36px;
}
.about-heading em {
  font-style: italic;
  color: var(--gold);
}

.about-right p {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 300;
  color: var(--cream-mid);
  line-height: 1.85;
  margin-bottom: 22px;
}
.about-right p:last-of-type { margin-bottom: 40px; }

.about-stat-row {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* ══════════════════════════════════════════════════════════════
   BREEDS
══════════════════════════════════════════════════════════════ */
.breeds-section {
  background: var(--surface);
  padding: 10vh 0 0;
  border-top: 1px solid var(--border-dim);
}

.breeds-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  margin-bottom: 40px;
}

.breeds-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
  grid-auto-flow: dense;
}

.breed-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
  cursor: pointer;
}
.breed-card--tall  { grid-row: span 2; }
.breed-card--wide  { grid-column: span 2; }
.breed-card--caique img { object-position: center 20%; }

.breed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms var(--ease-out-expo), filter 400ms ease;
  filter: brightness(0.88) saturate(1.05);
}
.breed-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.15);
}

.breed-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 18px 18px;
  background: linear-gradient(to top, rgba(8,12,8,0.95) 0%, rgba(8,12,8,0.5) 60%, transparent 100%);
  transform: translateY(4px);
  transition: transform 300ms ease;
}
.breed-card:hover .breed-card__info { transform: translateY(0); }

.breed-card__info span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-transform: capitalize;
}

.breeds-banner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(40px, 6vh, 70px) clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
}

.breeds-banner__text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream);
}

/* ══════════════════════════════════════════════════════════════
   ACCESSORIES
══════════════════════════════════════════════════════════════ */
.accessories-section {
  background: var(--bg);
  padding: 12vh 0;
  border-top: 1px solid var(--border-dim);
}

.accessories-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.accessories-header {
  margin-bottom: 60px;
}

.accessories-intro {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300;
  color: var(--cream-mid);
  max-width: 520px;
  line-height: 1.8;
  margin-top: 18px;
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.acc-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 300ms ease, background 300ms ease, transform 250ms ease;
  opacity: 0;
  transform: translateY(24px);
}
.acc-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.acc-card:hover {
  border-color: var(--border);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.acc-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}
.acc-icon svg { width: 100%; height: 100%; }

.acc-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.acc-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--surface);
  padding: 12vh 0;
  border-top: 1px solid var(--border-dim);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-heading { margin-bottom: 36px; }

.contact-address {
  margin-bottom: 36px;
}
.contact-address p {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  color: var(--cream-mid);
  line-height: 1.7;
}

.contact-hours {
  margin-bottom: 40px;
  padding: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
}
.contact-hours h3 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.contact-hours ul { display: flex; flex-direction: column; gap: 12px; }
.contact-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dim);
}
.contact-hours li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-hours .day {
  font-size: 14px;
  font-weight: 400;
  color: var(--cream-mid);
}
.contact-hours .hours {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
}
.contact-hours .hours--closed {
  color: var(--cream-muted);
  font-style: italic;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 260px;
}

/* map placeholder */
.contact-map { width: 100%; }

.map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.map-pin-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.map-pin-icon {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(201, 168, 76, 0.5));
  animation: pinBounce 2.4s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.map-pin-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--cream-mid);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #040704;
  padding: 60px 0 48px;
  border-top: 1px solid var(--border-dim);
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-muted);
  letter-spacing: 0.02em;
  max-width: 400px;
  line-height: 1.7;
}

.footer-phone {
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.footer-phone:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   NATIONWIDE
══════════════════════════════════════════════════════════════ */
.nationwide-section {
  background: var(--surface);
  padding: 12vh 0;
  border-top: 1px solid var(--border-dim);
}

.nationwide-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════
   MACAW SCROLL SECTION (between jungle & about)
══════════════════════════════════════════════════════════════ */
.macaw-scroll-section {
  position: relative;
  height: 150vh;
  background: var(--bg);
}

.macaw-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.macaw-scroll-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.macaw-scroll-overlay {
  position: absolute;
  inset: 0;
  /* base dark tint keeps frames dark & text readable */
  background-color: rgba(30, 30, 30, 0.62);
  background-image:
    linear-gradient(to bottom,
      rgba(8,12,8,0.72) 0%,
      transparent 14%,
      transparent 78%,
      rgba(8,12,8,0.82) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* ── Intermediate text phases ───────────────────────────────── */
.macaw-phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: clamp(48px, 8vw, 140px);
  padding-right: 45%;
  z-index: 6;
  pointer-events: none;
}

.macaw-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.macaw-heading-line2 {
  color: var(--gold);
}

@media (max-width: 768px) {
  .macaw-phase { padding-right: 12%; }
  .macaw-scroll-section { height: 130vh; }
}

.nationwide-intro {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 300;
  color: var(--cream-mid);
  line-height: 1.85;
  margin-bottom: 36px;
}
.nationwide-intro strong { color: var(--cream); font-weight: 500; }

.nationwide-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.nw-feature {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  transition: border-color 300ms ease, transform 250ms ease;
}
.nw-feature:hover {
  border-color: var(--border);
  transform: translateX(4px);
}

.nw-feature-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-top: 1px;
  flex-shrink: 0;
}
.nw-feature-icon svg { width: 100%; height: 100%; }

.nw-feature h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.nw-feature p {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.72;
}

/* ══════════════════════════════════════════════════════════════
   NATIONWIDE VISUAL PANEL
══════════════════════════════════════════════════════════════ */
.nationwide-visual {
  position: relative;
}

.nw-panel {
  background: linear-gradient(148deg, #0d1410 0%, #090d09 45%, #0e1410 100%);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.06) inset,
              0 32px 64px rgba(0,0,0,0.55);
}

/* Gold corner accent marks */
.nw-panel::before,
.nw-panel::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(201, 168, 76, 0.65);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.nw-panel::before { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.nw-panel::after  { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; }

.nw-panel-header {
  padding: 16px 22px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nw-panel-eyebrow {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 76, 0.68);
}

.nw-panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(130, 210, 100, 0.75);
}

.nw-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72d44a;
  box-shadow: 0 0 7px #72d44a, 0 0 14px rgba(114,212,74,0.4);
  animation: nwStatusPulse 2.2s ease-in-out infinite;
}

@keyframes nwStatusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nw-panel-graphic {
  padding: 2px 0;
  position: relative;
}

.nw-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Route draw animation */
.nw-route {
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-play-state: paused;
}

@keyframes nwRouteDraw {
  to { stroke-dashoffset: 0; }
}

/* Main glow route — triggers first, longest duration */
.nationwide-visual.is-visible .nw-route--main-glow,
.nationwide-visual.is-visible .nw-route--main {
  animation-name: nwRouteDraw;
  animation-duration: 2.2s;
  animation-delay: 0.2s;
  animation-play-state: running;
}

/* Secondary routes — staggered after main */
.nationwide-visual.is-visible .nw-route--sec-1 {
  animation-name: nwRouteDraw; animation-duration: 1.3s;
  animation-delay: 1.4s; animation-play-state: running;
}
.nationwide-visual.is-visible .nw-route--sec-2 {
  animation-name: nwRouteDraw; animation-duration: 0.9s;
  animation-delay: 1.7s; animation-play-state: running;
}
.nationwide-visual.is-visible .nw-route--sec-3 {
  animation-name: nwRouteDraw; animation-duration: 1.6s;
  animation-delay: 2.0s; animation-play-state: running;
}
.nationwide-visual.is-visible .nw-route--sec-4 {
  animation-name: nwRouteDraw; animation-duration: 1.5s;
  animation-delay: 2.3s; animation-play-state: running;
}
.nationwide-visual.is-visible .nw-route--sec-5 {
  animation-name: nwRouteDraw; animation-duration: 1.6s;
  animation-delay: 2.5s; animation-play-state: running;
}

/* Origin pulse rings */
.nw-origin-ring {
  animation: nwOriginPulse 2.8s ease-in-out 0.5s infinite;
  transform-origin: 72px 185px;
}
.nw-origin-ring-inner {
  animation: nwOriginPulse 2.8s ease-in-out 1.2s infinite;
  transform-origin: 72px 185px;
}

@keyframes nwOriginPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.18); }
}

.nw-panel-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 14px 22px 18px;
}

.nw-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-right: 1px solid rgba(201, 168, 76, 0.08);
}
.nw-stat:last-child { border-right: none; }

.nw-stat-num {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.nw-stat-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(240, 235, 224, 0.35);
  text-transform: uppercase;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL (JS adds .is-visible)
══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .accessories-grid { grid-template-columns: repeat(2, 1fr); }
  .breeds-grid      { grid-template-columns: repeat(3, 1fr); }
  .about-inner      { grid-template-columns: 1fr; gap: 48px; }
  .about-left       { position: static; }
  .contact-inner    { grid-template-columns: 1fr; gap: 52px; }
  .nationwide-inner { grid-template-columns: 1fr; max-width: 700px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .navbar-nav { display: none; }

  /* Stack title vertically, centered */
  .hero-title {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero { height: 350vh; }
  /* Phases 2 & 3 left-align already handled by their own rules */
  .hero-bird-name { font-size: clamp(36px, 10vw, 80px); }

  .breeds-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .breed-card--tall { grid-row: span 1; }

  .accessories-grid { grid-template-columns: 1fr; }

  .jungle-content { padding: 0 clamp(20px, 5vw, 60px); }
  .jungle-panel--2 { align-self: flex-start; text-align: left; }
  .jungle-panel--2 .btn-outline { margin-left: 0; }

  .about-inner { gap: 40px; }
  .breeds-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .breeds-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }
  .breed-card--wide { grid-column: span 1; }

  .hero-title { gap: 0.06em; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero { height: 100vh; }
  .hero-word { letter-spacing: -0.05em; }
}
