/* ============================================
   SANDDORF — Apple-Level Premium Design System
   ============================================ */

:root {
  --deep-navy: #0E1A2B;
  --navy-90: rgba(14,26,43,1);
  --sand-black: #151A1E;
  --sage-green: #9DB67C;
  --sage-hover: #8AA568;
  --sage-glow: rgba(157,182,124,0.3);
  --warm-white: #F7F5EF;
  --soft-stone: #EFEDE7;
  --white: #FFFFFF;
  --text-secondary: #6B7280;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --max-width-narrow: 900px;
  --section-pad: 140px 0;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--sand-black);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 40px; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }

.reveal-scale {
  opacity: 0; transform: scale(0.88);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* === TYPOGRAPHY (Apple-style) === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  color: var(--sand-black);
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3rem, 7vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 12px; font-weight: 700; letter-spacing: -0.02em; }

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 20px;
  display: inline-block;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  font-weight: 400;
}

.section-intro {
  font-size: 1.2rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 56px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Large centered headline style (Apple pattern) */
.headline-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.headline-centered h2 { margin-bottom: 16px; }
.headline-centered .section-intro {
  margin-left: auto; margin-right: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--sage-green);
  color: var(--white);
  box-shadow: 0 4px 20px var(--sage-glow);
}
.btn-primary:hover {
  background: var(--sage-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 35px var(--sage-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--sand-black);
  border: 1.5px solid rgba(21,26,30,0.15);
}
.btn-outline:hover {
  background: var(--sand-black);
  color: var(--white);
  border-color: var(--sand-black);
  transform: translateY(-2px);
}

/* Apple-style link button */
.btn-link {
  background: none;
  border: none;
  color: var(--sage-green);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { gap: 10px; }
.btn-link::after {
  content: '\2192';
  transition: inherit;
}

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

/* === GLASSMORPHISM HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: all 0.5s ease;
}
.site-header.scrolled {
  background: var(--navy-90);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800;
  color: var(--white);
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--sage-green); border-radius: 1px;
}

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 10px 24px; font-size: 0.82rem; }

.menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === HERO (Cinematic Full-Screen) === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--deep-navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-bg img.loaded { opacity: 0.7; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(14,26,43,0.82) 0%,
    rgba(14,26,43,0.4) 45%,
    rgba(14,26,43,0.65) 100%);
}

.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,182,124,0.12) 0%, transparent 65%);
  filter: blur(80px);
  top: -150px; right: -150px;
  animation: orbFloat 10s ease-in-out infinite;
  z-index: 0;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.15); }
}

.hero .container { position: relative; z-index: 2; padding-top: 72px; }
.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 28px; }

.hero-sub { min-height: 70vh; }

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}
.hero-bg.ken-burns img.loaded {
  animation: kenBurns 25s ease-in-out forwards;
}

/* === SECTIONS === */
.section { padding: var(--section-pad); position: relative; }
.section-white { background: var(--warm-white); }
.section-stone { background: var(--soft-stone); }
.section-navy { background: var(--deep-navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .section-intro { color: rgba(255,255,255,0.55); }

.section-header { max-width: 650px; margin-bottom: 60px; }
.section-header.text-center {
  max-width: 750px; margin-left: auto; margin-right: auto; text-align: center;
}
.section-header.text-center .section-intro {
  margin-left: auto; margin-right: auto;
}

/* === FULL-WIDTH IMAGE BREAK (Apple signature) === */
.image-break {
  position: relative;
  overflow: hidden;
  height: 70vh;
  min-height: 500px;
}
.image-break img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-break-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(14,26,43,0.3) 0%, rgba(14,26,43,0.6) 100%);
  text-align: center;
}
.image-break-overlay h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 700px;
  padding: 0 40px;
}

/* === TRUST STRIP === */
.trust-strip {
  background: var(--soft-stone);
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.trust-item {
  position: relative; padding-left: 20px;
  border-left: 2px solid var(--sage-green);
}
.trust-item h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--sand-black); font-weight: 700; }
.trust-item p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }

/* === STATS (Apple-style large numbers) === */
.stats-section {
  background: var(--deep-navy);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(157,182,124,0.05) 0%, transparent 55%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 10px;
}
.stat-number .stat-suffix { color: var(--sage-green); }
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* === CARDS (Premium, minimal) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.card-icon {
  width: 56px; height: 56px;
  background: rgba(157,182,124,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--sage-green);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7; }

.section-stone .card { background: var(--white); }
.section-white .card { background: var(--white); border: 1px solid rgba(0,0,0,0.05); }

/* Card with image on top (Apple product-card style) */
.card-visual {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.card-visual:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.card-visual-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-visual-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-visual:hover .card-visual-img img { transform: scale(1.06); }
.card-visual-body { padding: 32px 32px 36px; }
.card-visual-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-visual-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* === FEATURE GRID (2-col) === */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-grid .feature-text { max-width: 500px; }
.feature-grid .feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}
.feature-grid .feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-grid .feature-image:hover img { transform: scale(1.05); }

/* === PROCESS FLOW === */
.process-flow {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px;
  margin-top: 56px; position: relative;
}
.process-flow::before {
  content: ''; position: absolute;
  top: 28px; left: 60px; right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-green), rgba(157,182,124,0.15));
}
.process-step { text-align: center; flex: 1; position: relative; z-index: 1; }
.process-step .step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px var(--sage-glow);
  transition: all var(--transition);
}
.process-step:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 10px 30px var(--sage-glow);
}
.process-step .step-label { font-size: 0.88rem; font-weight: 600; color: var(--sand-black); }

.section-navy .process-flow::before { background: linear-gradient(90deg, var(--sage-green), rgba(157,182,124,0.1)); }
.section-navy .process-step .step-label { color: rgba(255,255,255,0.75); }

/* === TIMELINE === */
.timeline { position: relative; padding: 20px 0; max-width: 700px; }
.timeline::before {
  content: ''; position: absolute;
  top: 0; bottom: 0; left: 24px; width: 2px;
  background: linear-gradient(180deg, var(--sage-green), rgba(157,182,124,0.1));
}
.timeline-item { position: relative; padding-left: 72px; margin-bottom: 52px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute;
  left: 14px; top: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-green);
  border: 4px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--sage-green);
}
.timeline-item .timeline-date {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.15rem;
  color: var(--sage-green);
  margin-bottom: 8px;
}
.timeline-item p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }

/* === ACCORDION === */
.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.accordion-trigger {
  width: 100%; background: none; border: none;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--sand-black); text-align: left;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--sage-green); }
.accordion-trigger::after {
  content: '+'; font-size: 1.5rem; font-weight: 300;
  color: var(--sage-green);
  transition: all var(--transition);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(157,182,124,0.06);
  flex-shrink: 0;
}
.accordion-item.open .accordion-trigger::after {
  content: '\2212';
  background: rgba(157,182,124,0.12);
  transform: rotate(180deg);
}
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.accordion-content-inner {
  padding: 0 0 28px;
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
}

/* === CTA BAND === */
.cta-band {
  background: var(--deep-navy);
  padding: 120px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,182,124,0.06) 0%, transparent 65%);
  filter: blur(50px);
  top: -250px; left: 50%; transform: translateX(-50%);
}
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band p {
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.15rem; line-height: 1.75;
}
.cta-band .btn-group { justify-content: center; }

/* === ARTICLE CARDS === */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.article-card-image {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--soft-stone);
}
.article-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.08); }
.article-card-body { padding: 28px 32px 36px; }
.article-card-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 14px; display: inline-block;
  background: rgba(157,182,124,0.07);
  padding: 5px 14px; border-radius: 100px;
}
.article-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.article-card-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* === FORMS === */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.84rem; font-weight: 600;
  margin-bottom: 8px; color: var(--sand-black);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px 18px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  transition: all var(--transition);
  color: var(--sand-black);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 4px rgba(157,182,124,0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-helper { font-size: 0.8rem; color: #999; margin-top: 6px; }

/* === CHECK LIST === */
.check-list li {
  position: relative; padding-left: 32px;
  margin-bottom: 16px;
  font-size: 0.95rem; color: #555; line-height: 1.75;
}
.check-list li::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(157,182,124,0.1);
  border: 2px solid var(--sage-green);
}

/* === FOOTER === */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.45);
  padding: 100px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 80px;
}
.footer-brand .logo { margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col a {
  display: block; font-size: 0.9rem;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.disclaimer {
  background: rgba(157,182,124,0.05);
  border-left: 3px solid var(--sage-green);
  padding: 28px 32px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem; color: var(--text-secondary);
  margin-top: 56px; line-height: 1.75;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.principle-item {
  padding: 40px 36px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.principle-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.principle-item h3 { color: var(--sage-green); font-size: 1.1rem; }
.principle-item p { font-size: 0.93rem; color: var(--text-secondary); }

.next-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.next-step {
  text-align: center; padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.next-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.next-step .step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage-green);
  color: var(--white); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px var(--sage-glow);
}
.next-step p { font-size: 0.9rem; color: var(--text-secondary); }

/* Lazy load images */
img[loading="lazy"] { opacity: 0; transition: opacity 0.8s ease; }
img[loading="lazy"].loaded, img.loaded { opacity: 1; }

/* Section curve divider — disabled */
.section-curve { position: relative; }
.section-curve::after { display: none; }
.section-curve-stone::after { display: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .image-break { height: 50vh; min-height: 350px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px 0; }
  .container, .container-narrow { padding: 0 24px; }
  .header-inner { padding: 0 24px; }

  .hero { min-height: 90vh; }
  .hero-sub { min-height: 60vh; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--deep-navy);
    flex-direction: column; align-items: flex-start;
    padding: 32px 24px; gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    padding: 16px 0; font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .site-header {
    background: rgba(14,26,43,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .site-header.scrolled {
    background: var(--deep-navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-mobile-cta { display: block; margin-top: 24px; }

  .trust-grid, .card-grid, .form-grid { grid-template-columns: 1fr; }

  .process-flow {
    flex-direction: column; align-items: center; gap: 28px;
  }
  .process-flow::before {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 2px; height: 100%;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .feature-grid .feature-image { order: -1; }
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr 1fr; }
  .image-break { height: 40vh; min-height: 280px; }
}

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

@media (min-width: 769px) {
  .nav-mobile-cta { display: none; }
}


/* ============================================================
   MOBILE FIXES — preserve Apple-style blur + depth,
   fix nav panel containing-block bug, improve readability
   ============================================================ */

/* Text-shadow on hero headline/subtitle so white text stays legible
   on bright photos without flattening the whole image. */
.hero h1,
.hero .hero-title,
.hero-eyebrow,
.hero p,
.hero .hero-sub,
.hero .hero-subtitle {
  text-shadow: 0 2px 24px rgba(10, 18, 30, 0.55), 0 1px 3px rgba(10, 18, 30, 0.45);
}

@media (max-width: 768px) {
  /* The original had backdrop-filter on .site-header itself, which creates a
     containing block — that trapped the fixed-position .nav-links inside the
     header's box so the dark menu panel did not fill the screen on mobile.
     Solution: make the header body itself transparent, and move the blurred
     glass background onto a ::before pseudo-element. The pseudo's
     backdrop-filter does not affect sibling positioning. */
  .site-header,
  .site-header.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(14, 26, 43, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.5s;
  }
  .site-header.scrolled::before {
    background: var(--navy-90);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  /* Keep the menu above any hero content when it slides in */
  .nav-links { z-index: 999; }

  /* Slightly stronger text-shadow on mobile where the image fills more of the screen */
  .hero h1,
  .hero .hero-title,
  .hero-eyebrow,
  .hero p,
  .hero .hero-sub,
  .hero .hero-subtitle {
    text-shadow: 0 2px 30px rgba(10, 18, 30, 0.7), 0 1px 4px rgba(10, 18, 30, 0.6);
  }
}


/* ============================================================
   MOBILE GRID SAFETY — prevent horizontal overflow + force
   card grids to a single column on narrow screens regardless
   of any earlier rule specificity.
   ============================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  .card-grid,
  .trust-grid,
  .form-grid,
  .products-grid,
  .principles-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .card-grid > *,
  .card-visual {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  /* Orbs / large pseudo-decorations may be wider than viewport and
     cause Safari to render at a wider layout width. Clamp them. */
  .hero-orb,
  .hero-orb-2,
  .hero-bg {
    max-width: 100vw;
  }
}
