/* ============================================
   KCW - Khizar's Custom Wood Work
   Premium Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Greens */
  --green-deepest: #0F1F17;
  --green-deep: #1A2F23;
  --green-rich: #264A36;
  --green-mid: #3A6B50;
  --green-sage: #7A9B85;
  --green-light: #A8C4AD;
  --green-pale: #D0E0D4;

  /* Neutrals */
  --white: #F2EFE9;
  --white-warm: #F7F5F0;
  --white-off: #EDEBE5;
  --stone: #D5D0C5;
  --stone-mid: #B8B0A2;
  --charcoal: #2B2B2B;
  --charcoal-light: #3D3D3D;
  --black: #111111;
  --black-pure: #000000;

  /* Typography */
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Cormorant', 'Georgia', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 900px;
  --container-wide: 1600px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.35s;
  --duration-normal: 0.6s;
  --duration-slow: 1s;
  --duration-slower: 1.4s;

  /* Header */
  --header-height: 90px;
}

/* --- Splash Screen — white bg + KCW logo, smooth fade --- */
.splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-warm);
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash.exit {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  width: clamp(420px, 58vw, 820px);
}

.splash-logo-dark {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-logo-dark.visible {
  opacity: 1;
  transform: scale(1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white-warm);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================
   PER-PAGE BODY RULES (multi-page architecture)
   ============================================ */

/* Home: hero is full viewport, nothing else — disable scroll. */
body[data-page="home"] {
  overflow: hidden;
  height: 100vh;
}

/* About: K/C/W grid is the page hero — kill the cream gap above it. */
body[data-page="about"] #about {
  padding-top: 0;
}

/* Pages without a full-bleed visual hero need their content pushed below
   the fixed header instead of behind it. */
body[data-page="portfolio"],
body[data-page="contact"] {
  padding-top: var(--header-height);
}

/* Portfolio + contact have no dark hero — always show dark logo + green nav */
body[data-page="portfolio"] .header .logo-img-light,
body[data-page="contact"] .header .logo-img-light {
  display: none;
}
body[data-page="portfolio"] .header .logo-img-dark,
body[data-page="contact"] .header .logo-img-dark {
  display: block;
}
body[data-page="portfolio"] .header .nav-link,
body[data-page="contact"] .header .nav-link {
  color: var(--green-rich);
}
body[data-page="portfolio"] .header .nav-link:hover,
body[data-page="contact"] .header .nav-link:hover {
  color: var(--green-deepest);
}
body[data-page="portfolio"] .header .hamburger span,
body[data-page="contact"] .header .hamburger span {
  background: var(--black);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.005em;
}

h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 65ch;
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--green-mid);
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.label-light {
  color: var(--green-sage);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-primary {
  background: var(--green-rich);
  color: var(--white);
  border-color: var(--green-rich);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(26, 47, 35, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn .btn-arrow {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

.header.scrolled {
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 75px;
}

.header.scrolled .nav-link {
  color: var(--charcoal);
}

.header.scrolled .nav-link:hover {
  color: var(--green-rich);
}

.header.header-dark .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.header.header-dark .nav-link:hover {
  color: var(--white);
}

.header.header-dark .hamburger span {
  background: var(--white);
}

.header.header-dark.scrolled .nav-link {
  color: var(--green-rich);
}

.header.header-dark.scrolled .nav-link:hover {
  color: var(--green-deepest);
}

.header.header-dark.scrolled .hamburger span {
  background: var(--black);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 58px;
  width: auto;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.logo-img-light {
  display: block;
}

.logo-img-dark {
  display: none;
}

.header.scrolled .logo-img-light {
  display: none;
}

.header.scrolled .logo-img-dark {
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-ig-link {
  display: flex;
  align-items: center;
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.nav-ig-link:hover { opacity: 1; }
.nav-ig-link svg { width: 18px; height: 18px; }

.header.header-dark.scrolled .nav-ig-link,
body[data-page="portfolio"] .header .nav-ig-link,
body[data-page="contact"] .header .nav-ig-link {
  color: var(--green-rich);
}

.header.scrolled .nav-desktop {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: color var(--duration-fast) var(--ease-out-quart),
              background var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart),
              box-shadow var(--duration-fast) var(--ease-out-quart);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

.nav-link.active {
  background: rgba(58, 107, 80, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(58, 107, 80, 0.35);
  box-shadow: 0 2px 16px rgba(38, 74, 54, 0.12), inset 0 1px 0 rgba(168, 196, 173, 0.3);
}

.nav-link::after {
  display: none;
}

.nav-cta {
  font-size: 0.75rem;
  padding: 0.8rem 2rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--black);
  transition: all var(--duration-fast) var(--ease-out-expo);
}

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

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

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

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--green-deepest);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: right var(--duration-slow) var(--ease-out-expo);
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile .nav-mobile-link {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.nav-mobile.open .nav-mobile-link {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile.open .nav-mobile-link:nth-child(1) { transition-delay: 0.15s; }
.nav-mobile.open .nav-mobile-link:nth-child(2) { transition-delay: 0.2s; }
.nav-mobile.open .nav-mobile-link:nth-child(3) { transition-delay: 0.25s; }
.nav-mobile.open .nav-mobile-link:nth-child(4) { transition-delay: 0.3s; }
.nav-mobile.open .nav-mobile-link:nth-child(5) { transition-delay: 0.35s; }
.nav-mobile.open .nav-mobile-link:nth-child(6) { transition-delay: 0.4s; }

.nav-mobile .nav-mobile-link:hover {
  color: var(--green-sage);
}

/* --- Page transition --- */
.pt-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--green-mid);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.pt-wrap.is-covering {
  opacity: 1;
  pointer-events: all;
}

/* --- Home border frame --- */
.hero-border-frame {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
}

.hero-border-track {
  fill: none;
  stroke: rgba(122, 155, 133, 0.12);
  stroke-width: 1;
}

.hero-border-line {
  fill: none;
  stroke: rgba(122, 155, 133, 0.8);
  stroke-width: 1.5;
  stroke-dasharray: 220 999;
  stroke-linecap: round;
  animation: borderTravel 16s linear infinite;
}

@keyframes borderTravel {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -2000; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 31, 23, 0.3) 0%,
    rgba(15, 31, 23, 0.1) 40%,
    rgba(15, 31, 23, 0.6) 80%,
    rgba(15, 31, 23, 0.85) 100%
  );
  z-index: 1;
}

.hero-center-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: clamp(460px, 82vw, 1100px);
  height: auto;
  display: block;
  transform: translateX(-1%);
}

.hero-slogan {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 4px #000;
  paint-order: stroke fill;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--space-lg);
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.hero-label {
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-title {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  max-width: 900px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s var(--ease-out-expo) 0.7s forwards;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 1.1s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 1.8s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green-sage);
  animation: scrollDown 2s var(--ease-in-out) infinite;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header .label {
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.1rem;
}

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

.section-header-center p {
  margin: 0 auto;
}

/* --- Featured Projects Section --- */
.section-projects {
  background: var(--white-warm);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-card:hover .project-card-image {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 31, 23, 0.85) 0%,
    rgba(15, 31, 23, 0.1) 50%,
    transparent 100%
  );
  opacity: 0.7;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

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

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 1;
  transform: translateY(10px);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.project-card:hover .project-card-content {
  transform: translateY(0);
}

.project-card-content .label {
  color: var(--green-sage);
  margin-bottom: 0.5rem;
}

.project-card-content h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.project-card-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo) 0.1s;
}

.project-card:hover .project-card-content p {
  opacity: 1;
  transform: translateY(0);
}

.project-card-arrow {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-card-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

/* --- About Preview --- */
.section-about {
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.04);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--green-sage);
  opacity: 0.3;
  z-index: -1;
}

.about-content {
  padding: var(--space-lg) 0;
}

.about-content .label {
  margin-bottom: var(--space-sm);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-md);
}

/* --- CTA Section --- */
.section-cta {
  background: var(--green-deep);
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(58, 107, 80, 0.2) 0%, transparent 70%);
}

.section-cta .label {
  color: var(--green-sage);
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.section-cta p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto var(--space-lg);
  position: relative;
}

.section-cta .btn {
  position: relative;
}

/* --- CTA Section Alternate Classes --- */
.cta-content {
  text-align: center;
}

.cta-title {
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-description {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
  max-width: 65ch;
}

.btn-lg {
  padding: 1.3rem 3.2rem;
  font-size: 0.82rem;
}

/* --- Section Footer / View All --- */
.section-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

.btn-text-light {
  color: rgba(255, 255, 255, 0.7);
}

.btn-text-light::after {
  background: rgba(255, 255, 255, 0.7);
}

.btn-text-light:hover {
  color: var(--white);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: var(--space-sm);
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer-contact-item a:hover {
  color: var(--green-sage);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.footer-social a:hover {
  border-color: var(--green-sage);
  background: rgba(255, 255, 255, 0.05);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.5);
}

/* Footer alternate class names */
.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a,
.footer-links li span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-links li svg {
  display: inline;
  vertical-align: middle;
  margin-right: 0.5rem;
  stroke: rgba(255, 255, 255, 0.3);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  max-width: 300px;
  margin-top: var(--space-sm);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.footer-social-link:hover {
  border-color: var(--green-sage);
  background: rgba(255, 255, 255, 0.05);
}

.footer-social-link svg {
  stroke: rgba(255, 255, 255, 0.5);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* --- About Page --- */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  padding-top: var(--header-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

section {
  scroll-margin-top: var(--header-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 31, 23, 0.4) 0%,
    rgba(15, 31, 23, 0.7) 70%,
    rgba(15, 31, 23, 0.9) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.page-hero-content .label {
  color: var(--green-sage);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.3s forwards;
}

.page-hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.page-hero-content p {
  color: rgba(242, 239, 233, 0.7);
  font-size: 1.15rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.7s forwards;
}

/* About Content */
.about-story {
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-story-content h3 {
  margin-bottom: var(--space-md);
}

.about-story-content p {
  margin-bottom: var(--space-sm);
}

.about-philosophy {
  background: var(--white-warm);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.philosophy-card {
  padding: var(--space-lg);
  border: 1px solid var(--stone);
  background: var(--white);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.philosophy-card:hover {
  border-color: var(--green-sage);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.philosophy-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--green-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.philosophy-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-rich);
  fill: none;
  stroke-width: 1.5;
}

.philosophy-card h4 {
  margin-bottom: 0.75rem;
}

.philosophy-card p {
  font-size: 0.9rem;
}

/* --- Services Page --- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-full-card {
  position: relative;
  padding: var(--space-xl);
  border: 1px solid var(--stone);
  background: var(--white);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.service-full-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green-rich);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service-full-card:hover::after {
  transform: scaleX(1);
}

.service-full-card:hover {
  border-color: var(--green-sage);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-full-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--green-pale);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.service-full-card h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.service-full-card p {
  font-size: 0.95rem;
}

/* --- Portfolio Page --- */
.portfolio-filter {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--stone);
  color: var(--charcoal-light);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--green-rich);
  color: var(--green-rich);
  background: rgba(38, 74, 54, 0.05);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:nth-child(4) {
  grid-column: span 2;
}

.portfolio-item-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.portfolio-item:nth-child(4) .portfolio-item-image {
  aspect-ratio: 16/9;
}

.portfolio-item:hover .portfolio-item-image {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 31, 23, 0.9) 0%,
    rgba(15, 31, 23, 0) 60%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.portfolio-item:hover .portfolio-item-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-item-info .label {
  color: var(--green-sage);
  margin-bottom: 0.5rem;
}

.portfolio-item-info h3 {
  color: var(--white);
  font-size: 1.5rem;
}

/* --- Project Detail --- */
.project-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 31, 23, 0.2) 0%,
    rgba(15, 31, 23, 0.8) 100%
  );
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.project-hero-content .label {
  color: var(--green-sage);
  margin-bottom: var(--space-sm);
}

.project-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-sm);
}

.project-meta {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.project-meta-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.project-meta-item strong {
  color: var(--white);
  display: block;
  font-weight: 500;
}

/* Project Content */
.project-content {
  background: var(--white);
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
}

.project-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  align-self: start;
}

.project-sidebar h4 {
  margin-bottom: var(--space-sm);
}

.project-sidebar p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.project-details-list {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--stone);
}

.project-details-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.9rem;
}

.project-details-list li span:first-child {
  color: var(--charcoal-light);
}

.project-details-list li span:last-child {
  font-weight: 500;
}

.project-gallery {
  display: grid;
  gap: var(--space-md);
}

.project-gallery-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  overflow: hidden;
}

.project-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-gallery-image:hover img {
  transform: scale(1.03);
}

.project-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-lg);
}

.contact-detail {
  margin-bottom: var(--space-md);
}

.contact-detail .label {
  margin-bottom: 0.5rem;
}

.contact-detail p {
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-detail a {
  color: var(--green-rich);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.contact-detail a:hover {
  color: var(--green-deep);
}

/* Form */
.contact-form {
  padding: var(--space-xl);
  border: 1px solid var(--stone);
  background: var(--white);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--stone);
  background: var(--white-warm);
  color: var(--charcoal);
  font-size: 1rem;
  transition: border-color var(--duration-fast) var(--ease-out-quart);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-rich);
}

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

.form-group select {
  cursor: pointer;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- About Page: Full-Width Stats Bar --- */
.stats-bar {
  background: var(--green-deep);
  padding: var(--space-xl) 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stats-bar-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

.stats-bar-item .stat-label {
  color: var(--green-sage);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* --- Service Area Tags --- */
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.service-area-tag {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--charcoal);
  padding: 0.8rem 2rem;
  border: 1px solid var(--stone);
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-out-quart);
}

.service-area-tag:hover {
  border-color: var(--green-sage);
  color: var(--green-rich);
}

/* --- Next Project Navigation --- */
.next-project {
  background: var(--green-deepest);
  padding: 0;
}

.next-project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  max-width: var(--container-wide);
  margin: 0 auto;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.next-project-link:hover {
  opacity: 0.8;
}

.next-project-link h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.next-project-label {
  display: block;
  margin-bottom: 0.5rem;
}

.next-project-sub {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-left: 0.5rem;
}

/* --- About Story: Reversed grid --- */
.about-story-reversed {
  direction: ltr;
}

.about-story-reversed .about-story-grid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .stats-bar-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CLASS ALIASES & ADDITIONAL ELEMENTS
   (support for alternate class names used in HTML)
   ============================================ */

/* Hero alternate classes */
.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 1.1s forwards;
}

.hero-label {
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

/* Scroll indicator alternate */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 1.8s forwards;
}

.scroll-indicator-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green-sage);
  animation: scrollDown 2s var(--ease-in-out) infinite;
}

/* Section header alternate classes */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-label-light {
  color: var(--green-sage);
}

.section-title {
  margin-bottom: var(--space-md);
}

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

.section-description {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 65ch;
}

.section-description-light {
  color: rgba(255, 255, 255, 0.6);
}

/* Project card alternate classes */
.project-card-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 0.5rem;
  display: block;
}

.project-card-title {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.project-card-location {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo) 0.1s;
}

.project-card:hover .project-card-location {
  opacity: 1;
  transform: translateY(0);
}

/* View all link */
.view-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-rich);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.view-all-link:hover {
  color: var(--green-deep);
}

.view-all-link svg {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.view-all-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade Up Reveal */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Image Reveal Animation */
.reveal-image {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-image.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   KCW HERO GRID - K/C/W with Image Reveal Animation
   ============================================ */
#about {
  padding-top: var(--about-gap, 5rem);
  padding-bottom: 0;
  background: var(--white-warm);
  transition: padding-top 0.15s linear;
  will-change: padding-top;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 100vh;
  height: 100vh;
  gap: 0;
  overflow: hidden;
  background: var(--white-warm);
  margin-top: 0;
  padding-top: 0;
}

.hero-grid-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
}

/* Initial Green Background (before reveal) */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background: var(--green-rich);
  z-index: 0;
  transition: opacity var(--duration-slower) var(--ease-out-expo) 0.2s;
  opacity: 1;
  filter: saturate(0.55) brightness(1.08);
}

/* Image with reveal animation */
.hero-grid-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--duration-slower) var(--ease-out-expo) 0.2s,
              transform var(--duration-slow) var(--ease-out-expo);
  z-index: 1;
}

/* Keyframe animations for staggered reveal */
@keyframes fadeOutLetter {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeInImage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.85;
  }
}

/* Slower animation duration */
:root {
  --duration-extra-slow: 2.5s;
}

/* Trigger animation on page load */
.page-hero-grid.revealed .hero-grid-bg {
  opacity: 1;
}

.page-hero-grid.revealed .hero-grid-image {
  animation: fadeInImage var(--duration-extra-slow) var(--ease-out-expo) forwards;
}

.page-hero-grid.revealed .letter-img {
  animation: fadeOutLetter var(--duration-extra-slow) var(--ease-out-expo) forwards;
}

/* Stagger animations by item */
.page-hero-grid.revealed .hero-grid-item:nth-child(1) .hero-grid-image {
  animation-delay: 0.4s;
}

.page-hero-grid.revealed .hero-grid-item:nth-child(1) .letter-img {
  animation-delay: 0.4s;
}

.page-hero-grid.revealed .hero-grid-item:nth-child(2) .hero-grid-image {
  animation-delay: 1.6s;
}

.page-hero-grid.revealed .hero-grid-item:nth-child(2) .letter-img {
  animation-delay: 1.6s;
}

.page-hero-grid.revealed .hero-grid-item:nth-child(3) .hero-grid-image {
  animation-delay: 2.8s;
}

.page-hero-grid.revealed .hero-grid-item:nth-child(3) .letter-img {
  animation-delay: 2.8s;
}

.hero-grid-item:hover .hero-grid-image {
  transform: scale(1.05);
}

/* Dark overlay over image */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: background var(--duration-normal) var(--ease-out-expo);
  z-index: 2;
}

.hero-grid-item:hover .hero-grid-overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* Large Letter */
.hero-grid-letter {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.letter-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6));
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo),
              filter var(--duration-normal) var(--ease-out-expo);
  opacity: 1;
}

.hero-grid-item:hover .letter-img {
  transform: scale(1.15);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.8));
}

/* Responsive Hero Grid */
@media (max-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: repeat(3, 1fr);
    min-height: 90vh;
    height: 90vh;
  }

  .hero-grid-item {
    min-height: 100%;
  }
}

@media (max-width: 768px) {
  .page-hero-grid {
    grid-template-columns: repeat(3, 1fr);
    min-height: 80vh;
    height: 80vh;
  }

  .hero-grid-item {
    min-height: 100%;
  }
}

@media (max-width: 640px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    min-height: 100vh;
    height: 100vh;
    gap: 0;
  }

  .hero-grid-item {
    min-height: 100%;
    height: 100%;
  }
}

/* ============================================
   ABOUT PAGE SECTIONS
   ============================================ */

/* Section Header with Decorative Line */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.decorative-line {
  width: 60px;
  height: 2px;
  background: var(--green-rich);
  margin: 0 auto var(--space-lg);
  opacity: 0.6;
}

/* About Intro Section */
/* About Us Typing Bubble */
.about-hero-title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 11rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.page-hero-grid.revealed .about-hero-title {
  animation: fadeIn 1.2s ease 2.8s forwards;
}

.about-scroll-indicator {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  pointer-events: none;
}

.page-hero-grid.revealed .about-scroll-indicator {
  animation: fadeIn 1s ease 4.2s forwards;
}

.about-scroll-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.about-scroll-arrow {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  position: relative;
  animation: scrollLineDrop 2s ease-in-out infinite;
}

.about-scroll-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255,255,255,0.9);
  border-bottom: 1.5px solid rgba(255,255,255,0.9);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes scrollLineDrop {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.about-typing-wrap {
  display: none;
}

.about-typing-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-typing-text {
  font-family: var(--font-heading);
  font-size: 6rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  text-transform: uppercase;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--green-rich);
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink-cursor 0.75s steps(1) infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Founder Grid */
/* ============================================
   ABOUT — Framed premium layout with reviews
   ============================================ */
.about-frame {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  border: 2px solid var(--green-rich);
  border-radius: 8px;
  padding: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1.5rem, 3vw, 3.5rem);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(38, 74, 54, 0.1);
}

.about-frame-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.about-frame-header .about-eyebrow {
  margin: 0;
}

.about-frame-header .about-heading {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  justify-content: center;
  margin: 0;
}

.about-frame-rule {
  width: 64px;
  height: 2px;
  background: var(--green-sage);
  margin-top: 0.25rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about-media {
  position: relative;
}

.about-media .about-founder-img {
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(15, 31, 23, 0.18);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 560px;
  padding-top: 0;
}

.about-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green-rich);
  margin: 0;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.8vw, 4.6rem);
  letter-spacing: 0.04em;
  color: var(--green-deepest);
  line-height: 0.95;
  margin: -0.5rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.about-heading-logo {
  height: 2.6em;
  width: auto;
  display: block;
  object-fit: contain;
}

.about-lede {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
  max-width: 48ch;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0;
  max-width: 54ch;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(38, 74, 54, 0.16);
  border-bottom: 1px solid rgba(38, 74, 54, 0.16);
  margin-top: 0.25rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  color: var(--green-deepest);
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-rich);
  line-height: 1.35;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background: var(--green-deepest);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  margin-top: 0.4rem;
  transition: background 0.3s ease, gap 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 31, 23, 0.15);
}

.about-cta:hover {
  background: var(--green-rich);
  gap: 1rem;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 23, 0.25);
}

/* Reviews / testimonials row */
.about-reviews {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(38, 74, 54, 0.16);
}

.about-reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.about-reviews-header .about-eyebrow {
  margin: 0;
}

.about-reviews-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--green-deepest);
  margin: 0;
  line-height: 1;
}

/* Rating summary row */
.reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--charcoal);
}
.reviews-rating-stars { color: #f5a623; font-size: 1rem; letter-spacing: 0.1em; }
.reviews-rating-score { font-weight: 700; font-size: 1rem; }
.reviews-rating-count { color: var(--green-mid); font-size: 0.8rem; }

/* Marquee */
.reviews-marquee-wrap {
  overflow: hidden;
  position: relative;
  margin: 0 calc(-1 * clamp(1.5rem, 3vw, 3.5rem));
}

.reviews-marquee-wrap::before,
.reviews-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.reviews-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0 1rem;
  animation: reviewsScroll 80s linear infinite;
  width: max-content;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

/* Translate by exactly 20 cards + 20 gaps (320px card + 1.25rem gap each) */
@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-20 * (320px + 1.25rem))); }
}

.review-card {
  flex: 0 0 320px;
  padding: 1.75rem 1.6rem;
  background: var(--white-warm);
  border: 1px solid rgba(38, 74, 54, 0.14);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: var(--green-sage);
  box-shadow: 0 14px 34px rgba(38, 74, 54, 0.1);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-card-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-rich);
}

.review-stars {
  color: var(--green-rich);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  line-height: 1;
}

.review-card blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
  flex: 1;
}

.review-card cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-rich);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-content { max-width: 100%; }
  .about-media .about-founder-img { max-width: 440px; }
  .review-card { flex: 0 0 280px; }
}

@media (max-width: 540px) {
  .about-frame { padding: 2rem 1.25rem; }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  .about-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
}

.about-founder-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
}

.about-founder-img .founder-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.about-founder-img .founder-slide.is-active {
  opacity: 1;
}


.about-founder-text h2 {
  margin: 0.5rem 0 1rem;
}

.about-founder-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

/* Instagram */
.instagram-section {
  background: var(--white-warm);
  padding: 5rem 0;
  border-top: none;
}

.instagram-section .section-header {
  margin-bottom: 0;
}

.instagram-section .section-header .label,
.instagram-section .section-header h2 {
  color: var(--charcoal);
}

.instagram-section .decorative-line {
  background: var(--green-sage);
}

.instagram-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.instagram-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--charcoal);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1;
}

.instagram-handle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.instagram-handle:hover {
  color: var(--green-rich);
}

.instagram-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.reel-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 — matches the video's native aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.reel-wrap iframe {
  position: absolute;
  top: -12%;    /* % of container height — hides account bar */
  left: -18%;   /* push black left bar outside clip boundary */
  width: 136%;  /* wide enough so both black side bars are outside */
  height: 118%; /* taller than container so bottom chrome is clipped */
  border: none;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-wrap:hover iframe {
  transform: scale(1.06);
}

.reel-mask-top,
.reel-mask-bottom {
  display: none; /* pure overflow crop — no colour masks needed */
}

/* permanent low-opacity layer hides the iframe play button */
.reel-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.3s ease;
  cursor: pointer;
}

.reel-overlay:hover {
  background: rgba(0, 0, 0, 0.42);
}

.reel-ig-icon {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.reel-ig-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.reel-overlay:hover .reel-ig-icon {
  opacity: 1;
  transform: scale(1);
}

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

@media (max-width: 600px) {
  .instagram-grid { grid-template-columns: 1fr; }
}

.about-intro {
  background: var(--white-warm);
  padding: 5rem 0 3rem;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  color: var(--charcoal-light);
}

.about-intro p:last-child {
  margin-bottom: 0;
}

/* Values Section */
.values-section {
  background: var(--white-warm);
  padding: var(--space-3xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.value-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid rgba(38, 74, 54, 0.1);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
}

.value-card:hover {
  border-color: var(--green-rich);
  box-shadow: 0 15px 40px rgba(38, 74, 54, 0.12);
  transform: translateY(-8px);
}

.value-icon {
  font-size: 2rem;
  color: var(--green-rich);
  margin-bottom: var(--space-md);
  display: block;
  opacity: 0.7;
}

.value-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal-light);
  margin: 0;
}

/* Image Reveal */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.img-reveal.revealed::after {
  transform: scaleX(0);
}

/* Staggered Reveals */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-reveal.revealed > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* Parallax */
.parallax {
  will-change: transform;
}

/* Line Draw */
.line-draw {
  position: relative;
}

.line-draw::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--green-rich);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.line-draw.revealed::after {
  transform: scaleX(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

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

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-md);
  }

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

  .project-card:first-child {
    grid-row: auto;
    aspect-ratio: 16/9;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

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

  .process-timeline::before {
    display: none;
  }

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

  .portfolio-item:nth-child(4) {
    grid-column: auto;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

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

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

  section {
    padding: var(--space-xl) 0;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .header-inner {
    padding: 0 var(--space-sm);
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-sm);
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .hero-actions,
  .hero-cta {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-indicator,
  .scroll-indicator {
    display: none;
  }

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

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .stat-number {
    font-size: 2rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .project-gallery-row {
    grid-template-columns: 1fr;
  }

  .project-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .nav-mobile .nav-mobile-link {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-card-content {
    padding: var(--space-md);
  }

  .project-card-content h3 {
    font-size: 1.4rem;
  }
}

/* --- Placeholder images (gradient-based until real images are added) --- */
.placeholder-wood-1 {
  background: linear-gradient(135deg, #3B2F1E 0%, #5C4A32 40%, #8B7355 100%);
}

.placeholder-wood-2 {
  background: linear-gradient(135deg, #2D2318 0%, #4A3828 40%, #6B5641 100%);
}

.placeholder-wood-3 {
  background: linear-gradient(135deg, #4A3F2F 0%, #6B5D4A 40%, #9B8B72 100%);
}

.placeholder-green-1 {
  background: linear-gradient(135deg, var(--green-deepest) 0%, var(--green-deep) 50%, var(--green-rich) 100%);
}

.placeholder-green-2 {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
}

.placeholder-studio {
  background: linear-gradient(135deg, #2C2C2C 0%, #3D3D3D 50%, #4A4A4A 100%);
}

/* Smooth page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--green-deepest);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.page-transition.entering {
  opacity: 0;
  pointer-events: none;
}

.page-transition.leaving {
  opacity: 1;
  pointer-events: all;
}

/* --- Smooth loading --- */
.page-loaded .hero-bg-image {
  transform: scale(1);
}

/* ============================================
   PROJECT STAGE — Portfolio carousel
   ============================================ */
.portfolio-section {
  background: var(--white-warm);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.project-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-track {
  position: relative;
  width: calc(100% - 10rem);
  height: calc(100vh - var(--header-height) - 4rem);
  max-height: 860px;
  min-height: 480px;
}

.project-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-decoration: none;
  display: block;
  will-change: transform, opacity;
}

.project-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-house {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(15, 31, 23, 0.25);
}

.project-house-cutout {
  background-size: contain;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 31, 23, 0.15);
}

/* Project name — bottom centre over the image */
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 1.5rem;
  background: linear-gradient(to top, rgba(15,31,23,0.7) 0%, transparent 100%);
  border-radius: 0 0 4px 4px;
  text-align: center;
  pointer-events: none;
}

.project-info-address {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin: 0;
}

.project-info-cta { display: none; }

/* Arrow buttons */
.project-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(38, 74, 54, 0.3);
  background: var(--white);
  color: var(--green-deepest);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(15, 31, 23, 0.12);
  flex-shrink: 0;
}

.project-nav:hover {
  background: var(--green-rich);
  border-color: var(--green-rich);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.project-nav-prev { left: 1.5rem; }
.project-nav-next { right: 1.5rem; }

@media (max-width: 800px) {
  .project-track { width: calc(100% - 7rem); }
  .project-nav { width: 40px; height: 40px; font-size: 1rem; }
  .project-nav-prev { left: 0.75rem; }
  .project-nav-next { right: 0.75rem; }
}

/* ============================================
   PROJECT DETAIL PAGE (svc-detail-*)
   ============================================ */
.svc-detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 0 4rem;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.svc-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: var(--svc-hero-img, none);
  z-index: -2;
  transform: scale(1.02);
}

.svc-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 23, 0.55) 0%, rgba(15, 31, 23, 0.9) 100%);
  z-index: -1;
}

.svc-detail-hero .container {
  max-width: 1100px;
}

.svc-detail-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.svc-detail-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: 0.03em;
  line-height: 1.02;
  margin: 0 0 1.25rem;
  color: var(--white);
  max-width: 14ch;
}

.svc-detail-hero p.svc-detail-lede {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  color: rgba(242, 239, 233, 0.85);
  max-width: 56ch;
  margin: 0;
}

.svc-detail-body {
  padding: 6rem 0;
  background: var(--white);
  color: var(--charcoal);
}

.svc-detail-body .container {
  max-width: 1100px;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.svc-detail-grid h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
  color: var(--green-deepest);
}

.svc-detail-grid p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0 0 1.15rem;
}

.svc-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.svc-detail-list li {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--charcoal);
  padding-left: 1.4rem;
  position: relative;
}

.svc-detail-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--green-mid);
  font-size: 0.85rem;
}

.svc-detail-list li strong {
  display: block;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--green-deepest);
  margin-bottom: 0.25rem;
}

.svc-detail-cta {
  margin-top: 3.5rem;
  padding: 3rem;
  background: var(--green-deepest);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.svc-detail-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--white);
}

.svc-detail-cta p {
  margin: 0.4rem 0 0;
  color: rgba(242, 239, 233, 0.65);
  font-size: 0.95rem;
}

.svc-detail-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.75rem;
  background: var(--white);
  color: var(--green-deepest);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.svc-detail-cta a:hover {
  background: var(--green-sage);
  color: var(--white);
}

.svc-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-sage);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.3s ease, gap 0.3s ease;
}

.svc-detail-back:hover {
  color: var(--white);
  gap: 0.9rem;
}

@media (max-width: 800px) {
  .svc-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .svc-detail-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

/* ============================================
   PROJECT DETAIL GALLERY
   ============================================ */
.svc-gallery-header {
  background: var(--green-deepest);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(122,155,133,0.15);
}

.svc-gallery-header-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--green-light);
  text-transform: uppercase;
}

.svc-detail-gallery {
  background: var(--green-deepest);
  padding: 0 0 6rem;
}

.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 6px;
}

.svc-gallery-item {
  overflow: hidden;
  display: block;
  will-change: transform;
}

.svc-gallery-item img,
.svc-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease-out-quart);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.svc-gallery-item.is-last {
  grid-column: span 2;
}

.svc-gallery-item.is-last img {
  object-fit: contain;
  height: auto;
}

.svc-gallery-item:hover img,
.svc-gallery-item:hover video {
  transform: scale(1.03);
}

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

@media (max-width: 500px) {
  .svc-gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  position: relative;
  background: var(--green-deepest);
  padding: 1.5rem 0 5rem;
  border-top: 3px solid var(--green-rich);
  isolation: isolate;
  color: var(--white);
}


/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
  background: var(--green-deepest);
  padding: 4rem clamp(1.5rem, 3vw, 3.5rem);
  margin: 0 calc(-1 * clamp(1.5rem, 3vw, 3.5rem));
  border-radius: 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.founder-img-wrap {
  position: relative;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  filter: grayscale(15%);
}

.founder-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 0.75rem;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 0 0 1.75rem;
  line-height: 1;
}

.founder-text p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: rgba(242, 239, 233, 0.75);
  margin: 0 0 1.25rem;
}

.founder-text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-photo {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--white-warm);
  padding: 5rem 0;
  border-top: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-rich);
  margin-bottom: 0.4rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--charcoal);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--green-rich);
}

.contact-form-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-rich);
}

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

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* Selection color */
/* Work Gallery Grid (Services Page) */
.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.work-gallery-item {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.work-gallery-item:hover {
  transform: scale(1.02);
}

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

@media (max-width: 480px) {
  .work-gallery-grid {
    grid-template-columns: 1fr;
  }
}

::selection {
  background: var(--green-rich);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--white-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--green-sage);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-rich);
}

/* ============================================
   REDESIGN 2026 — NEW COMPONENTS
   ============================================ */

/* Pull Quote Section */
.pull-quote-section {
  background: var(--white);
  padding: var(--space-2xl) 0;
}
.pull-quote-section blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  color: var(--charcoal);
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
  border: none;
  font-weight: 400;
}
.pull-quote-section cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-mid);
}

/* Story Split (Image | Content side-by-side) */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
  overflow: hidden;
}
.story-split-image {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}
.story-split-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.story-split:hover .story-split-image-bg {
  transform: scale(1.04);
}
.story-split-content {
  padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white-warm);
}
.story-split-content.on-dark {
  background: var(--green-deepest);
}
.story-split-content.on-dark .label {
  color: var(--green-sage);
}
.story-split-content.on-dark h2,
.story-split-content.on-dark h3 {
  color: var(--white);
}
.story-split-content.on-dark p {
  color: rgba(242, 239, 233, 0.65);
}
.story-split-content .label {
  margin-bottom: var(--space-sm);
}
.story-split-content h2,
.story-split-content h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.story-split-content p {
  margin-bottom: var(--space-sm);
  max-width: 52ch;
  font-size: 1rem;
}

/* Services Editorial List */
.services-editorial-list {
  margin-top: var(--space-xl);
}
.services-editorial-item {
  display: grid;
  grid-template-columns: 100px 1fr 48px;
  gap: 0 var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--stone);
  cursor: default;
  transition: background var(--duration-normal) var(--ease-out-expo);
}
.services-editorial-item:last-child {
  border-bottom: 1px solid var(--stone);
}
.services-editorial-item:hover {
  background: var(--white-warm);
}
.services-editorial-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--stone);
  line-height: 1;
  transition: color var(--duration-normal) var(--ease-out-expo);
}
.services-editorial-item:hover .services-editorial-num {
  color: var(--green-rich);
}
.services-editorial-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: 0.35rem;
  transition: color var(--duration-normal) var(--ease-out-expo);
}
.services-editorial-item:hover .services-editorial-body h3 {
  color: var(--green-rich);
}
.services-editorial-body p {
  font-size: 0.92rem;
  color: var(--stone-mid);
  max-width: 55ch;
}
.services-editorial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.services-editorial-item:hover .services-editorial-arrow {
  opacity: 1;
  transform: translateX(0);
}
.services-editorial-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-rich);
  fill: none;
}

/* Gallery Strip (horizontal image row) */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 360px;
  overflow: hidden;
}
.gallery-strip-item {
  position: relative;
  overflow: hidden;
}
.gallery-strip-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.gallery-strip-item:hover .gallery-strip-item-bg {
  transform: scale(1.08);
}

/* Contact Split Layout */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
}
.contact-split-info {
  background: var(--green-deepest);
  padding: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-split-info .label {
  color: var(--green-sage);
  margin-bottom: var(--space-md);
}
.contact-split-info h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: var(--space-xl);
}
.contact-split-info h1 em {
  color: var(--green-sage);
  font-style: normal;
}
.contact-info-divider {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-xl);
}
.contact-split-detail {
  margin-bottom: var(--space-lg);
}
.contact-split-detail-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 0.4rem;
}
.contact-split-detail p,
.contact-split-detail a {
  color: rgba(242, 239, 233, 0.75);
  font-size: 0.95rem;
  transition: color var(--duration-fast) var(--ease-out-quart);
  max-width: none;
}
.contact-split-detail a:hover {
  color: var(--white);
}
.contact-split-form-panel {
  background: var(--white);
  padding: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.contact-split-form-panel h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: var(--space-sm);
}
.contact-split-form-panel > p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  max-width: 45ch;
}

/* Contact form inside split panel — remove redundant box */
.contact-split-form-panel .contact-form {
  padding: 0;
  border: none;
  background: transparent;
}

/* Footer Brand Logo PNG */
.footer-brand-logo {
  display: block;
  margin-bottom: var(--space-md);
}
.footer-brand-logo img {
  height: 50px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}
.footer-brand-logo:hover img {
  opacity: 1;
}

/* ============================================
   REDESIGN — MOBILE BREAKPOINTS
   ============================================ */
@media (max-width: 960px) {
  .story-split {
    grid-template-columns: 1fr;
  }
  .story-split-image {
    min-height: 380px;
    order: -1;
  }
  .story-split-content {
    padding: var(--space-xl) var(--space-lg);
  }
  .services-editorial-item {
    grid-template-columns: 70px 1fr;
  }
  .services-editorial-arrow {
    display: none;
  }
  .contact-split-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .gallery-strip-item {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .pull-quote-section blockquote {
    font-size: clamp(1.2rem, 5vw, 1.7rem);
  }
  .story-split-image {
    min-height: 280px;
  }
  .story-split-content {
    padding: var(--space-xl) var(--space-md);
  }
  .contact-split-info,
  .contact-split-form-panel {
    padding: var(--space-xl) var(--space-md);
  }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-strip-item {
    height: 200px;
  }
}

/* ============================================
   ABOUT — titled blocks + process flow
   ============================================ */
.about-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0;
}

.about-block + .about-block {
  margin-top: 0.75rem;
}

.about-block-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.06em;
  color: var(--green-rich);
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.15rem;
}

.about-block-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--green-sage);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-block:hover .about-block-title::after {
  width: 64px;
}

.about-block p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--charcoal);
  margin: 0;
  max-width: 56ch;
}

/* Process flow */
.process-flow {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0.7rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(180deg, rgba(208, 224, 212, 0.18) 0%, rgba(208, 224, 212, 0) 100%);
  border-left: 2px solid var(--green-sage);
  border-radius: 0 6px 6px 0;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  background: rgba(122, 155, 133, 0.12);
  transform: translateX(4px);
}

.process-step-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-rich);
  transition: transform 0.3s ease, color 0.3s ease;
}

.process-step:hover .process-step-icon {
  color: var(--green-mid);
  transform: rotate(-6deg);
}

.process-step-icon svg,
.process-step-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.process-step-icon img[src="assets/blueprint.png"] {
  width: 28px;
  height: 28px;
}

.process-step-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-deepest);
  line-height: 1.2;
}

.process-step-arrow {
  display: flex;
  justify-content: flex-start;
  margin-left: 0.55rem;
  padding-left: 0.5rem;
  color: var(--green-sage);
  opacity: 0.7;
  height: 12px;
}

.process-step-arrow svg {
  width: 14px;
  height: 14px;
  animation: processArrowBob 1.8s ease-in-out infinite;
}

.process-step-arrow:nth-of-type(2n) svg { animation-delay: 0.2s; }
.process-step-arrow:nth-of-type(3n) svg { animation-delay: 0.4s; }

@keyframes processArrowBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

@media (max-width: 540px) {
  .process-step-label { font-size: 0.88rem; }
  .process-step-icon  { width: 34px; height: 34px; }
  .process-step-icon svg { width: 18px; height: 18px; }
}

/* ============================================
   CONTACT — redesigned (v2) with animated titles + green inputs
   ============================================ */
.contact-section-v2 {
  position: relative;
  background: var(--white-warm);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  isolation: isolate;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(122, 155, 133, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(38, 74, 54, 0.10) 0%, transparent 60%);
}

.contact-bg::before {
  content: '';
  position: absolute;
  top: 12%;
  right: -8%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(38, 74, 54, 0.12);
  border-radius: 50%;
  animation: contactRingFloat 14s ease-in-out infinite;
}

.contact-bg::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: -6%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(122, 155, 133, 0.18);
  border-radius: 50%;
  animation: contactRingFloat 18s ease-in-out -3s infinite reverse;
}

@keyframes contactRingFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -16px) scale(1.04); }
}

.contact-header {
  margin: 0 0 2rem;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: 0.04em;
  color: var(--green-deepest);
  margin: 0;
  line-height: 1;
}

.contact-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

/* Info panel */
.contact-info-panel {
  background: linear-gradient(165deg, var(--green-deepest) 0%, var(--green-deep) 100%);
  color: var(--white);
  padding: 1.75rem 1.6rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 31, 23, 0.18);
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(122, 155, 133, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin: 0 0 1rem;
  position: relative;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--white);
  transition: padding-left 0.3s ease, background 0.3s ease;
  border-radius: 4px;
  position: relative;
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row:not(.contact-info-row-static):hover {
  padding-left: 1rem;
  background: rgba(122, 155, 133, 0.08);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 155, 133, 0.15);
  border: 1px solid rgba(122, 155, 133, 0.3);
  border-radius: 50%;
  color: var(--green-light);
  flex: 0 0 auto;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.contact-info-row:hover .contact-info-icon {
  background: var(--green-sage);
  border-color: var(--green-sage);
  color: var(--green-deepest);
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-info-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-light);
}

.contact-info-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  word-break: break-word;
}

/* Form */
.contact-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-v2 .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form-v2 .field {
  position: relative;
}

.contact-form-v2 .field input,
.contact-form-v2 .field select,
.contact-form-v2 .field textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.6rem;
  background: var(--white);
  border: 1px solid rgba(38, 74, 54, 0.22);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  resize: vertical;
}

.contact-form-v2 .field textarea {
  min-height: 130px;
  padding-top: 1.5rem;
}

.contact-form-v2 .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23264A36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}

.contact-form-v2 .field label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.55);
  pointer-events: none;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease;
  background: var(--white);
  padding: 0 0.3rem;
}

.contact-form-v2 .field input:focus,
.contact-form-v2 .field select:focus,
.contact-form-v2 .field textarea:focus {
  outline: none;
  border-color: var(--green-rich);
  box-shadow: 0 0 0 3px rgba(38, 74, 54, 0.12);
  background: var(--white-warm);
}

/* Floating-label states: focused OR has content (input not empty) */
.contact-form-v2 .field input:focus + label,
.contact-form-v2 .field input:not(:placeholder-shown) + label,
.contact-form-v2 .field textarea:focus + label,
.contact-form-v2 .field textarea:not(:placeholder-shown) + label,
.contact-form-v2 .field select:focus + label,
.contact-form-v2 .field select:valid + label {
  top: -0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-rich);
}

.contact-submit {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  background: var(--green-deepest);
  color: var(--white);
  border: 1px solid var(--green-deepest);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: gap 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--green-rich) 0%, var(--green-mid) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.contact-submit:hover::before {
  transform: translateX(0);
}

.contact-submit:hover {
  gap: 1.1rem;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 31, 23, 0.25);
}

.contact-submit-label,
.contact-submit-arrow {
  position: relative;
  z-index: 1;
}

.contact-submit-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.contact-submit:hover .contact-submit-arrow {
  transform: translateX(4px);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .contact-grid-v2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .contact-section-v2 { padding: 4rem 0 3rem; }
  .contact-form-v2 .field-row { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 2rem 1.5rem; }
}

/* ============================================
   PROJECTS PAGE — editorial grid
   ============================================ */

.projects-hero {
  background: var(--green-deepest);
  padding: 4.5rem 0 4rem;
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.projects-hero-left {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 4rem;
}

.projects-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 1.2rem;
}

.projects-heading {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
}

.projects-hero-right {
  padding-bottom: 0.25rem;
}

.projects-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(242, 239, 233, 0.6);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.projects-stats-row {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
}

.projects-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.projects-stat-n {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}

.projects-stat-l {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-sage);
}

/* Grid section */
.projects-grid-section {
  background: var(--white-warm);
  padding-bottom: 0;
}

.projects-grid-section .container {
  padding-top: 1.25rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.proj-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.proj-card:nth-child(5) {
  grid-column: 2 / 4;
}

/* Card */
.proj-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  min-height: 360px;
  background: var(--green-deepest);
}

.proj-card:nth-child(1) {
  min-height: 730px;
}

.proj-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-card:hover .proj-card-img {
  transform: scale(1.07);
}

.proj-card--illustration {
  min-height: 220px !important;
}

.proj-card--illustration .proj-card-img {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 15, 0.95) 0%,
    rgba(10, 22, 15, 0.45) 45%,
    rgba(10, 22, 15, 0.1) 100%
  );
  transition: opacity 0.4s ease;
}

.proj-card-top {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
}

.proj-card-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(38, 74, 54, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.28rem 0.72rem;
  border: 1px solid rgba(122, 155, 133, 0.3);
}

.proj-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  z-index: 2;
  transform: translateY(0.4rem);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-card:hover .proj-card-body {
  transform: translateY(0);
}

.proj-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.proj-card-blurb {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(242, 239, 233, 0.6);
  margin: 0 0 1rem;
  max-width: 44ch;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.proj-card:nth-child(1) .proj-card-blurb {
  max-width: 52ch;
}

.proj-card:hover .proj-card-blurb {
  opacity: 1;
  transform: translateY(0);
}

.proj-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-sage);
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.proj-card:hover .proj-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* CTA band */
.projects-cta-band {
  margin-top: 0.6rem;
  background: var(--green-deepest);
  padding: 2.25rem 0;
}

.projects-cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0;
}

.projects-cta-band-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
}

.projects-cta-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-rich);
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: background 0.25s ease, gap 0.25s ease;
  white-space: nowrap;
}

.projects-cta-band-btn:hover {
  background: var(--green-mid);
  gap: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .projects-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .projects-hero-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 480px;
  }
  .proj-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  .projects-hero { padding: 3.5rem 0 3rem; }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .proj-card:nth-child(1) {
    grid-column: auto;
    min-height: 380px;
  }
  .proj-card { min-height: 300px; }
  .projects-stats-row { gap: 1.5rem; flex-wrap: wrap; }
  .projects-cta-band .container {
    flex-direction: column;
    text-align: center;
  }
  .proj-card-blurb { display: none; }
}

/* ── Instagram reels grid ── */

.instagram-section { padding: 4rem 0; background: var(--white-warm); }

.ig-cinematic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .ig-cinematic { grid-template-columns: 1fr; }
}
