/* ===================================================================
   Green Constructors California
   ================================================================== */

/* --- Reset & base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

/* --- Design tokens -------------------------------------------------- */
:root {
  /* Primary brand */
  --brand-primary: #2E8B2E;
  --brand-primary-dark: #1F6820;
  --brand-primary-darker: #154515;
  --brand-primary-light: #4CAF50;
  --brand-primary-muted: #E8F0E6;

  /* Warm neutrals */
  --cream-bg: #FAF7F0;
  --cream-paper: #FFFFFF;
  --warm-bone: #F0E9DB;
  --warm-sand: #E8DFC9;

  /* Earth accents */
  --wood-brown: #5D4037;
  --wood-brown-dark: #3E2723;
  --wood-brown-light: #8D6E63;
  --clay: #A0543B;
  --clay-light: #C27A5F;

  /* Neutrals */
  --charcoal: #1F1F1F;
  --charcoal-muted: #3D3D3D;
  --gray-700: #4A4A4A;
  --gray-500: #7A7673;
  --gray-300: #D5D1C7;
  --gray-200: #E4E0D4;
  --gray-100: #EFEBDE;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 14px rgba(31,104,32,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg: 0 18px 40px rgba(31,104,32,.12), 0 4px 10px rgba(0,0,0,.06);
  --shadow-xl: 0 28px 60px rgba(0,0,0,.22);

  /* Structure */
  --container: 1200px;
  --container-narrow: 900px;
  --container-wide: 1440px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Typography ----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--brand-primary-dark);
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow--cream { color: var(--warm-bone); }

.lead { font-size: 1.2rem; line-height: 1.55; color: var(--charcoal-muted); }

/* --- Layout primitives --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section { padding: 72px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream-bg); }
.section--bone { background: var(--warm-bone); }
.section--paper { background: var(--cream-paper); }
.section--dark { background: var(--wood-brown-dark); color: var(--warm-bone); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream-paper); }
.section--green { background: var(--brand-primary-darker); color: var(--warm-bone); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--cream-paper); }

/* --- Header --------------------------------------------------------- */
.site-header {
  background: rgba(250, 247, 240, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-logo__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--charcoal);
  letter-spacing: -.01em;
}
.site-logo__tagline {
  font-size: .72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.nav-primary { display: none; gap: 30px; }
@media (min-width: 1024px) {
  .nav-primary { display: flex; }
}
.nav-primary a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav-primary a:hover { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.nav-primary a.active { color: var(--brand-primary-dark); border-bottom-color: var(--brand-primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--charcoal);
  font-size: .95rem;
}
@media (min-width: 640px) { .header-phone { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--charcoal);
  transition: background .2s;
}
.nav-toggle:hover { background: var(--gray-100); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: var(--cream-paper);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul {
  padding: 8px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.mobile-menu li { border-bottom: 1px solid var(--gray-200); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a {
  display: block;
  padding: 16px 24px;
  color: var(--charcoal);
  font-weight: 600;
}
.mobile-menu a:hover { background: var(--warm-bone); color: var(--brand-primary-dark); }

/* --- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 0 var(--brand-primary-darker);
}
.btn--primary:hover { background: var(--brand-primary-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: var(--cream-paper); }
.btn--ghost-light {
  background: transparent;
  color: var(--warm-bone);
  border-color: var(--warm-bone);
}
.btn--ghost-light:hover { background: var(--warm-bone); color: var(--charcoal); }
.btn--on-dark {
  background: var(--cream-paper);
  color: var(--charcoal);
}
.btn--on-dark:hover { background: var(--warm-bone); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--wood-brown-dark);
  color: var(--warm-bone);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .85;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.75) 100%),
    linear-gradient(90deg, rgba(31,31,31,.55) 0%, rgba(31,31,31,0) 55%);
}
.hero__content {
  position: relative;
  padding: 96px 0 120px;
  max-width: 760px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm-bone);
  margin-bottom: 20px;
}
.hero__kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary-light);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  max-width: 620px;
  color: rgba(255,255,255,.92);
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero .btn-row { margin-top: 8px; }

.hero--compact { min-height: 380px; }
.hero--compact .hero__content { padding: 60px 0 70px; }
.hero--compact h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }

/* --- Trust strip ---------------------------------------------------- */
.trust-strip {
  background: var(--warm-bone);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding: 36px 0;
  text-align: center;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.trust-item__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.trust-item__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--charcoal);
}
.trust-item__value small {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* --- Service cards -------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-paper);
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--warm-bone);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }

.service-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.service-card__body p {
  color: var(--gray-700);
  font-size: .97rem;
  margin-bottom: 18px;
  flex: 1;
}
.service-card__link {
  font-weight: 700;
  color: var(--brand-primary-dark);
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-card__link::after {
  content: '→';
  transition: transform .2s;
}
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* --- Service detail panel (services.html) -------------------------- */
.service-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 768px) { .service-panel { grid-template-columns: 5fr 7fr; gap: 56px; } }
.service-panel:last-child { border-bottom: 0; }
.service-panel__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.service-panel__image img { width: 100%; height: 100%; object-fit: cover; }
.service-panel__body h2 {
  margin-bottom: 8px;
  scroll-margin-top: 90px;
}
.service-panel__body .eyebrow { margin-bottom: .5rem; }
.service-panel__body ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 20px;
}
@media (min-width: 480px) { .service-panel__body ul { grid-template-columns: repeat(2, 1fr); } }
.service-panel__body li {
  position: relative;
  padding-left: 20px;
  font-size: .96rem;
  color: var(--gray-700);
}
.service-panel__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  transform: rotate(45deg);
}
.service-panel--reversed { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .service-panel--reversed { grid-template-columns: 7fr 5fr; }
  .service-panel--reversed .service-panel__image { order: 2; }
  .service-panel--reversed .service-panel__body { order: 1; }
}

/* --- Case study cards ---------------------------------------------- */
.casestudy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) { .casestudy-grid { grid-template-columns: repeat(3, 1fr); } }

.casestudy-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--warm-bone);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  position: relative;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.casestudy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  color: var(--warm-bone);
}
.casestudy-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}
.casestudy-card:hover .casestudy-card__bg { transform: scale(1.05); }
.casestudy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}
.casestudy-card__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 28px;
  color: #fff;
}
.casestudy-card__kicker {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 12px;
}
.casestudy-card__title {
  font-size: 1.55rem;
  line-height: 1.15;
  margin-bottom: 8px;
  color: #fff;
}
.casestudy-card__meta {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
}

/* --- Client logos strip -------------------------------------------- */
.client-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  align-items: center;
  justify-items: center;
  padding: 12px 0;
}
@media (min-width: 640px) { .client-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .client-strip { grid-template-columns: repeat(6, 1fr); } }

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 100%;
  filter: grayscale(100%) contrast(.7);
  opacity: .55;
  transition: filter .3s, opacity .3s;
}
.client-logo:hover { filter: none; opacity: 1; }
.client-logo img {
  max-height: 100%;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Feature split section ----------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reversed .split__media { order: -1; }
@media (min-width: 768px) {
  .split--reversed .split__media { order: 2; }
  .split--reversed .split__body { order: 1; }
}

/* --- Gallery (case studies) ---------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--warm-bone);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--tall { aspect-ratio: 3 / 4; }
.gallery__item--wide { aspect-ratio: 16 / 9; }
@media (min-width: 640px) {
  .gallery__item--feature { grid-column: span 2; aspect-ratio: 16 / 9; }
}
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  color: #fff;
  font-size: .88rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }

/* Timeline style for case study sequence */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .timeline { grid-template-columns: 3fr 7fr; column-gap: 56px; row-gap: 64px; align-items: start; }
  .timeline__step:nth-child(2n+1) .timeline__image { order: 1; }
}
.timeline__step {
  display: contents;
}
.timeline__text h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--brand-primary-dark); }
.timeline__date {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.timeline__text p { color: var(--gray-700); font-size: .97rem; }
.timeline__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}
.timeline__image img { width: 100%; height: 100%; object-fit: cover; }

/* Spec table for case studies */
.specs {
  background: var(--cream-paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 6px 24px;
}
.specs dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) { .specs dl { grid-template-columns: 1fr 2fr; } }
.specs dt, .specs dd { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.specs dl > div:last-child dt,
.specs dl > div:last-child dd { border-bottom: 0; }
.specs dt {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 700;
  padding-top: 16px;
}
.specs dd { color: var(--charcoal); font-weight: 500; }

/* --- Quote / callout blocks ---------------------------------------- */
.callout {
  background: var(--brand-primary-muted);
  border-left: 4px solid var(--brand-primary);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  margin: 32px 0;
  font-size: 1.08rem;
  color: var(--charcoal-muted);
}
.callout strong { color: var(--charcoal); }

/* --- Form ----------------------------------------------------------- */
.form-card {
  background: var(--cream-paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .form-card { padding: 44px; } }

.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--charcoal-muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--charcoal);
  padding: 13px 14px;
  border: 1.5px solid var(--gray-300);
  background: var(--cream-paper);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px var(--brand-primary-muted);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field__hint { font-size: .8rem; color: var(--gray-500); }

/* --- Contact info blocks ------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-card {
  background: var(--cream-paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-primary-dark);
  margin-bottom: 10px;
}
.contact-card a { font-weight: 600; font-size: 1.1rem; color: var(--charcoal); }
.contact-card a:hover { color: var(--brand-primary); }
.contact-card p { color: var(--gray-700); font-size: .95rem; }

/* --- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--wood-brown-dark);
  color: var(--warm-bone);
  padding: 64px 0 32px;
}
.site-footer h5 {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-sand);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand__text {
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  max-width: 320px;
  font-size: .95rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(.95);
}
.footer-logo__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--cream-paper);
}

.footer-list a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.footer-list a:hover { color: #fff; }

.footer-meta {
  margin-top: 24px;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}
.footer-meta p + p { margin-top: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

/* --- Breadcrumb ----------------------------------------------------- */
.breadcrumb {
  padding: 20px 0 0;
  font-size: .88rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--brand-primary-dark); }
.breadcrumb span { margin: 0 8px; color: var(--gray-300); }

/* --- Stats row ------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
  padding: 48px 0;
  text-align: center;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-primary-dark);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat__label {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 700;
}

/* --- Section headers ------------------------------------------------ */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head--left {
  text-align: left;
  max-width: 680px;
  margin-inline: 0;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.15rem;
  color: var(--charcoal-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left p { margin-left: 0; margin-right: 0; }

/* --- Page hero variants for secondary pages ------------------------ */
.page-hero {
  background: var(--wood-brown-dark);
  color: var(--warm-bone);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.page-hero__content {
  position: relative;
  max-width: 760px;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 620px;
}
.page-hero .eyebrow { color: var(--brand-primary-light); }

/* --- Accessibility/helpers ----------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }

/* --- Slideshow component ------------------------------------------- */
.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
  user-select: none;
}
.slideshow__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
@media (max-width: 640px) { .slideshow__viewport { aspect-ratio: 4 / 3; } }
.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  z-index: 5;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slideshow__btn:hover {
  background: rgba(0,0,0,.85);
  border-color: rgba(255,255,255,.7);
}
.slideshow__btn:active { transform: translateY(-50%) scale(.95); }
.slideshow__btn:focus-visible {
  outline: 3px solid var(--brand-primary-light);
  outline-offset: 2px;
}
.slideshow__btn--prev { left: 14px; }
.slideshow__btn--next { right: 14px; }
.slideshow__btn svg { width: 22px; height: 22px; }
@media (min-width: 768px) {
  .slideshow__btn { width: 60px; height: 60px; }
  .slideshow__btn--prev { left: 20px; }
  .slideshow__btn--next { right: 20px; }
}

.slideshow__counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slideshow__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--cream-paper);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slideshow__dot:hover { background: var(--brand-primary-light); }
.slideshow__dot.is-active {
  background: var(--brand-primary);
  transform: scale(1.3);
}
.slideshow__dot:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

/* --- Print ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-menu, .hero__bg, .page-hero__bg { display: none; }
  body { background: #fff; color: #000; }
  .hero, .page-hero { background: #fff; color: #000; padding: 20px 0; }
  .hero h1, .page-hero h1 { color: #000; }
  .slideshow__btn, .slideshow__counter, .slideshow__dots { display: none; }
  .slideshow__slide { opacity: 1; position: relative; page-break-inside: avoid; }
}
