/* ---------- Base / Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ---------- Theme ---------- */
:root {
  --bg: #ffffff;
  --bg-muted: #f6f8fb;
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-white-strong: #ffffff;
  --ink-white-muted: rgba(255, 255, 255, 0.92);
  --brand: #0ea5e9; /* friendly blue */
  --brand-2: #22c55e; /* fresh green accent */
  --border: #e5e7eb;
  /* ...your existing tokens... */
  --brand-dark: #006633; /* main green */
  --brand-light: #93b2c4; /* accent green */
  --accent-gold: #ffc600; /* NEW */
  --SPGreen1: #93b2c4;
  --SPGreen1: #96b4c4;
  --SPGreen1: #96b3c5;

  --brand: var(--brand-dark);

  /* optional: tweak as needed */
  --ink-on-video: #ffffff; /* white text on video */

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
  --container: 1120px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;

  --hero-left: clamp(
    16px,
    4vw,
    30px
  ); /* ← change this ONE value to nudge left spacing */

  --header-pad: clamp(
    12px,
    3vw,
    28px
  ); /* distance from window edge for header content */
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
.section {
  padding: var(--space-8) 0;
}
.section--muted {
  background: var(--bg-muted);
}
.section__title {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  color: #006633; /* or any brand color */ 

}
.muted {
  color: var(--ink-muted);
}

/* ---------- Header ---------- */
/* Header base */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}

/* Full control of gutters in the header */
.site-header .container {
  padding-left: var(--header-pad);
  padding-right: var(--header-pad);
}

/* Three-zone layout:
   - Left: .brand
   - Center: .nav (absolutely centered)
   - Right: .header-cta and .nav-toggle (on mobile) */
.header-row {
  position: relative; /* allows absolute centering of nav */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
}

/* Left */
.brand__img {
  display: block;
  height: 44px;
  width: auto;
}
@media (min-width: 768px) {
  .brand__img {
    height: 52px;
  }
}

/* Center (absolute center, independent of left/right widths) */
.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav a {
  color: var(--ink-muted);
  font-weight: 600;
}
.nav a:hover {
  color: var(--ink);
}

/* Right */
.header-cta {
  margin-left: auto;
} /* pushes CTA to far right */
.header-cta .btn {
  white-space: nowrap;
}

/* Mobile toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  margin-left: 0.5rem;
  font-size: 1.1rem;
  line-height: 1;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}

/* --- Mobile behavior --- */
@media (max-width: 900px) {
  /* Hide centered desktop nav */
  .nav {
    display: none;
    transform: none;
    position: static;
  }

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex;
  }

  /* Keep CTA on the right; hamburger sits just to its left */
  .header-cta {
    order: 3;
    margin-left: auto;
  }
  .nav-toggle {
    order: 4;
  }

  /* Mobile dropdown menu */
  .nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open ul {
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem var(--header-pad);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  border-color: transparent;
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.98);
}

/* ===== HERO (Clarks-style) ===== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero--video {
  min-height: 72vh; /* feel free to adjust */
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.04);
}

/* Brand tint layered ABOVE the video */
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* soft brand greens, semi-transparent */
  background: linear-gradient(
    180deg,
    rgba(153, 217, 140, 0.28),
    rgba(82, 182, 154, 0.28)
  );
}

/* Bottom fade to help text pop */
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

/* Content wrapper above overlays */
.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
  min-height: 72vh;
}

/* Push hero content from the left by a single variable */
.hero__inner .container {
  padding-left: var(--hero-left);
}

/* Stack similar to your Tailwind example */
.hero__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.4vw, 1.75rem);
  max-width: 720px;
  color: var(--ink-on-video);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  padding: clamp(1rem, 2vw, 2rem) 0;
}

/* BIG heading like Oswald treatment (without bringing in a webfont) */
.hero__stack h1 {
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.03;
  font-size: clamp(2.25rem, 4.5vw, 4.75rem);
  margin: 0;
}

.hero__rule {
  height: 10px;
  border-radius: 999px;
  width: clamp(10rem, 26vw, 20rem);
  background: var(--accent-gold); /* was white; now gold */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Tagline */
.hero__tagline {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* CTAs */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 1.5rem;
  border-radius: 56px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.btn--contrast {
  background: #fff;
  color: var(--brand-dark);
  border-color: transparent;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn--contrast:hover {
  filter: brightness(0.98);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover {
  background: #fff;
}

/* Trust pills */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.95);
}
.hero__trust li {
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero--video {
    min-height: 64vh;
  }
  .hero__stack {
    max-width: 92%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  .brand__img {
    height: 52px;
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}

/* ---------- Cards / Services ---------- */
.cards {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.card .icon {
  font-size: 1.4rem;
  background: #f0f9ff;
  border: 1px solid #dbeafe;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.125rem;
}
.card p {
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Reasons ---------- */
.reasons {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}
.reasons li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.reason-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.contact-list {
  display: grid;
  gap: var(--space-3);
}
.contact-icon {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}
.link-strong {
  font-weight: 700;
  color: var(--ink);
}
.hours th {
  text-align: left;
  padding: 0.25rem 0.75rem 0.25rem 0;
  color: var(--ink-muted);
}
.hours td {
  padding: 0.25rem 0;
}

.map-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.map-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  background: #fff;
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}
.footer-nav ul {
  display: grid;
  gap: 0.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .reasons {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
    position: absolute;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero--video {
    min-height: 60vh;
    padding: var(--space-4) 0;
  }
  .hero__content {
    padding: var(--space-4);
  }
  .hero__inner .container {
    padding-left: 1rem;
  } /* or keep using var(--hero-left) */
}
/* === Banner (image hero used on inner pages) === */

.banner {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: center;
  overflow: hidden;

  /* The image now comes from inline HTML style */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35)),
    linear-gradient(180deg, rgba(153, 217, 140, 0.18), rgba(82, 182, 154, 0.18));
}

.banner__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
  padding: 3rem 1rem;
}

/* === Gallery (cards, no captions) === */
.gallery-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; /* consistent card shape; images crop nicely */
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the card; centered crop */
  display: block;
}

/* force white text */
.text-white {
  color: var(--ink-white-strong);
}

/* make 'muted' copy white (slightly softer than pure white) */
.muted--white {
  color: var(--ink-white-muted);
}

/* Portrait variant for staff headshots (reuses existing gallery styles) */
.gallery-card--portrait {
  aspect-ratio: 3 / 4;        /* portrait instead of 16/9 */
}
.gallery-card--portrait img {
  object-fit: cover;
  object-position: center;
}

/* === Group photo card tweaks === */
.gallery-card--group {
  grid-column: 1 / -1;        /* spans full container */
  max-width: 900px;           /* keeps it smaller on wide screens */
  margin: 0 auto var(--space-6);
  aspect-ratio: auto;         /* let image dictate height */
}

.gallery-card--group img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
