/* ============================================
   BATEMAN FINE CABINETRY — Premium Design System
   Luxury-tier website for Ontario's finest cabinetry
   ============================================ */


/* ---- DESIGN TOKENS ---- */
:root {
  --green: #272727;
  --green-deep: #1a1a1a;
  --green-light: #3a3a3a;
  --brown: #7a6654;
  --brown-light: #beae9c;
  --brown-warm: #8a7664;
  --cream: #F5F0E8;
  --cream-dark: #e2d2b8;
  --cream-warm: #EDE5D8;
  --white: #FFFFFF;
  --black: #0F0F0F;
  --charcoal: #272727;
  --text: #272727;
  --text-light: #5A5347;
  --text-muted: #8B8279;
  --accent: #8B2332;
  --accent-hover: #A02A3A;
  --gold: #8B2332;
  --gold-light: #beae9c;
  --border: rgba(122,102,84,0.1);

  --serif: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1440px;
  --section-pad: 140px 7%;
  --section-pad-sm: 90px 7%;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);
  --shadow-glow: 0 8px 32px rgba(139, 35, 50, 0.25);
}

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--brown-light);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--brown); }

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease-out); }
ul, ol { list-style: none; }
button { font-family: var(--sans); }
::selection { background: var(--cream-dark); color: var(--charcoal); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 7%; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1;
  color: var(--brown);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p { max-width: 65ch; }

.tagline {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tagline::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.36s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.48s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 40px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::after { transform: translateX(0); }

.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
  border-radius: var(--radius-pill);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-dark {
  border-color: var(--brown);
  color: var(--brown);
  background: transparent;
  border-radius: var(--radius-pill);
}
.btn-outline-dark:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  border-radius: var(--radius-pill);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  border-radius: var(--radius-pill);
}
.btn-green:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 10px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar a { color: rgba(255,255,255,0.6); }
.top-bar a:hover { color: var(--white); }
.top-bar .contact-info { display: flex; gap: 28px; align-items: center; }
.top-bar .contact-info span { display: flex; align-items: center; gap: 8px; }
.top-bar .socials { display: flex; gap: 20px; }
.top-bar .socials a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.65rem;
  transition: all 0.3s var(--ease-out);
}
.top-bar .socials a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
  min-height: 64px;
  background: rgba(15, 15, 15, 0.98);
}

.navbar .logo {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.navbar .logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > a .dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s var(--ease-out);
  margin-top: 1px;
}
.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
}
.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.dropdown-menu a::after { display: none !important; }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.68rem !important;
  letter-spacing: 1.5px !important;
  border-radius: var(--radius-pill) !important;
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease-out);
  border-radius: 1px;
}

/* ---- HERO (Home) ---- */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 60px 7%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-bg.loaded { transform: scale(1); }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15,15,15,0.15) 0%,
      rgba(15,15,15,0.05) 30%,
      rgba(15,15,15,0.3) 60%,
      rgba(15,15,15,0.85) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero .hero-sub {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.7);
  font-style: normal;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero .hero-badge::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ---- HERO (Inner Pages) ---- */
.hero-inner {
  position: relative;
  padding: 160px 7% 110px;
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.hero-inner h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 550px;
  line-height: 1.8;
}
.hero-inner .tagline { color: var(--gold-light); }
.hero-inner .tagline::before { background: var(--gold-light); }

/* ---- SECTION UTILITIES ---- */
.section { padding: var(--section-pad); }
.section-sm { padding: var(--section-pad-sm); }
.section-cream { background: var(--cream); }
.section-warm { background: var(--cream-warm); }
.section-green { background: var(--green); color: var(--white); }
.section-green h2, .section-green h3, .section-green h4 { color: var(--white); }
.section-green .tagline { color: var(--gold-light); }
.section-green .tagline::before { background: var(--gold-light); }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.text-center { text-align: center; }
.text-center .tagline { justify-content: center; }

/* Divider */
.section-divider {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 7%;
}
.section-divider::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
}

/* ---- BRAND HERITAGE ---- */
.heritage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.heritage h2 { margin-bottom: 24px; }
.heritage-line {
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 24px;
}
.heritage img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 90px 7%;
  text-align: center;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--border);
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--border);
}
.stat-item .stat-number {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---- FULL-WIDTH IMAGE ---- */
.full-image {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}
.full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.full-image .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,15,15,0.1), rgba(15,15,15,0.05));
}

/* ---- PHILOSOPHY ---- */
.philosophy {
  padding: 140px 7%;
  background: var(--green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,35,50,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.philosophy .tagline { color: var(--gold-light); }
.philosophy .tagline::before { background: var(--gold-light); }
.philosophy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  max-width: 850px;
  margin-bottom: 36px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.25;
}

/* ---- SERVICES GRID ---- */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  padding: 52px 44px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: transform 0.6s var(--ease-out);
  transform-origin: center;
}
.service-card:hover::before { transform: translateX(-50%) scaleX(1); }
.section-green .service-card:hover { background: rgba(255,255,255,0.1); }
.service-card-light { background: var(--cream); }
.service-card-light:hover {
  background: var(--cream-dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
a.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.service-card-link:hover { color: inherit; }
.service-card .service-num {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1;
}
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: 0.9rem; line-height: 1.8; opacity: 0.8; }

/* ---- EXPERTISE CARDS ---- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.expertise-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.expertise-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.expertise-card:hover img { transform: scale(1.08); }
.expertise-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  background: linear-gradient(to top, rgba(15,15,15,0.9) 0%, rgba(15,15,15,0.4) 60%, transparent 100%);
  transition: padding 0.5s var(--ease-out);
}
.expertise-card:hover .card-overlay { padding-bottom: 48px; }
.expertise-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.expertise-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.7; }

/* ---- PROJECTS BY ENVIRONMENT ---- */
.projects-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  margin-top: 56px;
}
.project-item { position: relative; }
.project-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.project-item:hover img {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.project-item h3 { margin-bottom: 10px; }
.project-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

/* ---- IMMERSIVE ENVIRONMENT SHOWCASE (Sticky Stack) ---- */
.env-showcase {
  position: relative;
}
.env-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 160px 7% 0;
  overflow: hidden;
}
.env-panel[data-env="0"] { z-index: 1; }
.env-panel[data-env="1"] { z-index: 2; }
.env-panel[data-env="2"] { z-index: 3; }

.env-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 1.6s var(--ease-out);
  will-change: transform;
}
.env-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15,15,15,0.8) 0%,
      rgba(15,15,15,0.4) 35%,
      rgba(15,15,15,0.1) 60%,
      rgba(15,15,15,0.25) 100%
    ),
    linear-gradient(90deg,
      rgba(15,15,15,0.35) 0%,
      transparent 55%
    );
}
.env-panel.env-visible .env-panel-bg {
  transform: scale(1);
}

/* Shadow on top edge of panels 2 & 3 for depth */
.env-panel[data-env="1"]::before,
.env-panel[data-env="2"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Content */
.env-panel-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.env-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.15s, transform 0.8s var(--ease-out) 0.15s;
}
.env-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white) !important;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out) 0.3s, transform 1s var(--ease-out) 0.3s;
}
.env-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}
.env-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.65s, transform 0.8s var(--ease-out) 0.65s,
              background 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* Visible state — text animates in */
.env-panel.env-visible .env-label,
.env-panel.env-visible .env-title,
.env-panel.env-visible .env-desc,
.env-panel.env-visible .env-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Dimming: when a panel is covered by the next, fade it out */
.env-panel-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 3;
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Scroll hint */
.env-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 4;
  animation: envBounce 2.5s var(--ease-in-out) infinite;
}
@keyframes envBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Progress bar */
.env-progress {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.env-progress.env-progress-visible {
  opacity: 1;
}
.env-progress-bar {
  width: 100%;
  height: 33.33%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: height 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Counter */
.env-counter {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(calc(-50% + 80px));
  z-index: 100;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.env-counter.env-progress-visible {
  opacity: 1;
}
.env-current {
  color: var(--white);
  font-weight: 600;
}
.env-divider {
  margin: 0 4px;
  opacity: 0.4;
}

/* ---- WHY BATEMAN / FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.feature-card {
  background: var(--cream);
  padding: 48px 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  border-radius: var(--radius-md);
}
.feature-card:hover {
  background: var(--cream-dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(122,102,84,0.1);
  margin-bottom: 24px;
  font-size: 1.2rem;
  color: var(--brown);
  transition: transform 0.4s var(--ease-out);
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}
.feature-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.8; }

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.step-card {
  background: var(--green);
  color: var(--white);
  padding: 48px 36px;
  position: relative;
  transition: all 0.4s var(--ease-out);
  border-radius: var(--radius-md);
}
.step-card:hover {
  background: var(--green-deep);
  transform: translateY(-6px);
}
.step-card .step-num {
  font-family: var(--sans);
  font-size: 3rem;
  font-weight: 200;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.step-card p { font-size: 0.85rem; opacity: 0.7; line-height: 1.7; }

/* ---- TIMELINE ---- */
.timeline { max-width: 800px; margin: 56px auto 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--cream-dark));
}
.timeline-item {
  padding-left: 48px;
  padding-bottom: 56px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline-item .timeline-date {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.timeline-item h3 { margin-bottom: 10px; font-size: 1.6rem; }
.timeline-item p { font-size: 0.92rem; color: var(--text-light); line-height: 1.8; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 0;
}
.testimonial-card .quote-mark {
  font-family: var(--sans);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: -20px;
}
.testimonial-card blockquote {
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: normal;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 28px;
  color: var(--brown);
}
.testimonial-card .author {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.testimonial-card .role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Testimonials grid for testimonials section */
.testimonials-stacked { max-width: 800px; margin: 0 auto; }
.testimonials-stacked .testimonial-card { border-bottom: 1px solid var(--border); }
.testimonials-stacked .testimonial-card:last-child { border-bottom: none; }

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 140px 7%;
  text-align: center;
  position: relative;
}
.cta-section h2 {
  max-width: 700px;
  margin: 0 auto 20px;
}
.cta-section p {
  max-width: 550px;
  margin: 0 auto 44px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}
.cta-section .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-awards-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-award-badge {
  flex-shrink: 0;
}
.cta-award-badge img {
  height: 200px;
  width: auto;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out);
}
.cta-award-badge img:hover {
  transform: scale(1.05);
}
.cta-center {
  text-align: center;
  flex: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  .cta-awards-layout {
    flex-direction: column;
    gap: 40px;
  }
  .cta-award-badge {
    order: 1;
  }
  .cta-center {
    order: 0;
  }
  .cta-award-badge img {
    height: 140px;
  }
}

/* ---- IMAGE GALLERY GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: rgba(15,15,15,0);
  transition: background 0.4s var(--ease-out);
}
.gallery-item:hover::after {
  background: rgba(15,15,15,0.15);
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(15,15,15,0.7), transparent);
  color: var(--white);
  z-index: 1;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}
.gallery-caption p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.contact-info-block { padding-top: 20px; }
.contact-info-block h2 { margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-detail .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1rem;
  color: var(--brown);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.contact-detail:hover .icon { transform: scale(1.1); }
.contact-detail p { font-size: 0.92rem; line-height: 1.6; }
.contact-detail a { color: var(--brown); }
.contact-detail a:hover { color: var(--accent); }

.contact-form {
  background: var(--cream);
  padding: 52px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.5s var(--ease-out);
}
.contact-form:hover {
  box-shadow: var(--shadow-lg);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 16px 22px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.88rem;
  background: var(--white);
  margin-bottom: 16px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139,35,50,0.06);
  transform: translateY(-1px);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  padding: 24px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s var(--ease-out);
}
.faq-item summary:hover { color: var(--brown); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(122,102,84,0.08);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--white);
}
.faq-item p {
  padding: 0 0 24px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ---- LOGO BAR ---- */
.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 60px 7%;
  flex-wrap: wrap;
  opacity: 0.35;
}
.logo-bar span {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
}

/* ---- AWARDS ---- */
.awards-bar {
  padding: 80px 7%;
  background: var(--cream);
  text-align: center;
}
.awards-header {
  margin-bottom: 40px;
}
.awards-header p {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 8px;
}
.awards-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.awards-logos img {
  height: 160px;
  width: auto;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out);
}
.awards-logos img:hover {
  transform: scale(1.05);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  color: var(--cream);
  padding: 90px 7% 40px;
  position: relative;
  overflow: hidden;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: url('images/White-bateman-logo.png') no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,35,50,0.25), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand {
  margin-bottom: 20px;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(245,243,239,0.5);
}
.footer p, .footer a {
  font-size: 0.85rem;
  color: rgba(245, 243, 239, 0.45);
  line-height: 1.9;
}
.footer a:hover { color: var(--cream); }
.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.footer-links a:hover { transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(245,243,239,0.25);
}
.footer-bottom a { color: rgba(245,243,239,0.25); }
.footer-bottom a:hover { color: var(--cream); }
.footer-legal { display: flex; gap: 28px; }

/* ---- PARALLAX IMAGE SECTION ---- */
.parallax-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.parallax-section .parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0.4);
}
.parallax-section .parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.parallax-section .parallax-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: normal;
  font-weight: 300;
  max-width: 700px;
}

/* ---- SPLIT CONTENT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-wide { gap: 120px; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.split-img:hover img { transform: scale(1.03); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .heritage { gap: 60px; }
  .split { gap: 60px; }
  .split-wide { gap: 80px; }
  .contact-grid { gap: 60px; }
}

@media (max-width: 1024px) {
  .heritage { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .env-progress, .env-counter { right: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px 5%;
    --section-pad-sm: 60px 5%;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(15,15,15,0.98);
    backdrop-filter: blur(20px);
    padding: 32px 5%;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dropdown-menu {
    display: none;
  }
  .nav-dropdown > a .dropdown-arrow { display: none; }
  .nav-dropdown > a { pointer-events: auto; }

  .hero { height: 85vh; min-height: 550px; padding: 60px 5%; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .hero-inner { padding: 110px 5% 76px; }

  .stats-bar { grid-template-columns: 1fr 1fr; gap: 32px; padding: 56px 5%; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { height: 360px; }
  .env-panel { min-height: 500px; padding: 120px 5% 0; }
  .env-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .env-progress, .env-counter { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item.featured { grid-column: span 1; grid-row: span 1; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-brand { display: flex; justify-content: center; }
  .footer p { margin-left: auto; margin-right: auto; }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 24px;
  }
  .footer-links a {
    margin-bottom: 6px;
  }
  .footer-links a:hover { transform: none; }
  .footer h4 { text-align: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal { justify-content: center; }
  .footer-grid > div + div {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; border-radius: var(--radius-lg); }
  .top-bar { display: none; }
  .logo-bar { gap: 32px; }
  .logo-bar span { font-size: 0.75rem; }
  .parallax-section { height: 50vh; }

  .btn { padding: 14px 28px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}

/* ---- Testimonials — Scroll Crossfade ---- */
.testi-scroll {
  position: relative;
  height: 150vh;
  background: var(--charcoal);
}
.testi-scroll-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testi-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}
.testi-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.testi-slide-content {
  max-width: 960px;
  width: 100%;
  text-align: center;
  padding: 0 7%;
}
.testi-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 28px;
}
.testi-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--brown);
  margin-bottom: -10px;
  font-family: Georgia, 'Times New Roman', serif;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  border: none;
  padding: 0;
}
.testi-author {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.testi-role {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--brown-light);
  letter-spacing: 0.5px;
}
.testi-dots {
  position: fixed;
  z-index: 10;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
}
.testi-scroll.in-view .testi-dots {
  display: flex;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.testi-dot.active {
  background: var(--brown-light);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testi-quote { font-size: 1.15rem; }
  .testi-quote-mark { font-size: 3.5rem; }
  .testi-dots { bottom: 28px; }
}

/* ── Team Section ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 24px;
  display: block;
  border: 4px solid var(--cream);
}
.team-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
}
.team-bio {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 380px;
  margin: 0 auto;
}
.team-full-photo {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 48px;
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* ── Case Studies ── */
.case-study-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.case-filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--brown);
  background: transparent;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}
.case-filter-btn:hover,
.case-filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.case-study-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.case-study-card.hidden {
  display: none;
}
.case-study-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.case-study-body {
  padding: 28px 32px 32px;
}
.case-study-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}
.case-study-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green);
  margin-bottom: 12px;
}
.case-study-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-study-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.case-study-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}
.case-study-materials {
  font-size: 0.82rem;
  color: var(--text-light);
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.case-study-materials strong {
  color: var(--green);
  font-weight: 600;
}
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .case-study-body {
    padding: 20px 24px 24px;
  }
  .case-study-filters {
    gap: 8px;
  }
  .case-filter-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}
