/*
 Theme Name:   Berry Wealth Strategies
 Theme URI:    https://berrywealthstrategies.com
 Description:  Genesis child theme for Berry Wealth Strategies
 Author:       LMG
 Author URI:   https://lmgpreview.com
 Template:     genesis
 Version:      1.1.7
 License:      GPL-2.0-or-later
 Text Domain:  berry-wealth
*/

/* ===== GENESIS OVERRIDES ===== */
.site-inner,
.content-sidebar-wrap,
.content {
  max-width: none;
  padding: 0;
  margin: 0;
  float: none;
  width: 100%;
}

.site-inner {
  margin-top: 0;
}

.entry {
  padding: 0;
  margin: 0;
}

.entry-content {
  padding: 0;
}

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

:root {
  --black: #231f20;
  --green: #009444;
  --dark-green: #006838;
  --off-white: #f7f5f0;
  --header-bg: #1a2f2f;
}

/* ===== BASE / BODY ===== */
html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.7s ease;
  transform: translateY(-100%);
  opacity: 0;
}

.site-header.loaded {
  transform: translateY(0);
  opacity: 1;
}

.site-header.scrolled {
  background: var(--dark-green);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 50px 18px;
}

.site-logo svg {
  height: 125px;
  width: auto;
  transition: height 0.4s ease;
}

.site-header.scrolled .site-logo svg {
  height: 95px;
}

.site-header.scrolled .site-logo svg path {
  fill: #fff;
  transition: fill 0.4s ease;
}

.site-header.scrolled .dropdown-menu {
  background: var(--dark-green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > a,
.nav-dropdown > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 10px 22px;
  position: relative;
  transition: color 0.3s;
}

.main-nav > a:hover,
.nav-dropdown:hover > a {
  color: #fff;
}

.main-nav > a::after,
.nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav > a:hover::after,
.nav-dropdown:hover > a::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--header-bg);
  min-width: 210px;
  padding: 0;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
  border-top: 2px solid var(--green);
}

.nav-dropdown:hover .dropdown-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.dropdown-menu a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 12px 26px;
  transform: translateX(-12px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.2s, background 0.2s;
}

.nav-dropdown:hover .dropdown-menu a {
  transform: translateX(0);
  opacity: 1;
}

.nav-dropdown:hover .dropdown-menu a:nth-child(1) {
  transition-delay: 0.1s, 0.1s, 0s, 0s;
}

.nav-dropdown:hover .dropdown-menu a:nth-child(2) {
  transition-delay: 0.18s, 0.18s, 0s, 0s;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: var(--green);
}

/* ===== HOME: HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 700px;
  padding: 0 0 60px 60px;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 40px;
  width: 40px;
  height: 40px;
  border-top: 1px solid rgba(255,255,255,0.7);
  border-left: 1px solid rgba(255,255,255,0.7);
  opacity: 0;
  animation: bracketFade 0.8s 1.8s ease forwards;
}

.hero-content::after {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 40px;
  height: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.7);
  opacity: 0;
  animation: bracketFade 0.8s 2s ease forwards;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s 2.2s ease forwards;
}

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

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 13px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(12px);
  }
}

.scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  max-width: 100%;
  margin-bottom: 22px;
  overflow: hidden;
}

.line-wrap {
  overflow: hidden;
  display: block;
}

.line {
  display: block;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.9s ease;
  animation: heroLineFallback 0s 3s forwards;
}

.line.even {
  transform: translateX(105%);
}

.line.visible {
  transform: translateX(0);
  opacity: 1;
  animation: none;
}

@keyframes heroLineFallback {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  max-width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation: heroSubtitleFallback 0s 3.5s forwards;
}

.hero .subtitle.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

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

/* ===== HOME: TIER 1 SECTION ===== */
.tier-1 {
  background: var(--off-white);
  padding: 120px 80px;
}

.tier-1-inner {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 0;
  align-items: center;
}

.tier-1-photo-wrap {
  position: relative;
}

.tier-1-photo-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 85%;
  height: calc(100% + 40px);
  background: var(--dark-green);
  z-index: 0;
}

.tier-1-photo-wrap::after {
  content: '';
  position: absolute;
  top: -36px;
  left: -36px;
  width: 40%;
  height: calc(100% + 72px);
  border: 1px solid var(--green);
  z-index: 0;
}

.tier-1-watermark {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  width: 80%;
  opacity: 0.08;
  pointer-events: none;
}

.tier-1-watermark svg {
  width: 100%;
  height: auto;
}

.tier-1-photo-clip {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tier-1-photo-clip img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.tier-1-text {
  padding: 80px 60px;
}

.tier-1-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 28px;
}

.tier-1-text .accent-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin-bottom: 28px;
}

.tier-1-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
  margin-bottom: 18px;
}

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

/* ===== HOME: TIER 2 SECTION ===== */
.tier-2 {
  background: var(--off-white);
  padding: 120px 80px;
}

.tier-2-inner {
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 0;
  align-items: center;
}

.tier-2-text {
  padding: 80px 60px;
}

.tier-2-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 28px;
}

.tier-2-text .accent-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin-bottom: 28px;
}

.tier-2-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
  margin-bottom: 18px;
}

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

.tier-2-photo-wrap {
  position: relative;
  overflow: visible;
}

.tier-2-photo-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 85%;
  height: calc(100% + 40px);
  background: var(--dark-green);
  z-index: 0;
}

.tier-2-photo-wrap::after {
  content: '';
  position: absolute;
  top: -36px;
  right: -36px;
  width: 40%;
  height: calc(100% + 72px);
  border: 1px solid var(--green);
  z-index: 0;
}

.tier-2-photo-clip {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tier-2-photo-clip img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.tier-2-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 80%;
  opacity: 0.08;
  pointer-events: none;
  overflow: hidden;
}

.tier-2-watermark svg {
  width: 100%;
  height: auto;
}

/* ===== HOME: TIER 3 SECTION (FLIP CARDS) ===== */
.tier-3 {
  position: relative;
  padding: 120px 80px;
  overflow: hidden;
}

.tier-3-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tier-3-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 60, 30, 0.75);
  z-index: 1;
}

.tier-3-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 70%;
  max-width: 900px;
  opacity: 0.06;
  pointer-events: none;
}

.tier-3-watermark svg {
  width: 100%;
  height: auto;
}

.tier-3-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.tier-3-content > h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
}

.tier-3-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.tier-3-divider {
  width: 1px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.flip-card {
  flex: 1;
  perspective: 1000px;
  cursor: pointer;
  padding: 0 60px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 320px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.flip-card-front h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 20px;
}

.flip-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.flip-card:hover .flip-arrow,
.flip-card.flipped .flip-arrow {
  border-color: rgba(255,255,255,0.8);
}

.flip-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: transparent;
  padding: 40px;
}

.flip-card-back ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.flip-card-back li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.flip-card-back li:last-child {
  border-bottom: none;
}

/* ===== INTERIOR HERO (SHARED) ===== */
.interior-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.interior-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.interior-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,60,30,0.6);
  z-index: 1;
}

.interior-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 60px 60px;
}

.interior-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--off-white);
  padding: 120px 80px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.contact-info-panel {
  background: rgba(0, 104, 56, 0.95);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.contact-info-watermark {
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 70%;
  opacity: 0.06;
  pointer-events: none;
}

.contact-info-watermark svg {
  width: 100%;
  height: auto;
}

.contact-info-panel h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
}

.contact-accent-rule {
  width: 50px;
  height: 3px;
  background: var(--green);
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

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

.contact-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.contact-item-text a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item-text a:hover {
  color: #fff;
}

.contact-item-text .phone-large {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 2px;
}

.contact-item-text .phone-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.contact-map {
  position: relative;
  background: #e8e5de;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.3) contrast(1.1);
  transition: filter 0.4s ease;
}

.contact-map:hover iframe {
  filter: saturate(0.8) contrast(1);
}

.contact-inner-wrap {
  position: relative;
}

.contact-inner-wrap::before {
  display: none;
}

.contact-inner-wrap::after {
  display: none;
}

/* ===== EXPERTISE PAGE ===== */
.expertise-section {
  background: var(--off-white);
  padding: 120px 80px;
}

.expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.expertise-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 28px;
}

.expertise-text .accent-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin-bottom: 28px;
}

.expertise-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
}

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

.expertise-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.expertise-card:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.expertise-card:hover {
  transform: translateX(8px);
}

.expertise-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card.visible:hover {
  transform: translateX(8px);
}

.expertise-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.03em;
}

/* ===== OUR PROCESS PAGE ===== */
.process-intro {
  background: var(--off-white);
  padding: 100px 80px 80px;
  text-align: center;
}

.process-intro h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--dark-green);
  margin-bottom: 24px;
}

.process-intro .accent-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin: 0 auto 30px;
}

.process-intro p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
}

.process-stepper {
  background: var(--off-white);
  padding: 0 80px 120px;
}

.stepper-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto 60px;
}

.stepper-nav::before {
  content: '';
  position: absolute;
  top: 39px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d4d0c8;
  z-index: 0;
}

.stepper-track-fill {
  position: absolute;
  top: 39px;
  left: 0;
  height: 2px;
  background: var(--green);
  z-index: 0;
  width: 0;
  transition: width 0.4s ease;
}

.stepper-line {
  display: none;
}

.stepper-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
  position: relative;
  z-index: 1;
  flex: 1;
}

.stepper-btn:first-of-type {
  transform: translateX(-50%);
}

.stepper-btn:last-of-type {
  transform: translateX(50%);
}

.stepper-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #d4d0c8;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #b0aba2;
  transition: all 0.4s ease;
  position: relative;
}

.stepper-btn.active .stepper-circle {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0,148,68,0.3);
}

.stepper-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0aba2;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.stepper-btn.active .stepper-label {
  color: var(--dark-green);
}

.stepper-panels {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  min-height: 200px;
}

.stepper-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.stepper-panel.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stepper-panel h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 12px;
}

.stepper-panel .step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

.panel-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin: 20px auto 28px;
}

.stepper-panel p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
  text-align: center;
}

/* ===== MEET OUR FOUNDER PAGE ===== */
.bio-section {
  background: var(--off-white);
  padding: 120px 80px;
}

.bio-inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-photo-wrap {
  position: relative;
}

.bio-photo-clip {
  overflow: hidden;
}

.bio-photo-clip img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.bio-text {
  padding-top: 0;
}

.bio-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.15;
  margin-bottom: 6px;
}

.bio-title-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 30px;
}

.bio-accent-rule {
  width: 50px;
  height: 3px;
  background: var(--dark-green);
  margin-bottom: 30px;
}

.bio-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.85;
  margin-bottom: 18px;
}

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

/* ===== FOOTER (SHARED) ===== */
.site-footer {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  opacity: 0.04;
  pointer-events: none;
}

.footer-watermark svg {
  width: 100%;
  height: auto;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(to right, var(--dark-green), var(--green), var(--dark-green));
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: start;
  padding: 80px 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
}

.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand svg {
  width: 200px;
  height: auto;
  margin-bottom: 24px;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: #ffffff;
  max-width: 500px;
  line-height: 1.5;
}

.footer-contact {
  text-align: right;
  padding-top: 20px;
}

.footer-contact p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact .phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 12px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 80px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.7;
  white-space: nowrap;
}

.footer-bottom a {
  color: var(--green);
  text-decoration: none;
}

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

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #ffffff;
  white-space: nowrap;
}

/* ===== SCROLL REVEAL ANIMATIONS (SHARED) ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE NAV BACKDROP ===== */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}


/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {

  /* Header & Nav */
  .header-main {
    padding: 10px 20px 14px;
  }

  .site-logo svg {
    height: 90px;
  }

  .site-header.scrolled .site-logo svg {
    height: 72px;
  }

  /* Mobile flyout panel (from right) */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0f1f1f 0%, #1a2f2f 50%, #0d1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 64px 0 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Green accent bar along left edge */
  .main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
  }

  /* Top-level nav links */
  .main-nav > a,
  .nav-dropdown > a {
    display: block;
    width: 100%;
    padding: 18px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease;
  }

  .main-nav > a:hover,
  .nav-dropdown > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 40px;
  }

  /* Remove underline hover effect on mobile */
  .main-nav > a::after,
  .nav-dropdown > a::after {
    display: none;
  }

  /* Nav dropdown block on mobile */
  .nav-dropdown {
    display: block;
    width: 100%;
    position: static;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown > a {
    border-bottom: none;
  }

  /* Dropdown children rendered inline on mobile */
  .dropdown-menu {
    position: static;
    display: block;
    clip-path: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: rgba(0, 0, 0, 0.25);
    border-top: none;
    min-width: 0;
    padding: 4px 0 12px;
    transition: none;
  }

  .dropdown-menu a {
    display: block;
    padding: 12px 32px 12px 48px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.65);
    transform: none;
    opacity: 1;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
  }

  .dropdown-menu a:hover {
    background: rgba(0, 148, 68, 0.12);
    color: #fff;
    padding-left: 56px;
  }

  .nav-toggle {
    display: block;
  }

  /* Home Hero */
  .hero {
    height: 75vh;
    min-height: 440px;
  }

  .hero-content {
    padding: 0 24px 50px;
  }

  .hero-content::before,
  .hero-content::after {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  /* Home Tiers */
  .tier-1 {
    padding: 60px 24px;
  }

  .tier-1-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .tier-1-text {
    padding: 0;
  }

  .tier-1-photo-wrap::before {
    top: -16px;
    left: -16px;
  }

  .tier-2 {
    padding: 0 24px 60px;
  }

  .tier-2-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tier-2-text {
    order: 2;
    padding: 0;
  }

  .tier-2-photo-wrap {
    order: 1;
  }

  .tier-2-photo-wrap::before {
    top: -16px;
    right: -16px;
  }

  .tier-3 {
    padding: 80px 24px;
  }

  .tier-3-cards {
    flex-direction: column;
    gap: 40px;
  }

  .tier-3-divider {
    width: 100%;
    height: 1px;
  }

  .flip-card {
    padding: 0;
  }

  /* Interior Hero */
  .interior-hero {
    height: 40vh;
    min-height: 280px;
  }

  .interior-hero-content {
    padding: 0 24px 40px;
  }

  /* Contact */
  .contact-section {
    padding: 60px 20px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-info-panel {
    padding: 48px 28px;
  }

  .contact-info-panel h2 {
    font-size: 2rem;
  }

  .contact-item {
    gap: 14px;
    margin-bottom: 24px;
  }

  .contact-item-text {
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .contact-item-text a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .contact-item-text .phone-large {
    font-size: 1rem;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .contact-inner-wrap::before,
  .contact-inner-wrap::after {
    display: none;
  }

  /* Expertise */
  .expertise-section {
    padding: 60px 24px;
  }

  .expertise-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .expertise-card {
    opacity: 1 !important;
    transform: none !important;
    gap: 16px;
    padding: 20px 0;
  }

  .expertise-card-icon {
    width: 36px;
    height: 36px;
  }

  .expertise-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .expertise-card-title {
    font-size: 0.9rem;
  }

  /* Process */
  .process-intro {
    padding: 60px 24px 40px;
  }

  .process-stepper {
    padding: 0 16px 80px;
  }

  .stepper-nav {
    padding: 0 24px;
  }

  .stepper-btn:first-of-type,
  .stepper-btn:last-of-type {
    transform: none;
  }

  .stepper-line {
    width: 30px;
  }

  .stepper-circle {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .stepper-nav::before,
  .stepper-track-fill {
    top: 24px;
  }

  .stepper-label {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  /* Bio */
  .bio-section {
    padding: 60px 24px;
  }

  .bio-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-photo-wrap {
    max-width: 320px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 30px;
    text-align: center;
  }

  .footer-nav {
    order: 2;
    align-items: center;
    padding-top: 0;
  }

  .footer-brand {
    order: 1;
  }

  .footer-contact {
    order: 3;
    text-align: center;
    padding-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px 30px;
    text-align: center;
  }

  .footer-bottom p {
    white-space: normal;
  }
}
