* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --coral: #0A4A6E;
  --coral-dark: #073A57;
  --gold: #F2A900;
  --ink: #061A2B;
  --cream: oklch(98% 0.005 220);
  --sand: oklch(94% 0.015 220);
  --charcoal: oklch(20% 0.01 230);
  --cream-on-ink: oklch(96% 0.01 220);
}

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }

.label {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--coral);
  margin-bottom: 8px;
}
.label-onlight { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 150ms ease;
}
.btn-primary { background: var(--coral); color: var(--cream); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-onlight { background: var(--cream); color: var(--coral); }
.btn-onlight:hover { background: var(--sand); }
.btn-ghost { border: 2px solid var(--cream-on-ink); color: var(--cream-on-ink); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.nav {
  background: var(--ink);
  padding: 18px 0;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.logo {
  font-family: "Anton", sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--cream-on-ink);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream-on-ink);
  opacity: 0.8;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { opacity: 1; border-bottom-color: var(--coral); }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 8px 0;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--cream-on-ink);
  opacity: 0.85;
  border-bottom: none;
}
.nav-dropdown a:hover { opacity: 1; background: rgba(255,255,255,0.08); border-bottom-color: transparent; }

.hero {
  background: var(--ink);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-photo { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 120px 24px; }

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
  overflow: hidden;
}
.hero-slide.is-active { opacity: 1; }

/* Poster layer — paints instantly, stays visible under the video until it's ready */
.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}

/* Video layer — fades in over the poster once it can actually play */
.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  transform: scale(1.03);
  animation: kenburns-soft 26s ease-in-out infinite alternate;
}
.hero-slide-video.is-playing { opacity: 1; }

/* Slight variation per slide so the drift doesn't feel mechanically identical */
.hero-slide:nth-child(1) .hero-slide-img,
.hero-slide:nth-child(1) .hero-slide-video { animation-duration: 26s; animation-delay: 0s; }
.hero-slide:nth-child(2) .hero-slide-img,
.hero-slide:nth-child(2) .hero-slide-video { animation-duration: 30s; animation-delay: -6s; transform-origin: 60% 40%; }
.hero-slide:nth-child(3) .hero-slide-img,
.hero-slide:nth-child(3) .hero-slide-video { animation-duration: 24s; animation-delay: -12s; transform-origin: 40% 60%; }
.hero-slide:nth-child(4) .hero-slide-img,
.hero-slide:nth-child(4) .hero-slide-video { animation-duration: 28s; animation-delay: -18s; transform-origin: 55% 50%; }

@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}
@keyframes kenburns-soft {
  from { transform: scale(1.0); }
  to   { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-img, .hero-slide-video { animation: none; transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,26,43,0.65) 0%, rgba(6,26,43,0.25) 30%, rgba(6,26,43,0.35) 70%, rgba(6,26,43,0.75) 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(2.75rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  .hero h1 { letter-spacing: -0.01em; line-height: 1.02; }
}
.hero-sub {
  font-size: 17px;
  color: var(--cream);
  opacity: 0.95;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.trust-strip {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 14px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}
.bullet { opacity: 0.5; }

.section { max-width: 1140px; margin: 0 auto; padding: 72px 24px; }
.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 36px;
}
.section.section-ink, .section.section-sand { max-width: 100%; padding: 72px 0; }
.section.section-ink > *, .section.section-sand > * { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.section-ink { background: var(--ink); }
.h-onlight { color: var(--cream-on-ink); }
.section-sub-onlight { color: var(--cream-on-ink); opacity: 0.75; margin-bottom: 36px; max-width: 480px; }
.section-sand { background: var(--sand); }

.placeholder-note { color: var(--coral-dark); font-size: 13px; margin-bottom: 28px; font-style: italic; }

.service-rows { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 200px 2fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--sand);
}
.service-row h3 { font-size: 1.25rem; }
.service-price { font-weight: 700; color: var(--coral); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; }
.service-desc { font-size: 14.5px; color: var(--charcoal); opacity: 0.85; line-height: 1.55; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.loc-card {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 24px;
  position: relative;
  color: var(--cream-on-ink);
}
.loc-card.loc-featured { border: 2px solid var(--gold); }
.loc-card h3 { color: var(--cream-on-ink); margin-bottom: 4px; }
.loc-card p { font-size: 14px; opacity: 0.8; line-height: 1.55; }
.loc-tag { font-weight: 600; opacity: 0.95 !important; margin-bottom: 10px; font-size: 13.5px; }
.marquee-badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 12px; border-radius: 999px;
}

.photo-block {
  background: var(--sand);
  border-radius: 4px;
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal); opacity: 0.5; font-size: 13px;
}

.blog-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 22px;
}
.blog-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.blog-card .meta { font-size: 12px; color: var(--charcoal); opacity: 0.55; }

.review-card {
  background: var(--sand);
  border-radius: 4px;
  padding: 24px;
}
.review-quote { font-size: 15px; color: var(--charcoal); line-height: 1.6; }

.cta-band {
  background: var(--ink);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 8px; }
.cta-band p.section-sub-onlight { margin: 0 auto 28px; }

.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--cream-on-ink);
  opacity: 0.65;
  text-align: center;
  padding: 28px 24px;
  font-size: 12.5px;
}
.footer-note { margin-top: 4px; font-size: 11px; opacity: 0.7; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- v2: sticky nav with always-visible phone ---------- */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-phone svg { flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 20px; }

@media (max-width: 760px) {
  .nav-phone .nav-phone-label { display: none; }
}

/* ---------- Floating call button (side-anchored, always reachable) ---------- */
.floating-call {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(6,26,43,0.35);
  animation: floatPulse 2.8s ease-in-out infinite;
}
.floating-call:hover { background: #ffb91f; }
.floating-call svg { flex-shrink: 0; }

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(6,26,43,0.35), 0 0 0 0 rgba(242,169,0,0.4); }
  50% { box-shadow: 0 8px 24px rgba(6,26,43,0.35), 0 0 0 10px rgba(242,169,0,0); }
}

@media (max-width: 640px) {
  .floating-call .floating-call-label { display: none; }
  .floating-call { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-call { animation: none; }
}

/* ---------- Why-us grid ---------- */
.why-grid { margin-top: 8px; }
.why-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.why-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.why-item h3 { color: var(--cream-on-ink); font-size: 1.15rem; margin-bottom: 6px; }
.why-item p { color: var(--cream-on-ink); opacity: 0.75; font-size: 14.5px; line-height: 1.6; max-width: 620px; }

/* ---------- Location page hero (static image, no video) ---------- */
.loc-hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.loc-hero .hero-scrim { position: absolute; inset: 0; z-index: 0; }
.loc-hero .hero-inner { max-width: 780px; }
.loc-hero .eyebrow { color: var(--gold); }

.breadcrumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 12.5px;
  color: var(--charcoal);
  opacity: 0.6;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { opacity: 0.8; }

/* ---------- Footer sitemap (internal linking) ---------- */
.footer-sitemap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0 24px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-sitemap a {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cream-on-ink);
  opacity: 0.75;
}
.footer-sitemap a:hover { opacity: 1; }

.badge-new {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Scroll reveal (IntersectionObserver-driven) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view { transition-delay: calc(var(--reveal-index, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
