:root {
  --navy: #1a2744;
  --navy-deep: #0f1a2e;
  --navy-mid: #253560;
  --cream: #f5f0e8;
  --cream-dark: #ede5d4;
  --brass: #b8965a;
  --brass-light: #d4b07a;
  --brass-dark: #8a6e3e;
  --white: #faf8f4;
  --text-muted: #6b7a99;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled { background: var(--navy-deep); box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.nav-logo { height: 52px; opacity: 0.95; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--brass-light); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: 0.28; filter: grayscale(40%);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,16,30,0.3) 0%, rgba(10,16,30,0.1) 40%, rgba(10,16,30,0.7) 100%);
}
.hero-content {
  position: relative; text-align: center; padding: 0 24px;
  animation: heroFade 1.2s ease-out forwards;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  width: 200px; filter: brightness(0) invert(1); opacity: 0.95;
  margin-bottom: 32px; animation: heroFade 1.4s ease-out 0.2s both;
}
.hero-eyebrow {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-light);
  margin-bottom: 16px; animation: heroFade 1.2s ease-out 0.4s both;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 8vw, 96px); font-weight: 900; color: var(--white);
  line-height: 1.0; letter-spacing: -0.02em;
  margin-bottom: 16px; animation: heroFade 1.2s ease-out 0.5s both;
}
.hero-title em { font-style: italic; color: var(--brass-light); }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 300; font-style: italic;
  color: rgba(245,240,232,0.75); margin-bottom: 48px;
  animation: heroFade 1.2s ease-out 0.7s both;
}
.hero-cta {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: heroFade 1.2s ease-out 0.9s both;
}
.btn {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  padding: 14px 32px; border: 1.5px solid; transition: all 0.25s; cursor: pointer;
}
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--navy-deep); }
.btn-primary:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn-outline { background: transparent; border-color: rgba(245,240,232,0.5); color: var(--cream); }
.btn-outline:hover { border-color: var(--brass-light); color: var(--brass-light); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-brass-outline { background: transparent; border-color: var(--brass); color: var(--brass-dark); }
.btn-brass-outline:hover { background: var(--brass); color: var(--navy-deep); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(245,240,232,0.4); animation: heroFade 1.2s ease-out 1.2s both;
}
.hero-scroll span { font-family: 'Josefin Sans', sans-serif; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(184,150,90,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── SHARED ── */
section { position: relative; }
.section-label {
  font-family: 'Josefin Sans', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.1; color: var(--navy);
}
.section-title em { font-style: italic; color: var(--brass-dark); }
.divider { width: 60px; height: 2px; background: var(--brass); margin: 20px 0 28px; }

/* ── STAT BAND ── */
.intro-band {
  background: var(--navy); padding: 28px 48px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.intro-stat { text-align: center; }
.intro-stat .num {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900;
  color: var(--brass-light); line-height: 1;
}
.intro-stat .lbl {
  font-family: 'Josefin Sans', sans-serif; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,240,232,0.55); margin-top: 4px;
}
.intro-sep { width: 1px; height: 40px; background: rgba(184,150,90,0.3); }

/* ── ABOUT ── */
.about {
  padding: 100px 48px; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-text p {
  font-size: 19px; font-weight: 600; line-height: 1.8; color: #3a4a6b; margin-bottom: 20px;
}
.about-text p strong { font-weight: 600; color: var(--navy); }
.about-image { position: relative; }
.about-image img { width: 100%; display: block; filter: sepia(8%) contrast(1.05); position: relative; z-index: 1; }
.about-image::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 2px solid var(--brass); opacity: 0.4; pointer-events: none; z-index: 0;
}

/* ── WEDNESDAY ── */
.wednesday-section { background: var(--navy-deep); overflow: hidden; }
.wednesday-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 600px;
}
.wednesday-photo { position: relative; overflow: hidden; }
.wednesday-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(20%) contrast(1.1); display: block;
}
.wednesday-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--navy-deep));
}
.wednesday-content {
  padding: 80px 64px 80px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.wednesday-content .section-label { color: var(--brass-light); }
.wednesday-content .section-title { color: var(--white); }
.wednesday-content .divider { background: var(--brass-light); }
.wednesday-content p {
  font-size: 18px; font-weight: 600; line-height: 1.8;
  color: rgba(245,240,232,0.7); margin-bottom: 24px;
}
.rankings { margin: 8px 0 32px; display: flex; flex-direction: column; gap: 8px; }
.rank-item {
  display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  background: rgba(184,150,90,0.08); border-left: 3px solid var(--brass);
  text-decoration: none; transition: background 0.2s;
}
.rank-item:hover { background: rgba(184,150,90,0.15); }
.rank-item.current-rank { border-left-color: #f0c060; background: rgba(240,192,96,0.1); }
.rank-num {
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900;
  color: var(--brass-light); line-height: 1; min-width: 40px;
}
.rank-num.current { color: #f0c060; }
.rank-detail {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,240,232,0.65); line-height: 1.5;
}
.rank-detail strong { display: block; color: rgba(245,240,232,0.9); font-weight: 600; }

/* ── LITTER ── */
.litter { padding: 100px 48px; background: var(--cream-dark); }
.litter-inner { max-width: 1200px; margin: 0 auto; }
.litter-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-bottom: 60px;
}
.litter-text p {
  font-size: 19px; font-weight: 600; line-height: 1.8; color: #3a4a6b; margin-bottom: 16px;
}
.litter-text p strong { font-weight: 600; color: var(--navy); }
.litter-parents { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.parent-card {
  background: var(--white); padding: 24px;
  border-top: 3px solid var(--brass);
  box-shadow: 0 4px 24px rgba(26,39,68,0.08);
}
.parent-card.featured { border-top-color: var(--navy); }
.parent-role {
  font-family: 'Josefin Sans', sans-serif; font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px;
}
.parent-card.featured .parent-role { color: var(--navy); }
.parent-name {
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700;
  color: var(--navy); line-height: 1.3; margin-bottom: 8px;
}
.parent-detail {
  font-size: 13px; font-weight: 300; color: var(--text-muted);
  font-style: italic; line-height: 1.5;
}
.litter-pedigree-links { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; margin-top: 24px;
}
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}

/* ── ADS ── */
.ads-section { padding: 100px 48px; background: var(--navy); }
.ads-inner { max-width: 1200px; margin: 0 auto; }
.ads-section .section-label { color: var(--brass-light); }
.ads-section .section-title { color: var(--white); }
.ads-section .divider { background: var(--brass); }
.ads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ad-item { position: relative; overflow: hidden; background: var(--navy-mid); cursor: pointer; }
.ad-item img { width: 100%; display: block; transition: transform 0.5s ease, filter 0.3s; filter: sepia(10%); }
.ad-item:hover img { transform: scale(1.04); filter: sepia(0%); }
.ad-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(transparent, rgba(10,16,30,0.85));
  font-family: 'Josefin Sans', sans-serif; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.7);
  transform: translateY(100%); transition: transform 0.3s;
}
.ad-item:hover .ad-caption { transform: translateY(0); }

/* ── FOOTER ── */
footer { background: var(--navy-deep); padding: 60px 48px 40px; border-top: 1px solid rgba(184,150,90,0.2); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: start;
}
.footer-logo img { height: 80px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-center { text-align: center; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-family: 'Josefin Sans', sans-serif; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(245,240,232,0.45); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--brass-light); }
.footer-right { text-align: right; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: 'Josefin Sans', sans-serif; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.25);
}
.footer-copy a { color: rgba(184,150,90,0.5); text-decoration: none; }
.footer-copy a:hover { color: var(--brass-light); }

/* ── FADE IN ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { gap: 20px; }
  .about, .litter-header, .wednesday-inner { grid-template-columns: 1fr; gap: 40px; }
  .wednesday-photo { min-height: 340px; }
  .wednesday-content { padding: 48px 32px; }
  .wednesday-photo::after { background: linear-gradient(to bottom, transparent 60%, var(--navy-deep)); }
  .intro-band { padding: 20px 24px; gap: 24px; }
  .about, .litter, .ads-section { padding: 60px 24px; }
  .ads-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ads-grid .ad-item img { max-height: 220px; object-fit: cover; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .litter-parents { grid-template-columns: 1fr; }
}
