/* =============================================================
   Gabriela Kaiser-Walz — Family Coach
   Design System & Stylesheet
   ============================================================= */

/* DM Sans — self-hosted woff2 */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Arima';
  src: url('../fonts/Arima-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Backgrounds ── */
  --bg-primary:       #F4FAF4;
  --bg-secondary:     #E2F0E3;
  --bg-accent:        #CCE3CE;

  /* ── Text ── */
  --text-primary:     #2C2B29;
  --text-muted:       #7A7068;
  --text-light:       #A89F95;
  --text-inverted:    #FDFAF5;

  /* ── Brand Accents ── */
  --forest:           #4E7A54;
  --terracotta:       #D96B4A;
  --sage:             #7AB878;
  --peach:            #F0C07A;
  --sky:              #5BBDD4;
  --blush:            #E87FA8;

  /* ── Typography ── */
  --font-display:     'Arima', Georgia, serif;
  --font-body:        'DM Sans', system-ui, sans-serif;

  /* ── Type Scale ── */
  --type-hero:        clamp(52px, 7vw, 96px);
  --type-h1:          clamp(38px, 4.5vw, 56px);
  --type-h2:          clamp(28px, 3.5vw, 42px);
  --type-h3:          clamp(22px, 2.5vw, 30px);
  --type-intro:       clamp(18px, 1.8vw, 21px);
  --type-body:        17px;
  --type-small:       14px;
  --type-label:       12px;

  /* ── Spacing Scale ── */
  --space-xs:         8px;
  --space-sm:         16px;
  --space-md:         24px;
  --space-lg:         48px;
  --space-xl:         80px;
  --space-2xl:        128px;
  --space-hero:       160px;

  /* ── Border Radius ── */
  --radius-sm:        6px;
  --radius-md:        16px;
  --radius-lg:        32px;
  --radius-pill:      999px;

  /* ── Organic blob shapes ── */
  --blob-a: 55% 45% 60% 40% / 50% 55% 45% 50%;
  --blob-b: 45% 55% 40% 60% / 55% 45% 55% 45%;
  --blob-c: 40% 60% 55% 45% / 48% 52% 48% 52%;
  --blob-d: 60% 40% 45% 55% / 52% 48% 52% 48%;

  /* ── Easing ── */
  --ease-organic:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:      cubic-bezier(0.25, 0.1, 0.25, 1);

  /* ── Shadows ── */
  --shadow-sm:        0 2px 12px rgba(44,43,41,0.06);
  --shadow-md:        0 6px 28px rgba(44,43,41,0.10);
  --shadow-terra:     0 8px 28px rgba(217,107,74,0.30);
  --shadow-forest:    0 8px 28px rgba(78,122,84,0.25);

  /* Layout */
  --max-w:            1380px;
  --gutter:           clamp(24px, 5vw, 60px);
}

/* =============================================================
   Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}

h1 { font-size: var(--type-h1); line-height: 1.08; }
h2 { font-size: var(--type-h2); line-height: 1.1; }
h3 { font-size: var(--type-h3); line-height: 1.15; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

/* Skip nav */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: white;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-nav:focus { left: 0; }

/* =============================================================
   Layout primitives
   ============================================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}
.section--bg-secondary { background: var(--bg-secondary); }
.section--bg-accent { background: var(--bg-accent); }
.section--tight { padding: var(--space-xl) 0; }

@media (max-width: 768px) {
  .section { padding: var(--space-xl) 0; }
}

/* =============================================================
   Section labels
   ============================================================= */
.section-label {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
}
.section-label-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.section-label-link:hover { color: var(--forest); }

/* =============================================================
   Buttons
   ============================================================= */
.btn-primary {
  background: var(--terracotta);
  color: white;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s var(--ease-organic), box-shadow 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-terra);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--forest);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-organic);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--forest);
  color: white;
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s var(--ease-organic);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* =============================================================
   Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
}
.logo-monogram {
  width: 36px;
  height: 36px;
  background: var(--forest);
  color: white;
  border-radius: var(--blob-a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
}
.logo-wordmark { font-weight: 400; line-height: 1; }
.logo-wordmark em { color: var(--forest); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active {
  color: var(--forest);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--forest);
  border-radius: 50%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.lang-toggle .lang-en, .lang-toggle .lang-de {
  transition: color 0.2s;
}
.lang-toggle .active { color: var(--text-primary); }
.lang-separator { color: var(--text-light); }

.nav-cta {
  font-size: 13px;
  padding: 11px 22px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    z-index: 105;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a {
    font-family: var(--font-display);
    font-size: 32px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
  }
  .nav-cta { display: none; }
  body.nav-open .nav-links::after {
    content: '';
  }
}

/* =============================================================
   Dropdown navigation
   ============================================================= */
.has-dropdown { position: relative; }

/* Chevron — replaces the active-dot ::after on parent dropdown links */
.has-dropdown > a::after,
.has-dropdown > a.active::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 5px;
  opacity: 0.55;
  transition: transform 0.2s var(--ease-smooth);
  vertical-align: middle;
  position: static;
  background: transparent;
  border-radius: 0;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: rotate(-135deg) translateY(2px);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(253, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
  z-index: 200;
}

/* Invisible bridge so dropdown doesn't close on mouse travel */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, background 0.15s;
  white-space: nowrap;
  text-align: center;
}
.nav-dropdown a:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.nav-dropdown a.active { color: var(--forest); }

/* Suppress the active dot on dropdown items */
.nav-dropdown a::after,
.nav-dropdown a.active::after { display: none; }

@media (max-width: 900px) {
  .has-dropdown > a::after,
  .has-dropdown > a.active::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-top: var(--space-sm);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown a {
    font-family: var(--font-display);
    font-size: 20px;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    color: var(--text-muted);
  }
  .nav-dropdown a:hover { background: transparent; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  padding: calc(var(--space-hero) + 40px) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: var(--space-2xl); }
}
.hero h1, .hero-headline {
  font-size: var(--type-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-sub {
  font-size: var(--type-intro);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Hero anchor dot */
.hero-dot {
  position: absolute;
  width: clamp(220px, 36vw, 480px);
  height: clamp(220px, 36vw, 480px);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.hero-dot--behind-text {
  top: -40px;
  left: -80px;
}

/* Page-load animations */
.fade-up {
  animation: fadeUp 0.9s var(--ease-smooth) both;
}
.fade-up--delay-1 { animation-delay: 0.1s; }
.fade-up--delay-2 { animation-delay: 0.2s; }
.fade-up--delay-3 { animation-delay: 0.3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}

/* Floating dots */
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(8px, -12px) rotate(2deg); }
}

.float-a { animation: float-a 10s ease-in-out infinite; }
.float-b { animation: float-b 12s ease-in-out infinite; }
.float-c { animation: float-c 14s ease-in-out infinite; }

/* =============================================================
   Image / placeholder treatment
   ============================================================= */
.img-blob {
  border-radius: var(--blob-a);
  overflow: hidden;
  display: block;
  position: relative;
}
.img-blob--b { border-radius: var(--blob-b); }
.img-blob--c { border-radius: var(--blob-c); }
.img-blob--d { border-radius: var(--blob-d); }

.img-placeholder {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.0) 0,
      rgba(255,255,255,0.0) 18px,
      rgba(255,255,255,0.25) 18px,
      rgba(255,255,255,0.25) 19px),
    linear-gradient(135deg, #e8ddd0 0%, #d4c9b8 50%, #c4b8a5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  width: 100%;
  height: 100%;
}
.img-placeholder span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44,43,41,0.55);
  background: rgba(253,250,245,0.65);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(2px);
}

.aspect-4-5 { aspect-ratio: 4/5; }
.aspect-3-2 { aspect-ratio: 3/2; }
.aspect-1-1 { aspect-ratio: 1/1; }
.aspect-16-9 { aspect-ratio: 16/9; }

/* =============================================================
   Reveal on scroll
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
  }
  .reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0s; }
  .reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.08s; }
  .reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.16s; }
  .reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.24s; }
  .reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.32s; }
  .reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.40s; }
}

/* =============================================================
   Intro / quote block
   ============================================================= */
.intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.intro p {
  font-size: var(--type-intro);
  line-height: 1.7;
  color: var(--text-primary);
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--text-primary);
  text-align: center;
  max-width: 760px;
  margin: var(--space-lg) auto;
  position: relative;
  padding: 0 var(--space-md);
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--peach);
  opacity: 0.65;
}
.pull-quote cite {
  display: block;
  margin-top: var(--space-md);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
}

/* =============================================================
   Audience cards (homepage selector)
   ============================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}
.audience-card {
  display: block;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.audience-card-img {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-md);
  border-radius: var(--blob-c);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-organic);
}
.audience-card:nth-child(2) .audience-card-img { border-radius: var(--blob-b); }
.audience-card:nth-child(3) .audience-card-img { border-radius: var(--blob-d); }

.audience-card-wash {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: multiply;
}
.audience-card[data-audience="families"] .audience-card-wash { background: var(--forest); opacity: 0; }
.audience-card[data-audience="schools"] .audience-card-wash { background: var(--terracotta); }
.audience-card[data-audience="companies"] .audience-card-wash { background: var(--sky); }
.audience-card:hover .audience-card-img { transform: translateY(-6px) scale(1.03); }
.audience-card:hover .audience-card-wash { opacity: 0.32; }

.audience-card h3 { margin-bottom: 10px; font-style: italic; }
.audience-card p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 280px;
  margin: 0 auto var(--space-sm);
}
.audience-card-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-organic);
  display: inline-block;
}
.audience-card:hover .audience-card-link { opacity: 1; transform: translateY(0); }
.audience-card[data-audience="schools"]:hover .audience-card-link { color: var(--terracotta); }
.audience-card[data-audience="companies"]:hover .audience-card-link { color: var(--sky); }

/* Touch devices have no hover — always show the CTA link */
@media (hover: none) {
  .audience-card-link { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   Two-column / split section
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}
.split--reverse > :first-child { order: 2; }

.split-img {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.split-img > .img-blob { width: 100%; height: 100%; }

.split-img .floating-dot {
  position: absolute;
  width: 110px;
  height: 110px;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* =============================================================
   Feature list (dot bullets)
   ============================================================= */
.feature-list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.feature-list li:nth-child(5n+1)::before { background-image: url('../dots/dorange.png'); }
.feature-list li:nth-child(5n+2)::before { background-image: url('../dots/turkis.png'); }
.feature-list li:nth-child(5n+3)::before { background-image: url('../dots/hgrun.png'); }
.feature-list li:nth-child(5n+4)::before { background-image: url('../dots/pink.png'); }
.feature-list li:nth-child(5n+5)::before { background-image: url('../dots/lila.png'); }

/* Numbered list (positive discipline criteria) */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .numbered-list { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
.numbered-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.numbered-list .num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.numbered-list li:nth-child(1) .num { background-image: url('../dots/dorange.png'); }
.numbered-list li:nth-child(2) .num { background-image: url('../dots/turkis.png'); }
.numbered-list li:nth-child(3) .num { background-image: url('../dots/hgrun.png'); }
.numbered-list li:nth-child(4) .num { background-image: url('../dots/lila.png'); }
.numbered-list li:nth-child(5) .num { background-image: url('../dots/pink.png'); }
.numbered-list h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 6px;
  font-style: italic;
}
.numbered-list p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* =============================================================
   Logo Slider
   ============================================================= */
.logo-slider {
  overflow: hidden;
  margin-top: var(--space-xl);
  position: relative;
}
.logo-slider::before,
.logo-slider::after {
  content: none;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  width: max-content;
  padding: var(--space-md) 0;
  animation: logo-scroll 30s linear infinite;
}
@media (prefers-reduced-motion: no-preference) {
  .logo-track:hover { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.logo-item {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: var(--type-small);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  padding: 8px 20px;
  border: 1px solid var(--text-light);
  border-radius: var(--radius-pill);
  transition: opacity 0.25s;
  user-select: none;
}
.logo-item:hover { opacity: 1; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   Testimonials Carousel
   ============================================================= */
.testimonial-carousel {
  margin-top: var(--space-xl);
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform 0.5s var(--ease-smooth);
}
.testimonial {
  background: #ffffff;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  position: relative;
}
.carousel-track .testimonial {
  flex: 0 0 100%;
  min-width: 0;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--peach);
  opacity: 0.65;
}
.testimonial-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.45;
  margin: var(--space-md) 0;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-top: var(--space-md);
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--text-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--text-light);
  opacity: 0.45;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s, width 0.3s, background-color 0.3s;
}
.carousel-dot.active {
  opacity: 1;
  width: 24px;
  background: var(--forest);
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

/* =============================================================
   Credibility strip
   ============================================================= */
.credibility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-lg) 0;
}
.cred-item { min-width: 140px; }
.cred-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--forest);
  display: block;
  line-height: 1.05;
}
.cred-num em { font-style: italic; }
.cred-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* =============================================================
   CTA banner
   ============================================================= */
.cta-banner {
  text-align: center;
  position: relative;
  padding: var(--space-2xl) var(--gutter);
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 em { color: var(--terracotta); }
.cta-banner p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  font-size: var(--type-intro);
}
.cta-banner .deco-dot {
  position: absolute;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

/* =============================================================
   Section dot clusters (B-role transitions)
   ============================================================= */
.dot-cluster {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.dot-cluster img {
  position: absolute;
  mix-blend-mode: multiply;
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--text-primary);
  color: var(--text-inverted);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a {
  font-size: 14px;
  color: rgba(253,250,245,0.78);
  transition: color 0.2s;
}
.footer a:hover { color: var(--text-inverted); }
.footer-brand p {
  font-size: 14px;
  color: rgba(253,250,245,0.65);
  max-width: 320px;
  line-height: 1.6;
  margin-top: var(--space-sm);
}
.footer-brand .nav-logo {
  color: var(--text-inverted);
}
.footer-brand .logo-wordmark em {
  color: var(--sage);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-lg) var(--gutter) 0;
  border-top: 1px solid rgba(253,250,245,0.1);
  margin-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 12px;
  color: rgba(253,250,245,0.5);
  letter-spacing: 0.05em;
}

/* =============================================================
   Page header (sub-pages)
   ============================================================= */
.page-header {
  padding: calc(var(--space-hero) + 20px) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: var(--type-h1);
  line-height: 1.1;
  max-width: 800px;
}
.page-header h1 em { color: var(--forest); }
.page-header .lede {
  font-size: var(--type-intro);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-top: var(--space-md);
}
.page-header .hero-dot { top: 20px; right: -60px; left: auto; }

/* =============================================================
   Two-path cards (sub-page selector)
   ============================================================= */
.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .path-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
.path-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .path-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.path-card {
  display: block;
  background: var(--bg-primary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-organic), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.path-card-dot {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.path-card h3 {
  font-style: italic;
  margin-bottom: var(--space-sm);
}
.path-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: var(--space-md);
}
.path-card-arrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.path-card-arrow::after {
  content: '→';
  transition: transform 0.25s var(--ease-organic);
}
.path-card:hover .path-card-arrow::after { transform: translateX(4px); }

/* =============================================================
   Workshop list (numbered grid w/ dots)
   ============================================================= */
.workshop-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .workshop-list { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}
.workshop-list li {
  background: var(--bg-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: transform 0.3s;
}
.workshop-list li:hover { transform: translateY(-3px); }
.workshop-list .ws-dot {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  flex-shrink: 0;
  margin-top: 2px;
}
.workshop-list h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 4px;
}
.workshop-list p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* =============================================================
   Pricing table
   ============================================================= */
.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.pricing-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--bg-accent);
  gap: var(--space-sm);
}
.pricing-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-row .label { font-family: var(--font-display); font-style: italic; font-size: 18px; }
.pricing-row .price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--forest);
}
.pricing-row .desc {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================================
   Timeline (work experience)
   ============================================================= */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: var(--bg-accent);
}
.timeline li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  position: relative;
}
.timeline-bullet {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.timeline li:nth-child(6n+1) .timeline-bullet { background-image: url('../dots/dorange.png'); }
.timeline li:nth-child(6n+2) .timeline-bullet { background-image: url('../dots/turkis.png'); }
.timeline li:nth-child(6n+3) .timeline-bullet { background-image: url('../dots/hgrun.png'); }
.timeline li:nth-child(6n+4) .timeline-bullet { background-image: url('../dots/lila.png'); }
.timeline li:nth-child(6n+5) .timeline-bullet { background-image: url('../dots/pink.png'); }
.timeline li:nth-child(6n+6) .timeline-bullet { background-image: url('../dots/dblau.png'); }

.timeline strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}
.timeline span { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* =============================================================
   Form
   ============================================================= */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .full { grid-column: 1 / -1; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1.5px solid var(--bg-accent);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color 0.2s;
  width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.radio-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
  cursor: pointer;
}
.radio-row input { width: 18px; height: 18px; accent-color: var(--forest); }

.form-status {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--forest);
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
}
.form-status.error { color: var(--terracotta); }

/* =============================================================
   Utilities
   ============================================================= */
.text-center { text-align: center; }
.mw-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.italic { font-style: italic; }
.color-forest { color: var(--forest); }
.color-terra { color: var(--terracotta); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   Card grid & Info cards (companies, schools-training, schools-talks)
   ============================================================= */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: var(--bg-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  position: relative;
}
.info-card-dot {
  width: 40px;
  height: 40px;
  mix-blend-mode: multiply;
  opacity: 0.85;
  margin-bottom: var(--space-sm);
  display: block;
}
.info-card h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 8px;
}
.info-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.info-card--lg { padding: var(--space-lg); }

.info-card-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 10px;
}

.path-card--static { cursor: default; }
.path-card--static:hover {
  transform: none;
  box-shadow: none;
}

/* =============================================================
   Contact layout (contact.html)
   ============================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: var(--space-2xl); }
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--type-h3);
  margin-bottom: var(--space-lg);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-dot {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  margin-top: 4px;
}
.contact-label {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.contact-list p {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.contact-list a { color: var(--forest); }

.link-arrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s var(--ease-organic);
}
.link-arrow:hover::after { transform: translateX(4px); }

.aside-quote {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  border-left: 2px solid var(--peach);
}
.aside-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Contact form — label-wrapping pattern used in contact.html */
.contact-layout .contact-form {
  max-width: none;
}
@media (min-width: 600px) {
  .contact-layout .contact-form { grid-template-columns: 1fr; }
}
.contact-form label:not(.checkbox) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label > span:first-child {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.contact-form label > input,
.contact-form label > textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1.5px solid var(--bg-accent);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form label > textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form label > input:focus,
.contact-form label > textarea:focus {
  outline: none;
  border-color: var(--forest);
}

/* Custom select — identical panel style to .nav-dropdown */
.custom-select {
  position: relative;
}
.custom-select-btn {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1.5px solid var(--bg-accent);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color 0.2s;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  appearance: none;
  -webkit-appearance: none;
}
.custom-select-btn::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.2s var(--ease-smooth);
  flex-shrink: 0;
}
.custom-select.open .custom-select-btn {
  border-color: var(--forest);
}
.custom-select.open .custom-select-btn::after {
  transform: rotate(-135deg) translateY(2px);
}
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(253, 250, 245, 0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
  z-index: 200;
}
.custom-select.open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.custom-select-menu li {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 20px;
  cursor: pointer;
  transition: color 0.2s, background 0.15s;
  text-align: center;
  white-space: nowrap;
}
.custom-select-menu li:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.custom-select-menu li[aria-selected="true"] {
  color: var(--forest);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}
.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--forest);
  margin-top: 3px;
}
.checkbox > span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.contact-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}
.success-dot {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  mix-blend-mode: multiply;
  display: block;
}
.contact-success h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--type-h3);
  margin-bottom: var(--space-sm);
}
.contact-success p {
  color: var(--text-muted);
  font-size: var(--type-intro);
}

/* =============================================================
   Single-pager: Coming soon bar + adjusted offsets
   ============================================================= */

/* Smooth-scroll offset: coming-soon bar (40px) + scrolled nav (60px) = 100px */
html { scroll-padding-top: 100px; }

.coming-soon-bar {
  background: var(--forest);
  color: var(--text-inverted);
  text-align: center;
  padding: 0 var(--gutter);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.coming-soon-bar em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 14px;
}

/* Shift nav below the bar */
.nav { top: 40px; }

/* Extra top padding: nav height + coming-soon bar */
.hero { padding-top: calc(var(--space-hero) + 80px); }

/* scroll-padding-top on html handles the anchor offset — no scroll-margin-top needed */

/* Hide form-status until JS populates it */
.form-status:empty { display: none; }

/* =============================================================
   Hero avatar — circular photo beside section label (mobile only)
   ============================================================= */
.hero-avatar {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

/* =============================================================
   Mobile hero rework (≤ 899px)
   ============================================================= */
@media (max-width: 899px) {
  /* Reduce top padding: 40px bar + 72px nav + 16px breath = 128px */
  .hero {
    padding-top: 128px;
    padding-bottom: var(--space-xl);
  }

  /* Tighten gap between photo and text when stacked */
  .hero-grid { gap: var(--space-lg); }

  /* Move the blob portrait above the text column */
  .hero .split-img {
    order: -1;
    max-width: 240px;
    margin: 0 auto;
  }

  /* Floating decoration dots overflow on mobile — hide them */
  .hero .floating-dot { display: none; }

  /* Avatar is redundant now that blob photo is visible — hide it */
  .hero-avatar { display: none; }

  /* Revert label row to normal block flow */
  .hero-label-row {
    display: block;
    margin-bottom: 0;
  }
  .hero-label-row .section-label { margin-bottom: var(--space-sm); }
  .hero-label-row .section-label::before { display: block; }

  /* Tighter headline on small phones */
  .hero-headline { font-size: clamp(40px, 11vw, 52px); }

  /* Shrink the background decorative dot */
  .hero-dot { width: 180px; height: 180px; }
}
