/* ══════════════════════════════════════════
   City Dog Wash — Shared Styles
   ══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --white:       #FFFFFF;
  --green:       #1BB95E;
  --green-d:     #17A452;
  --dark-cyan:   #42858C;
  --gunmetal:    #35393C;
  --graphite:    #2A2B2E;
  --graphite-88: #E3E4E6;
  --graphite-75: #C7C9CD;
  --graphite-25: #5B5E65;
  --serif:       'Lora', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --max:         1140px;
  --pad:         clamp(1.5rem, 5vw, 4rem);
  --section-h2:  clamp(1.4rem, 2.6vw, 2.6rem);
  --section-h2-long: clamp(1.5rem, 3.2vw, 3.2rem);
  --section-p:   1.2rem;
  --cell-green-bg:  #ECFDF5;
  --cell-yellow-bg: #FFFBEB;
  --cell-red-bg:    #FEF2F2;
  --neg:            #B91C1C;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--gunmetal); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── BUTTON: PILL ── */
.btn-pill { display: inline-block; padding: .95rem 2.4rem; border-radius: 100px; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--white); background: var(--green); text-decoration: none; letter-spacing: .02em; text-align: center; cursor: pointer; border: none; transition: background .2s, transform .2s; }
.btn-pill:hover { background: var(--green-d); transform: translateY(-1px); }

/* ── LABEL / EYEBROW ── */
.label { font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green-d); margin-bottom: 1rem; display: block; text-align: center; }


/* ── WATERMARK ── */
.watermark { position: relative; }
.watermark::after { content: ''; position: fixed; inset: 0; background: url('composite-dog-wash-sign.webp') center center / cover no-repeat; opacity: 0.07; pointer-events: none; z-index: 0; }
.watermark > * { position: relative; z-index: 1; }

/* ── STAT ── */
.stat { text-align: center; padding: 2.5rem 1.5rem; border: 1px solid var(--graphite-75); border-radius: 12px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.stat.visible { opacity: 1; transform: translateY(0); }
.stat-num { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; color: var(--gunmetal); line-height: 1; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: .5rem; }
.stat-num span { color: var(--green-d); }
.stat-label { font-size: .95rem; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; color: var(--graphite-25); }

/* ── CALLOUT ── */
.callout { padding: 1.5rem 2rem; border: 1.5px solid rgba(42,232,122,.5); background: rgba(219,250,232,.90); border-radius: 12px; margin: 1.5rem 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.callout h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; font-size: 1.35rem; margin-bottom: .75rem; }
.callout p { font-family: var(--serif); font-size: 1.1rem; color: var(--graphite-25); line-height: 1.85; margin: 0; }
.callout p + p { margin-top: .5rem; }
.callout strong { color: var(--gunmetal); }

/* ── CALLOUT-LETTER (cousin to .callout — direct reader engagement, room to develop an idea) ──
   Self-contained: owns ALL its internal typography. No deps on .label, .section-sub, .body.
   Buttons remain external (.btn-pill / .btn-pill-outline). */
.callout-letter {
  background: rgba(219,250,232,.90);
  border: 1.5px solid rgba(42,232,122,.5);
  border-radius: 12px;
  padding: 2.25rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.callout-letter .head {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.4rem;
  text-align: left;
}
.callout-letter .head > span {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}
.callout-letter .head > h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--graphite);
  margin: 0;
}
.callout-letter > p.lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--graphite-25);
  text-align: center;
  margin: 0 0 1.5rem 0;
}
.callout-letter > p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--graphite-25);
  text-align: left;
  margin: 0 0 1rem 0;
}
.callout-letter > p:last-of-type { margin-bottom: 1.5rem; }
.callout-letter .actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── NAV (shared elements) ── */
.nav-logo { font-family: var(--serif); font-size: 1.4rem; color: #fff; text-decoration: none; transition: color .4s; }
.nav-logo svg { height: 1rem; width: auto; display: block; }
nav.scrolled .nav-logo { color: #0d1a1c; }
.nav-left { display: flex; align-items: center; gap: 1.5rem; }
.nav-back { font-size: .82rem; white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite-25); text-decoration: none; transition: color .3s; }
.nav-back:hover { color: var(--gunmetal); }

/* ── FOOTER ── */
footer { padding: 2rem var(--pad); border-top: 1px solid var(--graphite-75); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--serif); font-size: 1rem; color: var(--graphite-25); }
.footer-logo svg { height: .8rem; width: auto; display: block; }
footer p { font-size: .8rem; color: var(--graphite-25); }
footer a { color: var(--graphite-25); }

/* ── CTA WRAP ── */
.cta-wrap { text-align: center; margin-top: 2rem; }

/* ── TRANSITION DELAY UTILITIES ── */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ── UNIVERSAL SERIF BODY COPY ── */
.hero-sub,
.benefits-left p, .benefits-right p,
.ppd-card p,
.ps-body p,
.callout p,
.contact-inner > p,
.access-text p,
.fac-building p,
.model-col p,
.fac-tl-desc { font-family: var(--serif); font-weight: 400; }

/* ── HEADLINE GROUP (eyebrow tracks headline edge) ── */
.headline-group {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.headline-group .label { text-align: left; }
.headline-group h2 { text-align: left; }
.headline-group h3 { text-align: left; }

/* ── SECTION SUBHEAD (reusable) ── */
.section-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--section-p);
  line-height: 1.75;
  color: var(--graphite-25);
  text-align: left;
  margin-top: 1rem;
}


/* ── WRAPPER (centered section-header: eyebrow/headline/subhead block) ── */
.wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* ── UNIVERSAL SECTION RULES ── */
section { padding: clamp(4rem, 8vw, 7rem) var(--pad); }
/* Divider only when another section follows — last section on a page has no line. */
section:has(+ section) { border-bottom: 1px solid var(--graphite-75); }
.pq-band, .hero, footer { border-bottom: none; }
/* Ribbon is its own visual unit — suppress the section divider above it. Pair with line above. */
section:has(+ .pq-band) { border-bottom: none; }
section h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--gunmetal); text-align: center; }
section h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; color: var(--gunmetal); text-align: left; max-width: var(--max); margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.5rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .4s, padding .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  padding: .9rem var(--pad); box-shadow: 0 1px 0 var(--graphite-75);
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a:not(.nav-cta) { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); transition: color .3s; }
nav.scrolled .nav-links a:not(.nav-cta) { color: var(--graphite-25); }
.nav-links a:not(.nav-cta):hover { color: #fff; }
nav.scrolled .nav-links a:not(.nav-cta):hover { color: var(--gunmetal); }
a.nav-cta {
  background: var(--green); color: #fff;
  padding: .55rem 1.4rem; border-radius: 100px; white-space: nowrap;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
a.nav-cta:hover { background: var(--green-d); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 210;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: #fff;
  position: absolute; left: 0; transition: transform .3s, opacity .2s, background .4s;
}
nav.scrolled .hamburger span { background: var(--gunmetal); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  padding: 5rem var(--pad) 2.5rem; z-index: 199;
  flex-direction: column; align-items: center; gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-100%); transition: transform .35s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--sans); font-size: 1.1rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--graphite-25); padding: .5rem 0; transition: color .2s;
}
.mobile-menu a:hover { color: var(--gunmetal); }
.mobile-menu .nav-cta { margin-top: .5rem; display: inline-block; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05); transition: transform 9s cubic-bezier(.25,.46,.45,.94);
}
.hero-bg video.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(15,22,12,.4) 0%, rgba(15,22,12,.1) 50%, rgba(15,22,12,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 1.5rem; max-width: 1060px;
}
.hero-eyebrow {
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease .3s forwards;
}
.hero-h1 {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
  line-height: 1.08; letter-spacing: -.03em; color: #fff; margin-bottom: 1.5rem;
  max-width: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1s ease .55s forwards;
}
.hero-h1 em { font-style: normal; font-weight: 300; letter-spacing: -.01em; color: rgba(255,255,255,.75); }
.hero-sub {
  font-size: 1.35rem; color: rgba(255,255,255,.92);
  font-weight: 400; line-height: 1.75; max-width: 740px;
  text-align: left; margin: 0 auto 2.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease .85s forwards;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease 1.2s forwards;
}
.btn { display: inline-block; padding: .9rem 2.2rem; border-radius: 100px; font-size: 1rem; letter-spacing: .04em; font-weight: 500; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-white { background: #fff; color: var(--gunmetal); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.45); font-weight: 300; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-green { background: var(--green); color: var(--gunmetal); }
.btn-green:hover { background: var(--green-d); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeUp .8s ease 1.5s forwards;
}
.scroll-hint span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.scroll-line { width: 2px; height: 48px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -48px; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,.85); animation: scrollDrop 1.8s ease-in-out infinite; }

/* ── FULL-WIDTH SECTION H2 (benefits + access) ── */
.section-h2-full { max-width: var(--max); margin: 0 auto 3rem; }
.section-h2-full h2 { font-size: var(--section-h2-long); }

/* ── INTRO (full-bleed photo + callout) ── */
.intro {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 8rem) 2rem;
}
.intro-bg { position: absolute; inset: 0; overflow: hidden; }
.intro-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.15);
  transition: transform 20s cubic-bezier(.25,.46,.45,.94);
}
.intro.visible .intro-bg img { transform: scale(1); }
.intro-overlay { position: absolute; inset: 0; background: transparent; }
.intro .callout {
  position: relative; z-index: 2;
  max-width: 680px;
  padding: 3rem 3.5rem 2.5rem;
  margin: 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.intro.visible .callout { opacity: 1; transform: translateY(0); }
.intro .callout h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.intro .callout p.body {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.1rem; line-height: 1.9;
  color: var(--graphite-25);
  margin-bottom: 1.25rem;
}
.intro .callout p.body:last-of-type { margin-bottom: 0; }
.intro-btns { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.scroll-chevron {
  width: 16px; height: 16px;
  border-right: 2.5px solid rgba(255,255,255,.5);
  border-bottom: 2.5px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
}
.btn-pill-outline {
  display: inline-block; padding: .95rem 2.4rem; border-radius: 100px;
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--graphite); border: 1px solid var(--graphite-75);
  text-decoration: none; letter-spacing: .02em; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.btn-pill-outline:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* ── BENEFITS ── */
.benefits-flow { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 280px 1fr; gap: 0 0.5rem; align-items: start; opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.benefits-flow.visible { opacity: 1; transform: translateY(0); }
.benefits-left p, .benefits-right p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.9; margin-bottom: 1.5rem; }
.benefits-left p:last-child, .benefits-right p:last-child { margin-bottom: 0; }
.benefits-footnote { max-width: var(--max); margin: 2.5rem auto 0; font-size: .78rem; color: var(--graphite-25); line-height: 1.6; }
.benefits-dog { display: flex; justify-content: center; }
.dog-reveal {
  position: relative; width: 100%; max-width: 420px;
  margin: 0 auto; justify-self: center;
  aspect-ratio: 3/4; cursor: pointer;
}
.dog-reveal .dog-before,
.dog-reveal .dog-after {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}
.dog-reveal .dog-before { object-position: 38% bottom; }
.dog-reveal .dog-after { opacity: 0; object-position: 32% bottom; }
.dog-reveal.washed .dog-before { opacity: 0; }
.dog-reveal.washed .dog-after { opacity: 1; }
.dog-reveal-label {
  position: absolute; bottom: -1.5rem; left: 0; right: 0;
  text-align: center;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--graphite-25);
  cursor: pointer; transition: opacity .3s;
}

/* ── PPD ── */
.ppd-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.ppd-header h2 { font-size: var(--section-h2); }
.ppd-header .section-sub { max-width: 600px; }
.ppd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--max); margin: 0 auto; }
.ppd-card { padding: 2.5rem 2rem; border: 1px solid var(--graphite-75); border-radius: 12px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease, box-shadow .3s; }
.ppd-card.visible { opacity: 1; transform: translateY(0); }
.ppd-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.07); }
.ppd-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.45rem; margin-bottom: 1rem; }
.ppd-card .label { text-align: left; }
.ppd-card p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.75; font-weight: 400; }

/* ── PULL QUOTE BAND ── */
.pq-band { position: relative; background: #8BC34A url('ribbon-bg.webp') center center / 200% 200% no-repeat; min-height: 280px; max-width: 1440px; margin: 0 auto; padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad); display: flex; align-items: center; justify-content: center; }
.pq-band::before { content: none; }
.pq-band-inner { max-width: 820px; margin: 0 auto; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.pq-band-inner.visible { opacity: 1; transform: translateY(0); }
.pq-band blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 2rem); font-style: italic; font-weight: 400; line-height: 1.55; color: #4A4D52; margin: 0; quotes: none; text-shadow: none; }
.pq-crop-a { background-position: 50% 60%; transform: scaleX(-1); }
.pq-crop-a .pq-band-inner { transform: scaleX(-1) translateY(16px); }
.pq-crop-a .pq-band-inner.visible { transform: scaleX(-1) translateY(0); }
.pq-crop-b { background-position: 50% 60%; }
.pq-crop-c { background-position: 80% 85%; }
.pq-crop-d { background-position: 80% 85%; transform: scaleX(-1); }
.pq-crop-d .pq-band-inner { transform: scaleX(-1) translateY(16px); }
.pq-crop-d .pq-band-inner.visible { transform: scaleX(-1) translateY(0); }

/* ── ACCESSIBILITY ── */
.access-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; max-width: var(--max); margin: 0 auto; align-items: center; }
.access-img { opacity: 0; transform: translateX(20px); transition: opacity .8s ease .2s, transform .8s ease .2s; display: flex; justify-content: center; align-items: center; }
.access-img.visible { opacity: 1; transform: translateX(0); }
.access-img img { width: 100%; max-width: 460px; display: block; }
.access-text { opacity: 0; transform: translateX(-20px); transition: opacity .8s ease, transform .8s ease; }
.access-text.visible { opacity: 1; transform: translateX(0); }
.access-text h2 { font-size: var(--section-h2-long); margin-bottom: 1.5rem; }
.access-text p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.9; margin-bottom: 1.5rem; }
.access-text p:last-child { margin-bottom: 0; }

/* ── FACILITY ── */
.fac-building { position: relative; background: var(--white); }
.fac-building-inner { max-width: var(--max); margin: 0 auto; }
.fac-building-cols { column-count: 2; column-gap: 3rem; margin-top: 2.5rem; }
.fac-building h2 { font-size: var(--section-h2-long); margin-bottom: 1.5rem; }
.fac-building h2 em { font-style: italic; color: var(--green); }
.fac-building p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.9; margin-bottom: 1.4rem; }
.fac-building p:last-of-type { margin-bottom: 0; }
.fac-building-img { max-width: var(--max); margin: 2.5rem auto 0; }
.fac-crossover-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 12px; outline: 1px solid rgba(0,0,0,.06); display: block; }
.img-caption { font-family: var(--serif); font-size: .82rem; font-style: italic; color: var(--graphite-25); text-align: center; margin-top: .75rem; line-height: 1.5; }
.fac-construction-inner { max-width: var(--max); margin: 0 auto; }
.fac-construction-header { text-align: center; margin-bottom: 3rem; }
.fac-construction-header h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 800; margin-top: .75rem; text-align: center; }

/* ── FAC TIMELINE ── */
.fac-timeline { position: relative; max-width: 600px; margin: 0 auto; }
.fac-timeline::before { content: ''; position: absolute; left: 64px; top: 65px; bottom: 65px; width: 1px; background: #8DCFAA; pointer-events: none; }
.fac-tl-item { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.25rem; position: relative; opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.fac-tl-item.visible { opacity: 1; transform: translateY(0); }
.fac-tl-item:last-child { margin-bottom: 0; }
.fac-tl-node-col { width: 130px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.fac-tl-photo .fac-tl-node-col img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; display: block; outline: 1.5px solid #8DCFAA; outline-offset: 0; }
.fac-tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.fac-tl-title { font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; color: var(--gunmetal); margin-bottom: .45rem; }
.fac-tl-desc { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.75; }

/* ── PROCESS ── */
.process { background: var(--white); padding-bottom: 4rem; }
.process-header { text-align: left; max-width: 820px; margin: 0 auto 4rem; }
.process-header h2 { font-size: var(--section-h2); }
.process-steps { max-width: 820px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; left: 2rem; top: 2rem; bottom: 4.5rem; width: 1px; background: var(--graphite-75); }
.process-step { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; margin-bottom: 2.5rem; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.process-step:last-child { margin-bottom: 0; }
.process-step.visible { opacity: 1; transform: translateY(0); }
.ps-num { width: 4rem; height: 4rem; border-radius: 50%; border: 2px solid var(--graphite-75); background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 800; font-size: 1.1rem; color: var(--gunmetal); flex-shrink: 0; position: relative; z-index: 1; transition: background .25s ease, border-color .25s ease; }
.process-step.ps-active .ps-num { border-color: var(--green); background: var(--green); }
.ps-body { padding-top: .75rem; }
.ps-body h3 { font-weight: 500; font-size: 1.2rem; margin-bottom: .4rem; }
.ps-body p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.8; font-weight: 400; }

/* ── BUSINESS MODEL + NUMBERS ── */
.model-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.model-header h2 { font-size: var(--section-h2); margin-bottom: 1.25rem; }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: var(--max); margin: 0 auto; }
.model-col h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; font-size: 1.45rem; margin-bottom: 1rem; }
.model-col p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.85; margin-bottom: 1rem; }
.model-col p:last-child { margin-bottom: 0; }
.numbers-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.numbers-header h2 { font-size: var(--section-h2); }
.numbers-header p { margin-top: 1rem; font-size: var(--section-p); color: var(--graphite-25); font-weight: 300; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--max); margin: 0 auto 4rem; }
.proforma-cta { margin-top: 3rem; }

/* ── WHO WE ARE ── */
.who { background: var(--white); }
.who-content { max-width: 780px; margin: 0 auto; opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.who-content.visible { opacity: 1; transform: translateY(0); }
.who-content .label { color: var(--graphite-25); }
.who-content h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; color: var(--gunmetal); margin-bottom: 1.25rem; }
.who-content h2 em { font-style: italic; font-weight: 300; color: var(--graphite-25); }
.who-content p { font-family: var(--serif); font-size: 1.1rem; color: var(--graphite-25); line-height: 1.9; margin-bottom: 1.25rem; }
.who-sig { margin-top: 1.5rem; }
.who-sig p { margin-bottom: .25rem; }
.who-sig img { width: 180px; display: block; margin: .75rem 0 .5rem; }
.who-sig .sig-name { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--gunmetal); margin: 0; }
.sig-name-row { display: flex; align-items: center; gap: 1rem; }
.sig-icon { width: auto !important; height: 2.4em; display: inline-block !important; margin: 0 !important; }

/* ── CONTACT ── */
.contact { text-align: center; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.25rem; }
.contact h2 em { font-style: italic; }
.contact > .contact-inner > p { font-size: 1.1rem; color: var(--graphite-25); line-height: 1.85; font-weight: 300; margin-bottom: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.contact-form input, .contact-form select, .contact-form textarea {
  color: var(--gunmetal); background: var(--white);
  border-color: var(--graphite-75); backdrop-filter: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--graphite-25); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-d); background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-submit { display: block; margin: 0 auto; }
.contact-submit:hover { background: var(--green-d); transform: translateY(-1px); }
.contact-alt { margin-top: 2rem; font-size: .88rem; color: var(--graphite-25); }
.contact-alt a { color: var(--gunmetal); border-bottom: 1px solid var(--graphite-75); transition: border-color .2s; }
.contact-alt a:hover { border-color: var(--green-d); }
.contact-thankyou { display: none; text-align: center; padding: 3rem 0; }
.contact-thankyou.visible { display: block; }
.contact-thankyou .ty-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-thankyou h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: var(--gunmetal); margin-bottom: .75rem; }
.contact-thankyou p { font-family: var(--serif); font-size: 1.1rem; color: var(--graphite-25); line-height: 1.8; }

/* ── THANK YOU (full-bleed video) ── */
.thankyou {
  position: relative; min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-bottom: none; padding: 0;
}
.thankyou-bg { position: absolute; inset: 0; overflow: hidden; }
.thankyou-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.thankyou-overlay { position: absolute; inset: 0; background: rgba(15,22,12,.3); }
.thankyou-content {
  position: relative; z-index: 2;
  text-align: center; padding: clamp(4rem, 10vw, 8rem) 1.5rem;
}
.thankyou-content h2 {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff; letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  margin: 0;
}

/* ── INPUTS (universal — solid white, dark text) ── */
input, select, textarea {
  width: 100%; padding: .9rem 1.1rem;
  font-family: var(--sans); font-size: 1rem;
  color: var(--graphite-25);
  background: #fff;
  border: 1px solid var(--graphite-75); border-radius: 8px;
  outline: none; -webkit-appearance: none; appearance: none;
  color-scheme: light;
}
input::placeholder, textarea::placeholder { color: var(--graphite-25); }
input:focus, select:focus, textarea:focus { border-color: var(--gunmetal); background: #fff; }
select { cursor: pointer; }
select option { color: var(--gunmetal); background: #fff; }
.select-wrap { position: relative; width: 100%; max-width: 480px; }
.select-wrap::after {
  content: ''; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--gunmetal);
  pointer-events: none;
}

/* ── GATE (full-screen video entry) ── */
.enter {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.enter-bg { position: absolute; inset: 0; overflow: hidden; }
.enter-bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05); transition: transform 9s cubic-bezier(.25,.46,.45,.94);
}
.enter-bg video.loaded { transform: scale(1); }
.enter-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(15,22,12,.35) 0%, rgba(15,22,12,.15) 50%, rgba(15,22,12,.4) 100%);
}
.enter-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 1.5rem;
  max-width: 900px; width: 100%;
}

/* Gate typography — uses .label, h2, .section-sub with white context */
.enter .label {
  color: rgba(255,255,255,.75);
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease .3s forwards;
}
.enter h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08; letter-spacing: -.03em; color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  white-space: nowrap;
  /* Escape .enter-content's 900px max-width so the headline can breathe full-width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1s ease .55s forwards;
}

/* ── FINANCIAL TABLES (shared by pro forma, research, future reports) ── */
.table-wrap {
  overflow-x: auto; margin: 1.5rem auto 2.5rem; max-width: var(--max);
  border-radius: 8px; border: 1px solid var(--graphite-88);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 700px; }
.table-wrap th {
  font-family: var(--sans); font-weight: 700; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--graphite-25);
  text-align: right; padding: .7rem .85rem; background: var(--graphite-88);
  border-bottom: 2px solid var(--graphite-75); white-space: nowrap;
}
.table-wrap th:first-child { text-align: left; }
.table-wrap td {
  padding: .55rem .85rem; border-bottom: 1px solid var(--graphite-88);
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--gunmetal);
}
.table-wrap td:first-child { text-align: left; font-weight: 500; }
.table-wrap tr:last-child td { border-bottom: none; }

/* Row semantics (financial statement conventions) */
.row-section-header td {
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--graphite-25);
  border-top: 2px solid var(--graphite-75); border-bottom: 1px solid var(--graphite-75);
  background: var(--graphite-88); padding-top: .8rem; padding-bottom: .8rem;
}
.table-wrap tr.row-section-header td { white-space: normal; }
.table-wrap .row-subtotal td { font-weight: 700; border-top: 1.5px solid var(--graphite-75); }
.table-wrap .row-total td { font-weight: 800; border-top: 3px double var(--graphite-75); background: var(--graphite-88); }
.row-indent td:first-child { padding-left: 1.8rem; }
.row-spacer td { border-bottom: none; height: .6rem; }

/* Per-row descriptive notes column. */
.table-wrap td.col-note {
  font-size: .75rem; color: var(--graphite-75); font-weight: 400;
  text-align: left; max-width: 220px; white-space: normal; line-height: 1.35;
}

/* Negative value color — tables + stat cards share the --neg token. */
.neg { color: var(--neg); }
.stat-num span.neg { color: var(--neg); }

/* Pricing sensitivity cell color signals */
.cell-green  { background: var(--cell-green-bg); }
.cell-yellow { background: var(--cell-yellow-bg); }
.cell-red    { background: var(--cell-red-bg); }

/* Pricing table utilities */
.table-wrap .wide-table { min-width: 1050px; }
.group-divider { border-left: 2px solid var(--graphite-75); }
.table-wrap th.group-header { text-align: center; border-left: 2px solid var(--graphite-75); }
.th-bottom { vertical-align: bottom; }

/* Legend swatches (pricing sensitivity key in section-sub) */
.swatch {
  display: inline-block; width: 12px; height: 12px;
  border: 1px solid var(--graphite-75); border-radius: 2px;
  vertical-align: middle; margin: 0 2px;
}
.swatch-green  { background: var(--cell-green-bg); }
.swatch-yellow { background: var(--cell-yellow-bg); }
.swatch-red    { background: var(--cell-red-bg); }

/* ── ASSUMPTION CARDS ── */
.assumptions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem; margin: 1.5rem auto 2rem; max-width: var(--max);
}
.assumption-card {
  border: 1px solid var(--graphite-75); border-radius: 12px; padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: .75rem;
  row-gap: .5rem;
  align-items: baseline;
  align-content: start;
}
.assumption-card h3 {
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--gunmetal); margin-bottom: .5rem;
  grid-column: 1 / -1;
}
.assumption-row { display: contents; }
.assumption-row .a-label { color: var(--graphite-25); font-size: .88rem; }
.assumption-row .a-note  { font-size: .78rem; color: var(--graphite-75); text-align: right; }
.assumption-row .a-value { font-weight: 400; color: var(--gunmetal); font-variant-numeric: tabular-nums; font-size: .88rem; text-align: right; }
.assumption-row.highlight .a-value { font-weight: 700; }

@media (max-width: 768px) {
  .enter h2 {
    white-space: normal;
    text-wrap: balance;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
.enter .section-sub {
  font-family: var(--serif); font-size: 1.15rem;
  color: #fff;
  line-height: 1.7; margin-bottom: 2.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  text-align: center;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease .85s forwards;
}

/* Gate form */
.enter-form {
  display: flex; flex-direction: column; gap: .75rem; align-items: center;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease 1.1s forwards;
}
.enter-form .btn-pill { width: auto; margin-top: .25rem; }

/* Form state swap */
.form-swap { display: grid; width: 100%; }
.form-swap > * { grid-row: 1; grid-column: 1; transition: opacity .4s ease; }
.form-fields { opacity: 1; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.form-message {
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  padding: .9rem 1.4rem;
  font-family: var(--sans); font-size: 1rem; line-height: 1.55;
  color: #fff; text-align: center;
  background: rgba(255,255,255,.25); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 8px;
}
.form-swap.show-message .form-fields { opacity: 0; pointer-events: none; }
.form-swap.show-message .form-message { opacity: 1; pointer-events: auto; }

/* Fallback */
.enter-fallback { display: none; text-align: center; }
.enter-fallback.show { display: block; }
.enter-fallback p {
  font-family: var(--serif); font-size: 1.05rem;
  color: rgba(255,255,255,.85); line-height: 1.7;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.fallback-form { display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.fallback-form input { width: 100%; max-width: 400px; }
.fallback-msg {
  margin-top: 1rem; padding: .9rem 1.4rem;
  font-family: var(--sans); font-size: 1rem; line-height: 1.55;
  color: #fff; text-align: center;
  background: rgba(255,255,255,.25); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 8px;
  display: none;
}
.fallback-msg.show { display: block; }

/* Gate footer */
.enter-footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 1.5rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; animation: fadeUp .8s ease 1.4s forwards;
}
.enter-footer .footer-logo { color: rgba(255,255,255,.4); }
.enter-footer p { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDrop { 0% { top: -48px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 48px; opacity: 0; } }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .benefits-flow { grid-template-columns: 1fr; gap: 2rem; }
  .benefits-dog { display: block; max-width: 280px; margin: 0 auto; order: -1; }
  .dog-reveal { aspect-ratio: auto; height: auto; }
  .dog-reveal .dog-before,
  .dog-reveal .dog-after {
    position: relative; inset: auto; width: 100%; height: auto;
    object-fit: contain;
  }
  .dog-reveal .dog-after {
    position: absolute; top: 0; left: 0; right: 0;
  }
  .intro .callout { padding: 2.5rem 1.5rem 2rem; }
  .intro-btns { flex-direction: column; align-items: stretch; }
  .intro-btns .btn-pill, .intro-btns .btn-pill-outline { text-align: center; }
  .ppd-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; max-width: 340px; }
  .access-inner { grid-template-columns: 1fr; gap: 3rem; }
  .access-img { order: -1; }
  .model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 640px) {
  footer { flex-direction: column; text-align: center; }
  .callout { padding: 1.2rem 1.5rem; }
  .enter-content { padding: 0 1.25rem; }
  .enter-footer { flex-direction: column; gap: .5rem; text-align: center; padding: 1rem; }
  .fac-building-cols { column-count: 1; }
  .fac-timeline::before { left: 48px; }
  .fac-tl-node-col { width: 96px; }
  .fac-tl-photo .fac-tl-node-col img { width: 96px; height: 96px; }
  .fac-timeline::before { top: 48px; bottom: 48px; }
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: .8rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps::before { left: 1.9rem; }
  .hero-btns { margin-bottom: 1.5rem; }
  .scroll-hint { bottom: 1.2rem; }
  .hero-sub { font-size: 1rem; }
  .assumptions-grid { grid-template-columns: 1fr; }
}
