/* ===================================================
   ROSALBANK — STYLE.CSS
   Handmade Sketch Mood · Olive & Rust Palette
   Overlapping Layers · Contextual Shrinking Nav
   =================================================== */

/* --- CSS VARIABLES --- */
:root {
  --color-primary: #607336;
  --color-secondary: #9BBD68;
  --color-accent: #A85133;
  --color-bg: #F8FAF5;
  --color-surface: #FCFCFC;
  --color-text: #2B3520;
  --color-text-light: #636C59;
  --color-dark: #2B3520;
  --color-white: #ffffff;
  --color-cream: #faf9f6;
  --color-warm-gray: #f5f7fa;
  --color-footer-bg: #2d2d2d;
  --color-footer-text: rgba(255,255,255,0.75);

  --font-heading: 'Bookman Old Style', 'URW Bookman', serif;
  --font-body: 'Lucida Sans', 'Lucida Sans Unicode', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --radius-soft: 16px;
  --radius-card: 16px;
  --radius-btn: 6px;
  --radius-small: 8px;
  --radius-medium: 12px;

  --shadow-colored: 0 4px 20px rgba(96,115,54,0.2);
  --shadow-colored-lg: 0 12px 48px rgba(96,115,54,0.15);
  --shadow-card: 0 4px 24px rgba(96,115,54,0.1);
  --shadow-inset: inset 0 0 0 1px rgba(43,53,32,0.06);

  --transition: all 200ms ease;
  --transition-slow: all 300ms ease;

  --nav-height: 78px;
  --nav-height-scrolled: 62px;
  --container-max: 1177px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.66;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  background: rgba(96,115,54,0.08);
  text-decoration: none;
}

ul, ol {
  list-style-type: disc;
  padding-left: 1.5rem;
}

/* --- CROSSHATCH TEXTURE OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(43,53,32,0.03) 10px,
      rgba(43,53,32,0.03) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(43,53,32,0.03) 10px,
      rgba(43,53,32,0.03) 11px
    );
}

/* --- PAGE TRANSITION: BLUR ENTRANCE --- */
@keyframes blurEntrance {
  from {
    filter: blur(4px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}

main {
  animation: blurEntrance 0.3s ease-out forwards;
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 10001;
  transition: width 50ms linear;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  z-index: 100000;
  font-size: 1rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: 2.01rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: 1rem;
}

small,
.caption,
.small-text {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accent {
  color: var(--color-accent);
  font-style: italic;
}

/* Headings inline accent styling */
h1 .accent,
h2 .accent,
h3 .accent {
  font-weight: 800;
}

/* --- DROP CAP (about page) --- */
.drop-cap::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  font-weight: 700;
  color: var(--color-accent);
  margin-right: 0.5rem;
  margin-top: 0.1rem;
}

/* --- PULL QUOTE --- */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px dashed var(--color-accent);
  padding: 1.5rem 2rem;
  margin: 2.5rem -1rem;
  line-height: 1.4;
}

/* --- LOGO & BRAND --- */
.site-logo {
  max-height: 37px;
  width: auto;
  flex-shrink: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: none;
}

.site-brand a:hover {
  background: none;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.01em;
  transition: var(--transition-slow);
}

/* --- NAVIGATION: CONTEXTUAL SHRINKING --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,249,246,0.95);
  backdrop-filter: blur(8px);
  transition: var(--transition-slow);
  height: var(--nav-height);
  border-bottom: 2px dashed rgba(43,53,32,0.1);
}

.site-header.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(252,252,252,0.98);
  box-shadow: 0 2px 12px rgba(96,115,54,0.1);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.9rem;
  height: 100%;
  overflow: visible;
  flex-wrap: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-small);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(96,115,54,0.08);
  color: var(--color-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

.nav-cta a {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid var(--color-primary);
}

.nav-cta a:hover {
  background: #4e5f2b;
  border-color: #4e5f2b;
}

/* Scrolled state: tighter nav */
.site-header.scrolled .site-name {
  font-size: 1.1rem;
}

.site-header.scrolled .nav-links {
  gap: 1rem;
}

.site-header.scrolled .nav-links a {
  font-size: 0.78rem;
}

.site-header.scrolled .site-logo {
  max-height: 30px;
}

/* --- HAMBURGER MENU --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px dashed var(--color-text-light);
  border-radius: var(--radius-small);
  cursor: pointer;
  padding: 0;
  gap: 5px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- MOBILE NAV OVERLAY --- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250,249,246,0.98);
  backdrop-filter: blur(12px);
  z-index: 1001;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-small);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.mobile-nav-overlay a:hover {
  background: rgba(96,115,54,0.08);
}

.mobile-nav-overlay .nav-cta-mobile {
  margin-top: 1.5rem;
}

.mobile-nav-overlay .nav-cta-mobile a {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-btn);
  font-size: 1rem;
}

/* --- HERO: OVERLAPPING LAYERS --- */
.hero-background {
  position: relative;
  min-height: 60vh;
  background: var(--color-dark);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6.14rem 3.41rem 0;
  margin-top: var(--nav-height);
  overflow: hidden;
  background-image: linear-gradient(215deg, var(--color-dark) 0%, #1a2310 100%);
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: var(--shadow-colored-lg);
  max-width: 1100px;
  width: 100%;
  margin-bottom: -6rem;
  border: 2px dashed rgba(43,53,32,0.08);
}

.hero-card h1 {
  font-size: clamp(2.66rem, 5vw, 3.63rem);
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.66;
}

/* Hero Asymmetric Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-stat-card {
  background: rgba(96,115,54,0.06);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-medium);
  padding: 1.2rem 1.5rem;
  border: 1px dashed rgba(96,115,54,0.15);
}

.hero-stat-card:nth-child(1) { margin-left: 0; }
.hero-stat-card:nth-child(2) { margin-left: 2rem; }
.hero-stat-card:nth-child(3) { margin-left: 1rem; }
.hero-stat-card:nth-child(4) { margin-left: 3rem; }

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* --- ORGANIC BOTANICAL MOTIF --- */
.leaf-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 0% 80% 0% 80%;
  background: var(--color-primary);
  opacity: 0.06;
  transform: rotate(20deg);
  pointer-events: none;
}

.leaf-decoration.top-right {
  top: 2rem;
  right: 3rem;
}

.leaf-decoration.bottom-left {
  bottom: 2rem;
  left: 3rem;
  transform: rotate(-20deg);
}

/* --- SECTIONS: OVERLAPPING LAYERS + DIAGONAL CLIP --- */
.section-band {
  position: relative;
  padding: 8rem 2rem 10rem;
  width: 100%;
}

.section-band--white {
  background: var(--color-cream);
}

.section-band--gray {
  background: var(--color-warm-gray);
}

.section-band--accent {
  background: rgba(96,115,54,0.06);
}

.section-band--dark {
  background: var(--color-dark);
}

/* Diagonal clip-paths */
.section-band--clip {
  clip-path: polygon(0 0, 100% 4rem, 100% 100%, 0 calc(100% - 4rem));
  margin-top: -4rem;
}

.section-band--clip-reverse {
  clip-path: polygon(0 4rem, 100% 0, 100% calc(100% - 4rem), 0 100%);
  margin-top: -4rem;
}

.section-card {
  max-width: 1100px;
  margin: -4rem auto 0;
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 2px dashed rgba(43,53,32,0.06);
  z-index: 2;
}

/* Increasing z-index for stacking */
.section-band:nth-of-type(1) { z-index: 1; }
.section-band:nth-of-type(2) { z-index: 2; }
.section-band:nth-of-type(3) { z-index: 3; }
.section-band:nth-of-type(4) { z-index: 4; }
.section-band:nth-of-type(5) { z-index: 5; }
.section-band:nth-of-type(6) { z-index: 6; }
.section-band:nth-of-type(7) { z-index: 7; }
.section-band:nth-of-type(8) { z-index: 8; }
.section-band:nth-of-type(9) { z-index: 9; }
.section-band:nth-of-type(10) { z-index: 10; }

/* --- SECTION TEXT (on dark backgrounds) --- */
.section-band--dark h2,
.section-band--dark h3,
.section-band--dark p,
.section-band--dark a,
.section-band--dark .accent {
  color: var(--color-white);
}

.section-band--dark .accent {
  color: var(--color-secondary);
}

/* Container utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 680px;
}

.container--medium {
  max-width: 800px;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* --- CORNER ACCENTS --- */
.corner-accents {
  position: relative;
}

.corner-accents::before,
.corner-accents::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.corner-accents::before {
  top: 2rem;
  left: 2rem;
  width: 30px;
  height: 30px;
  border-top: 2px solid rgba(168,81,51,0.2);
  border-left: 2px solid rgba(168,81,51,0.2);
}

.corner-accents::after {
  bottom: 2rem;
  right: 2rem;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid rgba(168,81,51,0.2);
  border-right: 2px solid rgba(168,81,51,0.2);
}

/* Smaller corner accents for cards */
.corner-accents--sm::before {
  top: 1rem;
  left: 1rem;
  width: 15px;
  height: 15px;
}

.corner-accents--sm::after {
  bottom: 1rem;
  right: 1rem;
  width: 15px;
  height: 15px;
}

/* --- CARDS: TOP COLORED BAR --- */
.card {
  background: var(--color-surface);
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  border-top: 6px solid var(--color-primary);
  padding: 1.6rem;
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: scale(1.01) rotate(0.5deg);
  box-shadow: 0 8px 32px rgba(96,115,54,0.25);
}

/* Inset card style for feature grids inside overlapping cards */
.card--inset {
  border-top: none;
  box-shadow: var(--shadow-inset);
  border-radius: var(--radius-medium);
  border: 1px dashed rgba(43,53,32,0.1);
}

.card--inset::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.card--inset:hover {
  transform: scale(1.01) rotate(0.5deg);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.72rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- PRICING CARDS --- */
.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px dashed rgba(43,53,32,0.08);
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(96,115,54,0.25);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.pricing-period {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(43,53,32,0.06);
  font-size: 0.95rem;
  color: var(--color-text);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.03rem 2.16rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(96,115,54,0.25);
}

.btn--primary:hover {
  background: #4e5f2b;
  border-color: #4e5f2b;
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(96,115,54,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: rgba(96,115,54,0.08);
  color: #4e5f2b;
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(168,81,51,0.25);
}

.btn--accent:hover {
  background: #8e4229;
  border-color: #8e4229;
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: var(--color-warm-gray);
  color: var(--color-dark);
}

.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.text-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--color-accent);
  transition: var(--transition);
}

.text-link:hover {
  background: none;
  color: #8e4229;
  border-bottom-color: #8e4229;
}

/* --- TESTIMONIALS: SIDE-BY-SIDE WITH AVATAR --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 1.72rem;
}

.testimonial-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px dashed rgba(43,53,32,0.1);
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: scale(1.01) rotate(0.3deg);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-avatar--olive { background: var(--color-primary); }
.testimonial-avatar--rust { background: var(--color-accent); }

.testimonial-content {
  flex: 1;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-secondary);
  opacity: 0.4;
  line-height: 1;
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
}

.testimonial-quote::after {
  content: '\201D';
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-secondary);
  opacity: 0.4;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-light);
}

.testimonial-author strong {
  color: var(--color-text);
  font-weight: 700;
}

/* --- STATS: CIRCULAR PROGRESS STYLE --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
}

.stat-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px dashed rgba(43,53,32,0.1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-top: 0.4rem;
  max-width: 100px;
  text-align: center;
}

/* Conic gradient progress indicators */
.stat-circle[data-progress="100"] {
  background: conic-gradient(var(--color-primary) 0% 100%, rgba(96,115,54,0.1) 100% 100%);
}
.stat-circle[data-progress="94"] {
  background: conic-gradient(var(--color-primary) 0% 94%, rgba(96,115,54,0.1) 94% 100%);
}
.stat-circle[data-progress="85"] {
  background: conic-gradient(var(--color-primary) 0% 85%, rgba(96,115,54,0.1) 85% 100%);
}
.stat-circle[data-progress="60"] {
  background: conic-gradient(var(--color-primary) 0% 60%, rgba(96,115,54,0.1) 60% 100%);
}
.stat-circle[data-progress="40"] {
  background: conic-gradient(var(--color-primary) 0% 40%, rgba(96,115,54,0.1) 40% 100%);
}

.stat-circle-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px dashed rgba(43,53,32,0.12);
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 0 1.5rem;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- FORMS: FLOATING LABELS --- */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.67rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 2px dashed rgba(43,53,32,0.2);
  border-radius: 0;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--color-primary);
  border-bottom-style: solid;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 0.67rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-light);
  pointer-events: none;
  transition: all 200ms ease;
  transform-origin: left top;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select.has-value ~ label {
  transform: translateY(-1.5rem) scale(0.8);
  color: var(--color-primary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636C59' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.radio-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 0.5rem;
}

.radio-group label {
  position: static;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: auto;
  accent-color: var(--color-primary);
}

/* --- TABLES --- */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.rate-table th {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid var(--color-primary);
  background: rgba(96,115,54,0.04);
}

.rate-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px dashed rgba(43,53,32,0.08);
  color: var(--color-text);
}

.rate-table tr:hover td {
  background: rgba(96,115,54,0.04);
}

.rate-table td:nth-child(2),
.rate-table td:nth-child(3),
.rate-table th:nth-child(2),
.rate-table th:nth-child(3) {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-primary);
}

/* --- TABS (Locations) --- */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.7rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--color-text-light);
  border: 2px dashed rgba(43,53,32,0.15);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(96,115,54,0.08);
}

.tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  border-style: solid;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- LOCATION CARDS --- */
.location-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px dashed rgba(43,53,32,0.1);
  box-shadow: var(--shadow-colored);
  margin-bottom: 1.72rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.location-monogram {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-card);
  background: rgba(96,115,54,0.06);
  border: 1px solid rgba(96,115,54,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(96,115,54,0.15);
}

.location-details h3 {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.location-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.location-meta li {
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--color-text-light);
}

.location-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(96,115,54,0.08);
  color: var(--color-primary);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px dashed rgba(96,115,54,0.15);
}

/* --- RESOURCE TILES --- */
.resource-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.resource-tile {
  background: var(--color-surface);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  text-align: center;
  border: 1px dashed rgba(43,53,32,0.1);
  cursor: pointer;
  transition: var(--transition);
}

.resource-tile:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-colored);
  transform: translateY(-2px);
}

.resource-tile-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.resource-tile-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.resource-tile-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- RESOURCE LIST --- */
.resource-section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.resource-section h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed rgba(43,53,32,0.1);
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(43,53,32,0.06);
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.resource-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* --- BLOG PREVIEW CARDS --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 1.72rem;
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px dashed rgba(43,53,32,0.1);
  box-shadow: var(--shadow-colored);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-3px) rotate(0.3deg);
  box-shadow: 0 8px 32px rgba(96,115,54,0.2);
}

.blog-card h3 {
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- MONOGRAM IMAGE PLACEHOLDERS --- */
.monogram-block {
  background: rgba(96,115,54,0.06);
  border: 1px solid rgba(96,115,54,0.12);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}

.monogram-block .monogram-letter {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  color: rgba(96,115,54,0.12);
  text-transform: uppercase;
  user-select: none;
}

/* Team monograms (smaller, circular) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.team-member {
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(96,115,54,0.08);
  border: 2px dashed rgba(96,115,54,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(96,115,54,0.2);
  transition: var(--transition);
}

.team-member:hover .team-avatar {
  border-color: var(--color-primary);
  background: rgba(96,115,54,0.12);
  color: rgba(96,115,54,0.35);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.team-motto {
  font-style: italic;
  font-size: 0.87rem;
  color: var(--color-text-light);
}

.team-bio {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* --- CASE STUDY CARDS --- */
.case-study-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px dashed rgba(43,53,32,0.1);
  box-shadow: var(--shadow-colored);
  margin-bottom: 1.72rem;
  align-items: start;
}

.case-study-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.case-study-card h3 {
  margin-bottom: 0.75rem;
}

.case-study-result {
  display: inline-block;
  background: rgba(155,189,104,0.12);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-top: 0.75rem;
  font-weight: 600;
}

/* --- DISCLOSURES --- */
.disclosures-section {
  background: rgba(96,115,54,0.04);
  border-top: 2px dashed rgba(43,53,32,0.08);
  padding: 2.5rem 2rem;
}

.disclosures-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.disclosures-section h3 {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.disclosures-section p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* --- FOOTER: ACCENT STRIP --- */
.footer-accent-strip {
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  width: 100%;
}

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3.4rem 3.03rem 0;
  font-size: 0.87rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-brand {
  flex: 2;
  min-width: 240px;
}

.footer-brand .site-name {
  color: var(--color-white);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--color-footer-text);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-brand a {
  color: var(--color-footer-text);
}

.footer-brand a:hover {
  color: var(--color-white);
  background: none;
}

.footer-link-group {
  flex: 1;
  min-width: 140px;
}

.footer-link-group h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-link-group ul {
  list-style: none;
  padding: 0;
}

.footer-link-group li {
  margin-bottom: 0.5rem;
}

.footer-link-group a {
  color: var(--color-footer-text);
  font-size: 0.87rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link-group a:hover {
  color: var(--color-white);
  background: none;
}

.footer-copyright {
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.35;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  color: var(--color-footer-text);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 2px dashed rgba(43,53,32,0.1);
  box-shadow: 0 -4px 24px rgba(96,115,54,0.12);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 300ms ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn--accept {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.cookie-btn--accept:hover {
  background: #4e5f2b;
}

.cookie-btn--decline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(43,53,32,0.15);
}

.cookie-btn--decline:hover {
  background: rgba(43,53,32,0.05);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px dashed rgba(255,255,255,0.3);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-colored);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #4e5f2b;
  transform: translateY(-3px);
}

/* --- FLOATING MOBILE CTA --- */
.floating-cta {
  display: none;
}

/* --- ANIMATIONS: STAGGERED CASCADE --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays via nth-child */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.48s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.56s; }
.animate-on-scroll:nth-child(9) { transition-delay: 0.64s; }
.animate-on-scroll:nth-child(10) { transition-delay: 0.72s; }

/* Stagger-reveal micro-interaction */
.stagger-container .stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-container.revealed .stagger-item:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(9) { transition-delay: 0.64s; opacity: 1; transform: translateY(0); }
.stagger-container.revealed .stagger-item:nth-child(10) { transition-delay: 0.72s; opacity: 1; transform: translateY(0); }

/* --- DECORATIVE EMOJI ACCENTS --- */
.deco-icon {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

/* --- INLINE STAT CALLOUT (About page) --- */
.stat-callout {
  display: inline-block;
  background: rgba(168,81,51,0.08);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-medium);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.stat-callout .stat-number {
  font-size: 2rem;
  display: block;
}

.stat-callout .stat-label {
  font-size: 0.82rem;
  display: block;
  max-width: none;
}

/* --- VALUES LIST --- */
.value-card {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px dashed rgba(43,53,32,0.1);
}

.value-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- LEGAL / CONTENT PAGES --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-transform: none;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 1rem;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* --- STEPS / HOW IT WORKS --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 2rem;
  padding-top: 3.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px dashed rgba(43,53,32,0.1);
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
}

/* --- CONTACT DETAILS LIST --- */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px dashed rgba(43,53,32,0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- MAGAZINE EDITORIAL (About page) --- */
.editorial-column {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

.editorial-column p {
  margin-bottom: 1.25rem;
}

/* --- ORGANIC BOTANICAL DECORATIONS --- */
/* Wavy section divider via pseudo-element */
.wavy-divider {
  position: relative;
}

.wavy-divider::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 10%;
  width: 80%;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  border-bottom: 2px dashed rgba(96,115,54,0.1);
  pointer-events: none;
}

/* Background radial organic clusters */
.organic-bg {
  position: relative;
}

.organic-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,189,104,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* --- SPACER --- */
.spacer-top {
  padding-top: var(--nav-height);
}

/* --- DARK SECTION CTA OVERRIDES --- */
.dark-cta-section {
  text-align: center;
  padding: 5rem 2rem;
}

.dark-cta-section h2 {
  color: var(--color-white);
}

.dark-cta-section p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.dark-cta-section .accent {
  color: var(--color-secondary);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-stat-card {
    margin-left: 0 !important;
    flex: 1;
    min-width: 140px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .location-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --nav-height-scrolled: 56px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Floating CTA on mobile */
  .floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 2px dashed rgba(43,53,32,0.1);
    padding: 0.75rem 1.5rem;
    z-index: 997;
    text-align: center;
    box-shadow: 0 -4px 16px rgba(96,115,54,0.1);
  }

  .floating-cta .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  /* Cookie banner stacks above floating CTA */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 60px;
  }

  .hero-background {
    min-height: 50vh;
    padding: 4rem 1.5rem 0;
  }

  .hero-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-card);
    margin-bottom: -3rem;
  }

  .hero-card h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-watermark {
    font-size: 4rem;
  }

  .section-band {
    padding: 5rem 1rem 7rem;
  }

  .section-card {
    padding: 2rem 1.5rem;
    margin: -2rem 0.5rem 0;
    border-radius: var(--radius-medium);
  }

  .section-band--clip,
  .section-band--clip-reverse {
    clip-path: polygon(0 0, 100% 2rem, 100% 100%, 0 calc(100% - 2rem));
    margin-top: -2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .testimonial-card {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pull-quote {
    font-size: 1.3rem;
    margin: 2rem 0;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand {
    min-width: auto;
  }

  .footer-link-group {
    min-width: auto;
  }

  .back-to-top {
    bottom: 5rem;
    right: 1rem;
  }

  .corner-accents::before,
  .corner-accents::after {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .resource-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .resource-tiles {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* --- PRINT STYLES --- */
@media print {
  .site-header,
  .back-to-top,
  .floating-cta,
  .cookie-banner,
  .scroll-progress {
    display: none !important;
  }

  body::before {
    display: none;
  }

  main {
    animation: none;
  }
}

/* === MANDATORY BASE RULES (auto-injected at end for max specificity) === */
html{overflow-x:hidden}
.skip-link{position:absolute!important;left:-9999px!important;top:auto;width:1px!important;height:1px!important;overflow:hidden!important;z-index:10000;clip:rect(0,0,0,0)!important}
.skip-link:focus{position:fixed!important;left:10px!important;top:10px!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;padding:.75rem 1.5rem;background:var(--color-primary,#333);color:#fff;font-size:1rem;font-weight:700;border-radius:4px;text-decoration:none;z-index:10000}
.site-logo,.site-logo img,img.site-logo{max-height:40px!important;width:auto!important;object-fit:contain;background:none!important;vertical-align:middle}
.footer-brand .site-logo{max-height:28px!important;width:auto!important}
.site-brand,a.site-brand{display:inline-flex!important;align-items:center;gap:.5rem;text-decoration:none;color:inherit}
.site-footer .site-brand,.footer-brand .site-brand{flex-wrap:wrap}
.site-footer .site-name,.footer-brand .site-name,.footer-col .site-name{white-space:normal!important;word-wrap:break-word}
.site-footer{max-height:none!important;overflow:visible!important}
/* NAV SAFETY — prevent overflow, misalignment, and z-index issues */
.site-nav,.site-header,header[role="banner"]{position:relative;z-index:1000;width:100%;max-width:100vw!important;overflow-x:hidden!important}
.site-nav .nav-inner,.site-nav nav,.nav-inner,header nav{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:0.5rem;width:100%;max-width:100%!important;overflow:hidden}
.nav-links,.nav-links-left,.nav-links-right,.nav-menu,[class*="nav-links"]{display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;max-width:100%;margin:0;padding:0;list-style:none}
.nav-link,.nav-login-btn,.site-nav a,header nav a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:3rem;line-height:1.4;flex-shrink:1;min-width:0}
.nav-login-btn,.nav-cta,[class*="nav-cta"]{padding:0.4rem 1rem!important;font-size:0.85rem!important;border-radius:4px;flex-shrink:0}
/* Prevent ANY element from causing horizontal scroll */
html,body{max-width:100vw!important;overflow-x:hidden!important}
/* Team portrait placeholders — ensure circles have dimensions even without images */
.team-portrait,.team-avatar,.team-photo{width:180px;height:180px;border-radius:50%;overflow:hidden;margin:0 auto 1rem;display:flex;align-items:center;justify-content:center}
.team-portrait img,.team-avatar img,.team-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Image placeholders — ensure they have dimensions and show images properly */
.image-placeholder{position:relative;overflow:hidden;min-height:200px}
.image-placeholder img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;border-radius:inherit}
/* Content images injected by pipeline — no inline styles needed */
.content-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
/* Animate fallback — if JS fails, content must still be visible after 2s */
.animate-in,.animate-on-scroll,.scroll-animate,.fade-in,.slide-in,[class*="animate-"]{animation:_aiFallback 0s 2s forwards}
@keyframes _aiFallback{to{opacity:1!important;transform:none!important}}
.animate-in.visible,.animate-on-scroll.visible,.scroll-animate.visible,.fade-in.visible,.slide-in.visible,[class*="animate-"].visible{animation:none}
/* Character animation fallback — if JS fails, chars must be visible */
.char,.char-space{opacity:1!important;transform:none!important}
.char.visible{animation:none}
/* Cookie banner — hardcoded dark so it works on any palette */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:1rem 2rem;background:#1a1a2e;color:#f0f0f0;display:none;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,0.1);font-size:0.9rem}
.cookie-banner.visible,.cookie-banner.active,.cookie-banner.show,.cookie-banner.is-visible{display:flex}
.cookie-banner button,.cookie-accept,.cookie-decline,.cookie-btn,.cookie-link{padding:0.5rem 1.2rem;border-radius:6px;border:none;cursor:pointer;font-weight:600;font-size:0.85rem;color:#f0f0f0}
.cookie-banner .cookie-accept,.cookie-banner .btn-primary,.cookie-banner [data-cookie="accept"]{background:#4ade80;color:#111}
.cookie-banner .cookie-decline,.cookie-banner .btn-ghost,.cookie-banner [data-cookie="decline"]{background:rgba(255,255,255,0.12);color:#ccc}
/* Footer minimum — ensure footer is visible even if custom CSS is truncated */
.site-footer{padding:3rem 2rem 1.5rem;position:relative}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;max-width:1200px;margin:0 auto}
.footer-col a{display:block;font-size:0.9rem;margin-bottom:0.4rem;text-decoration:none}
.footer-bottom,.footer-copy{text-align:center;font-size:0.8rem;opacity:0.5;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.08)}
/* === END MANDATORY BASE RULES === */

/* === AUTO-FIX: fallback rules for HTML classes missing from CSS === */
/* === END AUTO-FIX === */

/* AUTO-FIX: prevent fixed header from overlapping content */
main,.main-content,[role='main']{padding-top:80px}
