@import url("https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Urbanist:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

/* ================================================
   NSGTECH SOLAR - GLOBAL STYLESHEET
   Pure CSS design system - no external dependencies

   STRUCTURE:
   1. Root & Typography Setup      (CSS variables, imports)
   2. Reset & Base                 (universal styles)
   3. Typography                   (headings, text, links)
   4. Main Layout                  (containers, sections)
   5. Navigation                   (floating pill nav, menu)
   6. Hero Section                 (background, animations)
   7. Buttons                      (primary, secondary, ghost)
   8. Cards                        (portfolio, products)
   9. Grid Layouts                 (responsive grids)
   10. Hero Section Colors         (white/off-white backgrounds)
   11. Stats Strip                 (home page stats)
   12. Testimonials                (client testimonials)
   13. CTA Banner                  (call-to-action)
   14. Footer                      (footer styling)
   15. Modals                      (lightbox modals)
   16. Forms                       (contact form)
   17. Special Sections            (about, process, etc.)
   18. Process Steps               (numbered steps)
   19. Botanical Watermark         (decorative SVG)
   20. Scroll Fade-Up              (intersection observer)
   21. Scroll Animations           (fade-up, slide animations)
   22. Responsive Design           (mobile/tablet/desktop)
   23. Accessibility               (contrast, focus states)
   24. Hero Typewriter Text        (animated hero text)
   25. Scroll Animations Modifiers (animation classes)

   COLOR PALETTE:
   - Primary green (#256D1B)
   - Secondary ink (#1A1A1A)
   - Brand accent (#256D1B)
   - Background (#FFFFFF)
   - Surface (#F8F9FA)
   - Main text (#333333)
   - Light text (#777777)

   ================================================ */

/* 1. ROOT & TYPOGRAPHY SETUP */
/* CSS custom properties (variables) and Google Fonts imports */

:root {
  /* Brand colours */
  --color-primary: #256d1b;
  --color-secondary: #1a1a1a;
  --color-accent: #256d1b;
  --color-background: #ffffff;
  --color-surface: #f6f7f9;
  --color-text-main: #111827;
  --color-text-muted: #6b7280;

  --color-off-white: var(--color-surface);
  --color-white: var(--color-background);
  --color-black: var(--color-secondary);
  --accent: var(--color-primary);

  /* Typography */
  --font-serif: "Cardo", serif;
  --font-sans: "Urbanist", sans-serif;
  --font-body: "Urbanist", sans-serif;
  --font-script: "Cormorant Garamond", serif;

  /* Shared layout */
  --header-height: 76px;
  --container: 1200px;
  --transition-speed: 0.25s;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-lg: 8px;

  /* Shadows (subtle) */
  --shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.08);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
}

/* 2. RESET & BASE */

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

html {
  scroll-behavior: smooth;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-main);
  background-color: var(--color-background);
  width: 100%;
  position: relative;
  line-height: 1.6;
}

button,
input,
textarea,
select,
optgroup,
option {
  font-family: var(--font-sans);
}

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

/* Preserve reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 3. TYPOGRAPHY */

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(42px, 7vw, 90px);
  font-style: normal;
  color: var(--color-black);
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-style: normal;
  color: var(--color-black);

  position: relative;
}

h3 {
  font-size: 20px;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

p.subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-grey);
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-teal);
}

/* 4. MAIN LAYOUT */

main {
  flex: 1;
}

section {
  padding: clamp(60px, 10vw, 100px) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* 5. FLOATING PILL NAVIGATION */

.nav-wrap {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition:
    background-color var(--transition-speed),
    color var(--transition-speed),
    border-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

nav.pill-nav {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition:
    background-color var(--transition-speed),
    color var(--transition-speed),
    border-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

nav.pill-nav.scrolled {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.265);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-sm) var(--spacing-md);
}

nav.pill-nav .nav-container {
  display: flex;
  width: min(calc(100% - 2rem), var(--container));
  height: 100%;
  margin-inline: auto;
  justify-content: space-between;
  align-items: center;
}

nav.pill-nav .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: inherit;
}
nav.pill-nav.scrolled .logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

nav.pill-nav .nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

nav.pill-nav .nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
  padding-bottom: 4px;
}

nav.pill-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width var(--transition-base);
}

nav.pill-nav .nav-links a:hover::after,
nav.pill-nav .nav-links a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.95);
  z-index: 99;
  padding: 100px var(--spacing-lg) var(--spacing-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  font-size: 16px;
  color: var(--color-white);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  position: relative;
}

.mobile-menu a.active {
  color: var(--color-white);
}

.mobile-menu a.active::before {
  content: "";
  position: absolute;
  left: -var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--color-teal);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 8px;
  z-index: 101;
}

.skip-link:focus {
  top: 0;
}

/* 6. HERO SECTION */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-attachment: fixed;
}

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ken Burns zoom animation */
/* Removed Ken Burns animation for a more professional, static presentation */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 25, 35, 0.12); /* subtle dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  color: var(--color-white);
  font-size: 70px;
}

.hero .subtitle {
  color: var(--color-white);
  font-size: 20px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.597);
  z-index: 1;
}

.hero-video__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 90px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
/* 7. BUTTONS */

button,
.btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 2px 2px;
  border: 2px solid;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Button - Teal filled */
.btn-primary,
button.btn-primary {
  background: var(--accent);
  color: var(--color-white);
  border-color: var(--accent);
  min-width: 44px;
  max-width: 300px;
}
@media (max-width: 768px) {
  .btn-primary,
  button.btn-primary {
    min-width: 44px;
    max-width: 100vw;
  }
}

.btn-primary:hover,
button.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus,
button.btn-primary:focus {
  outline-offset: 2px;
}

.btn-service{
  min-width: 44px;
  max-width: 100vw;
  background: var(--accent);
  color: var(--color-white);
  border-color: var(--accent);
}

.btn-service:hover{
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  
}
/* Ghost Button - White border */
.btn-secondary,
button.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover,
button.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn-secondary:focus,
button.btn-secondary:focus {
  outline: 2px solid var(--color-blush);
  outline-offset: 2px;
}

/* Ghost Button - Teal border (on light backgrounds) */
.btn-ghost,
button.btn-ghost {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-ghost:hover,
button.btn-ghost:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-blush);
}

.btn-ghost:focus,
button.btn-ghost:focus {
  outline: 2px solid var(--color-blush);
  outline-offset: 2px;
}

/* Teal CTA Button */
.btn-teal,
button.btn-teal {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-teal:hover,
button.btn-teal:hover {
  background: #1e5a16;
  border-color: #1e5a16;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-teal:focus,
button.btn-teal:focus {
  outline: 2px solid var(--color-blush);
  outline-offset: 2px;
}

/* Pill-shaped button (full rounded) */
.btn-pill,
button.btn-pill {
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 8. CARDS */

.card {
  background: var(--color-white);
  border: 1px solid #eeeeee;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card overlay on hover */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 109, 27, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-overlay-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-body {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

.card-location,
.card-price {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-teal);
  margin-bottom: var(--spacing-xs);
}

.card-price {
  color: var(--color-black);
  font-weight: 500;
}

.card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-black);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--spacing-xs);
}

.card-cta {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  transition: all var(--transition-base);
}

/* 9. GRID LAYOUTS */

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.portfolio-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
  .cards-row,
  .portfolio-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards-row,
  .portfolio-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* 10. HERO SECTIONS WITH BACKGROUND COLORS */

section.hero-light {
  background: var(--color-white);
}

section.hero-off-white {
  background: var(--color-off-white);
}

/* 11. STATS STRIP */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: var(--spacing-xl) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-md);
  background: rgba(255, 192, 203, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 192, 203, 0.45);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(255, 192, 203, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 192, 203, 0.25);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8c92ac;
}

/* Responsive stats strip on mobile */
@media (max-width: 767px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

/* 12. TESTIMONIALS */

/* ══ SHARED ELEMENTS ══ */
.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #256d1b;
  margin-bottom: 16px;
}

/* ══ BACKSTORY ══ */
.section-wrap {
  background: #ffffff;
  position: relative;
  z-index: 1;
}
.backstory {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.backstory__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.backstory__image-wrap {
  position: relative;
}

.backstory__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/1;
}

.backstory__image-tag {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 20px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 2px;
}

.backstory__image-tag span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a1a;
}

.backstory__image-tag span:last-child {
  color: #8c92ac;
}

.backstory__heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: start;
}

.backstory__heading em {
  font-style: italic;
  color: #256d1b;
}

.backstory__body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 480px;
}

.backstory__quote {
  border-left: 2px solid #256d1b;
  padding-left: 20px;
  margin: 32px 0 0px;
}

.backstory__quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ══ WHAT WE DO ══ */
.what-we-do {
  background: #f5f5f5;
}

.wwd__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.wwd__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.wwd__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.wwd__header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
}

.wwd__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 30px 24px;
  gap: 80px;
  border-top: 1px solid #eeeeee;
}

.wwd__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  aspect-ratio: 1/1;
}

.wwd__image-wrap:hover img {
  transform: scale(1.02);
}

.wwd__image-wrap {
  overflow: hidden;
}

.wwd__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #256d1b;
  border: 1px solid #256d1b;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.wwd__text h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
}

.wwd__text p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 28px;
}

.wwd__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wwd__list li {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  padding-left: 20px;
  position: relative;
}

.wwd__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: var(--color-primary);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1023px) {
  .backstory__inner {
    gap: 24px;
  }

  .wwd__split {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .backstory {
    padding: 80px 24px 100px;
  }

  .backstory__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .backstory__image-wrap img {
    height: 100%;
  }

  .backstory__image-tag {
    bottom: -16px;
    right: 16px;
  }

  .backstory__body {
    max-width: 100%;
  }

  .what-we-do {
    padding: 80px 0;
  }

  .wwd__split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 24px;
  }

  /* On mobile, always show image first */
  .wwd__split--reverse .wwd__text {
    order: 2;
  }

  .wwd__split--reverse .wwd__image-wrap {
    order: 1;
  }

  .wwd__image-wrap img {
    height: 100%;
  }

  .wwd__text p {
    max-width: 100%;
  }
}

.bento-stats {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.bento__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
}

.bento__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.bento__header p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  margin-top: 12px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 600px;
}

/* Card base */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bento-card:hover img {
  transform: scale(1.05);
}

/* Overlay — dark tint over image */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  transition: background 0.4s ease;
  z-index: 1;
}

.bento-card:hover .bento-overlay {
  background: rgba(37, 109, 27, 0.75);
}

/* Stat content */
.bento-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.bento-card:hover .bento-content {
  opacity: 0;
  transform: translateY(8px);
}

.bento-number {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.bento-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

/* Hover description */
.bento-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover .bento-hover {
  opacity: 1;
}

.bento-hover p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.8;
  text-align: center;
}

/* Grid placement */
.bento-large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.bento-small {
  min-height: 220px;
}

/* nth placement for small cards */
.bento-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.bento-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.bento-card:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.bento-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* ── TABLET ── */
@media (max-width: 1023px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento-large {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 340px;
  }

  .bento-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .bento-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .bento-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }
  .bento-card:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

  .bento-small {
    min-height: 200px;
  }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  .bento-stats {
    padding: 60px 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bento-large {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 280px;
  }

  .bento-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .bento-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .bento-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }
  .bento-card:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }

  .bento-small {
    min-height: 160px;
  }

  .bento-number {
    font-size: 32px;
  }

  .bento-label {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .bento-content {
    bottom: 16px;
    left: 16px;
  }

  /* On mobile show description below number instead of on hover */
  .bento-hover {
    display: none;
  }

  .bento-card:hover .bento-content {
    opacity: 1;
    transform: none;
  }

  .bento-card:hover .bento-overlay {
    background: rgba(26, 26, 26, 0.45);
  }
}

/* 12. TESTIMONIALS */

/* .testimonials-section {
  background: var(--color-off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-left: 4px solid var(--color-blush);  /* Blush pink accent border 
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--color-black);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 4px;
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-grey);
} */

/* ===========================
   TESTIMONIALS - FIXED Scroll Snap (Horizontal)
   =========================== */

.testimonials-container {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: clamp(1rem, 1.5vw, 1.5rem) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonials-container::-webkit-scrollbar {
  height: 6px;
}

.testimonials-container::-webkit-scrollbar-track {
  background: #256d1b1f;
  border-radius: 10px;
}

.testimonials-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.testimonial-card {
  flex: 0 0 calc(100% - 1rem);
  scroll-snap-align: start;
  background: var(--color-white);
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.5rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.testimonial-card:hover {
  border-color: #256d1b57;
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-main);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-rating {
  color: var(--accent);
  font-size: 0.95rem;
}
.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  align-self: center;
}
.section-title p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 768px) {
  .grid-cols-3 {
    display: flex;
    grid-template-columns: unset !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}

/* 13. CTA BANNER - Call-to-action with teal gradient background */
/* Features: gradient background, decorative circles, responsive padding */

.cta-banner {
  padding: 60px 24px 60px 24px;
  background: #f5f5f5; /* Light background for contrast */
}

.cta-banner__inner {
  background: var(--color-primary);
  padding: 48px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles for visual interest */
/* .cta-banner__inner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
} */

/* .cta-banner__inner::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
} */

.cta-banner__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.cta-banner__sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner__btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 250px;
}

.cta-banner__btn--solid {
  background: #ffffff;
  color: #256d1b;
  border: 1px solid #ffffff;
}

.cta-banner__btn--solid:hover {
  background: transparent;
  color: #ffffff;
}

.cta-banner__btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-banner__btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .cta-banner__inner {
    padding: 60px 32px;
  }

  .cta-banner__btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background: var(--color-secondary);
  padding: clamp(3rem, 2vw, 4rem) clamp(1rem, 2vw, 2rem);
  color: var(--color-background);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(2rem, 3vw, 3rem);
  justify-content: center;
  border-top: 1px solid var(--color-teal);
  padding: clamp(2rem, 2vw, 4rem) clamp(1rem, 2vw, 2rem);
}

.footer-section h4 {
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--text-main);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: clamp(0.75rem, 1vw, 1rem);
}

.footer-section a {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 8px;
  padding-top: clamp(0rem, 0vw, 0rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
.footer-bottom-text {
  color: var(--text-muted);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle, #9ca3af);
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.social-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.social-link:hover {
  color: var(--text, #ffffff);
  transform: translateY(-3px);
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.6); /* Muted white by default */
  transition: all 0.3s ease;
  padding: 8px; /* Larger click target for mobile */
  border-radius: 50%;
  border: 1px solid transparent;
}

.social-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

/* The Hover Effect */
.social-link:hover {
  color: var(--color-white, #ffffff); /* Brightens up */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle ring appears */
}

.social-link:hover .social-icon {
  transform: scale(1.1); /* Slight pop */
}

/* Hide on Desktop by default */
.mobile-scroll-cue {
  display: none;
}

/* Show only on Mobile (Adjust the 768px if your mobile breakpoint is different) */
@media (max-width: 768px) {
  .mobile-scroll-cue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(
      --subtle,
      #9ca3af
    ); /* Uses your muted gray so it doesn't overpower the white H2 */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
  }

  .mobile-scroll-cue svg {
    width: 16px;
    height: 16px;
    /* This applies the subtle left-to-right push */
    animation: swipeRight 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* The Animation Keyframes */
  @keyframes swipeRight {
    0%,
    100% {
      transform: translateX(0);
      opacity: 0.5;
    }
    50% {
      transform: translateX(6px);
      opacity: 1;
    }
  }
}
/* 14. FOOTER - Dark background with brand, links, contact, social */
/* 
footer {
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 80px 0 24px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
} */

/* Brand info column */
/* .footer-brand h3 {
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-brand p {
  font-size: 13px;
  color: #8C92AC;
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 24px;
} */

/* Social icons */
/* .footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: #256d1b;
  color: #256d1b;
} */

/* Section headings */
/* .footer-section h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
} */

/* Quick links */
/* .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #8C92AC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
} */

/* Contact list */
/* .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  font-size: 13px;
  color: #8C92AC;
  line-height: 1.7;
}

.footer-contact a {
  color: #8C92AC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #FFFFFF;
} */

/* Footer bottom */
/* .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8C92AC;
}

.footer-bottom a {
  color: #256d1b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* Tablet */
@media (max-width: 1023px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }
}
*/

/* Mobile */
/* @media (max-width: 767px) {
  footer {
    padding: 60px 0 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}



.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-grey);
}

.footer-bottom a {
  color: #256d1b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}
} */

/* 15. MODALS - Lightbox for card details */
/** Uses  HTML structure with overlay, box, and content areas */

/* 16. FORMS - Contact form with blush pink focus states */
/** Labels: uppercase, teal text | Inputs: off-white bg, blush pink focus border */

/* form-group and label styles consolidated later in file */

input,
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid #eeeeee;
  background: var(--color-off-white);
  color: var(--color-black);
  transition: all var(--transition-base);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-grey);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-blush);
  box-shadow: 0 0 0 2px rgba(255, 192, 203, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* 17. SPECIAL SECTIONS - Value cards with blush pink top border */

.value-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-top: 2px solid var(--color-blush); /* Blush pink accent */
  text-align: center;
}

.value-card h3 {
  color: var(--color-teal);
}

/* Contact page split layout */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.contact-info {
  background: var(--color-off-white);
  padding: var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  display: none;
}

.contact-form {
  background: var(--color-white);
  padding: var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h2 {
  display: none;
}

.contact-item {
  margin-bottom: var(--spacing-xl);
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.contact-text {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.8;
}

.contact-text a {
  color: var(--color-teal);
}

.contact-text a:hover {
  color: var(--color-black);
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-info {
    padding: var(--spacing-xl);
  }

  .contact-form {
    padding: var(--spacing-xl);
  }
}

/* 18. PROCESS STEPS - Numbered steps with teal number color */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.process-step {
  text-align: center;
}

.process-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-teal); /* Teal numbers */
  margin-bottom: var(--spacing-md);
}

.process-step h3 {
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

.process-step p {
  font-size: 14px;
  color: var(--color-grey);
}

/* 19. BOTANICAL SVG WATERMARK - Blush pink decorative elements at very low opacity */

.botanical-watermark {
  display: none; /* removed decorative botanical watermark for a professional engineering tone */
}

.botanical-watermark svg {
  display: none;
}

.watermark-tl {
  top: 40px;
  left: 40px; /* Top-left corner placement */
}

.watermark-br {
  bottom: 40px;
  right: 40px; /* Bottom-right corner placement */
  transform: rotate(180deg); /* Rotated for visual balance */
}

/* 20. SCROLL FADE-UP ANIMATION - Intersection Observer triggered fade-up */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.fade-up.visible {
  animation: fadeUp 0.8s ease forwards; /* Triggers when element enters viewport */
}

/* PROCESS SECTION */
.process {
  background: #f5f5f5;
  padding: 60px 24px;
}

.process__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
  position: sticky;
  top: 100px;
  z-index: 2;
}

.process__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
}

.process__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.process__header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #000000;
  line-height: 1.9;
}

/* Body — two column layout */
.process__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* LEFT — sticky */
.process__left {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  height: fit-content;
}

/* Each phase text block */
.process__phase {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.process__phase.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* Title animates in first */
.process__phase .process__number,
.process__phase .process__title {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease 0.2s,
    transform 0.8s ease 0.2s;
}

/* Description animates in second */
.process__phase .process__desc {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease 0.5s,
    transform 0.8s ease 0.5s;
}

.process__phase.active .process__number,
.process__phase.active .process__title {
  opacity: 1;
  transform: translateY(0);
}

.process__phase.active .process__desc {
  opacity: 1;
  transform: translateY(0);
}

.process__number {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  color: #256d1b;
  line-height: 1;
  margin-bottom: 8px;
}

.process__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.process__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  max-width: 480px;
}

/* RIGHT — scrolling images */
.process__right {
  position: relative;
}

.process__image-wrap {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 1s ease;
}

.process__image-wrap:last-child {
  margin-bottom: 0;
}

.process__image-wrap.active {
  opacity: 1;
}

.process__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  aspect-ratio: 1/1;
}

.process__image-wrap.active img {
  transform: scale(1.02);
}

/* Step indicators below image */
.process__indicators {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.process__indicator {
  width: 24px;
  height: 2px;
  background: #eeeeee;
  border-radius: 2px;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}

.process__indicator.active {
  background: #256d1b;
  width: 40px;
}

.process__mobile {
  display: flex;
  flex-direction: column;
}

.process__mobile-block {
  display: flex;
  flex-direction: column;
}

.process__mobile-block img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.process__mobile-block .process__phase {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  padding: 20px 0px 32px;
  border-bottom: 1px solid #eeeeee;
}

.process__mobile-block .process__number,
.process__mobile-block .process__title {
  opacity: 1 !important;
  transform: none !important;
}

.process__mobile-block .process__desc {
  display: none;
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  .process {
    padding: 60px 0;
  }

  .process__header {
    position: static;
    padding: 0 24px;
    margin-bottom: 40px;
  }

  .process__body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Remove sticky */
  .process__left {
    position: static;
    transform: none;
    order: 2;
  }

  /* All phases visible, no animation */
  .process__phase {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: block;
    padding: 24px;
    border-bottom: 1px solid #eeeeee;
  }

  .process__phase .process__number,
  .process__phase .process__title {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Hide description on mobile */
  .process__phase .process__desc {
    display: none;
  }

  .process__number {
    font-size: 32px;
    margin-bottom: 4px;
  }

  .process__title {
    font-size: 18px;
    margin-bottom: 0;
  }

  /* Images visible, stack above text */
  .process__right {
    display: block;
    order: 1;
  }

  /* All images visible on mobile */
  .process__image-wrap {
    display: block;
    opacity: 1;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 16px;
  }

  .process__image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 16px;
  }

  /* Hide indicators */
  .process__indicators {
    display: none;
  }
  .process__body {
    display: flex;
    flex-direction: column;
  }

  .process__left {
    display: contents; /* dissolves the container, children flow naturally */
  }

  .process__right {
    display: contents;
  }

  .process__phase[data-phase="0"] {
    order: 2;
  }
  .process__phase[data-phase="1"] {
    order: 4;
  }
  .process__phase[data-phase="2"] {
    order: 6;
  }
  .process__phase[data-phase="3"] {
    order: 8;
  }

  .process__image-wrap[data-phase="0"] {
    order: 1;
  }
  .process__image-wrap[data-phase="1"] {
    order: 3;
  }
  .process__image-wrap[data-phase="2"] {
    order: 5;
  }
  .process__image-wrap[data-phase="3"] {
    order: 7;
  }

  .process__mobile-block {
    padding: 0 24px;
    margin-top: 12px;
  }
}

.contact-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-teal);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 2rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  margin-bottom: var(--spacing-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
}

/* ── SECTIONS ── */
/* All three bare <section> tags */
section {
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

/* ── PAGE HEADER SECTION ── */
/* section style="padding-top: 150px; padding-bottom: var(--spacing-2xl); background: ..." */
.contact-page-header {
  padding-top: 150px;
  padding-bottom: var(--spacing-2xl); /* 64px */
  /* Note: background value in original is malformed — (135deg, ...) is missing linear-gradient() */
  /* Keeping as-is: background renders as off-white fallback */
  background: var(--bg-body);
}

/* h1 style="margin-bottom: var(--spacing-md)" */
.contact-page-header h1 {
  margin-bottom: var(--spacing-md); /* 24px */
}

/* p style="font-size: 1.2rem; color: var(--text-muted); max-width: 700px" */
.contact-page-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
}

/* ── CONTACT SECTION GRID ── */
/* div style="display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start" */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── CONTACT INFO COLUMN ── */
/* h2 style="margin-bottom: var(--spacing-xl)" */
.contact-info-col h2 {
  margin-bottom: var(--spacing-xl); /* 48px */
}

/* ── CONTACT CARD ── */
/* article.contact-card style="margin-bottom: var(--spacing-lg)" */
/* .contact-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(1rem, 2vw, 2rem);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  margin-bottom: var(--spacing-lg);
} */

/* .contact-card:last-of-type {
  margin-bottom: 0;
} */

.contact-card:hover {
  border-color: #256d1b57;
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* h3 style="color: var(--accent); margin-bottom: var(--spacing-md); display: flex; gap: var(--spacing-sm); align-items: center" */
.contact-card h3 {
  color: var(--color-teal);
  margin-bottom: var(--spacing-md); /* 24px */
  display: flex;
  gap: var(--spacing-sm); /* 16px */
  align-items: center;
}

/* span style="font-size: 1.5rem" — emoji icon inside h3 */
.contact-card h3 span {
  font-size: 1.5rem;
}

/* p style="margin-bottom: var(--spacing-sm)" — repeated on most card paragraphs */
.contact-card p {
  margin-bottom: var(--spacing-sm); /* 16px */
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

/* p style="margin-bottom: var(--spacing-md)" — used in Locations card */
.contact-card p.contact-card__location-item {
  margin-bottom: var(--spacing-md); /* 24px */
  font-family: var(--font-sans);
}

/* a style="color: var(--accent)" — phone/email links inside cards */
.contact-card a {
  color: var(--color-teal);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-card a:hover {
  color: var(--accent-light);
}

/* p style="margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: var(--border-subtle); font-size: 0.9rem; color: var(--text-muted)" */
/* Holiday hours note at bottom of Business Hours card */
.contact-card__note {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── CONTACT FORM COLUMN ── */
/* h2 style="margin-bottom: var(--spacing-xl)" */
.contact-form-col h2 {
  margin-bottom: var(--spacing-xl); /* 48px */
}

/* form#contactForm.contact-card — form uses same card style, no extra styles needed */

/* ── FORM GROUPS ── */
.form-group {
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.form-group label {
  display: block;
  margin-bottom: clamp(0.75rem, 1vw, 1rem);
  color: var(--text-main);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 1.5vw, 1.5rem);
  background: #256d1b1b;
  border: 1px #d7ead4;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition-smooth);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #256d1b24;
  border-color: var(--accent);
  box-shadow: 0 0 15px #256d1b39;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: var(--border-subtle);
  border-radius: var(--radius-small);
  padding: var(--spacing-sm) var(--spacing-md); /* 16px 24px */
  color: var(--text-main);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px #256d1b39;
}

/* Checkbox form group: style="display: flex; gap: var(--spacing-md); align-items: center; margin-bottom: var(--spacing-lg)" */
.form-group--checkbox {
  display: flex;
  gap: var(--spacing-md); /* 24px */
  align-items: center;
  margin-bottom: var(--spacing-lg); /* 32px */
}

/* input[type=checkbox] style="width: 20px; height: 20px; cursor: pointer" */
.form-group--checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--accent);
}

/* label for="terms" style="margin-bottom: 0; cursor: pointer" */
.form-group--checkbox label {
  margin-bottom: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 400;
}

/* ── SUBMIT BUTTON ── */
/* button.btn.btn-primary style="width: 100%; justify-content: center; padding: var(--spacing-md) var(--spacing-lg); font-size: 1rem" */

.contact-btn-primary {
  background: var(--color-teal);
  color: #1a1a1a;
  box-shadow: var(--color-teal);
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  height: 10px;
  width: 100%;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-lg); /* 24px 32px */
  font-size: 1rem;
}

.contact-btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

/* ── QUICK RESPONSE NOTE ── */
/* div style="margin-top: var(--spacing-lg); padding: var(--spacing-lg); background: rgba(59,130,246,0.1); border-left: 3px solid var(--accent); border-radius: var(--radius-small)" */
.contact-quick-note {
  margin-top: var(--spacing-lg); /* 32px */
  padding: var(--spacing-lg); /* 32px */
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-small);
}

/* p style="font-size: 0.95rem" inside quick note */
.contact-quick-note p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* strong style="color: var(--accent)" inside quick note */
.contact-quick-note strong {
  color: var(--accent);
}

/* ── FAQ SECTION ── */
/* section style="background: var(--bg-card)" */
.contact-faq-section {
  background: var(--bg-card);
}

/* section-title style="margin-bottom: var(--spacing-2xl)" */
.section-title {
  text-align: center;
  align-self: center;
}

.contact-faq-section .section-title {
  margin-bottom: var(--spacing-2xl); /* 64px */
}

.section-title h2 {
  color: var(--text-main);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
  text-align: center;
}

/* div style="max-width: 800px; margin: 0 auto" — FAQ list wrapper */
.contact-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ cards: same .contact-card + h3 style="margin-bottom: var(--spacing-md); color: var(--accent)" */
.contact-faq-list .contact-card h3 {
  margin-bottom: var(--spacing-md); /* 24px */
  color: var(--accent);
  /* Note: no flex/gap here — FAQ h3 is plain text, not flex with icon */
  display: block;
}

/* ── MAP SECTION ── */
/* section-title style="margin-bottom: var(--spacing-xl)" */
.contact-map-section .section-title {
  margin-bottom: var(--spacing-xl); /* 48px */
}

.contact-map-embed {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-teal);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-map-placeholder {
    height: 280px;
  }
}
/* 21. RESPONSIVE ADJUSTMENTS */

@media (max-width: 1024px) {
  nav.pill-nav .nav-links {
    gap: var(--spacing-md);
  }

  nav.pill-nav .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

@media (max-width: 768px) {
  nav.pill-nav {
    width: calc(100vw - 24px);
    padding: var(--spacing-xs) var(--spacing-md); /* reduce internal padding */
  }

  nav.pill-nav .logo img {
    height: 32px; /* shrink logo on mobile */
  }

  nav.pill-nav .nav-container {
    gap: 60px;
  }

  nav.pill-nav .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: clamp(20px, 8vw, 30px) 0;
  }

  h1 {
    font-size: clamp(32px, 6vw, 60px);
  }

  h2 {
    font-size: clamp(24px, 4vw, 36px);
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-image-wrap img {
    height: 240px;
  }

  .modal-body {
    padding: 24px;
  }

  .modal-title {
    font-size: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  nav.pill-nav {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.265);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) var(--spacing-md);
  }
  .logo-img {
    height: 40px !important;
  }
  .container {
    padding: 0 var(--spacing-sm);
  }

  .cards-row,
  .portfolio-grid,
  .products-grid {
    gap: var(--spacing-md);
  }

  .card-body {
    padding: var(--spacing-md);
  }

  .testimonials-grid {
    gap: var(--spacing-md);
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .footer-container {
    gap: var(--spacing-lg);
  }

  .process-steps {
    gap: var(--spacing-lg);
  }

  h1 {
    font-size: clamp(28px, 5vw, 44px);
  }

  h2 {
    font-size: clamp(20px, 3vw, 28px);
  }
}

/* 22. ACCESSIBILITY & COLOR CONTRAST */

/* Ensure 4.5:1 contrast ratio on all text */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--color-blush);
  outline-offset: 2px;
}

/* Ensure 44x44px tap targets */
/* button, a.btn, select {
  min-height: 44px;
  min-width: 44px;
  max-width: 300px;
} */

/* 23. UTILITY CLASSES */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--color-teal);
}

.text-grey {
  color: var(--color-grey);
}

.text-blush {
  color: var(--color-blush);
}

.bg-white {
  background: var(--color-white);
}

.bg-off-white {
  background: var(--color-off-white);
}

.bg-teal {
  background: var(--color-teal);
}

.bg-black {
  background: var(--color-black);
}

/* 24. HOME HERO TEXT */

.hero__text {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__static {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2vw, 18px);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0px;
  display: block;
}

/* 25. SCROLL ANIMATIONS */

.anim {
  opacity: 0;
  transition:
    opacity 1.4s ease,
    transform 1.4s ease;
}

.anim--slide-left {
  transform: translateX(-60px);
}

.anim--slide-right {
  transform: translateX(60px);
}

.anim--fade-up {
  transform: translateY(48px);
}

.anim--scale-up {
  transform: scale(0.93);
  opacity: 0;
}

.anim--visible {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) scale(1) !important;
}

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

/* ══ PAGE HERO ══ */
.page-hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 24px;
  margin-top: 80px;
}

.page-hero__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  font-style: normal;
  color: #ffffff;
  line-height: 1;
  margin: 0;
}

.page-hero__title em {
  font-style: italic;
  color: #ffffff;
}

/* ══ BRAND STORY ══ */
.about-story {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
  width: 100%;
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story__image {
  position: relative;
}

.about-story__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.about-story__tag {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 20px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-story__tag span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-main);
}

.about-story__tag span:last-child {
  color: var(--color-text-muted);
}

.about-story__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 35px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 8px;
}

.about-story__text h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-story__text p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-story__quote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-top: 32px;
}

.about-story__quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ══ VALUES ══ */
.about-values {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-values__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-values__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.about-values__header h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-values__header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: 6px;
  border-top: 3px solid var(--accent);
}

.value-card__icon {
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.value-card p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ══ TEAM ══ */
/* .about-team {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-team__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-team__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.about-team__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.about-team__header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #8C92AC;
  line-height: 1.9;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 4px;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.team-card__info {
  padding: 24px;
}

.team-card__info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.team-card__role {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #256d1b;
  margin-bottom: 12px;
}

.team-card__info p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: #8C92AC;
  line-height: 1.8;
} */

/* ══ TEAM SECTION (Responsive + Native Swipe) ══ */
.about-team {
  padding: clamp(80px, 10vw, 120px) 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-team__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-team__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.about-team__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.about-team__header p {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  color: #8c92ac;
  line-height: 1.9;
}

/* ── DESKTOP GRID ── */
.team-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── TEAM CARD STYLING ── */
.team-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px; /* Softened edges for luxury feel */
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.team-card__image {
  width: 100%;
  aspect-ratio: 4/3; /* Perfect portrait ratio */
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

/* Subtle image zoom on card hover */
.team-card:hover .team-card__image img {
  transform: scale(1.05);
}

.team-card__info {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card__role {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #256d1b;
  margin-bottom: 8px;
}

.team-card__info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.team-card__info p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.8;
  margin: 0;
}

/* ── TABLET RESPONSIVENESS (Show 2 Cards + Swipe) ── */
@media (max-width: 1024px) {
  .team-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 32px; /* Room for shadow to not get cut off */

    /* Hide ugly scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .team-carousel::-webkit-scrollbar {
    display: none;
  }

  .team-card {
    min-width: calc(50% - 12px);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* ── MOBILE RESPONSIVENESS (Show 1 Card + Peeping Next) ── */
@media (max-width: 767px) {
  .team-carousel {
    padding: 0 5% 32px 5%; /* Adds offset so the next card peeps */
    gap: 16px;
  }

  .team-card {
    max-width: 85vw; /* Forces card to 85% of screen, leaving 15% for peeping */
    scroll-snap-align: center; /* Snaps to the center of the screen */
  }
}

/* ══ PROCESS SIMPLIFIED ══ */
.about-process {
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-process__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-process__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
}

.about-process__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.about-process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
}

.process-step__number {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: #256d1b;
  line-height: 1;
  margin-bottom: 12px;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.process-step__desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: #8c92ac;
  line-height: 1.8;
}

.process-step__divider {
  width: 1px;
  height: 120px;
  background: #eeeeee;
  margin-top: 16px;
  flex-shrink: 0;
}

/* ══ AWARDS ══ */
.about-awards {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-awards__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-awards__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
}

.about-awards__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.about-awards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.award-item {
  padding: 32px 24px;
  border-left: 2px solid #eeeeee;
  transition: border-color 0.3s ease;
}

.award-item:hover {
  border-color: #256d1b;
}

.award-item__year {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  color: #256d1b;
  margin-bottom: 8px;
}

.award-item h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.award-item p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: #8c92ac;
  line-height: 1.8;
}

/* ══ TESTIMONIALS ══
.about-testimonials {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-testimonials__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.about-testimonials__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1A1A1A;
}

.about-testimonials__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.about-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 36px 32px;
  border-radius: 4px;
  border-left: 3px solid #256d1b;
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
}

.testimonial-card__role {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: #8C92AC;
  letter-spacing: 1px;
} */

/* ══ RESPONSIVE ══ */
@media (max-width: 1023px) {
  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-awards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-process__steps {
    flex-wrap: wrap;
    gap: 32px;
  }

  .process-step__divider {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(50% - 16px);
  }
  .about-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-story__inner {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    height: 60vh;
  }

  .about-story {
    padding: 80px 24px 100px;
  }

  .about-story__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-story__tag {
    bottom: -16px;
    right: 16px;
  }

  .about-values {
    padding: 80px 24px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-team__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-process__steps {
    flex-direction: column;
    gap: 0;
  }

  .process-step {
    padding: 24px 0;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
    flex: none;
  }

  .process-step__divider {
    display: none;
  }

  .about-awards__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .about-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-team {
    padding: 80px 24px;
  }

  .about-awards {
    padding: 80px 24px;
  }

  .about-testimonials {
    padding: 80px 24px;
  }

  .about-process {
    padding: 80px 24px;
  }
}

/* ══ PORTFOLIO ══ */
.portfolio {
  padding: 100px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.portfolio__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.portfolio__header h2 em {
  font-style: italic;
  color: #256d1b;
}

.portfolio__header p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ══ PORTFOLIO CARD ══ */
.portfolio-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.portfolio-card__image {
  overflow: hidden;
}

.portfolio-card__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.04);
}

.portfolio-card__info {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-card__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.portfolio-card__location {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8c92ac;
}

.portfolio-card__cta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #256d1b;
  white-space: nowrap;
  border-bottom: 1px solid #256d1b;
  padding-bottom: 2px;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.portfolio-card:hover .portfolio-card__cta {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* ══ MODAL ══ */
.portfolio-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
}

.portfolio-modal.active {
  display: flex;
}

.portfolio-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(4px);
}

.portfolio-modal__box {
  width: 100%;
  max-width: 600px;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-teal);
  padding: 24px 24px 24px;
}

.portfolio-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease;
  color: black;
}

.portfolio-modal__close:hover {
  background: #ffffffa5;
}

.portfolio-modal__image {
  overflow: hidden;
  flex-shrink: 0;
}

.portfolio-modal__image img {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
  display: block;
  height: auto;
  border-radius: 12px;
}

.portfolio-modal__image .interior-img {
  aspect-ratio: 4/3;
}

.portfolio-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding-top: 16px;
}

.portfolio-modal__location {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #256d1b;
  margin-bottom: 12px;
}

.portfolio-modal__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
}

.portfolio-modal__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black);
  line-height: 1.9;
  margin-bottom: 12px;
}

.portfolio-modal__price {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.portfolio-modal__cta {
  flex-shrink: 0;
  align-self: center;
  font-size: 11px;
  padding: 10px 18px;
  white-space: nowrap;
  border-radius: 8px;
}
.portfolio-modal__divider {
  width: 100%;
  height: 1px;
  background: #000000;
  margin: 4px 0;
}

.portfolio-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
}

.portfolio-modal__header-left {
  flex: 1;
}

.portfolio-modal__cta {
  flex-shrink: 0;
  align-self: center;
  font-size: 11px;
  padding: 10px 18px;
  white-space: nowrap;
}

.portfolio-modal__cta-mobile {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  border-radius: 8px;
  z-index: 1000;
}
/* ══ RESPONSIVE ══ */
@media (max-width: 1023px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .portfolio-modal__cta {
    display: none;
  }

  /* Show bottom CTA on mobile */
  .portfolio-modal__cta-mobile {
    display: block;
    z-index: 1000;
  }
}

@media (max-width: 767px) {
  .portfolio {
    padding: 60px 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-modal__box {
    max-height: 85vh;
    overflow-y: auto;
    padding: 12px 12px 12px;
  }

  .portfolio-modal__image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/4;
    height: auto;
  }
}

.portfolio-grid--top .card-img-wrap {
  object-position: top;
  aspect-ratio: 1/1;
}

.portfolio-grid--top .portfolio-modal__image img {
  aspect-ratio: 1/1;
  object-position: top;
}

/* ================================================
   EDEN AVENUE - ABOUT PAGE (PREMIUM MODULES)
   ================================================ */

/* 1. OUR VALUES — THE STICKY STACK ENGINE */
.values-scroll-container {
  background-color: #2c392b;
  color: var(--color-white);
  position: relative;
  /* Ensure parent doesn't hide overflow, otherwise sticky breaks */
  overflow: visible;
}
.values-header {
  text-align: center;
  position: sticky;
  position: sticky;
  top: 90px; /* Sits perfectly below your floating pill nav */
  z-index: 30; /* Forces it to stay above all the sliding cards */
  padding: 48px 24px 60px 24px;
}
.values-inner {
  position: relative;
}

.values-panel {
  position: sticky;
  top: 0;
  height: 100dvh; /* Dynamic Viewport Height prevents mobile jump glitch */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background-color: #2c392b; /* Overwrites the previous card */
  /* Deep shadow to create depth when the next card slides over */
  box-shadow: 0 -20px 50px rgba(40, 39, 39, 0.6);
  overflow: hidden;
}

/* The Glass Card Flair */
.values-panel__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  border: 1px solid rgb(255, 255, 255); /* Razor-thin luxury border */
  border-radius: 16px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 8vw, 60px);
  text-align: center;
}

/* Background Watermark Text */
.values-panel__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(100px, 20vw, 300px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

.values-panel__number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 6vw, 60px);
  color: var(--color-teal);
  margin-bottom: 16px;
  line-height: 1;
}

.values-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-white);
  margin-bottom: 16px;
}

.values-panel__description {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* ══ THE PRO PIVOT: MOBILE VALUES SWIPE ══ */
@media (max-width: 767px) {
  /* 1. Un-stick the header so it scrolls normally */
  .values-header {
    position: relative !important;
    top: auto !important;
    padding: 60px 24px 40px !important;
    background: #2c392b !important;
    z-index: 1 !important;
  }

  /* 2. Turn the container into a native swipe track */
  .values-inner {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 0 5% 60px 5% !important; /* Peeping effect offset */
    height: auto !important;
    min-height: auto !important;
    margin-top: 0 !important;

    /* Hide ugly scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .values-inner::-webkit-scrollbar {
    display: none;
  }

  /* 3. Strip the sticky physics and build mobile cards */
  .values-panel {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 420px !important;
    min-width: 85vw !important;
    scroll-snap-align: center !important;
    padding: 0px 4px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* 4. Resize the watermark text so it fits the smaller card */
  .values-panel__bg-text {
    font-size: 80px !important;
  }

  /* 5. Ensure the inner content box fills the new card */
  .values-panel__content {
    padding: 32px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* 2. TEAM & TESTIMONIALS — NATIVE HORIZONTAL SCROLL */
.testimonial-quote {
  background: var(--color-white);
  padding: clamp(30px, 5vw, 40px);
  border-radius: 12px;
  border-left: 4px solid var(--color-teal);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.team-carousel,
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Hide your manual slider controls, we are using native swipe */
.testimonials-controls {
  display: none;
}

@media (max-width: 1024px) {
  /* Tablet: Show 2, enable swipe */
  .team-carousel,
  .testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 24px; /* Room for shadow/scrollbar */
    scrollbar-width: none; /* Firefox */
  }
  .team-carousel::-webkit-scrollbar,
  .testimonials-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .team-card,
  .testimonial-quote {
    min-width: calc(50% - 12px);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  /* Mobile: Peeping effect */
  .team-carousel,
  .testimonials-container {
    padding: 0 5%; /* Offset to allow peeping */
  }
  .team-card,
  .testimonial-quote {
    min-width: 85%; /* Leaves 15% of screen for next card */
    scroll-snap-align: center;
  }
}

/* 3. HOW WE WORK — ARCHITECTURAL TIMELINE */
.roadmap-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  overflow-x: auto;
}

.roadmap-svg {
  display: none; /* Kill the hardcoded SVG */
}

/* The Blueprint Center Line */
.roadmap-stops::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(37, 109, 27, 0.3);
  transform: translateX(-50%);
}

.roadmap-stop {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  margin-bottom: 60px;
}

.roadmap-stop:nth-child(even) {
  align-self: flex-end;
  margin-left: auto;
  justify-content: flex-start;
}

.roadmap-stop__circle {
  position: absolute;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--color-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(37, 109, 27, 0.15);
  z-index: 2;
}

.roadmap-stop:nth-child(even) .roadmap-stop__circle {
  left: -6px;
  right: auto;
}

.roadmap-label {
  width: 100%;
  padding: 0 20px;
}

.roadmap-label__number {
  font-size: 24px;
  font-family: var(--font-sans);
  font-weight: 400;
}

/* Timeline Mobile Override */
@media (max-width: 767px) {
  .roadmap-stops::before {
    left: 20px;
  }
  .roadmap-stop {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 40px;
  }
  .roadmap-stop:nth-child(even) {
    margin-left: 0;
  }
  .roadmap-stop__circle {
    left: 14px !important;
  }
  .roadmap-label {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
}
.roadmap-image {
  margin-bottom: 8px;
}

/* 4. AWARDS / STATS — SHARP GLASSMORPHISM */
.awards-section {
  /* Subtle dark architectural background to make the glass pop */
  background-image: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax feel */
  position: relative;
}

.awards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.9); /* Heavy dark overlay */
  z-index: 1;
}

.about-awards__inner {
  position: relative;
  z-index: 2;
}

.awards-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.award-milestone {
  /* The Glass Engine */
  background: rgba(195, 195, 195, 0.096);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-teal);
  border-radius: 8px;
  padding: 40px 32px;
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease;
}

.award-milestone:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 109, 27, 0.4); /* Subtle green glow on hover */
}

.award-year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  color: var(--color-black);
  margin-bottom: 16px;
  line-height: 1;
}

.award-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.award-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black);
  line-height: 1.8;
}

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

@media (max-width: 767px) {
  .awards-timeline {
    grid-template-columns: 1fr;
  }
}

.grid-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-grey);
}

/* Hide on Desktop */
.mobile-swipe-cue {
  display: none;
}

/* Mobile Execution */
@media (max-width: 768px) {
  .mobile-swipe-cue {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns it to the right side where they need to scroll */
    gap: 8px;
    padding: 0 20px 24px; /* Matches your container padding */
    color: rgba(255, 255, 255, 0.6); /* Muted, premium text color */
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .mobile-swipe-cue svg {
    width: 16px;
    height: 16px;
    /* The subtle nudge animation */
    animation: swipeNudge 2s ease-in-out infinite;
  }
}

/* The Keyframes */
@keyframes swipeNudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
  padding-block: 5rem;
  background: var(--bg); /* Assuming you are still using your root variables */
  position: relative;
  z-index: 1;
}

/* The Grid System */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* The Card Frame */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: all var(--transition);
  cursor: pointer;
  background: rgba(195, 195, 195, 0.096);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-teal);
  border-radius: 8px;
  padding: 32px;
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 109, 27, 0.4); /* Subtle green glow on hover */
}

/* The Logo Wrapper (Locks aspect ratio constraints) */
.partner-logo-wrapper {
  height: 60px; /* Forces all logos to behave within the same height */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* The Grayscale Magic */
.partner-logo {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%) opacity(100%);
}

/* The Brand Name Text */
.partner-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  margin-bottom: 0px;
  text-align: center;
}

.partner-card:hover .partner-name {
  color: var(--text);
}

/* ==========================================================
   EDEN AVENUE: PROPOSAL DOCUMENT & FLOATING BTN
   ========================================================== */

.minimal-nav {
  padding: 1rem 2rem; /* Shrunk the padding to save vertical space */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* The Back Button */
.nav-back-btn {
  display: flex;
  text-decoration: none;
  color: #555555;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  width: 20px; /* Fixed width to balance the layout */
}

.nav-back-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-back-btn:hover {
  color: #256d1b; /* Flashes brand green */
}

.nav-back-btn:hover svg {
  transform: translateX(-4px); /* Arrow subtly slides left on hover */
}

/* The Title */
.minimal-nav .nav-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #1a1a1a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* The Invisible Spacer */
.nav-spacer {
  width: 80px; /* Must match the width of .nav-back-btn exactly */
}

@media (max-width: 768px) {
  .minimal-nav {
    padding: 1rem;
    position: sticky;
  }
  .minimal-nav .nav-title {
    font-size: 1rem;
  }
}

.minimal-nav .logo-img {
  height: 35px;
  width: auto;
}

.minimal-nav .nav-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  align-content: center;
  margin-right: auto;
  margin-left: auto;
}

/* Document Wrapper and Background */
.proposal-wrapper {
  background-color: #f9f9f9;
  padding: 40px 24px;
  font-family: var(--font-sans);
  min-height: 100vh;
}

.proposal-document {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 5rem 2rem;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

/* Typography & Headings */
.proposal-header {
  justify-items: center;
  border-bottom: 1px solid #eaeaea;
}

.proposal-header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.proposal-header p {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #256d1b;
  font-weight: 700;
  font-size: 0.9rem;
}

.proposal-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.proposal-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 3px;
  background-color: #256d1b;
}

.proposal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300;
  color: #1a1a1a;
}

/* Pricing Grid */
.pricing-block {
  background: #e0dfdf80;
  border: 1px solid #eaeaea;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin: 0;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #eaeaea;
  color: #1a1a1a;
  font-weight: 300;
}

.pricing-list li span:last-child {
  font-weight: 700;
  color: #1a1a1a;
}

/* Lists */
.doc-list {
  padding-left: 1rem;
  color: #1a1a1a;
  line-height: 1.8;
}

.doc-list li {
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.doc-list strong {
  color: #1a1a1a;
}

/* The Floating PDF Button */
.floating-pdf-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #256d1b; /* brand green */
  color: #ffffff !important;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(37, 109, 27, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  z-index: 1000;
}

.floating-pdf-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(37, 109, 27, 0.45);
}

.floating-pdf-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* .proposal-document { padding: 3rem 1.5rem; } */
  .proposal-header h1 {
    font-size: 2.2rem;
  }
  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .floating-pdf-btn {
    bottom: 25px;
    right: 25px;
    padding: 0.8rem 1.4rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 500px) {
  .proposal-document {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff00;
    padding: 0rem 0rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0);
    color: #1a1a1a;
  }
}

/* ==========================================================
   EDEN AVENUE: PROPOSAL CTA BUTTON (HOME PAGE)
   ========================================================== */

.proposal-cta-wrapper {
  text-align: center;
  margin-top: 2rem;
  padding: 0px 24px;
  width: 100%;
}

.btn-proposal-link {
  align-content: space-between;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 4rem;
  background-color: transparent;
  color: #1a1a1a; /* Dark text */
  border: 1px solid #1a1a1a; /* Crisp dark border */
  border-radius: 50px; /* High-end pill shape */
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 500px) {
  .btn-proposal-link {
    font-size: 0.7rem;
    padding: 1rem 2rem;
  }
}

.btn-proposal-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* The Luxury Hover Reveal */
.btn-proposal-link:hover {
  background-color: #256d1b; /* brand green */
  color: #ffffff;
  border-color: #256d1b;
  box-shadow: 0 10px 20px rgba(37, 109, 27, 0.2);
}

.btn-proposal-link:hover svg {
  transform: translateX(5px); /* Arrow subtly pushes forward */
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile so it doesn't get too long */
    gap: 1rem;
  }

  .partner-card {
    padding: 1.5rem 1rem;
  }

  .partner-logo-wrapper {
    height: 45px;
  }

  .partner-name {
    font-size: 0.75rem;
  }
}

/* ==========================================================
   NSGTECH 2026 NAVIGATION & BRAND REFINEMENT
   Kept at the end to replace legacy pill-nav breakpoint rules.
   ========================================================== */

nav.pill-nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  width: 100%;
  height: var(--header-height);
  padding: 0;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    height var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

nav.pill-nav.scrolled,
nav.pill-nav.menu-active {
  height: 72px;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid rgba(37, 109, 27, 0.14);
  border-radius: 0;
  box-shadow: 0 10px 32px rgba(26, 26, 26, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

nav.pill-nav .nav-container {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
}

nav.pill-nav .logo {
  justify-self: start;
  min-width: 0;
}

nav.pill-nav .logo a {
  display: inline-flex;
  align-items: center;
}

nav.pill-nav .logo-img,
nav.pill-nav.scrolled .logo-img {
  height: 52px;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: auto;
  filter: none;
  transition:
    width var(--transition-base),
    height var(--transition-base);
}

nav.pill-nav.scrolled .logo-img {
  height: 46px;
}

nav.pill-nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.25vw, 36px);
  margin: 0;
  padding: 0;
}

nav.pill-nav .nav-links a {
  display: block;
  padding: 30px 0 27px;
  color: var(--color-background);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

nav.pill-nav.scrolled .nav-links a {
  padding-block: 25px 22px;
  color: var(--color-secondary);
}

nav.pill-nav .nav-links a::after {
  height: 3px;
  background: var(--color-primary);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-cta,
.mobile-menu .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  color: var(--color-background);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-cta:hover {
  color: var(--color-secondary);
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.hamburger {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  background: var(--color-background);
  transform-origin: center;
}

nav.pill-nav.scrolled .hamburger span {
  background: var(--color-secondary);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  z-index: 999;
  inset: 0;
  padding: 104px 24px 32px;
  background: var(--color-background);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  width: 100%;
  padding: 18px 4px;
  color: var(--color-secondary);
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-primary);
}

.mobile-menu a.active::before {
  display: none;
}

.mobile-menu .nav-cta {
  width: 100%;
  margin-top: 24px;
  padding: 17px 20px;
  color: var(--color-background);
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

/* Crisp button language for the refreshed solar brand. */
.btn,
.btn-pill,
.btn-teal,
.cta-banner__btn,
.btn-proposal-link,
.floating-pdf-btn {
  border-radius: 0;
}

.btn-primary,
.btn-teal {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.cta-banner {
  background: var(--color-surface);
}

.cta-banner__inner {
  background: var(--color-primary);
}

.cta-banner__btn--solid {
  color: var(--color-primary);
}

.section-eyebrow,
em {
  color: var(--color-primary);
}

@media (max-width: 1040px) {
  nav.pill-nav .nav-container {
    grid-template-columns: 1fr auto;
  }

  nav.pill-nav .nav-links,
  nav.pill-nav .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  nav.pill-nav,
  nav.pill-nav.scrolled,
  nav.pill-nav.menu-active {
    width: 100%;
    height: 72px;
  }

  nav.pill-nav .nav-container {
    width: min(calc(100% - 32px), var(--container));
    gap: 16px;
  }

  nav.pill-nav .logo-img,
  nav.pill-nav.scrolled .logo-img {
    width: 158px;
    height: 45px !important;
  }
}

@media (max-width: 360px) {
  nav.pill-nav .nav-container {
    width: calc(100% - 24px);
  }

  nav.pill-nav .logo-img,
  nav.pill-nav.scrolled .logo-img {
    width: 138px;
  }
}

/* ==========================================================
   STATIC HOME HERO
   ========================================================== */

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  max-width: 950px;
  margin: 12px auto 20px;
  color: var(--color-background);
  font-size: clamp(32px, 5vw, 56px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
  font-family: var(--font-serif);
}

.hero__subcopy {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.6vw, 20px);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  color: var(--color-secondary);
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 0;
  font-weight: 750;
}

.hero__cta:hover {
  color: var(--color-background);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================
   SOLAR CONTENT PAGES
   ========================================================== */

.inner-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  padding: calc(var(--header-height) + 110px) 24px 100px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* .inner-page-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -38% 38%;
  height: 72%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 11%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 22%
    ),
    #153d62;
  border: 8px solid rgba(255, 255, 255, 0.2);
  transform: perspective(700px) rotateX(58deg) rotateZ(-12deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
} */

.inner-page-hero--academy {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.597);
  z-index: 1;
}
.inner-page-hero--projects {
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(37, 109, 27, 0.85) 0 8%,
      rgba(37, 109, 27, 0.16) 9% 21%,
      transparent 22%
    ),
    linear-gradient(135deg, #143b58 0%, #1d5f4b 55%, var(--color-primary) 100%);
}

.inner-page-hero--resources {
  background:
    radial-gradient(
      circle at 83% 20%,
      rgba(37, 109, 27, 0.9) 0 8%,
      rgba(37, 109, 27, 0.16) 9% 21%,
      transparent 22%
    ),
    linear-gradient(135deg, #20331e 0%, #426b28 55%, #7a8d2c 100%);
}

.inner-page-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin-inline: auto;
}

.inner-page-hero .section-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.inner-page-hero h1 {
  max-width: 880px;
  margin: 14px 0 24px;
  color: var(--color-background);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-family: var(--font-serif);
}

.inner-page-hero p {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.8vw, 21px);
}

.inner-page-hero .btn-primary {
  color: var(--color-secondary);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.inner-page-hero .btn-primary:hover {
  color: var(--color-background);
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.65);
}

.solar-section {
  padding: clamp(72px, 9vw, 100px) 24px;
  background: var(--color-background);
}

.solar-section__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.solar-section__heading {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.solar-section__heading h2,
.project-standard h2,
.academy-benefits h2,
.resource-checklist h2 {
  margin: 10px 0 10px;
  color: var(--color-secondary);
  font-size: clamp(24px, 6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.solar-section__heading p {
  color: var(--color-text-light);
  font-size: 16px;
}

.solar-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(26, 26, 26, 0.14);
  border-left: 1px solid rgba(26, 26, 26, 0.14);
}

.solar-card {
  min-height: 390px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--color-background);
  border-right: 1px solid rgba(26, 26, 26, 0.14);
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.solar-card:hover {
  background: var(--color-surface);
}

.solar-card__number {
  display: block;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-weight: 750;
}

.solar-card h3,
.academy-card h3,
.project-card h3,
.resource-card h3 {
  margin-bottom: 14px;
  color: var(--color-secondary);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
}

.solar-card p {
  color: var(--color-text-light);
}

.solar-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.solar-card li::before {
  content: "—";
  margin-right: 10px;
  color: var(--color-accent);
}

.solar-process,
.project-standard,
.academy-benefits,
.resource-checklist {
  padding: clamp(72px, 9vw, 120px) 24px;
  background: var(--color-surface);
}

.solar-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(26, 26, 26, 0.14);
}

.solar-process__grid > div {
  padding: 36px 28px;
  background: var(--color-background);
}

.solar-process__grid strong {
  display: block;
  margin-bottom: 48px;
  color: var(--color-primary);
}

.solar-process__grid h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.solar-process__grid p {
  margin: 0;
  color: var(--color-text-light);
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.academy-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: clamp(28px, 3vw, 42px);
  color: var(--color-background);
  background: var(--color-secondary);
  border-top: 6px solid var(--color-accent);
}

.academy-card > span,
.project-card span,
.resource-card > span {
  display: block;
  margin-bottom: 48px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.academy-card h3 {
  color: var(--color-background);
}

.academy-card p {
  color: rgba(255, 255, 255, 0.68);
}

.academy-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.academy-card__meta strong {
  padding: 8px 10px;
  color: var(--color-background);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
}

.academy-benefits__inner,
.project-standard__inner,
.resource-checklist__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 120px);
}

.academy-benefits__list {
  display: grid;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
}

.academy-benefits__list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}

.academy-benefits__list strong {
  color: var(--color-primary);
}

.academy-benefits__list h3 {
  margin-bottom: 6px;
}

.academy-benefits__list p {
  margin: 0;
  color: var(--color-text-light);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(280px, auto));
  gap: 20px;
}

.project-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  color: var(--color-background);
  background: linear-gradient(145deg, #173d14, var(--color-primary));
}

.project-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 250px;
  height: 250px;
  border: 45px solid rgba(37, 109, 27, 0.3);
  border-radius: 50%;
}

.project-card--home {
  grid-row: 1 / 3;
}

.project-card--business {
  background: linear-gradient(145deg, #17364e, #1f6957);
}

.project-card--storage {
  background: linear-gradient(145deg, var(--color-secondary), #424242);
}

.project-card > div {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.project-card h3 {
  color: var(--color-background);
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.project-standard__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(26, 26, 26, 0.14);
}

.project-standard__list article {
  padding: 30px;
  background: var(--color-background);
}

.project-standard__list h3 {
  margin-bottom: 8px;
}

.project-standard__list p {
  margin: 0;
  color: var(--color-text-light);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--color-surface);
  border-top: 5px solid var(--color-primary);
}

.resource-card p {
  color: var(--color-text-light);
}

.resource-card a {
  margin-top: auto;
  font-weight: 700;
}

.resource-card--accent {
  background: var(--color-accent);
  border-color: var(--color-secondary);
}

.resource-card--accent > span,
.resource-card--accent a {
  color: var(--color-secondary);
}

/* Resources — data-driven article library */
/* .resource-library {
  padding-top: calc(var(--header-height) + clamp(64px, 8vw, 108px));
} */

.resource-library .solar-section__heading {
  margin-bottom: clamp(40px, 5vw, 64px);
  margin-top: clamp(24px, 5vw, 48px);
}

.resource-grid {
  align-items: stretch;
  gap: 24px;
}

.resource-grid__status {
  grid-column: 1 / -1;
  padding: 32px 0;
  color: var(--color-text-muted);
}

.resource-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  padding: clamp(16px, 2.5vw, 24px);
  flex-direction: column;
  color: var(--color-text-main);
  border: 1px solid #dedfdc;
  border-top: 1px solid #dedfdc;
  border-radius: 0;
  background: var(--color-background);
  box-shadow: none;
  cursor: pointer;
  animation: resource-card-in 420ms ease both;
  animation-delay: calc(var(--resource-index, 0) * 55ms);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.resource-card:hover {
  border-color: var(--color-secondary);
  background: #fbfcfa;
  transform: translateY(-4px);
}

.resource-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.resource-card__topline {
  display: flex;
  margin-bottom: clamp(18px, 4vw, 24px);
  align-items: center;
}

.resource-card__category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.resource-card__category {
  color: var(--color-accent);
}

.resource-card h3 {
  margin: 0 0 18px;
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 24px, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.resource-card p {
  margin: 0 0 16px;
  color: #626862;
  font-size: 0.95rem;
  line-height: 1.65;
}

.resource-card__footer {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e6e3;
  color: #969b96;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.resource-card__footer span {
  color: #969b96;
}

@keyframes resource-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.resource-reader-open {
  overflow: hidden;
}

.resource-reader[hidden] {
  display: none;
}

.resource-reader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  padding: 5vh clamp(16px, 4vw, 56px);
  place-items: center;
}

.resource-reader__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 15, 12, 0.84);
  backdrop-filter: blur(2px);
}

.resource-reader__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 900px);
  height: 90vh;
  max-height: 90svh;
  min-height: 0;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--color-primary) #eceeeb;
  scrollbar-width: thin;
  color: var(--color-text-main);
  border: 1px solid var(--color-secondary);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  animation: resource-reader-in 220ms ease both;
}

.resource-reader__progress {
  position: sticky;
  z-index: 4;
  top: 0;
  width: 100%;
  height: 4px;
  flex: 0 0 4px;
  overflow: hidden;
  background: #dfe2dd;
}

.resource-reader__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-primary);
  transition: width 100ms linear;
}

.resource-reader__close {
  position: sticky;
  z-index: 5;
  top: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 14px 18px -52px auto;
  flex: 0 0 38px;
  padding: 0;
  color: #fff;
  border: 1px solid var(--color-secondary);
  border-radius: 0;
  background: var(--color-secondary);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  place-items: center;
  transition: background-color 160ms ease;
}

.resource-reader__close:hover,
.resource-reader__close:focus-visible {
  background: var(--color-primary);
}

.resource-reader__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.resource-reader__header {
  flex: 0 0 auto;
  padding: clamp(34px, 5vw, 58px) clamp(28px, 7vw, 80px) clamp(24px, 4vw, 38px);
  border-bottom: 1px solid #dedfdc;
}

.resource-reader__meta {
  display: flex;
  gap: 18px;
  margin-bottom: clamp(24px, 4vw, 38px);
  padding-right: 52px;
  align-items: center;
  justify-content: space-between;
  color: #777d77;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-reader__category {
  color: var(--color-primary);
}

.resource-reader h2 {
  margin: 0 0 18px;
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.resource-reader__header time {
  color: #969b96;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.resource-reader__body {
  flex: 0 0 auto;
  padding: clamp(30px, 5vw, 56px) clamp(28px, 7vw, 80px) clamp(48px, 7vw, 80px);
}

.resource-reader__body:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -5px;
}

.resource-reader__body p,
.resource-reader__body li {
  color: #3f463f;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.75;
}

.resource-reader__body p {
  margin: 0 0 1.5em;
}

.resource-reader__body h3 {
  margin: 2.2em 0 0.7em;
  color: var(--color-secondary);
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.resource-reader__body h3:first-child {
  margin-top: 0;
}

.resource-reader__body ul {
  display: grid;
  gap: 12px;
  margin: 0 0 1.8em;
  padding: 0;
  list-style: none;
}

.resource-reader__body li {
  position: relative;
  padding-left: 26px;
}

.resource-reader__body li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 800;
}

@keyframes resource-reader-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .resource-card {
    min-height: 350px;
  }

  .resource-card__topline {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .resource-library {
    padding-top: calc(var(--header-height) + 52px);
  }

  .resource-card {
    min-height: 330px;
  }

  .resource-card__topline {
    margin-bottom: 24px;
  }

  .resource-reader {
    padding: 3vh 10px;
  }

  .resource-reader__dialog {
    height: 90vh;
    max-height: 90svh;
  }

  .resource-reader__close {
    top: 14px;
    width: 36px;
    height: 36px;
    margin: 10px 14px -46px auto;
    flex-basis: 36px;
  }

  .resource-reader__header {
    padding: 28px 20px 22px;
  }

  .resource-reader__meta {
    gap: 10px;
    margin-bottom: 24px;
    padding-right: 44px;
    align-items: flex-start;
  }

  .resource-reader h2 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .resource-reader__body {
    padding: 28px 20px 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-card,
  .resource-reader__dialog {
    animation: none;
  }

  .resource-card,
  .resource-reader__progress span {
    transition: none;
  }
}

.resource-checklist__inner ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: solar-list;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
}

.resource-checklist__inner li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 24px 54px;
  counter-increment: solar-list;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
  position: relative;
}

.resource-checklist__inner li::before {
  content: "0" counter(solar-list);
  position: absolute;
  color: var(--color-primary);
  font-weight: 750;
}

.resource-checklist__inner span {
  color: var(--color-text-light);
}

@media (max-width: 900px) {
  .solar-process__grid,
  .academy-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-benefits__inner,
  .project-standard__inner,
  .resource-checklist__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(42px, 9vw, 64px);
  }

  .hero__static {
    letter-spacing: 3px;
  }

  .inner-page-hero {
    min-height: 720px;
    padding: calc(var(--header-height) + 90px) 18px 70px;
  }

  .inner-page-hero::before {
    inset: auto -35% -28% 14%;
    height: 48%;
  }

  .inner-page-hero h1 {
    font-size: clamp(43px, 13vw, 65px);
  }

  .solar-section,
  .solar-process,
  .project-standard,
  .academy-benefits,
  .resource-checklist {
    padding: 64px 12px;
  }

  .solar-card-grid,
  .solar-process__grid,
  .academy-grid,
  .resource-grid,
  .project-standard__list {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-card--home {
    grid-row: auto;
  }

  .resource-checklist__inner li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

nav.pill-nav:not(.scrolled):not(.menu-active) .logo-img {
  filter: brightness(0) invert(1);
}

.contact-aside {
  display: grid;
  gap: 24px;
}

.contact-aside .contact-card,
#contactForm.contact-card {
  margin: 0;
  border-radius: 0;
}

.contact-steps,
.solar-card__checklist {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-steps li {
  display: grid;
  gap: 5px;
  padding: 20px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.contact-steps span {
  color: var(--color-text-light);
}

.solar-card__checklist li {
  padding: 13px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.solar-card__checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--color-primary);
  font-weight: 800;
}

.inner-page-hero--contact {
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(37, 109, 27, 0.9) 0 8%,
      rgba(37, 109, 27, 0.18) 9% 21%,
      transparent 22%
    ),
    linear-gradient(135deg, #122d26 0%, #1d5b36 56%, #537d20 100%);
}

/* End of stylesheet */

.impact-section {
  padding: 4.5rem 1.25rem;
  background: var(--color-secondary);
  color: var(--color-background);
}

.impact-container {
  width: min(1180px, 100%);
  margin-inline: auto;
  justify-content: center;
}

.impact-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.impact-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto;
}

.impact-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-background);
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.impact-item {
  min-height: 180px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    background-color 250ms ease,
    transform 250ms ease;
}

.impact-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.impact-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.impact-counter {
  display: inline-block;
  color: var(--color-background);
}

.impact-label {
  max-width: 190px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Desktop: all statistics in one row */
@media (min-width: 768px) {
  .impact-section {
    padding: 6rem 2rem;
  }

  .impact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .impact-item {
    min-height: 220px;
    padding: 2rem;
  }
}

/* Small mobile screens */
@media (max-width: 420px) {
  .impact-section {
    padding-inline: 1rem;
  }

  .impact-item {
    min-height: 165px;
    padding: 1.25rem 1rem;
  }

  .impact-label {
    font-size: 0.85rem;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .impact-item {
    transition: none;
  }
}

/* ========================================
   PROJECTS SHOWCASE
======================================== */

.projects-showcase {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 4rem);
}

.projects-showcase__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.projects-showcase__header > div {
  max-width: 860px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--color-primary, #256d1b);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-showcase__header h2 {
  margin: 0;
  color: var(--color-secondary, #1a1a1a);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.projects-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-secondary, #1a1a1a);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.projects-showcase__link span {
  transition: transform 250ms ease;
}

.projects-showcase__link:hover span,
.projects-showcase__link:focus-visible span {
  transform: translate3d(4px, -4px, 0);
}

/* ========================================
   BENTO GRID
======================================== */

.bento-grid {
  display: grid;

  /*
   * Three equal columns are required because
   * the children use grid lines 1 through 4.
   */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, 1fr));

  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  min-height: 680px;
}

/* Large tile occupying top-left two columns */
.bento-large {
  grid-column: 1 / 3;
  grid-row: 1;
}

/* Small tile occupying top-right */
.bento-small-tr {
  grid-column: 3;
  grid-row: 1;
}

/* Small tile occupying bottom-left */
.bento-small-bl {
  grid-column: 1;
  grid-row: 2;
}

/* Wide tile occupying bottom-right two columns */
.bento-large-br {
  grid-column: 2 / 4;
  grid-row: 2;
}

/* ========================================
   PROJECT TILE
======================================== */

.project-tile {
  position: relative;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--color-border, #e0e0e0);
  color: #ffffff;
  background: var(--color-secondary, #1a1a1a);
  text-decoration: none;
  isolation: isolate;
}

.project-tile::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";

  background: linear-gradient(
    180deg,
    rgba(10, 14, 10, 0.04) 20%,
    rgba(10, 14, 10, 0.82) 100%
  );

  transition: background 350ms ease;
}

.project-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";

  border: 1px solid transparent;
  pointer-events: none;

  transition:
    border-color 300ms ease,
    inset 300ms ease;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.001);
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 500ms ease;

  will-change: transform;
}

.project-tile__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;

  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.project-tile__content {
  min-width: 0;
}

.project-tile__category {
  display: block;
  margin-bottom: 0.65rem;

  color: var(--color-background);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-tile h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.project-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  line-height: 1.4;
}

.project-tile__arrow {
  display: grid;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;

  color: #ffffff;
  font-size: 1rem;

  transform: translate3d(0, 0, 0);
  transition:
    color 250ms ease,
    background-color 250ms ease,
    border-color 250ms ease,
    transform 250ms ease;
}

/* ========================================
   MECHANICAL HOVER EFFECT
======================================== */

.project-tile:hover img,
.project-tile:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.project-tile:hover::before,
.project-tile:focus-visible::before {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 10, 0.02) 10%,
    rgba(10, 14, 10, 0.9) 100%
  );
}

.project-tile:hover::after,
.project-tile:focus-visible::after {
  inset: 0.65rem;
  border-color: rgba(37, 109, 27, 0.75);
}

.project-tile:hover .project-tile__arrow,
.project-tile:focus-visible .project-tile__arrow {
  color: var(--color-secondary, #1a1a1a);
  background: var(--color-accent, #256d1b);
  border-color: var(--color-accent, #256d1b);
  transform: translate3d(3px, -3px, 0);
}

.project-tile:focus-visible,
.projects-showcase__link:focus-visible {
  outline: 3px solid rgba(37, 109, 27, 0.65);
  outline-offset: 4px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .projects-showcase {
    width: min(100% - 2rem, 760px);
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(260px, auto));
    min-height: auto;
  }

  .bento-large {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 420px;
  }

  .bento-small-tr {
    grid-column: 1;
    grid-row: 2;
  }

  .bento-small-bl {
    grid-column: 2;
    grid-row: 2;
  }

  .bento-large-br {
    grid-column: 1 / 3;
    grid-row: 3;
    min-height: 360px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
  .projects-showcase {
    width: min(100% - 1.25rem, 520px);
    padding-block: 4rem;
  }

  .projects-showcase__header {
    margin-bottom: 1.75rem;
  }

  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 0.8rem;
  }

  .bento-large,
  .bento-small-tr,
  .bento-small-bl,
  .bento-large-br {
    grid-column: 1;
    grid-row: auto;
    min-height: 330px;
  }

  .project-tile__overlay {
    padding: 1.25rem;
  }

  .project-tile__arrow {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
  }
}

/* ========================================
   SITE-WIDE ACCENT & HEADING ALIGNMENT
======================================== */

/* Keep section-level headings visually consistent without changing the
   alignment of card titles, navigation labels or long-form body copy. */
.inner-page-hero__content,
.solar-section__heading,
.section-title,
.impact-header,
.wwd__header,
.values-header,
.projects-showcase__header,
.about-process__header,
.portfolio__header {
  text-align: center;
}

.inner-page-hero h1,
.inner-page-hero p,
.solar-section__heading,
.projects-showcase__header > div {
  margin-inline: auto;
}

.projects-showcase__header {
  align-items: center;
}

.academy-benefits__inner > div:first-child,
.project-standard__inner > div:first-child,
.resource-checklist__inner > div:first-child,
.academy-benefits h2,
.project-standard h2,
.resource-checklist h2 {
  text-align: center;
}

/* Testimonials sit on a clean white canvas with dark, translucent cards. */
#testimonials {
  padding: clamp(50px, 9vw, 60px) 16px;
  background: var(--color-background);
  border-top-color: rgba(37, 109, 27, 0.16) !important;
}

#testimonials .testimonial-card {
  position: relative;
  overflow: hidden;
  color: var(--color-background);
  background: linear-gradient(
    145deg,
    rgba(36, 43, 36, 0.94),
    rgba(16, 20, 16, 0.9)
  );
  border: 1px solid rgba(37, 109, 27, 0.46);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow:
    0 18px 45px rgba(26, 26, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#testimonials .testimonial-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

#testimonials .testimonial-text,
#testimonials .testimonial-role {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

#testimonials .testimonial-author {
  position: relative;
  color: var(--color-primary);
}

#testimonials .testimonial-card:hover {
  background: linear-gradient(
    145deg,
    rgba(38, 48, 38, 0.96),
    rgba(16, 20, 16, 0.92)
  );
  border-color: rgba(37, 109, 27, 0.8);
  box-shadow:
    0 22px 52px rgba(26, 26, 26, 0.2),
    0 0 0 1px rgba(37, 109, 27, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Very small phones */
@media (max-width: 380px) {
  .bento-large,
  .bento-small-tr,
  .bento-small-bl,
  .bento-large-br {
    min-height: 290px;
  }

  .project-tile__overlay {
    align-items: flex-start;
  }

  .project-tile__arrow {
    display: none;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  .project-tile img,
  .project-tile::after,
  .project-tile__arrow,
  .projects-showcase__link span {
    transition: none;
  }

  .project-tile:hover img,
  .project-tile:focus-visible img {
    transform: none;
  }
}

/* ========================================
   HOME PAGE — COLOR BALANCE & LIGHT POLISH

   Primary green: actions, links, navigation and small UI details.
   Brand green: the single accent for CTAs, highlights and UI feedback.
   Secondary grey: headings and high-contrast sections.
======================================== */

.home-page {
  color: var(--color-text-main);
  background: var(--color-background);
}

.home-page .section-wrap,
.home-page .backstory,
.home-page .projects-showcase {
  background: var(--color-background);
}

.home-page .backstory__heading,
.home-page .wwd__header h2,
.home-page .wwd__text h3,
.home-page .projects-showcase__header h2 {
  color: var(--color-secondary);
}

.home-page .backstory__body,
.home-page .wwd__header p,
.home-page .wwd__text p,
.home-page .wwd__list li {
  color: var(--color-text-main);
}

.home-page .backstory__quote {
  padding: 18px 20px;
  border-left: 3px solid var(--color-accent);
  background: rgba(37, 109, 27, 0.08);
}

.home-page .backstory__quote blockquote {
  color: var(--color-secondary);
}

.home-page .impact-section{
  background-color: var(--color-secondary);
}

.home-page .impact-eyebrow,
.home-page .impact-counter,
.home-page .values-panel__number {
  color: var(--color-accent);
}

.home-page .impact-grid,
.home-page .impact-item {
  border-color: rgba(37, 109, 27, 0.22);
}

.home-page .impact-item:hover {
  background: rgba(37, 109, 27, 0.06);
}

.home-page .values-header em {
  color: var(--color-accent);
}

.home-page .what-we-do {
  background: var(--color-surface);
}

.home-page .wwd__split {
  border-color: rgba(26, 26, 26, 0.1);
}

.home-page .wwd__list li::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 109, 27, 0.1);
}

.home-page .btn-primary {
  color: var(--color-background);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-page .btn-primary:hover {
  color: var(--color-secondary);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.home-page .projects-showcase__link {
  color: var(--color-primary);
}

.home-page .projects-showcase__link span,
.home-page .project-tile__category {
  color: var(--color-accent);
}

/* A legacy bento module sets a fixed 600px height globally.
   Project tiles use responsive rows, so this grid must size naturally. */
.home-page .projects-showcase {
  height: auto;
}

.home-page #process-roadmap,
.home-page .cta-banner {
  background: var(--color-background);
}

.home-page .roadmap-stop__circle {
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(37, 109, 27, 0.14);
}

.home-page .roadmap-label__number {
  color: var(--color-accent);
}

.home-page .cta-banner__btn--solid {
  color: var(--color-secondary);
  background: var(--color-background);
  border-color: var(--color-accent);
}

.home-page .cta-banner__btn--solid:hover {
  color: var(--color-background);
  background: transparent;
  border-color: var(--color-background);
}

.home-page .cta-banner__btn--ghost:hover {
  color: var(--color-secondary);
  background: var(--color-background);
  border-color: var(--color-background);
}

.home-page footer {
  color: var(--color-background);
  background: var(--color-secondary);
}

.home-page footer .footer-content {
  border-top-color: rgba(37, 109, 27, 0.42);
}

.home-page footer .footer-section h4 {
  color: var(--color-background);
}

.home-page footer .footer-section a {
  color: rgba(255, 255, 255, 0.72);
}

.home-page footer .footer-section a:hover {
  color: var(--color-accent);
}

.home-page footer .footer-bottom,
.home-page footer .footer-bottom-text,
.home-page footer p {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* .home-page footer .logo-img {
  filter: brightness(0) invert(1);
} */

@media (max-width: 600px) {
  .home-page .projects-showcase {
    padding-bottom: 4.5rem;
  }

  .home-page .projects-showcase .bento-grid {
    height: auto;
    min-height: 0;
    align-content: start;
    overflow: visible;
  }
}

/* ========================================
   SHARED INNER-PAGE HERO

   Every public page except the homepage uses this component. Change the
   image per page with --hero-image and, when needed, --hero-position.
======================================== */

.site-page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--header-height) 24px 24px;
  place-items: center;
  overflow: hidden;
  background-color: var(--color-secondary);
  background-image: var(--hero-image);
  background-position: var(--hero-position, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.site-page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(3, 8, 12, 0.48); /* subtle overlay */
}

.site-page-hero__content {
  z-index: 1;
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.site-page-hero .section-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.site-page-hero h1 {
  max-width: 920px;
  margin: 14px auto 22px;
  color: var(--color-background);
  font-family: var(--font-serif);
  font-size: clamp(24px, 7vw, 54px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
  /* removed heavy text-shadow for clarity */
}

.site-page-hero p,
.site-page-hero .subtitle {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
  /* removed heavy text-shadow for clarity */
}

.site-page-hero .btn-primary {
  display: inline-flex;
  width: auto;
  min-height: 50px;
  padding: 13px 26px;
  color: var(--color-background);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.site-page-hero .btn-primary:hover {
  color: var(--color-background);
  background: transparent;
  border-color: var(--color-background);
}

@media (max-width: 600px) {
  .site-page-hero {
    padding-inline: 20px;
  }

  .site-page-hero h1 {
    font-size: clamp(24px, 9vw, 48px);
  }
}

/* ========================================
   ABOUT PAGE
======================================== */

.about-page {
  overflow: clip;
  background: var(--color-background);
}

.about-shell {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  justify-content: center;
  display: grid;
  align-items: center;
}

.about-page h2,
.about-page h3 {
  color: var(--color-secondary);
}

.about-page h2 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.about-page h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.about-page p {
  color: var(--color-text-light);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.75;
}

.about-page .section-eyebrow {
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: grid;
}

.about-section-heading {
  max-width: 820px;
  margin-bottom: clamp(1rem, 1vw, 2rem);
  align-items: center;
  justify-content: center;
  display: grid;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-evolution-title h2{
  color: var(--color-surface);
}

.about-section-heading h2 {
  margin-bottom: 1.25rem;
}

.about-section-heading > p {
  max-width: 680px;
}

.about-hero {
  --hero-position: center;
}

.about-hero::before {
  background: linear-gradient(rgba(7, 12, 8, 0.64), rgba(7, 12, 8, 0.72));
}

.about-hero__content {
  max-width: 1100px;
}

.about-hero h1 {
  max-width: 1050px;
  font-size: clamp(3rem, 6.6vw, 5rem);
}

.about-hero p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.86);
}

.about-story {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-story__media {
  position: relative;
  margin: 0;
}

.about-story__media::before {
  position: absolute;
  z-index: -1;
  top: -1.5rem;
  left: -1.5rem;
  width: 42%;
  height: 42%;
  content: "";
  border-top: 1px solid rgba(37, 109, 27, 0.5);
  border-left: 1px solid rgba(37, 109, 27, 0.5);
}

.about-story__media img {
  display: block;
  width: 100%;
  max-height: 790px;
  object-fit: cover;
  object-position: center;
}

.about-story__media figcaption,
.about-evolution__visual figcaption {
  margin-top: 0.9rem;
  color: var(--color-text-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-story__copy h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.about-story__copy p + p {
  margin-top: 1.15rem;
}

.about-story__copy .about-lead {
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.45;
}

.about-story__scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(26, 26, 26, 0.16);
}

.about-story__scope li {
  padding: 0.9rem 0;
  color: var(--color-secondary);
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-evolution {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--color-surface);
}

.about-evolution__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-evolution__visual {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.about-evolution__visual img {
  display: block;
  width: 100%;
  max-height: calc(100vh - var(--header-height) - 4rem);
  object-fit: cover;
}

.about-evolution__steps {
  counter-reset: evolution;
}

.about-evolution__step {
  display: grid;
  grid-template-columns: clamp(4rem, 8vw, 7.5rem) minmax(0, 1fr);
  min-height: clamp(20rem, 46vh, 31rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(26, 26, 26, 0.18);
}

.about-evolution__step:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.18);
}

.about-evolution__number {
  color: rgba(37, 109, 27, 0.28);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.9;
}

.about-evolution__label {
  margin-bottom: 0.8rem;
  color: var(--color-primary) !important;
  font-size: 0.7rem !important;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-evolution__step h3 {
  max-width: 540px;
  margin-bottom: 1rem;
}

.about-evolution__step p:last-child {
  max-width: 560px;
}

.about-philosophy {
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: var(--color-background);
  background: var(--color-secondary);
}

.about-philosophy .section-eyebrow {
  color: #8ac681;
}

.about-philosophy__heading h2 {
  color: var(--color-background);
}

.about-philosophy__heading p {
  color: rgba(255, 255, 255, 0.66);
}

.about-philosophy__image {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.about-philosophy__image img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.about-philosophy__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-philosophy__principles article {
  min-height: 310px;
  padding: clamp(1.75rem, 3vw, 3rem);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.about-philosophy__principles article:last-child {
  border-right: 0;
}

.about-philosophy__principles span {
  display: block;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: #8ac681;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-philosophy__principles h3 {
  margin-bottom: 1rem;
  color: var(--color-background);
}

.about-philosophy__principles p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.about-mission {
  padding: clamp(6rem, 13vw, 12rem) 0;
}

.about-mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
  border-top: 1px solid rgba(26, 26, 26, 0.2);
}

.about-mission__statement {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.about-mission__statement h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.about-mission__vision {
  border-left: 1px solid rgba(26, 26, 26, 0.2);
  padding-left: clamp(3rem, 8vw, 8rem);
}

.about-mission__vision p {
  color: var(--color-secondary);
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.8vw, 6.25rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.about-compliance {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--color-surface);
}

.about-compliance__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-compliance__image {
  margin: 0;
}

.about-compliance__image img {
  display: block;
  width: 100%;
  min-height: 640px;
  object-fit: cover;
}

.about-compliance__rows {
  border-top: 1px solid rgba(26, 26, 26, 0.2);
}

.about-compliance__rows article {
  display: grid;
  grid-template-columns: clamp(5.5rem, 9vw, 8rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}

.about-compliance__code {
  color: var(--color-primary);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-compliance__rows h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.about-compliance__rows p {
  font-size: 1rem;
}

.about-compliance__note {
  max-width: 720px;
  margin: 2rem 0 0 auto;
  padding-left: 1rem;
  border-left: 2px solid var(--color-primary);
  font-size: 0.88rem !important;
}

.about-closing {
  padding: clamp(6rem, 12vw, 11rem) 0;
  background: var(--color-background);
}

.about-closing__inner {
  max-width: 1040px;
  text-align: center;
}

.about-closing h2 {
  margin-bottom: 1.5rem;
}

.about-closing p {
  max-width: 760px;
  margin-inline: auto;
}

.about-closing__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.25rem;
  padding-bottom: 0.35rem;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 750;
}

.about-closing__link span {
  transition: transform var(--transition-fast);
}

.about-closing__link:hover span {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .about-story__grid,
  .about-evolution__layout,
  .about-compliance__layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .about-story__media img,
  .about-compliance__image img {
    min-height: 560px;
  }

  .about-philosophy__principles {
    grid-template-columns: 1fr;
  }

  .about-philosophy__principles article {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .about-philosophy__principles span {
    grid-row: 1 / 3;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .about-shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .about-section-heading {
    margin-bottom: 1rem;
  }

  .about-story__grid,
  .about-evolution__layout,
  .about-mission__grid,
  .about-compliance__layout {
    grid-template-columns: 1fr;
  }

  .about-story__media img,
  .about-compliance__image img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1/1;
  }

  .about-story__media::before {
    top: -0.75rem;
    left: -0.75rem;
  }

  .about-evolution__visual {
    position: static;
  }

  .about-evolution__visual img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .about-evolution__step {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    min-height: 0;
    padding: 2.5rem 0;
  }

  .about-evolution__number {
    font-size: 2.75rem;
  }

  .about-philosophy__image img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .about-philosophy__principles article {
    grid-template-columns: 3rem minmax(0, 1fr);
    padding: 2rem 0;
  }

  .about-mission__vision {
    border-top: 1px solid rgba(26, 26, 26, 0.2);
    border-left: 0;
    padding-left: 0;
  }

  .about-compliance__rows article {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-compliance__note {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .about-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .about-story__scope {
    grid-template-columns: 1fr;
  }

  .about-evolution__step {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-philosophy__principles article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-philosophy__principles span {
    grid-row: auto;
  }
}


/* =========================================
   CERTIFICATIONS SECTION
   ========================================= */
.certifications-section {
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}


.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
  .cert-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    padding: 0 12px;
  }

  .cert-item {
    margin-bottom: 16px;
  }

  .cert-logo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 10px;
  }

  .cert-logo-image {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cert-logo-wrapper {
    width: 100px;
    height: 100px;
  }
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 280ms ease;
    margin-bottom: 24px;
}

.cert-item:hover {
    transform: translateY(-8px);
}

/* ========================================
   ABOUT PAGE — EDITORIAL REFRESH
======================================== */

.about-page {
  --about-ink: #162116;
  --about-line: rgba(22, 33, 22, 0.15);
}

.about-page h2 {
  font-size: clamp(2rem, 5.7vw, 3rem);
  font-weight: 500;
  line-height: 0.98;
}

.about-story__copy h2{
  color: var(--color-secondary);
}

.about-page h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.about-page p {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
}

.about-hero {
  min-height: 100svh;
  background-position: center 48%;
}

.about-hero::before {
  background:
    linear-gradient(180deg, rgba(8, 15, 9, 0.34), rgba(8, 15, 9, 0.78)),
    linear-gradient(90deg, rgba(8, 15, 9, 0.28), transparent 58%);
}

.about-hero h1 {
  max-width: 980px;
  font-size: clamp(2rem, 7.6vw, 4rem);
  line-height: 0.91;
}

.about-hero p {
  max-width: 650px;
}

.about-hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2rem, 5vh, 4rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-hero__scroll:hover {
  color: #fff;
}

.about-hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.about-hero__scroll i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #fff;
  animation: about-scroll-line 2s ease-in-out infinite;
}

@keyframes about-scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

.about-story {
  padding-block: clamp(6rem, 12vw, 11rem);
}

.about-story__grid {
  gap: clamp(1rem, 9vw, 3rem);
}

.about-story__media {
  max-width: 600px;
  margin: 0 auto;
}

.about-story__media img {
  aspect-ratio: 1/1;
  min-height: 0;
  max-height: none;
}

.about-story__copy .about-lead {
  max-width: 650px;
  color: var(--about-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.42;
}

.about-story__scope {
  column-gap: 2rem;
  border-color: var(--about-line);
}

.about-evolution {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: #f1f3ee;
}

.about-evolution__heading {
  margin-bottom: clamp(2rem, 8vw, 3rem);
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

.about-evolution__layout {
  display: flex;
  padding: 2rem 0;
  gap: clamp(3rem, 8vw, 8.5rem);
}

.about-evolution__visual {
  top: calc(var(--header-height) + 1.25rem);
}

.about-evolution__image-stack {
  position: relative;
  height: min(7vh, 700px);
  min-height: 560px;
  overflow: hidden;
  background: #c9cec4;
  aspect-ratio: 1/1;
}

.about-evolution__image-stack::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(8, 15, 9, 0.12));
}

.about-evolution__image-stack img {
  aspect-ratio: 1/1;
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: opacity 600ms ease, transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-evolution__image-stack img:first-child {
  object-position: center 42%;
}

.about-evolution__image-stack img.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.about-evolution__visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #5e685c;
}

/* Inline media placeholders used for tablet/mobile where each step pairs with its image */
.about-media-placeholder--inline {
  display: none;
}
.about-media-placeholder--inline img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}


.about-evolution__step {
  min-height: min(68vh, 680px);
  opacity: 0.38;
  transition: opacity 350ms ease;
}

.about-evolution__step.is-active {
  opacity: 1;
}

.about-evolution__step p:last-child {
  max-width: 470px;
}

.about-philosophy {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: #172116;
}

.about-philosophy__image img {
  aspect-ratio: 16 / 8.5;
  max-height: none;
}

.about-philosophy__principles article {
  min-height: 280px;
}

.about-mission {
  display: grid;
  min-height: 74svh;
  padding-block: clamp(6rem, 12vw, 11rem);
  align-items: center;
  background: #fff;
}

.about-mission__grid {
  grid-template-columns: minmax(5rem, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 9rem);
  border: 0;
}

.about-mission__index {
  align-self: start;
  padding-top: 0.35rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-mission__statement {
  max-width: 1050px;
  padding: 0;
}

.about-mission__statement h2 {
  max-width: 1040px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.7vw, 3rem);
  font-weight: 500;
  line-height: 1.03;
}

.about-vision {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 88svh;
  padding-block: clamp(3rem, 12vw, 5rem);
  align-items: end;
  overflow: hidden;
  background: #172116;
}

.about-vision::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 12, 7, 0.08) 20%, rgba(7, 12, 7, 0.84) 100%);
}

.about-vision > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 112%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--vision-shift, 0px)) scale(1.02);
  will-change: transform;
}

.about-vision__content {
  margin-inline: auto;
}

.about-vision .section-eyebrow {
  color: #a7d7a0;
}

.about-vision h2 {
  max-width: 1050px;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.about-compliance {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.about-compliance__image {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
}

.about-compliance__image img {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.about-compliance__code {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.about-closing {
  padding-block: clamp(7rem, 13vw, 12rem);
}

@media (min-width: 901px) {
  .about-hero {
    background-attachment: fixed;
  }
}

@media (max-width: 900px) {
  .about-page h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-story__grid,
  .about-evolution__layout,
  .about-compliance__layout {
    grid-template-columns: 1fr;
  }

  .about-story__media {
    width: min(82%, 560px);
  }

  .about-evolution__visual {
    position: sticky;
    z-index: 3;
    top: var(--header-height);
    padding-bottom: 0.5rem;
    background: #f1f3ee;
  }

  .about-evolution__image-stack {
    height: 46svh;
    min-height: 330px;
  }

  .about-evolution__step {
    min-height: 44svh;
    padding-block: 3rem;
  }

  .about-philosophy__image img {
    aspect-ratio: 4 / 3;
  }

  .about-compliance__image {
    position: static;
  }

  .about-compliance__image img {
    aspect-ratio: 16 / 10;
  }
}

/* On tablet and below, show inline images with each step and hide the large image stack */
@media (max-width: 1023px) {
  .about-evolution__layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-evolution__visual {
    display: none;
  }

  .about-evolution__steps {
    display: grid;
    gap: 24px;
  }

  .about-media-placeholder--inline {
    display: block;
  }

  /* Hide descriptive paragraphs and lists — keep eyebrow label and header only */
  .about-evolution__step div p:not(.about-evolution__label) {
    display: none;
  }

  .about-evolution__step ul {
    display: none;
  }

  .about-evolution__step {
    min-height: auto;
    padding-block: var(--spacing-md);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .about-shell {
    width: min(calc(100% - 40px), var(--container));
  }

  .about-hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .about-story__media {
    width: calc(100%);
  }

  .about-story__grid {
    gap: 3.75rem;
  }

  .about-story__scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-evolution__heading p {
    max-width: 21rem;
  }

  .about-evolution__image-stack {
    height: 40svh;
    min-height: 280px;
  }

  .about-evolution__visual figcaption span:last-child {
    max-width: 65%;
    text-align: right;
  }

  .about-evolution__step {
    grid-template-columns: 3rem minmax(0, 1fr);
    min-height: 46svh;
    gap: 0.85rem;
  }

  .about-evolution__number {
    font-size: 2.25rem;
  }

  .about-philosophy__principles article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .about-philosophy__principles span {
    grid-row: 1 / 3;
  }

  .about-mission {
    min-height: 70svh;
  }

  .about-mission__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-mission__statement h2 {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

  .about-vision {
    min-height: 78svh;
  }

  .about-vision > img {
    height: 106%;
  }

  .about-compliance__rows article {
    padding-block: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__scroll i::after {
    animation: none;
  }

  .about-vision > img {
    transform: scale(1.02);
  }
}

.cert-logo-wrapper {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 159, 89, 0);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 280ms ease;
    overflow: hidden;
}

.cert-item:hover .cert-logo-wrapper {
    background: #256d1b2e;
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px #256d1b17;
}

.cert-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 280ms ease;
    /* filter: brightness(0) saturate(100%) invert(16%) sepia(87%) saturate(1142%) hue-rotate(84deg) brightness(97%) contrast(106%); */
}

.cert-item:hover .cert-logo-image {
    transform: scale(1.08);
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.cert-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-main);
    margin: 0;
}

/* ========================================
   ABOUT PAGE — ENGINEERING EDITORIAL SYSTEM
   Begins at Company Evolution. Hero and background story are intentionally
   left on their existing design system.
======================================== */

.about-evolution .about-shell,
.about-philosophy .about-shell,
.about-purpose .about-shell,
.about-compliance .about-shell,
.about-closing .about-shell {
  display: block;
}

.about-media-placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #273128;
  background-size: 42px 42px;
}

.about-media-placeholder::before,
.about-media-placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.about-media-placeholder::after {
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.about-media-placeholder__index,
.about-media-placeholder__label {
  position: absolute;
  z-index: 2;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-media-placeholder__index {
  top: 1.5rem;
  left: 1.5rem;
}

.about-media-placeholder__label {
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 70%;
  text-align: right;
}

.about-evolution {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 2vw, 5rem);
  color: #fff;
  background: #121b14;
}

.about-evolution__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  max-width: none;
  margin: 0 0 clamp(4rem, 8vw, 7rem);
  align-items: end;
  text-align: left;
}

.about-evolution__heading h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
}

.about-evolution__heading > p {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.62);
}

.about-evolution__facts {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.25fr;
  margin-bottom: clamp(5rem, 9vw, 8rem);
  border-block: 1px solid rgba(255, 255, 255, 0.16);
}

.about-evolution__facts div {
  display: grid;
  min-height: 150px;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem);
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-evolution__facts div:first-child {
  padding-left: 0;
}

.about-evolution__facts div:last-child {
  border-right: 0;
}

.about-evolution__facts strong {
  margin-bottom: 0.55rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-evolution__facts span {
  max-width: 210px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.about-evolution__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 7rem);
  padding: 0;
  align-items: start;
}

.about-evolution__visual {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  margin: 0;
}

.about-evolution__image-stack {
  position: relative;
  height: min(68vh, 690px);
  min-height: 520px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #273128;
}

.about-evolution__image-stack .about-media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 450ms ease, transform 800ms ease;
}

.about-evolution__image-stack .about-media-placeholder:nth-child(2) {
  background-color: #30362d;
  background-size: 34px 34px;
}

.about-evolution__image-stack .about-media-placeholder:nth-child(3) {
  background-color: #1d2923;
  background-size: 56px 56px;
}

.about-evolution__image-stack .about-media-placeholder:nth-child(4) {
  background-color: #313a31;
  background-size: 28px 28px;
}

.about-evolution__image-stack .about-media-placeholder.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.about-evolution__visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.48);
}

.about-evolution__step {
  display: grid;
  grid-template-columns: clamp(3.5rem, 6vw, 5.5rem) minmax(0, 1fr);
  min-height: min(62vh, 590px);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0.36;
  transition: opacity 300ms ease;
}

.about-evolution__step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.about-evolution__step.is-active {
  opacity: 1;
}

.about-evolution__number {
  color: #8ac681;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.about-evolution__label {
  color: #8ac681 !important;
}

.about-evolution__step h3 {
  max-width: 550px;
  margin-bottom: 1.15rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
}

.about-evolution__step p:last-of-type {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.6);
}

.about-evolution__step ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}

.about-evolution__step li {
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-philosophy {
  padding-block: clamp(6.5rem, 11vw, 10rem);
  color: var(--about-ink);
  background: #f3f4ef;
}

.about-philosophy .section-eyebrow {
  color: var(--color-primary);
}

.about-philosophy__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  max-width: none;
  align-items: end;
}

.about-philosophy__heading h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 850px;
  color: var(--about-ink);
  font-size: clamp(3rem, 6vw, 6rem);
}

.about-philosophy__heading .section-eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.about-philosophy__heading p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin-bottom: 0.35rem;
  color: #657064;
}

.about-philosophy__visual {
  max-height: 510px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.72);
}

.about-philosophy__principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(22, 33, 22, 0.18);
}

.about-philosophy__principles article {
  min-height: 320px;
  padding: clamp(2rem, 3.5vw, 3.5rem);
  border-color: rgba(22, 33, 22, 0.18);
}

.about-philosophy__principles span {
  color: var(--color-primary);
}

.about-philosophy__principles h3 {
  color: var(--about-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 500;
}

.about-philosophy__principles p {
  color: #657064;
}

.about-purpose {
  padding-block: clamp(6rem, 10vw, 9rem);
  background: #fff;
}

.about-purpose__card {
  display: flex;
  min-height: 620px;
  padding: clamp(2rem, 4.5vw, 4.75rem);
  flex-direction: column;
  justify-content: space-between;
}

.about-purpose__card--mission {
  color: #fff;
  background: #172218;
}

.about-purpose__card--vision {
  position: relative;
  overflow: hidden;
  color: var(--about-ink);
  background: #cfe2ca;
}

.about-purpose__card--vision::after {
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 78%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(22, 33, 22, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(22, 33, 22, 0.035),
    0 0 0 90px rgba(22, 33, 22, 0.025);
}

.about-purpose__meta {
  z-index: 100;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-purpose__card h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.about-purpose__card--mission h2 {
  color: #fff;
}

.about-purpose__card p {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.about-purpose__signal {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
}

.about-purpose__signal i {
  display: block;
  width: 44px;
  height: 4px;
  background: var(--color-primary);
}

.about-purpose__signal i:nth-child(2) { width: 72px; }
.about-purpose__signal i:nth-child(3) { width: 24px; }

.about-compliance {
  padding-block: clamp(6.5rem, 11vw, 10rem);
  background: #f6f7f3;
}

.about-compliance__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  max-width: none;
  align-items: end;
}

.about-compliance__heading h2 {
  max-width: 860px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.about-compliance__heading .section-eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.about-compliance__heading p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin-bottom: 0.35rem;
}

.about-compliance__layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.about-compliance__image {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  min-height: 600px;
  margin: 0;
}

.about-compliance__rows {
  border-color: rgba(22, 33, 22, 0.18);
}

.about-compliance__rows article {
  grid-template-columns: minmax(6rem, 0.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-color: rgba(22, 33, 22, 0.18);
}

.about-compliance__code {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
}

.about-compliance__code span {
  color: #829080;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
}

.about-compliance__rows h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
}

.about-compliance__rows p {
  color: #687066;
}

.about-compliance__note {
  max-width: 680px;
  margin-top: 2.5rem;
  color: #687066;
}

.about-closing {
  padding-block: clamp(7rem, 13vw, 12rem);
  background: #fff;
}

.about-closing h2 {
  max-width: 950px;
  margin-inline: auto;
  font-size: clamp(3rem, 6vw, 6rem);
}

.vision-overlay{
  position: absolute;
  inset: 0;
  background: rgba(217, 66, 66, 0.466);
}
@media (max-width: 960px) {
  .about-evolution__heading,
  .about-philosophy__heading,
  .about-compliance__heading {
    display: block;
    gap: 1.75rem;
  }

  .about-evolution__heading > p,
  .about-philosophy__heading > p,
  .about-compliance__heading > p {
    max-width: 620px;
    margin-top: 1.5rem;
  }

  .about-evolution__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-evolution__image-stack {
    min-height: 450px;
  }

  .about-philosophy__principles {
    grid-template-columns: 1fr;
  }

  .about-philosophy__principles article {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(22, 33, 22, 0.18);
  }

  .about-philosophy__principles span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .about-purpose__card {
    min-height: 560px;
  }

  .about-compliance__layout {
    gap: 3rem;
  }
}

@media (max-width: 760px) {
  .about-evolution,
  .about-philosophy,
  .about-purpose,
  .about-compliance {
    padding-block: 5.5rem;
  }

  .about-evolution__heading h2,
  .about-philosophy__heading h2,
  .about-compliance__heading h2,
  .about-closing h2 {
    font-size: clamp(2.75rem, 11vw, 4.6rem);
  }

  .about-evolution__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 4.5rem;
  }

  .about-evolution__facts div {
    min-height: 130px;
    padding: 1.25rem 1rem;
  }

  .about-evolution__facts strong {
    font-size: clamp(1.65rem, 5vw, 2.5rem);
  }

  .about-evolution__facts span {
    font-size: 0.61rem;
  }

  .about-evolution__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-evolution__visual {
    position: sticky;
    z-index: 3;
    top: var(--header-height);
    padding-block: 0 0.75rem;
    background: #121b14;
  }

  .about-evolution__image-stack {
    height: 39svh;
    min-height: 275px;
  }

  .about-evolution__step {
    grid-template-columns: 3rem minmax(0, 1fr);
    min-height: 47svh;
    padding-block: 3.25rem;
  }

  .about-evolution__step h3 {
    font-size: clamp(1rem, 8vw, 2rem);
  }

  .about-philosophy__visual {
    min-height: 380px;
  }

  .about-purpose__grid {
    grid-template-columns: 1fr;
  }

  .about-purpose__card {
    min-height: 520px;
  }

  .about-purpose__card h2 {
    font-size: clamp(2rem, 2vw, 3rem);
  }

  .about-compliance__layout {
    grid-template-columns: 1fr;
  }

  .about-compliance__image {
    position: static;
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .about-evolution__facts {
    grid-template-columns: 1fr;
  }

  .about-evolution__facts div,
  .about-evolution__facts div:first-child {
    min-height: 0;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about-evolution__facts div:last-child {
    border-bottom: 0;
  }

  .about-evolution__facts strong {
    font-size: 2.5rem;
  }

  .about-evolution__facts span {
    max-width: none;
    font-size: 0.68rem;
  }

  .about-evolution__image-stack {
    height: 35svh;
    min-height: 250px;
  }

  .about-evolution__visual figcaption {
    font-size: 0.6rem;
  }

  .about-evolution__visual figcaption span:last-child {
    max-width: 65%;
    text-align: right;
  }

  .about-evolution__step {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0rem;
  }

  .about-evolution__step li {
    font-size: 0.61rem;
  }

  .about-philosophy__visual,
  .about-compliance__image {
    min-height: 330px;
  }

  .about-philosophy__principles article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: 2rem 0;
  }

  .about-philosophy__principles span {
    grid-row: 1 / 3;
  }

  .about-purpose__card {
    min-height: 480px;
    padding: 1.75rem;
  }

  .about-compliance__rows article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-compliance__code {
    flex-direction: row;
    align-items: baseline;
  }

  .about-media-placeholder__label {
    max-width: 62%;
    font-size: 0.6rem;
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-evolution__image-stack .about-media-placeholder {
    transition: none;
  }
}

/* ========================================
   SOLAR FAQ ACCORDION
======================================== */

.solar-faq {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: #f3f4ef;
}

.solar-faq .about-shell {
  display: block;
}

.solar-faq__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  align-items: end;
}

.solar-faq__header h2 {
  max-width: 820px;
  margin: 0;
  color: #172218;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.solar-faq__header > p {
  max-width: 500px;
  margin: 0 0 0.35rem;
  color: #687066;
}

.solar-faq__list {
  border-top: 1px solid rgba(23, 34, 24, 0.24);
}

.solar-faq__item {
  border-bottom: 1px solid rgba(23, 34, 24, 0.24);
}

.solar-faq__item h3 {
  margin: 0;
  font-family: var(--font-sans);
}

.solar-faq__trigger {
  display: grid;
  width: 100%;
  grid-template-columns: clamp(4.5rem, 9vw, 8rem) minmax(0, 1fr) 2.5rem;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  align-items: center;
  color: #172218;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: left;
}

.solar-faq__trigger:hover,
.solar-faq__trigger[aria-expanded="true"] {
  color: var(--color-primary);
}

.solar-faq__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 6px;
}

.solar-faq__number {
  color: #768175;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.solar-faq__icon {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  justify-self: end;
  border: 1px solid rgba(23, 34, 24, 0.28);
  border-radius: 50%;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    transform 240ms ease;
}

.solar-faq__icon::before,
.solar-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.solar-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 200ms ease;
}

.solar-faq__trigger[aria-expanded="true"] .solar-faq__icon {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
  transform: rotate(180deg);
}

.solar-faq__trigger[aria-expanded="true"] .solar-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.solar-faq__answer {
  padding: 0 4.5rem clamp(2rem, 4vw, 3.2rem) clamp(5.5rem, 12vw, 10.5rem);
  animation: solar-faq-reveal 260ms ease both;
}

.solar-faq__answer[hidden] {
  display: none;
}

.solar-faq__answer p {
  max-width: 850px;
  margin: 0;
  color: #5f695e;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

@keyframes solar-faq-reveal {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .solar-faq__header {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .solar-faq__header > p {
    max-width: 620px;
  }

  .solar-faq__trigger {
    grid-template-columns: 4rem minmax(0, 1fr) 2.25rem;
  }

  .solar-faq__answer {
    padding-left: 6rem;
  }
}

@media (max-width: 560px) {
  .solar-faq {
    padding-block: 5rem;
  }

  .solar-faq__header {
    margin-bottom: 3.25rem;
  }

  .solar-faq__header h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .solar-faq__trigger {
    grid-template-columns: 1fr 2rem;
    gap: 0.9rem;
    padding-block: 1.6rem;
    font-size: 1.1rem;
  }

  .solar-faq__number {
    grid-column: 1;
    margin-bottom: -0.25rem;
  }

  .solar-faq__trigger > span:nth-child(2) {
    grid-column: 1;
  }

  .solar-faq__icon {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 1.85rem;
    height: 1.85rem;
  }

  .solar-faq__answer {
    padding: 0 2.9rem 1.8rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-faq__answer {
    animation: none;
  }

  .solar-faq__icon,
  .solar-faq__icon::after {
    transition: none;
  }
}

/* ========================================
   PROJECTS — INDUSTRIAL ENGINEERING LEDGER
======================================== */

.project-filter {
  position: sticky;
  z-index: 40;
  top: var(--header-height);
  padding: 0 24px;
  color: #000;
  border-block: 1px solid #000;
  background: #f4f5f0;
}

.project-filter__inner {
  display: grid;
  width: min(100%, var(--container));
  min-height: 74px;
  margin-inline: auto;
  grid-template-columns: 130px minmax(0, 1fr) 100px;
  align-items: stretch;
}

.project-filter__label,
.project-filter__count {
  display: flex;
  align-items: center;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-filter__label {
  padding-right: 1rem;
  border-right: 1px solid #000;
}

.project-filter__count {
  justify-content: flex-end;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 1px solid #000;
}

.project-filter__count strong {
  color: var(--color-primary);
  font-size: 0.9rem;
}

.project-filter__controls {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.project-filter__button {
  min-width: 0;
  padding: 0 clamp(0.8rem, 1.7vw, 1.55rem);
  flex: 1 1 auto;
  color: #000;
  border: 0;
  border-right: 1px solid #000;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: clamp(0.65rem, 0.85vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: none;
}

.project-filter__button:last-child {
  border-right: 0;
}

.project-filter__button:hover,
.project-filter__button:focus-visible {
  color: #fff;
  background: #252525;
}

.project-filter__button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -3px;
}

.project-filter__button.is-active,
.project-filter__button[aria-pressed="true"] {
  color: #fff;
  background: #000;
}

.engineering-ledger {
  padding: clamp(5.5rem, 9vw, 9rem) 24px clamp(6rem, 10vw, 10rem);
  background: #eceee8;
}

.engineering-ledger__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.engineering-ledger__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.5fr);
  gap: clamp(2rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  align-items: end;
}

.engineering-ledger__header h2 {
  max-width: 850px;
  margin: 0;
  color: #000;
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.engineering-ledger__header > p {
  max-width: 460px;
  margin: 0 0 0.2rem;
  color: #373c37;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
}

.engineering-ledger__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.ledger-project {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: #f8f9f5;
  box-shadow: none;
}

.ledger-project.is-hidden {
  display: none !important;
}

.ledger-project > img {
  display: block;
  border-radius: 0;
  background: #172117;
}

.ledger-project__telemetry {
  min-height: 52px;
  padding: 0.85rem 1rem;
  color: #d9e0d6;
  border-bottom: 1px solid #000;
  background: #172117;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.61rem, 0.7vw, 0.7rem);
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.ledger-project__body {
  display: flex;
  padding: clamp(1.3rem, 2.4vw, 2.1rem);
  flex: 1;
  flex-direction: column;
}

.ledger-project__sector {
  margin: 0 0 2.5rem;
  color: var(--color-primary);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ledger-project h3 {
  margin: 0 0 clamp(2rem, 3vw, 3rem);
  color: #000;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.15vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ledger-project__briefing {
  margin: auto 0 0;
}

.ledger-project__briefing > div {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border, #000);
}

.ledger-project__briefing dt {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ledger-project__briefing dd {
  margin: 0;
  color: #2f332f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.22vw, 1.2rem);
  font-weight: 600;
  line-height: 1.32;
}

.ledger-project__footer {
  display: flex;
  min-height: 48px;
  padding: 0.75rem 1rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #000;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ledger-project__footer span:last-child {
  color: #5a6259;
  text-align: right;
}

@media (max-width: 1120px) {
  .project-filter__inner {
    grid-template-columns: 95px minmax(0, 1fr) 82px;
  }

  .project-filter__button {
    padding-inline: 0.7rem;
    letter-spacing: 0.04em;
  }

  .engineering-ledger__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .project-filter {
    padding-inline: 16px;
  }

  .project-filter__inner {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .project-filter__label {
    display: none;
  }

  .project-filter__controls {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .project-filter__controls::-webkit-scrollbar {
    display: none;
  }

  .project-filter__button {
    min-width: max-content;
    padding-inline: 1rem;
    flex: 0 0 auto;
  }

  .engineering-ledger__header {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .engineering-ledger__header > p {
    max-width: 610px;
  }
}

@media (max-width: 620px) {
  .project-filter {
    padding-inline: 0;
  }

  .project-filter__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-filter__count {
    display: none;
  }

  .project-filter__button:first-child {
    border-left: 0;
  }

  .engineering-ledger {
    padding: 5rem 16px 6rem;
  }

  .engineering-ledger__header h2 {
    font-size: clamp(3rem, 16vw, 4.6rem);
    line-height: 0.88;
  }

  .engineering-ledger__grid {
    grid-template-columns: 1fr;
  }

  .ledger-project__telemetry {
    min-height: 0;
  }

  .ledger-project__body {
    padding: 1.35rem;
  }

  .ledger-project__sector {
    margin-bottom: 2rem;
  }

  .ledger-project h3 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .ledger-project__briefing > div {
    grid-template-columns: 4.7rem minmax(0, 1fr);
    gap: 0.75rem;
  }
}

/* ========================================
   PROJECTS — FILTERABLE PORTFOLIO + MODAL
======================================== */

.portfolio-filter {
  position: sticky;
  z-index: 40;
  top: calc(var(--header-height) + 16px);
  margin-top: -34px;
  padding-inline: 24px;
  background: transparent;
  pointer-events: none;
}

.portfolio-filter__inner {
  display: grid;
  width: min(100%, 1100px);
  margin-inline: auto;
  padding: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid #bebebe;
  background: #fff;
  pointer-events: auto;
}

.portfolio-filter__button {
  min-width: 0;
  padding: 0.9rem 1rem;
  color: #000;
  border: 1px solid #bebebe;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  font-size: clamp(0.65rem, 0.9vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: none;
}

.portfolio-filter__button:hover,
.portfolio-filter__button:focus-visible,
.portfolio-filter__button.is-active,
.portfolio-filter__button[aria-pressed="true"] {
  color: #fff;
  background: var(--color-accent);
}

.portfolio-filter__button:focus-visible {
  outline: 2px solid #256d1b;
  outline-offset: -4px;
}

.portfolio-section {
  padding: clamp(5.5rem, 9vw, 9rem) 24px clamp(6rem, 10vw, 10rem);
  background: #f4f5f1;
}

.portfolio-section__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.portfolio-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.5fr);
  gap: clamp(2rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  align-items: end;
}

.portfolio-section__header h2 {
  max-width: 850px;
  margin: 0;
  color: #292929;
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.portfolio-section__header > p {
  max-width: 480px;
  margin: 0 0 0.25rem;
  color: #565b56;
  font-size: 1rem;
  line-height: 1.65;
}

#portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #292929;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition: none;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: #000;
}

.portfolio-card:focus-visible {
  outline: 3px solid #256d1b;
  outline-offset: 3px;
}

.portfolio-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
}

.portfolio-card__body {
  display: flex;
  padding: clamp(1rem, 2vw, 1.2rem);
  flex: 1;
  flex-direction: column;
}

.portfolio-card__meta {
  margin: 0 0 1.25rem;
  color: #256d1b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 0 0 0.8rem;
  color: #292929;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.portfolio-card__desc {
  margin: 0 0 1rem;
  color: #5c615c;
  font-size: 0.95rem;
  line-height: 1.65;
}

.portfolio-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.portfolio-card__metrics div {
  min-width: 0;
  padding: 0.75rem 0.55rem;
  border-right: 1px solid #e0e0e0;
}

.portfolio-card__metrics div:first-child {
  padding-left: 0;
}

.portfolio-card__metrics div:last-child {
  padding-right: 0;
  border-right: 0;
}

.portfolio-card__metrics dt,
.project-modal__metrics dt {
  margin-bottom: 0.3rem;
  color: #747a74;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.portfolio-card__metrics dd,
.project-modal__metrics dd {
  margin: 0;
  color: #292929;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.portfolio-card__cta {
  display: grid;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 0.9rem 1rem;
  color: #fff;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: none;
  place-items: center;
}

.portfolio-card__cta:hover,
.portfolio-card__cta:focus-visible {
  border-color: #256d1b;
  background: #256d1b;
}

.portfolio-card__cta:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

body.project-modal-open {
  overflow: hidden;
}

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 700px);
  max-height: calc(100svh - clamp(2rem, 8vw, 6rem));
  flex-direction: column;
  overflow: auto;
  color: #292929;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 16px;
}

.project-modal__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-radius: 0;
  background: #000;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  background: #256d1b;
}

.project-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.project-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 1px solid #000;
  border-radius: 0;
}

.project-modal__content {
  display: flex;
  padding-top: 20px;
  flex-direction: column;
  justify-content: center;
}

.project-modal__meta {
  margin: 0 0 1.4rem;
  color: #256d1b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-modal h2 {
  margin: 0 0 2rem;
  color: #292929;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.project-modal__details {
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  color: #4f544f;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.project-modal__metrics {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #000;
}

.project-modal__metrics div {
  min-width: 0;
  padding: clamp(0.7rem, 2vw, 1.1rem);
  border-right: 1px solid #000;
}

.project-modal__metrics div:last-child {
  border-right: 0;
}

.project-modal__metrics dd {
  font-size: clamp(0.82rem, 1.4vw, 1rem);
}

@media (max-width: 900px) and (min-width: 601px) {
  .portfolio-filter__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  #portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portfolio-filter {
    top: calc(var(--header-height) + 8px);
    margin-top: -24px;
    padding-inline: 12px;
  }

  .portfolio-filter__inner {
    display: grid;
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .portfolio-filter__button {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.5rem;
  }

  .portfolio-filter__button:last-child {
    grid-column: 1 / -1;
  }

  .portfolio-section {
    padding: 5rem 16px 6rem;
  }

  .portfolio-section__header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-section__header h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  #portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-modal {
    padding: 1rem;
  }

  .project-modal__dialog {
    max-height: calc(100svh - 2rem);
  }

  .project-modal__meta {
  margin: 0 0 1rem;
}

  .project-modal__image {
    height: auto;
    aspect-ratio: 4/3;
    border-right: 0;
    border-bottom: 1px solid #000;
  }

  .project-modal__content {
    padding-top: 1rem;
  }

  .project-modal h2 {
    padding-right: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1rem;
  }
}

@media (max-width: 560px) {
  .portfolio-card__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-modal__metrics div {
        border-right: 1px solid #000;
  }

  .project-modal__metrics div:last-child {
    border-bottom: 0;
  }
}
