/* ==========================================================================
   Cultural Landscapes Inc. — Premium Hardscape & Outdoor Design
   Color System: Warm earth tones, natural stone, sage accents
   Typography: Cormorant Garamond (display) + Inter (body)
   ========================================================================== */

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

:root {
  /* Core palette */
  --stone-950: #1a1714;
  --stone-900: #2c2822;
  --stone-800: #3d3830;
  --stone-700: #5c554a;
  --stone-600: #7a7265;
  --stone-500: #9b8e82;
  --stone-400: #b5a899;
  --stone-300: #cfc5b8;
  --stone-200: #e4ddd4;
  --stone-100: #f0ebe5;
  --stone-50:  #f8f5f1;

  --sage-700: #4a5e43;
  --sage-600: #5d7354;
  --sage-500: #7a8b6f;
  --sage-400: #96a78c;
  --sage-300: #b3c1aa;
  --sage-200: #d1dccb;

  --copper-600: #8b6914;
  --copper-500: #a67c1a;
  --copper-400: #c49a2a;
  --copper-300: #d4b458;

  --cream: #faf7f2;
  --white: #ffffff;

  /* Semantic */
  --text-primary: var(--stone-900);
  --text-secondary: var(--stone-600);
  --text-light: var(--stone-400);
  --text-on-dark: var(--stone-100);
  --bg-primary: var(--cream);
  --bg-dark: var(--stone-900);
  --bg-card: var(--white);
  --accent: var(--sage-600);
  --accent-light: var(--sage-300);
  --border: var(--stone-200);
  --border-light: var(--stone-100);

  /* Type scale */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Spacing */
  --section-pad: 7rem;
  --container-max: 1280px;
  --gap: 2rem;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.4s;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header__tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header__tag--light {
  color: var(--sage-300);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-header--light .section-header__title {
  color: var(--text-on-dark);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-header--light .section-header__desc {
  color: var(--stone-400);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--stone-900);
  color: var(--stone-50);
  border: 2px solid var(--stone-900);
}

.btn--primary:hover {
  background: var(--stone-700);
  border-color: var(--stone-700);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.35s var(--ease);
}

.nav--scrolled {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav--scrolled .nav__brand-name,
.nav--scrolled .nav__links a { color: var(--text-primary); }
.nav--scrolled .nav__cta { color: var(--stone-50) !important; }
.nav--scrolled .nav__toggle span { background: var(--text-primary); }

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: color 0.35s var(--ease);
}

.nav__brand-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease);
}

.nav--scrolled .nav__brand-tag { color: var(--text-light); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after { width: 100%; }

.nav__cta {
  background: var(--stone-900) !important;
  color: var(--stone-50) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  font-size: var(--text-xs) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--sage-600) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero__img {
  width: 100%; height: 100%;
  /* Replace with actual image: background-image: url('../img/hero.jpg'); */
  background: linear-gradient(135deg, #3d3830 0%, #5c554a 30%, #4a5e43 60%, #2c2822 100%);
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 23, 20, 0.4) 0%,
    rgba(26, 23, 20, 0.2) 40%,
    rgba(26, 23, 20, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
}

.hero__above {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--sage-300);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll span {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Animate-in classes */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease) forwards;
}

.animate-in--delay-1 { animation-delay: 0.2s; }
.animate-in--delay-2 { animation-delay: 0.4s; }
.animate-in--delay-3 { animation-delay: 0.6s; }

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

/* ---------- Intro Strip ---------- */
.intro-strip {
  background: var(--stone-900);
  padding: 3.5rem 0;
}

.intro-strip__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

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

.intro-strip__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--stone-100);
  line-height: 1.2;
}

.intro-strip__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 0.25rem;
  display: block;
}

.intro-strip__divider {
  width: 1px;
  height: 48px;
  background: var(--stone-700);
}

/* ---------- Portfolio: Cinematic Scroll ---------- */
.portfolio {
  position: relative;
  padding: 0;
  background: #14140f;
  color: var(--stone-50);
}

/* Sticky filter bar — pinned under main nav while scrolling through stages */
.portfolio__filterbar {
  position: sticky;
  top: 4rem;             /* slot just below the scrolled fixed nav (~64px) */
  z-index: 30;
  background: rgba(20, 20, 16, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.portfolio__filterbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.portfolio__filterbar-label {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.portfolio__filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}
.portfolio__filter {
  background: transparent;
  color: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.5rem 1.1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.portfolio__filter:hover {
  color: var(--stone-50);
  border-color: rgba(255,255,255,0.45);
}
.portfolio__filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.portfolio__filter.active {
  background: var(--stone-50);
  color: var(--stone-900);
  border-color: var(--stone-50);
}

/* Stages container */
.portfolio__stages {
  position: relative;
}

/* Each stage = two viewports tall (sticky hero + detail panel rising over it) */
.portfolio__stage {
  position: relative;
  min-height: 200vh;
  background: #14140f;
}
.portfolio__stage.hidden {
  display: none;
}

/* Pinned hero — fills viewport while you scroll its 200vh stage */
.portfolio__hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.portfolio__hero picture,
.portfolio__hero > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.portfolio__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(15,15,12,0.55) 0%,
      rgba(15,15,12,0.05) 22%,
      rgba(15,15,12,0.05) 55%,
      rgba(15,15,12,0.82) 100%);
  pointer-events: none;
}

/* Section intro (only on first visible stage, JS-managed) */
.portfolio__hero-intro {
  position: absolute;
  /* Sit clearly below the fixed nav (~64px) + sticky filter bar (~64px) */
  top: clamp(10rem, 18vh, 14rem);
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  pointer-events: none;
}
.portfolio__hero-tag {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.portfolio__hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.portfolio__hero-lede {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 44ch;
  margin: 0;
  text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}

/* Project caption (every stage, bottom of hero) */
.portfolio__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(2.5rem, 6vh, 5rem);
  color: #fff;
  pointer-events: none;
}
.portfolio__caption > * { pointer-events: auto; }
.portfolio__caption-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.portfolio__caption-index {
  color: var(--accent);
}
.portfolio__caption-cat {
  color: rgba(255,255,255,0.72);
}
.portfolio__caption-badge {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.6rem;
}
.portfolio__caption-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0 0 0.85rem;
  max-width: 24ch;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.portfolio__caption-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 58ch;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}
.portfolio__caption-footer {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.portfolio__caption-loc {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.portfolio__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.94);
  color: var(--stone-900);
  border: none;
  padding: 0.75rem 1.4rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.portfolio__cta:hover {
  background: #fff;
  transform: translateX(3px);
}
.portfolio__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.portfolio__cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

/* Scroll cue on the very first stage */
.portfolio__scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.72);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  pointer-events: none;
  animation: cl-cue 2.2s ease-in-out infinite;
}
@keyframes cl-cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50%      { transform: translate(-50%, 7px); opacity: 1; }
}

/* Detail panel — second viewport, rises up over the sticky hero */
.portfolio__detail {
  position: relative;
  z-index: 5;
  background: var(--stone-50);
  color: var(--stone-900);
  padding: clamp(4rem, 8vh, 7rem) 0 clamp(4rem, 8vh, 7rem);
  min-height: 100vh;
  box-shadow: 0 -40px 80px -20px rgba(0,0,0,0.4);
}
.portfolio__detail-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.portfolio__detail-copy {
  position: sticky;
  top: 9rem;
}
.portfolio__detail-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.portfolio__detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--stone-900);
  margin: 0 0 1.25rem;
}
.portfolio__detail-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone-700);
  margin: 0 0 1.75rem;
}
.portfolio__detail-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.25rem;
  font-size: 0.85rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stone-200);
  margin: 0;
}
.portfolio__detail-meta dt {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--stone-500);
  align-self: center;
}
.portfolio__detail-meta dd {
  margin: 0;
  color: var(--stone-800);
}

/* Detail photos */
.portfolio__detail-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.portfolio__detail-photo {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--stone-200);
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  box-shadow: 0 14px 44px rgba(0,0,0,0.14);
}
.portfolio__detail-photo picture,
.portfolio__detail-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.portfolio__detail-photo:hover img,
.portfolio__detail-photo:focus-visible img {
  transform: scale(1.04);
}
.portfolio__detail-photo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.portfolio__detail-photo-label {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: rgba(20,20,16,0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- Portfolio: Picker stage (compact selectable rail) ---------- */
.portfolio__stage--picker {
  min-height: 100vh;
  background: #14140f;
}
.portfolio__picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 380px);
  min-height: 100vh;
  position: relative;
}

/* Main showcase (left) — cards stack, one is active */
.portfolio__picker-main {
  position: relative;
  background: #0f0f0c;
  overflow: hidden;
  min-height: 100vh;
}
.portfolio__picker-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--ease);
  pointer-events: none;
}
.portfolio__picker-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.portfolio__picker-card.hidden { display: none; }
.portfolio__picker-card .portfolio__hero {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 0;
}

/* Right rail */
.portfolio__picker-list {
  background: rgba(20, 20, 16, 0.96);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: clamp(2rem, 4vh, 3.5rem) clamp(1.25rem, 2vw, 1.75rem) clamp(2rem, 4vh, 3rem);
  overflow-y: auto;
  max-height: 100vh;
}
.portfolio__picker-list-label {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
  margin: 0 0 0.25rem;
}
.portfolio__picker-list-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.75rem;
}

.portfolio__picker-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.portfolio__picker-thumb {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.95rem;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.65rem;
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.portfolio__picker-thumb:hover {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.08);
}
.portfolio__picker-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.portfolio__picker-thumb.is-active {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}
.portfolio__picker-thumb.is-active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14%;
  bottom: 14%;
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.portfolio__picker-thumb.hidden { display: none; }

.portfolio__picker-thumb-img {
  width: 92px;
  height: 68px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone-700, #2a2a26);
  flex-shrink: 0;
}
.portfolio__picker-thumb-img picture,
.portfolio__picker-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio__picker-thumb-text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}
.portfolio__picker-thumb-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.22;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.003em;
}
.portfolio__picker-thumb.is-active .portfolio__picker-thumb-text strong {
  color: #fff;
}
.portfolio__picker-thumb-text em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.portfolio__picker-thumb.is-active .portfolio__picker-thumb-text em {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio__detail { padding: 4rem 0; }
  .portfolio__detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portfolio__detail-copy { position: static; }

  .portfolio__picker {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 32vw, 340px);
  }
}

@media (max-width: 768px) {
  /* Drop the sticky-pin parallax on mobile — feels weird on small screens */
  .portfolio__stage { min-height: 0; }
  .portfolio__hero {
    position: relative;
    height: 78vh;
    min-height: 460px;
  }
  .portfolio__hero-intro { top: 7vh; }
  .portfolio__caption { padding-bottom: 2.5rem; }
  .portfolio__hero-headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
    max-width: none;
  }
  .portfolio__caption-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .portfolio__detail {
    padding: 3rem 0;
    min-height: 0;
    box-shadow: 0 -20px 40px -16px rgba(0,0,0,0.3);
  }
  .portfolio__filterbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.75rem 0;
  }
  .portfolio__filterbar-label { display: none; }
  .portfolio__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio__filters::-webkit-scrollbar { display: none; }
  .portfolio__filter { flex: 0 0 auto; padding: 0.4rem 0.9rem; font-size: var(--text-xs); }

  /* Picker stage stacks on mobile: showcase on top, rail below */
  .portfolio__stage--picker { min-height: 0; }
  .portfolio__picker {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .portfolio__picker-main {
    height: 70vh;
    min-height: 420px;
    min-height: 0;
  }
  .portfolio__picker-card .portfolio__hero {
    height: 70vh;
    min-height: 420px;
  }
  .portfolio__picker-list {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 1.25rem 2rem;
    max-height: none;
  }
  .portfolio__picker-list-label { font-size: 1.5rem; }
  .portfolio__picker-thumbs { gap: 0.25rem; }
  .portfolio__picker-thumb { padding: 0.55rem; }
  .portfolio__picker-thumb-img { width: 76px; height: 56px; }
  .portfolio__picker-thumb-text strong { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio__scroll-cue { animation: none; opacity: 0.7; }
  .portfolio__detail-photo img,
  .portfolio__cta { transition: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12,12,12,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox[aria-hidden="false"] {
  display: flex;
  animation: lightbox-fade 200ms var(--ease);
}
@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__figure {
  margin: 0;
  max-width: min(1400px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.lightbox__picture,
.lightbox__picture img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox__caption {
  color: rgba(255,255,255,0.92);
  text-align: center;
  max-width: 720px;
}
.lightbox__caption h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.lightbox__caption p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin: 0 0 0.4rem;
}
.lightbox__counter {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}
.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.75rem;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3.25rem;
  height: 3.25rem;
  font-size: 2.25rem;
  line-height: 1;
}
.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.05);
}
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }
.lightbox__nav[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox__close { top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem; }
  .lightbox__nav { width: 2.5rem; height: 2.5rem; font-size: 1.75rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}
body.lightbox-open {
  overflow: hidden;
}

/* ---------- Services ---------- */
.services {
  padding: var(--section-pad) 0;
  background: var(--stone-900);
}

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

.services__card {
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all var(--duration) var(--ease);
}

.services__card:hover {
  border-color: var(--sage-600);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.services__icon {
  width: 56px; height: 56px;
  color: var(--sage-400);
  margin-bottom: 1.75rem;
}

.services__icon svg {
  width: 100%; height: 100%;
}

.services__card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--stone-100);
  margin-bottom: 0.75rem;
}

.services__card p {
  font-size: var(--text-sm);
  color: var(--stone-400);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.services__details {
  border-top: 1px solid var(--stone-700);
  padding-top: 1.25rem;
}

.services__details li {
  font-size: var(--text-sm);
  color: var(--stone-500);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.services__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px; height: 4px;
  background: var(--sage-500);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ---------- Nursery ---------- */
.nursery {
  padding: var(--section-pad) 0;
}

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

.nursery__images {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1rem;
}

.nursery__img {
  border-radius: 4px;
  overflow: hidden;
}

.nursery__img--main {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--sage-200), var(--sage-300));
}

.nursery__img--secondary {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--sage-300), var(--sage-200));
  margin-top: 3rem;
}

.nursery__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.nursery__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.nursery__highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nursery__highlight {
  padding-left: 1.25rem;
  border-left: 3px solid var(--sage-500);
}

.nursery__highlight strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.nursery__highlight span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ---------- Process ---------- */
.process {
  padding: var(--section-pad) 0;
  background: var(--stone-50);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--stone-300);
}

.process__step {
  text-align: center;
  position: relative;
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--stone-900);
  color: var(--stone-50);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.process__step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--stone-900);
}

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

.testimonials__card {
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s var(--ease);
}

.testimonials__card:hover {
  border-color: var(--copper-500);
}

.testimonials__stars {
  color: var(--copper-400);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonials__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--stone-200);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonials__author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--stone-100);
}

.testimonials__author span {
  font-size: var(--text-xs);
  color: var(--stone-500);
}

/* ---------- About ---------- */
.about {
  padding: var(--section-pad) 0;
}

.about__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__value h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about__value p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.about__images {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1rem;
}

.about__img {
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--stone-300), var(--stone-200));
}

.about__img--main {
  aspect-ratio: 3/4;
}

.about__img--accent {
  aspect-ratio: 2/3;
  margin-top: 4rem;
}

/* ---------- Service Area ---------- */
.area {
  padding: var(--section-pad) 0;
  background: var(--stone-50);
}

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

.area__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.area__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.area__towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area__town {
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.25s var(--ease);
}

.area__town:hover {
  background: var(--stone-900);
  color: var(--stone-50);
  border-color: var(--stone-900);
}

/* ---------- Contact ---------- */
.contact {
  padding: var(--section-pad) 0;
  background: var(--stone-900);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--stone-100);
  margin-bottom: 1.25rem;
}

.contact__text {
  font-size: var(--text-base);
  color: var(--stone-400);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-item strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.25rem;
}

.contact__info-item a,
.contact__info-item span {
  font-size: var(--text-base);
  color: var(--stone-200);
}

.contact__info-item a:hover {
  color: var(--sage-300);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact__field {
  margin-bottom: 1.25rem;
}

.contact__field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.5rem;
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--stone-900);
  border: 1px solid var(--stone-700);
  border-radius: 2px;
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color 0.25s var(--ease);
  outline: none;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: var(--stone-600);
}

.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: var(--sage-500);
}

.contact__field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7265' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact__field select option {
  background: var(--stone-900);
  color: var(--stone-100);
}

.contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__form .btn {
  margin-top: 0.5rem;
}
.contact__form .btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* "How did you hear about us?" — multi-select checkbox grid */
.contact__field--checks {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}
.contact__field--checks legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 0.7rem;
  padding: 0;
}
.contact__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}
.contact__check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  user-select: none;
}
.contact__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
  position: relative;
  margin: 0;
}
.contact__check input[type="checkbox"]:hover {
  border-color: rgba(255,255,255,0.7);
}
.contact__check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.contact__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 11px;
  border: solid var(--stone-900, #1a1a16);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact__check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .contact__checks { grid-template-columns: 1fr; }
}

/* Honeypot — invisible to humans, present in the DOM for bots. */
.contact__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact__form-error {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(190, 60, 60, 0.14);
  border: 1px solid rgba(190, 60, 60, 0.4);
  border-radius: 3px;
  color: #f4c8c8;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Success card replaces the form on a successful submission */
.contact__success {
  padding: 2rem clamp(1rem, 2vw, 1.5rem);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}
.contact__success-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin: 0.5rem 0 0.9rem;
}
.contact__success-title [data-success-name] {
  color: var(--accent);
}
.contact__success-lede {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.5rem;
  max-width: 50ch;
}
.contact__scheduler {
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact__scheduler-placeholder {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.contact__scheduler-placeholder a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact__scheduler-placeholder a:hover {
  text-decoration: underline;
}
.contact__scheduler iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 3px;
  min-height: 760px;
}

.contact__form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--stone-600);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--stone-950);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--stone-800);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--stone-800);
}

.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--stone-100);
  display: block;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}

.footer__address {
  font-size: var(--text-sm);
  color: var(--stone-600);
}

.footer__links h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--stone-400);
  transition: color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--stone-100);
}

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--stone-600);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

@media (max-width: 1024px) {
  :root {
    --section-pad: 5rem;
    --text-6xl: 3.5rem;
    --text-4xl: 2.25rem;
  }

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

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

  .testimonials__card:last-child {
    grid-column: span 2;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process__timeline::before { display: none; }

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

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem;
    --text-6xl: 2.75rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }

  .container { padding: 0 1.25rem; }

  /* Nav mobile */
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--stone-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }

  .nav__links.open { right: 0; }

  .nav__links a {
    color: var(--stone-200) !important;
    font-size: var(--text-lg);
  }

  .nav__cta {
    margin-top: 1rem;
  }

  /* Hero */
  .hero__content { padding-top: 8rem; }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn { width: 100%; text-align: center; }

  .hero__scroll { display: none; }

  /* Intro strip */
  .intro-strip__grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .intro-strip__divider { display: none; }

  .intro-strip__stat {
    flex: 1 1 40%;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Nursery */
  .nursery__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nursery__images { order: -1; }

  /* Process */
  .process__timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__card:last-child {
    grid-column: span 1;
  }

  /* About */
  .about__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__images { order: -1; }

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

  /* Area */
  .area__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Contact */
  .contact__layout {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --text-6xl: 2.25rem;
    --text-4xl: 1.75rem;
  }

  .hero__above { font-size: 0.65rem; }

  .contact__form-wrap {
    padding: 1.5rem;
  }
}
