/* ===========================================================
   Aaron Baca Magic - shared styles for sub-pages
   Brand-locked: 8 colors, EB Garamond + Libre Baskerville
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #1A1A1A;
  --gold:    #B19571;
  --gold-dk: #8C7355;
  --cream:   #F0ECE1;
  --mid-cream:#E8E2D3;
  --light-gold:#D4BC9E;
  --navy:    #0B3673;
  --warm-white:#FAF8F3;
  --white:   #FFFFFF;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--warm-white);
  color: var(--black);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16px; line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'EB Garamond', Georgia, serif; font-weight: 700; }

/* ── BUTTONS ── */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold); color: var(--black);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 40px; border-radius: 60px; border: none; cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(177,149,113,0.3);
}
.btn-pill:hover { background: #C8A882; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(177,149,113,0.4); }
.btn-pill:active { transform: translateY(0); }
.btn-pill-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; color: var(--gold);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 36px; border-radius: 60px; border: 2px solid var(--gold); cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.btn-pill-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn-pill:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.btn-pill-outline:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}
nav.solid, nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 12px 60px;
}
.nav-logo img { height: 54px; width: auto; filter: none; transition: filter 0.25s ease; }
.nav-logo:hover img { opacity: 0.82; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-book {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 11px 28px; border-radius: 60px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.nav-book:hover { background: #C8A882; transform: translateY(-1px); }
.nav-links a:focus-visible, .nav-book:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ── SUBPAGE HERO ── */
.subhero {
  position: relative; min-height: 64vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.subhero-bg { position: absolute; inset: 0; }
.subhero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: brightness(0.42); }
.subhero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.72) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.7) 100%);
}
.subhero-content { position: relative; z-index: 2; max-width: 900px; padding: 120px 32px 80px; }
.subhero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
  opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}
.subhero h1 {
  font-size: clamp(38px, 6vw, 76px); color: var(--white);
  line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1s 0.5s ease forwards;
}
.subhero p.lead {
  font-size: 19px; font-weight: 300; color: rgba(255,255,255,0.74);
  line-height: 1.7; max-width: 640px; margin: 0 auto 34px;
  opacity: 0; animation: fadeUp 0.9s 0.7s ease forwards;
}
.subhero .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.9s ease forwards; }

/* ── SECTION HELPERS ── */
.section { padding: 100px 60px; }
.section.cream { background: var(--cream); }
.section.white { background: #ffffff; }
.section.dark { background: #0a0a0a; }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }
.sec-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 16px; font-weight: 600;
}
.section.dark .eyebrow { color: var(--gold); }
.sec-header h2 {
  font-size: clamp(26px, 3vw, 44px); color: var(--black); line-height: 1.22;
}
.section.dark .sec-header h2 { color: var(--white); }
.sec-header h2 .hl { color: var(--gold-dk); font-style: italic; }
.section.dark .sec-header h2 .hl { color: var(--gold); }
.lead-text {
  font-size: 18px; line-height: 1.85; color: #5a5248;
  max-width: 720px; margin: 0 auto;
}
.section.dark .lead-text { color: rgba(255,255,255,0.62); }

/* ── SPLIT FEATURE ROW ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; max-width: 1100px; margin: 0 auto 72px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-text { order: 2; }
.feature-photo { overflow: hidden; box-shadow: 0 18px 46px rgba(0,0,0,0.16); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-photo:hover img { transform: scale(1.04); }
.feature-text h3 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 18px; color: var(--black); line-height: 1.2; }
.section.dark .feature-text h3 { color: var(--white); }
.feature-text p { font-size: 16px; line-height: 1.85; color: #5a5248; margin-bottom: 16px; }
.section.dark .feature-text p { color: rgba(255,255,255,0.6); }
.feature-text p strong { color: var(--black); font-weight: 700; }
.section.dark .feature-text p strong { color: rgba(255,255,255,0.9); }

/* ── BULLET LIST ── */
.brand-list { list-style: none; margin: 22px 0; }
.brand-list li {
  position: relative; padding-left: 28px; margin-bottom: 14px;
  font-size: 16px; line-height: 1.7; color: #5a5248;
}
.section.dark .brand-list li { color: rgba(255,255,255,0.65); }
.brand-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 9px; height: 9px; background: var(--gold);
  transform: rotate(45deg);
}

/* ── PULL QUOTE ── */
.pull {
  border-left: 3px solid var(--gold); padding-left: 32px;
  max-width: 820px; margin: 0 auto;
}
.pull blockquote {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; color: var(--black);
  margin-bottom: 18px;
}
.section.dark .pull blockquote { color: rgba(255,255,255,0.85); }
.pull cite {
  font-family: 'Libre Baskerville', Georgia, serif; font-style: normal;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dk);
}
.section.dark .pull cite { color: var(--gold); }

/* ── STATS ── */
.stats-band { background: #0d0d0d; padding: 66px 60px; border-block: 1px solid rgba(177,149,113,0.18); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; gap: 32px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(177,149,113,0.28);
}
.stat-num { font-size: clamp(38px, 4.5vw, 60px); font-weight: 700; color: var(--gold); line-height: 1; letter-spacing: -0.01em; margin-bottom: 12px; }
.stat-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ── TESTIMONIAL CARDS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.testi-card {
  background: #ffffff; padding: 34px 30px; border: 1px solid rgba(177,149,113,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06); position: relative;
}
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p { font-size: 15px; line-height: 1.75; color: rgba(26,26,26,0.65); font-style: italic; margin-bottom: 18px; }
.testi-card cite { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dk); font-style: normal; }

/* ── PHOTO GRID (gallery page) ── */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px;
  max-width: 1200px; margin: 0 auto;
}
.pg-item { position: relative; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.pg-item.tall { grid-row: span 2; }
.pg-item.wide { grid-column: span 2; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92); transition: transform 0.6s cubic-bezier(.22,.68,0,1.2), filter 0.45s ease; }
.pg-item:hover img { transform: scale(1.06); filter: brightness(1); }
.pg-item::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow 0.35s ease; pointer-events: none; }
.pg-item:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }

/* ── CTA BAND ── */
.cta-band { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 120%; object-fit: cover; object-position: center 40%; filter: brightness(0.34); }
.cta-band-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.5); }
.cta-band-content { position: relative; z-index: 2; padding: 60px 32px; max-width: 720px; }
.cta-band-content h2 { font-size: clamp(30px, 4.5vw, 60px); color: var(--white); line-height: 1.08; margin-bottom: 24px; }
.cta-band-content p { font-size: 17px; color: rgba(255,255,255,0.72); margin: 0 auto 32px; max-width: 540px; line-height: 1.7; }

/* ── FOOTER ── */
footer { background: #070707; border-top: 1px solid rgba(255,255,255,0.05); padding: 64px 60px 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-brand img { height: 52px; filter: none; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.3); }
.footer-contact { margin-top: 18px; }
.footer-contact a { display: block; font-size: 14px; color: var(--gold); margin-bottom: 6px; transition: color 0.25s ease; }
.footer-contact a:hover { color: #C8A882; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { font-size: 14px; color: rgba(255,255,255,0.35); transition: color 0.25s ease; }
.footer-col li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.25s ease; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── REVEAL ── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; transition: opacity 0.8s cubic-bezier(.22,.68,0,1.2), transform 0.8s cubic-bezier(.22,.68,0,1.2);
}
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-scale { transform: scale(0.92); }
.reveal.up, .reveal-left.up, .reveal-right.up, .reveal-scale.up { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .section { padding: 72px 28px; }
  .stats-band { padding: 48px 28px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 38px 22px; }
  .stat::after { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.flip .feature-text { order: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .pg-item.tall { grid-row: span 1; }
  .pg-item.wide { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}
