/* REGEN — shared stylesheet
   Rebuilt 2026-09-15 to apply the REGEN Design System (Claude Design kit,
   project 4132d3a5): Montserrat type, the full ink/green token ramps, and
   dark-mode semantic tokens exactly as specified in tokens/*.css.
   The site keeps its existing all-dark-mode structure (matching the live
   Wix site this project replicates) — this is a reskin with the kit's
   dark-mode token VALUES, not a switch to the kit's light-mode-primary layout. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand core */
  --regen-green: #97C44E;
  --carbon-black: #2B373C;
  --paper: var(--surface-page); /* this site's page bg — dark, not the kit's literal light "paper" */
  --white: #FFFFFF;

  /* Green ramp */
  --green-900: #2D3F12;
  --green-800: #42591C;
  --green-700: #5A7728;
  --green-600: #759735;
  --green-500: #97C44E;
  --green-400: #B8DE73;
  --green-300: #CEEA99;
  --green-200: #E3F4C2;
  --green-100: #F1FAE0;

  /* Ink ramp */
  --ink-900: #161F22;
  --ink-800: #2B373C;
  --ink-700: #404E54;
  --ink-600: #5A6B72;
  --ink-500: #788991;
  --ink-400: #9CA9B0;
  --ink-300: #C0C9CE;
  --ink-200: #DCE2E5;
  --ink-100: #EDF0F2;

  /* Semantic — dark mode (this site's default) */
  --surface-page: #2B373C;
  --surface-raised: #161F22;
  --surface-sunken: #161F22;
  --text-primary: #FFFFFF;
  --text-secondary: #97C44E;
  --text-tertiary: #C0C9CE;
  --text-accent: #97C44E;
  --text-accent-strong: #CEEA99;
  --border-hairline: #404E54;
  --border-strong: #5A6B72;

  /* Legacy aliases used throughout this file — mapped onto the tokens above */
  --ink: var(--surface-page);
  --ink-raised: var(--surface-raised);
  --forest: var(--ink-900);
  --brand: var(--regen-green);
  --brand-text: var(--text-accent-strong);
  --text: var(--text-primary);
  --text-dim: var(--text-tertiary);

  /* Type scale — 1.25 ratio, 16px base */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --fs-12: 12px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px;
  --fs-25: 25px; --fs-31: 31px; --fs-39: 39px; --fs-49: 49px; --fs-61: 61px;

  /* Spacing scale */
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-6: 48px; --space-8: 64px; --space-12: 96px;

  /* Radius — REGEN is a drafting brand; corners stay square */
  --radius-control: 2px;
  --radius-max: 4px;

  /* Elevation is a hairline, not a shadow */
  --elevation-card: 0 2px 8px rgba(43, 55, 60, 0.08);

  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--text-accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 400; }

/* Header / nav */
header.site-header {
  background: var(--ink);
  color: var(--white);
  position: relative;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 16px;
}

.site-header .brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header .logo img { height: 81px; }

.site-header .tagline {
  font-size: 1.8rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-header nav a:hover,
.site-header nav a.active { color: var(--brand); text-decoration: none; }

/* Vertical page-indicator tab, top right — matches the live site */
.side-tab {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--forest);
  color: var(--brand);
  padding: 24px 10px;
  writing-mode: vertical-rl;
  font-size: 1rem;
  letter-spacing: 0.06em;
  z-index: 20;
}

/* Simple page-title header block (Projects, Team, etc.) */
.page-title-block { padding: 64px 0 8px; }
.page-title-block h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  margin: 0 0 20px;
  color: var(--white);
}
.page-title-block .accent-rule {
  width: 64px;
  height: 3px;
  background: var(--brand);
  border: none;
  margin: 0 0 32px;
}
.page-title-block h2.section-label {
  color: var(--brand);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin: 0 0 24px;
}

/* Hero (home page) */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 28px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--forest);
  padding: 12px 28px;
  border-radius: var(--radius-max);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

/* Home hero slideshow */
.hero-slideshow {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--forest);
}

/* Homepage-only: header floats transparently on top of the hero image */
body.home header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(19, 27, 30, 0.75) 0%, rgba(19, 27, 30, 0.45) 60%, transparent 100%);
  padding-bottom: 40px;
}

/* Site-wide: nav to the left, logo centered and larger, tagline stacked below it,
   Contact pulled out as a button on the right. Same orientation on every page —
   only the homepage additionally floats this transparently over the hero image
   (see rule above); everywhere else it's a normal solid header bar.
   Uses explicit absolute positioning (not grid) so all three pieces are
   guaranteed to share the exact same top offset, regardless of their heights. */
.site-header .wrap {
  position: relative;
  min-height: 165px;
  max-width: 1800px;
  padding-top: 0;
  padding-bottom: 0;
}
.site-header nav {
  position: absolute;
  left: 24px;
  top: 61px; /* vertical center of the 81px logo (20px top offset + half of 81px) */
  transform: translateY(-50%);
}
.site-header nav ul {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 26px;
}
.site-header .brand-block {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.site-header .logo img { height: 81px; }

.site-header .header-contact-btn {
  position: absolute;
  right: 24px;
  top: 61px;
  transform: translateY(-50%);
  background: var(--regen-green);
  color: var(--ink-900);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
}
.site-header .header-contact-btn:hover {
  background: var(--green-400);
  text-decoration: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide .slide-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 21, 24, 0.55);
}
.hero-slide .slide-text-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 21, 24, 0.75) 0%, rgba(15, 21, 24, 0.4) 30%, transparent 65%);
}
.hero-slide .slide-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 56px;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1100px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1100px) / 2 + 24px));
  color: var(--white);
}
.hero-slide .slide-content h1 {
  font-size: clamp(1rem, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero-slide .slide-content .hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 0 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero-slide .slide-content a.slide-cta {
  font-family: "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}
.hero-nav-arrow.prev { left: 24px; }
.hero-nav-arrow.next { right: 24px; }

@media (max-width: 700px) {
  .hero-slide .slide-content { padding-left: 24px; padding-right: 24px; }
}

/* Page body */
main { padding: 40px 0 72px; }

h2 { font-size: 1.8rem; margin-top: 0; color: var(--white); }
h3 { font-size: 1.3rem; color: var(--brand); font-weight: 500; }

.eyebrow {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
}

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

/* Project photo grid — tight gutters, grayscale, matches the live site */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 64px;
}
.project-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1);
  transition: transform 0.45s ease, filter 0.3s ease;
}
a.project-tile:hover img {
  transform: scale(1.11);
}
.tile-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
a.project-tile:hover .tile-overlay { transform: translateY(0); }
.tile-overlay .tile-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-accent-strong);
  margin: 0 0 2px;
}
.tile-overlay .tile-desc {
  font-size: 0.8rem;
  color: #F2F2F2;
  margin: 0;
  font-style: normal;
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--ink-raised);
  border: 1px solid #3f4d54;
  border-radius: var(--radius-max);
  padding: 28px;
  color: var(--text);
}

.principle-list {
  counter-reset: principle;
  padding: 0;
  list-style: none;
}
.principle-list li {
  counter-increment: principle;
  padding: 20px 0;
  border-bottom: 1px solid #3f4d54;
  position: relative;
  padding-left: 56px;
}
.principle-list li::before {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: var(--brand);
  font-size: 1.1rem;
}

/* Principles page — header row with title + purpose-mission link, numbered rows */
.principles-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.principles-header-row h1,
.principles-header-row .purpose-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.principles-header-row .purpose-link { transition-delay: 0.15s; }
.principles-header-row h1.in-view,
.principles-header-row .purpose-link.in-view {
  opacity: 1;
  transform: translateY(0);
}
.principles-header-row h1 { margin: 0; }
.principles-header-row .purpose-link {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--text-accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.principle-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.principle-row.in-view { opacity: 1; transform: translateY(0); }
.principle-row .principle-num {
  font-size: 2.5rem;
  color: #B7ED42;
  font-weight: 400;
  text-align: right;
  line-height: 1.2;
}
.principle-row p { color: #F2F2F2; margin: 0; max-width: 640px; }

@media (max-width: 600px) {
  .principle-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .principle-row .principle-num { font-size: 1.6rem; }
}

.team-member {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #3f4d54;
}
.team-member img {
  width: 160px;
  height: 182px;
  object-fit: cover;
  border-radius: var(--radius-max);
}
.team-member .role { color: var(--brand); font-weight: 600; margin: 2px 0 12px; }
.team-member .certs { font-family: "Courier New", monospace; font-size: 0.85rem; color: var(--text-dim); margin-top: 10px; }

@media (max-width: 560px) {
  .team-member { grid-template-columns: 1fr; }
  .team-member img { width: 140px; }
}

figure.project-figure {
  margin: 0;
}
figure.project-figure img { border-radius: var(--radius-max); }
figure.project-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.4;
}

.placeholder-slot {
  aspect-ratio: 1 / 1;
  border: 1px dashed #5b6a70;
  border-radius: var(--radius-max);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
}

.press-item { padding: 24px 0; border-bottom: 1px solid #3f4d54; }
.press-item .byline { font-style: italic; color: var(--text-dim); margin: 4px 0 10px; }

/* Press & Awards page — two-column layout matching production */
.press-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}
.press-col { display: flex; flex-direction: column; gap: 64px; }
.press-article {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.press-article.in-view { opacity: 1; transform: translateY(0); }
.press-article .accent-line-small {
  width: 64px;
  height: 3px;
  background: var(--text-accent-strong);
  border: none;
  margin: 0 0 20px;
}
.press-article h3 {
  color: var(--text-accent-strong);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 4px;
}
.press-article .press-subtitle {
  color: var(--text-accent-strong);
  font-size: 1.3rem;
  font-weight: 300;
  margin: 0 0 16px;
  line-height: 1.3;
}
.press-article .press-byline {
  color: #F2F2F2;
  font-weight: 700;
  margin: 0 0 14px;
}
.press-article p.press-body { color: #F2F2F2; margin: 0 0 14px; }
.press-article .read-full {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-accent-strong);
}
@media (max-width: 800px) {
  .press-columns { grid-template-columns: 1fr; }
  .press-col { gap: 48px; }
}

/* Plain text-on-dark content blocks (Purpose & Mission style) — no card boxes */
.simple-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px 64px;
  margin-bottom: 8px;
}
.simple-col-grid .accent-line-small {
  width: 48px;
  height: 3px;
  background: var(--text-accent-strong);
  border: none;
  margin: 0 0 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.simple-col-grid h3 {
  color: var(--text-accent-strong);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
}
.simple-col-grid p {
  color: #F2F2F2;
  margin: 0;
  max-width: 480px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.3s, transform 0.45s ease 0.3s;
}
.simple-col-grid > div.in-view .accent-line-small { transform: scaleX(1); }
.simple-col-grid > div.in-view h3,
.simple-col-grid > div.in-view p { opacity: 1; transform: translateY(0); }

/* People / team listing */
.person-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 44px 0;
}
.person-row .headshot-wrap {
  position: relative;
  border-left: 6px solid var(--brand);
}
.person-row .headshot-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(100%);
}
.person-row .placeholder-photo {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-raised);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.person-row h2.person-name {
  color: var(--text-accent-strong);
  font-size: 1.8rem;
  margin: 0 0 2px;
  line-height: 1.25;
}
.person-row .person-title {
  color: var(--text-accent-strong);
  font-size: 1.8rem;
  margin: 0 0 18px;
  line-height: 1.25;
  font-weight: 300;
}
.person-row p.person-bio {
  color: #F2F2F2;
  max-width: 620px;
  margin: 0 0 14px;
}
.person-row .read-more {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-accent-strong);
  text-decoration: underline;
}
.person-row .contact-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.person-row .contact-links a {
  color: var(--text-accent-strong);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.person-row .contact-links svg { flex-shrink: 0; }
.person-row.placeholder .person-title { color: var(--text-dim); font-style: italic; }

@media (max-width: 700px) {
  .person-row { grid-template-columns: 1fr; gap: 20px; }
  .person-row .headshot-wrap img,
  .person-row .placeholder-photo { height: 260px; }
}

/* Individual bio detail pages — text left, photo right with top bar, round social icons */
.person-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
  padding: 24px 0 48px;
}
.person-detail .detail-photo-wrap {
  border-top: 6px solid var(--brand);
}
.person-detail .detail-photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
}
.person-detail h2.person-name,
.person-detail .person-title {
  display: inline;
  color: var(--text-accent-strong);
}
.person-detail p.person-bio {
  color: #F2F2F2;
  max-width: 620px;
  margin: 0 0 14px;
}
.person-detail .detail-heading {
  margin-bottom: 24px;
}
.person-detail .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.person-detail .social-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #8a949a;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-detail .social-icon-circle:hover { background: var(--brand); }

@media (max-width: 760px) {
  .person-detail { grid-template-columns: 1fr; }
  .person-detail .detail-photo-wrap { order: -1; max-width: 320px; }
}

/* Contact form */
form.contact-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #5b6a70;
  border-radius: var(--radius-max);
  font: inherit;
  background: var(--ink-raised);
  color: var(--text);
}
form.contact-form textarea { min-height: 140px; }
form.contact-form button {
  justify-self: start;
  background: var(--brand);
  color: var(--forest);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-max);
  font-weight: 600;
  cursor: pointer;
}
form.contact-form button:hover { opacity: 0.9; }

.contact-details { margin-bottom: 32px; font-size: 1.05rem; }
.contact-details a { color: var(--white); font-weight: 600; }

/* Footer */
footer.site-footer {
  background: var(--forest);
  color: var(--text-dim);
  padding: 36px 0;
  font-size: 0.9rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer a { color: var(--text-accent-strong); }
footer.site-footer a:hover { color: var(--white); }

/* ---- Homepage: rolling ticker banner below the hero ---- */
.ticker {
  background: var(--ink-900);
  overflow: hidden;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: ticker-scroll 45s linear infinite;
}
.ticker__item {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Homepage: stats / social-proof band (light, matching reference) ---- */
.stats-band {
  background: #F8F5F2;
  color: #2B2118;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 0 32px;
  border-left: 1px solid #DDD5CB;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.stat__num--confirmed { color: #42591C; }
.stat__fill {
  background: #F3DDD0;
  color: #8B4A2B;
  padding: 4px 16px;
  border-bottom: 2px dashed #C98853;
  font-size: 2.3rem;
  font-weight: 700;
}
.stat__unit { font-size: 1.3rem; color: #42591C; font-weight: 600; }
.stat__unit--confirmed { font-size: 1.5rem; }
.stat__label {
  color: #2B2118;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 240px;
}
.stat__src {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #9C9186;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: none; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; padding: 0; }
}

/* ---- Homepage: "Why clients call" numbered list ---- */
.why-calls { padding: 80px 0; }
.why-calls__h2 {
  font-size: 48px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 12px 0 24px;
  max-width: 700px;
}
.why-calls__lede {
  color: var(--text-tertiary);
  max-width: 900px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.why-calls__list { list-style: none; padding: 0; margin: 0; }
.why-calls__list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-hairline);
}
.why-calls__list li:first-child { border-top: 1px solid var(--border-hairline); }
.why-calls__num {
  font-size: 1.8rem;
  color: var(--text-accent-strong);
  font-weight: 400;
}
.why-calls__list h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 10px;
}
.why-calls__list p { color: var(--text-tertiary); margin: 0; max-width: 640px; }
@media (max-width: 560px) {
  .why-calls__list li { grid-template-columns: 40px 1fr; gap: 16px; }
}

/* ---- "Why clients call" — light variant, matching the stats band ---- */
.why-calls--light {
  background: #F8F5F2;
  color: #2B2118;
}
.why-calls--light .why-calls__h2 { color: #2B2118; }
.why-calls--light .why-calls__lede { color: #5B5148; }
.eyebrow--dark { color: #42591C; }
.why-calls--light .why-calls__num { color: #5A7728; }
.why-calls--light .why-calls__list li,
.why-calls--light .why-calls__list li:first-child { border-color: #DDD5CB; }
.why-calls--light .why-calls__list h3 { color: #2B2118; }
.why-calls--light .why-calls__list p { color: #5B5148; }

/* ---- "Why clients call" items collapse to just the heading; hover reveals the answer ---- */
.why-calls__list--collapsible li > div p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
}
.why-calls__list--collapsible li:hover > div p {
  max-height: 220px;
  opacity: 1;
  margin-top: 10px;
}
.why-calls__list--collapsible li > div h3 { cursor: default; }

/* ---- "The trigger" — plain dark section ---- */
.trigger-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--surface-page);
}
.trigger-section__bg { display: none; }
.trigger-section__scrim { display: none; }
.trigger-section__content { position: relative; z-index: 2; }

.trigger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: clamp(36px, 4vw, 56px);
}
.trigger-card {
  background: rgba(43, 55, 60, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-max);
  padding: 28px;
}
.trigger-card__tag {
  display: inline-block;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  color: var(--text-accent-strong);
  border: 1px solid var(--text-accent-strong);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.trigger-card__a { color: #DCE2E5; margin: 0; font-size: 0.95rem; }

/* ---- Homepage: "REGEN Team" auto-scrolling photo carousel ---- */
.team-strip {
  padding: 80px 0 0;
  background: #F8F5F2;
}
.team-strip .why-calls__h2 { color: #2B2118; }
.team-strip .why-calls__lede { color: #5B5148; }
.team-carousel {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  padding: 8px 0 80px;
}
.team-carousel::before,
.team-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.team-carousel::before {
  left: 0;
  background: linear-gradient(to right, #F8F5F2, transparent);
}
.team-carousel::after {
  right: 0;
  background: linear-gradient(to left, #F8F5F2, transparent);
}
.team-carousel__track {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: max-content;
  padding: 0 64px;
  animation: team-scroll 50s linear infinite;
}
.team-carousel:hover .team-carousel__track { animation-play-state: paused; }
@keyframes team-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 184px;
  flex-shrink: 0;
  text-decoration: none;
}
.team-card__img {
  width: 184px;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-max);
  filter: grayscale(100%);
  transition: transform 0.25s ease;
}
.team-card:hover .team-card__img { transform: translateY(-4px); }
.team-card__name { color: #2B2118; font-size: 1.05rem; margin: 0; }
.team-card__role {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  color: #5B5148;
  margin: 0;
}

/* ---- Homepage: closing pinecone image band, beneath "Your Team", with a CTA overlay ---- */
.closing-image-band {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.closing-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.closing-image-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 21, 24, 0.9) 0%, rgba(15, 21, 24, 0.55) 55%, rgba(15, 21, 24, 0.35) 100%);
}
.closing-image-band__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.closing-image-band__content .why-calls__h2 { color: #fff; }
.closing-image-band__content .why-calls__lede { color: #DCE2E5; }
.cta-button {
  display: inline-block;
  background: var(--regen-green);
  color: var(--ink-900);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 12px;
  width: fit-content;
}
.cta-button:hover {
  background: var(--green-400);
  text-decoration: none;
}

/* ---- Homepage: rich multi-column footer ---- */
.site-footer-rich {
  background: var(--ink-900);
  color: var(--text-tertiary);
  padding: 64px 0 40px;
}
.footer-logo { display: inline-block; margin-bottom: 40px; }
.footer-logo img { height: 40px; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col--wide { grid-column: span 1; }
.footer-col__label {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  color: var(--text-accent-strong);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-tertiary); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { font-size: 0.85rem; line-height: 1.6; color: var(--text-tertiary); margin: 0; max-width: 320px; }
.footer-rule { border: none; border-top: 1px solid var(--border-hairline); margin: 0 0 28px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--text-tertiary); }
@media (max-width: 800px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-columns { grid-template-columns: 1fr; }
}

/* ---- Case-study links (Projects page + project detail pages) ---- */
.case-study-link {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-accent-strong);
}
.project-cell { display: flex; flex-direction: column; gap: 10px; }

/* Project tile that shows the whole photo (no square crop), letterboxed on the dark page color */
.project-tile.tile-whole { background: var(--ink-900); }
.project-tile.tile-whole img { object-fit: contain; }

/* Detail-page photo shown whole at its natural proportions (no square crop) */
.project-tile.tile-natural { aspect-ratio: auto; }
.project-tile.tile-natural img { height: auto; object-fit: contain; }

/* ======================================================================
   Responsive: tablets and phones
   The desktop header pins nav / logo / button with absolute positioning;
   below ~1100px that no longer fits, so the header stacks instead.
   ====================================================================== */
@media (max-width: 1100px) {
  .site-header .wrap {
    min-height: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px 8px;
  }
  .site-header .brand-block { position: static; transform: none; }
  .site-header .logo img { height: 64px; }
  .site-header .tagline { font-size: 1rem; white-space: normal; text-align: center; }
  .site-header nav { position: static; transform: none; }
  .site-header nav ul { flex-wrap: wrap; justify-content: center; white-space: normal; gap: 6px 20px; }
  .site-header .header-contact-btn { position: static; transform: none; padding: 8px 22px; }
  body.home header.site-header { padding-bottom: 28px; }
}

@media (max-width: 700px) {
  html, body { overflow-x: hidden; }

  /* Home hero */
  .hero-slideshow { min-height: 620px; }
  .hero-slide .slide-content { bottom: 40px; }
  .hero-slide .slide-content h1 { font-size: 1.8rem; }
  .hero-slide .slide-content .hero-sub { font-size: 0.95rem; }

  /* Section rhythm and headings */
  .why-calls { padding: 56px 0; }
  .trigger-section { padding: 56px 0; }
  .team-strip { padding-top: 56px; }
  .why-calls__h2 { font-size: 30px; }
  .why-calls__lede { font-size: 1rem; margin-bottom: 32px; }
  .trigger-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
  .team-card, .team-card__img { width: 150px; }
  .team-card__img { height: 190px; }
  .team-carousel__track { gap: 32px; padding: 0 24px; }
  .closing-image-band { height: 600px; }

  /* Project / case-study photo grids that use a fixed minimum column width */
  .project-grid[style*="minmax"] { grid-template-columns: 1fr !important; max-width: 100% !important; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Touch screens have no hover: show hover-only content by default */
@media (hover: none) {
  .why-calls__list--collapsible li > div p { max-height: none; opacity: 1; margin-top: 10px; }
  .tile-overlay { transform: translateY(0); }
}

@media (max-width: 700px) {
  .tile-overlay { padding: 10px 12px; }
  .tile-overlay .tile-title { font-size: 0.85rem; }
  .tile-overlay .tile-desc { font-size: 0.7rem; }
}
