/* ══════════════════════════════════════════════════════════
   FÖRENINGEN FUNKIS — Site-wide stylesheet
   Mobile-first, warm humanistic design
   ══════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --c-primary: #2D5F5C;
  --c-primary-dark: #1E4543;
  --c-primary-light: #4A8784;
  --c-secondary: #D89E3A;
  --c-secondary-light: #E8B860;
  --c-warm: #D8A3A6;         /* dammig rosa — accent för värme */
  --c-warm-soft: #F2DDDF;    /* mjuk rosa tonad bakgrund */
  --c-sage: #A9C6B3;         /* salvia — sekundär accent */
  --c-bg: #FAF7F2;
  --c-bg-alt: #F2EDE3;
  --c-bg-warm: #FDF4EC;      /* varmare crème */
  --c-card: #FFFFFF;
  --c-text: #1F2937;
  --c-text-muted: #5C6573;
  --c-text-light: #8B92A0;
  --c-border: #E5E0D6;
  --c-success: #2D7D5C;
  --c-error: #B83A3A;

  /* Type */
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Fraunces', 'Georgia', serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(31,41,55,0.06), 0 1px 3px rgba(31,41,55,0.04);
  --sh-md: 0 4px 12px rgba(31,41,55,0.07), 0 2px 4px rgba(31,41,55,0.04);
  --sh-lg: 0 12px 32px rgba(31,41,55,0.09), 0 4px 10px rgba(31,41,55,0.05);

  /* Layout */
  --w-container: 1200px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--c-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 2px; border-radius: 4px; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw + 0.8rem, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw + 0.7rem, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.7rem, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--c-text); }
.lead { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); color: var(--c-text-muted); line-height: 1.55; }
.display { font-family: var(--f-serif); font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.025em; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-secondary);
}

/* ── Layout ───────────────────────────────────────────── */
.container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 768px) { .container { padding: 0 var(--s-6); } }

.section { padding: var(--s-7) 0; }
@media (min-width: 768px) { .section { padding: var(--s-8) 0; } }
@media (min-width: 1024px) { .section { padding: var(--s-9) 0; } }
.section--tight { padding: var(--s-6) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-primary); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,0.82); }

/* ── Skip link (a11y) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  background: var(--c-primary); color: #fff;
}
.skip-link:focus {
  position: fixed;
  left: 8px; top: 8px;
  width: auto; height: auto;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 100;
}

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) 0;
  min-height: 64px;
}
.nav__brand {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1.5vw + 0.7rem, 1.45rem);
  font-weight: 700;
  color: var(--c-primary); letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__brand:hover { color: var(--c-primary-dark); }
.nav__brand-mark {
  width: 36px; height: 36px;
  background: var(--c-primary);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: var(--f-sans);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  color: var(--c-primary);
  background: var(--c-bg-alt);
  position: relative; z-index: 60;
  transition: background .15s ease;
}
.nav__toggle:hover { background: var(--c-border); }
.nav__toggle svg { width: 28px; height: 28px; }
.nav__toggle[aria-expanded="true"] { background: var(--c-primary); color: #fff; }
.nav__toggle[aria-expanded="true"] .nav__icon-open { display: none; }
.nav__toggle[aria-expanded="false"] .nav__icon-close { display: none; }

/* ── Mobile nav modal ───────────────────────────────────── */
.nav__backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 24, 30, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
  z-index: 45;
}
.nav__backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }

.nav__menu {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  width: min(92vw, 520px);
  max-height: 90vh;
  background: var(--c-bg);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(15,24,30,0.28), 0 4px 12px rgba(15,24,30,0.10);
  z-index: 50;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition: opacity .22s ease, transform .22s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.nav__menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.nav__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5);
  border-bottom: 1px solid var(--c-border);
  gap: var(--s-4);
  position: sticky;
  top: 0;
  background: var(--c-bg);
  z-index: 2;
}
.nav__drawer-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw + 0.9rem, 1.85rem);
  color: var(--c-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nav__close {
  width: 48px; height: 48px;
  border: 2px solid var(--c-secondary) !important;
  border-radius: var(--r-md);
  background: rgba(216,158,58,0.06);
  color: var(--c-text);
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.nav__close:hover { background: rgba(216,158,58,0.16); border-color: var(--c-secondary-light) !important; }
.nav__close:active { transform: scale(0.96); }
.nav__close svg { width: 22px; height: 22px; stroke-width: 2.5; }

.nav__drawer-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.nav__pill {
  display: block;
  padding: var(--s-4) var(--s-5);
  background: rgba(45,95,92,0.06);
  color: var(--c-text);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav__pill:hover { background: rgba(45,95,92,0.12); color: var(--c-primary); }
.nav__pill[aria-current="page"] {
  background: var(--c-primary);
  color: #fff;
}
.nav__pill[aria-current="page"]:hover { background: var(--c-primary-dark); color: #fff; }

.nav__group {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.nav__group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin: 0;
  padding: 0;
  font-family: var(--f-sans);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: default;
  /* mobile: not interactive — bara visuell rubrik */
  pointer-events: none;
}
.nav__group-label::after { display: none; }
.nav__group-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
}
.nav__group-links a {
  color: var(--c-text);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.3;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav__group-links a:hover { color: var(--c-primary); }
.nav__group-links a[aria-current="page"] {
  color: var(--c-primary);
  font-weight: 700;
}

/* Mobile CTA — full-width primary button längst ner i menyn */
.nav__cta {
  margin-top: var(--s-3);
}
.nav__cta .btn {
  width: 100%;
  font-size: 1.05rem;
  min-height: 52px;
}

/* Long/short label swap (long on mobile, short on desktop) */
.nav__label-short { display: none; }
.nav__label-long { display: inline; }

/* Lock body scroll when menu open */
body.nav-open { overflow: hidden; }

/* Göm sidans hamburger/X-toggle när modalen är öppen — modalens egen X räcker.
   (Headern måste lämnas synlig eftersom modalen ligger inuti den.) */
body.nav-open .nav__toggle { visibility: hidden; }

/* ── Desktop: nav med dropdown-grupper ─────────────────── */
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__backdrop { display: none; }
  .nav__menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    max-height: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
    transition: none;
  }
  .nav__drawer-header { display: none; }
  .nav__drawer-body {
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    overflow: visible;
  }
  .nav__group {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__group-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: var(--s-2) var(--s-3);
    background: transparent;
    border: 0;
    cursor: pointer;
    pointer-events: auto;
    font-family: var(--f-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-text);
    text-transform: none;
    letter-spacing: normal;
    border-radius: var(--r-sm);
    line-height: 1.4;
    transition: background .15s ease, color .15s ease;
  }
  .nav__group-label::after {
    display: inline-block;
    content: '';
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-top: 1px;
    transition: transform .18s ease;
  }
  .nav__group:hover > .nav__group-label,
  .nav__group:focus-within > .nav__group-label,
  .nav__group > .nav__group-label[aria-expanded="true"] {
    background: var(--c-bg-alt);
    color: var(--c-primary);
  }
  .nav__group:hover > .nav__group-label::after,
  .nav__group:focus-within > .nav__group-label::after {
    transform: rotate(180deg);
  }
  .nav__group-links {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    padding: 6px;
    min-width: 200px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 60;
    flex-wrap: nowrap;
  }
  .nav__group:hover .nav__group-links,
  .nav__group:focus-within .nav__group-links,
  .nav__group > .nav__group-label[aria-expanded="true"] + .nav__group-links {
    display: flex;
  }
  /* Bro mellan trigger och dropdown så hover inte tappas */
  .nav__group-links::before {
    content: '';
    position: absolute;
    top: -6px; left: 0; right: 0;
    height: 6px;
  }
  .nav__group-links a {
    display: block;
    color: var(--c-text);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    line-height: 1.35;
    white-space: nowrap;
    text-align: left;
  }
  .nav__group-links a + a { margin-top: 1px; }
  .nav__group-links a:hover {
    background: var(--c-bg-alt);
    color: var(--c-primary);
  }
  .nav__group-links a[aria-current="page"] {
    background: rgba(45,95,92,0.08);
    color: var(--c-primary);
    font-weight: 600;
  }
  .nav__pill {
    padding: var(--s-2) var(--s-3);
    background: transparent;
    color: var(--c-text);
    border-radius: var(--r-sm);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
  }
  .nav__pill:hover {
    background: var(--c-bg-alt);
    color: var(--c-primary);
  }
  .nav__pill[aria-current="page"],
  .nav__group-links a[aria-current="page"] {
    background: var(--c-bg-alt);
    color: var(--c-primary);
    font-weight: 600;
  }
  .nav__cta {
    margin-left: var(--s-3);
  }
  .nav__cta .btn {
    padding: var(--s-3) var(--s-5);
    font-size: 0.95rem;
    min-height: 44px;
  }
  .nav__label-long { display: none; }
  .nav__label-short { display: inline; }
  body.nav-open { overflow: auto; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--c-primary); color: #fff;
  box-shadow: var(--sh-sm);
}
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; box-shadow: var(--sh-md); }
.btn--secondary {
  background: var(--c-secondary); color: #1A1408;
  box-shadow: var(--sh-sm);
}
.btn--secondary:hover { background: var(--c-secondary-light); color: #1A1408; box-shadow: var(--sh-md); }
.btn--ghost {
  background: transparent; color: var(--c-primary);
  box-shadow: inset 0 0 0 1.5px var(--c-primary);
}
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--light {
  background: #fff; color: var(--c-primary);
}
.btn--light:hover { background: var(--c-bg-alt); color: var(--c-primary-dark); }
.btn--block { width: 100%; }
.btn--lg { padding: var(--s-4) var(--s-6); font-size: 1.05rem; min-height: 56px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--s-7) 0 var(--s-8);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(216,158,58,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(45,95,92,0.14), transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: var(--s-8) 0 var(--s-9); }
}
.hero__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
}
.hero__copy > * + * { margin-top: var(--s-4); }
.hero__title {
  font-size: clamp(2.6rem, 6vw + 0.5rem, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__title em,
.page-header h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--c-primary-dark) 0%, var(--c-primary) 35%, var(--c-secondary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Solid fallback for browsers without background-clip */
  text-shadow: 0 0 1px rgba(45,95,92,0.04);
}
@supports not (background-clip: text) {
  .hero__title em, .page-header h1 em { color: var(--c-primary); background: none; }
}
.hero__sub {
  font-size: clamp(1.15rem, 0.6vw + 1.05rem, 1.35rem);
  color: var(--c-text-muted);
  max-width: 56ch;
  line-height: 1.55;
}
.hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
@media (min-width: 960px) { .hero__visual { aspect-ratio: 4/3; } }
.hero__visual svg { width: 100%; height: 100%; display: block; }

/* ── Cards / Service grid ─────────────────────────────── */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
  height: 100%;
}
.card--link:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--c-primary-light); }
.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--c-bg-alt);
  color: var(--c-primary);
  margin-bottom: var(--s-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--gold { background: rgba(216,158,58,0.15); color: #A57518; }
.card__title { margin-bottom: var(--s-2); }
.card__text { color: var(--c-text-muted); flex-grow: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--s-4);
  font-weight: 600;
  color: var(--c-primary);
}
.card__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card--link:hover .card__link svg { transform: translateX(4px); }

/* ── Pill / Tag ───────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  color: var(--c-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Feature list ─────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(45,95,92,0.10); color: var(--c-primary);
  display: grid; place-items: center;
}
.feature-list__icon svg { width: 18px; height: 18px; }

/* ── Two-column intro ─────────────────────────────────── */
.split {
  display: grid; gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--reverse > :first-child { order: 2; }
}
.split__media {
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-secondary-light) 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.split__media svg { width: 100%; height: 100%; }

/* ── Forms ────────────────────────────────────────────── */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field__label {
  font-weight: 600; font-size: 0.95rem; color: var(--c-text);
}
.field__hint { font-size: 0.85rem; color: var(--c-text-light); }
.field__input, .field__textarea, .field__select {
  display: block; width: 100%;
  padding: var(--s-3) var(--s-4);
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 1rem;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input:focus, .field__textarea:focus, .field__select:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(45,95,92,0.12);
}
.field__textarea { min-height: 140px; resize: vertical; padding: var(--s-3) var(--s-4); }
.field__select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6573' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
/* honeypot */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.checkbox-grid {
  display: grid; gap: var(--s-2);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
.checkbox-card {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: #fff;
}
.checkbox-card:hover { border-color: var(--c-primary-light); }
.checkbox-card input { margin-top: 4px; accent-color: var(--c-primary); }
.checkbox-card input:checked + span { color: var(--c-primary); font-weight: 600; }
.checkbox-card:has(input:checked) { border-color: var(--c-primary); background: rgba(45,95,92,0.04); }
.checkbox-card span { color: var(--c-text); }

.form__status {
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-weight: 500;
  display: none;
}
.form__status--show { display: block; }
.form__status--success { background: rgba(45,125,92,0.10); color: var(--c-success); border: 1px solid rgba(45,125,92,0.25); }
.form__status--error { background: rgba(184,58,58,0.08); color: var(--c-error); border: 1px solid rgba(184,58,58,0.20); }

/* ── Contact card ─────────────────────────────────────── */
.contact-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-sm);
}
.contact-card__role {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--c-secondary);
  margin-bottom: var(--s-2);
}
.contact-card__name { font-family: var(--f-serif); font-weight: 600; font-size: 1.25rem; margin-bottom: var(--s-3); }
.contact-card__list { display: grid; gap: var(--s-2); }
.contact-card__list a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) 0;
  color: var(--c-text);
}
.contact-card__list a:hover { color: var(--c-primary); }
.contact-card__icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-bg-alt);
  display: grid; place-items: center;
  color: var(--c-primary);
}
.contact-card__icon svg { width: 16px; height: 16px; }

/* ── CTA strip ────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-5);
  text-align: center;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(216,158,58,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 56ch; margin: 0 auto var(--s-5); }
.cta-strip .btn--secondary { box-shadow: 0 4px 14px rgba(0,0,0,0.18); }

/* ── Impact stats ─────────────────────────────────────── */
.impact {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .impact { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.impact__item {
  text-align: center;
  padding: var(--s-5) var(--s-4);
  position: relative;
}
.impact__number {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-primary);
  display: block;
  margin-bottom: var(--s-3);
}
.impact__number--gold { color: var(--c-secondary); }
.impact__number--warm { color: var(--c-warm); }
.impact__label {
  display: block;
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  max-width: 22ch;
  margin: 0 auto;
}

/* ── Quote block ──────────────────────────────────────── */
.quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-5);
  text-align: center;
}
.quote::before {
  content: '"';
  font-family: var(--f-serif);
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1;
  color: var(--c-warm);
  opacity: 0.55;
  pointer-events: none;
}
.quote__text {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 2.2vw + 0.8rem, 2.1rem);
  line-height: 1.35;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.quote__cite {
  display: block;
  margin-top: var(--s-5);
  font-size: 0.95rem;
  color: var(--c-text-muted);
  font-style: normal;
}
.quote__cite strong {
  color: var(--c-primary);
  font-weight: 600;
}

/* ── Pinkish accent section ───────────────────────────── */
.section--warm { background: var(--c-warm-soft); }

/* ── Decorative organic divider ───────────────────────── */
.organic-wave {
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
}
.organic-wave path { fill: var(--c-bg-alt); }
.organic-wave--warm path { fill: var(--c-warm-soft); }
.organic-wave--primary path { fill: var(--c-primary); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: var(--s-7);
}
.site-footer h4 { color: #fff; font-family: var(--f-sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-3); }
.footer-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--f-serif); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: var(--s-2); }
.footer-tag { color: rgba(255,255,255,0.7); max-width: 36ch; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer-links a { color: rgba(255,255,255,0.78); }
.footer-links a:hover { color: var(--c-secondary-light); }
.footer-bottom {
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center; font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ── Page header ─────────────────────────────────────── */
.page-header {
  padding: var(--s-7) 0 var(--s-6);
  background:
    radial-gradient(700px 350px at 100% 0%, rgba(216,158,58,0.14), transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
}
.page-header__eyebrow { margin-bottom: var(--s-3); }
.page-header h1 { margin-bottom: var(--s-3); }
.page-header__lead { max-width: 65ch; }
.crumbs {
  font-size: 0.9rem; color: var(--c-text-muted);
  margin-bottom: var(--s-4);
}
.crumbs a { color: var(--c-text-muted); }
.crumbs a:hover { color: var(--c-primary); }
.crumbs span { color: var(--c-text-light); padding: 0 6px; }

/* ── Wizard / Stepper ────────────────────────────────── */
.wizard__progress {
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.wizard__step {
  flex: 1;
  height: 6px;
  background: var(--c-border);
  border-radius: 999px;
  overflow: hidden;
}
.wizard__step--done { background: var(--c-primary); }
.wizard__step--active { background: linear-gradient(90deg, var(--c-primary) 50%, var(--c-border) 50%); }
.wizard__nav { display: flex; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-5); }
.wizard__count { font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: var(--s-2); }

/* ── Utility ─────────────────────────────────────────── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 65ch; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.gap-3 { gap: var(--s-3); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Scroll-triggered reveal ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
    transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--up   { transform: translateY(40px); }
.reveal--left { transform: translateX(-30px); }
.reveal--right{ transform: translateX(30px); }
.reveal.is-visible.reveal--left,
.reveal.is-visible.reveal--right { transform: translateX(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }

/* ── Hero ambient motion ──────────────────────────────── */
@keyframes funkisFloatA {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(6px); }
}
@keyframes funkisFloatB {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(10px) translateX(-8px); }
}
@keyframes funkisLinePulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}
@keyframes funkisHeartPulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.30; transform: scale(1.04); }
}
.hero__visual [data-anim="float-a"] {
  animation: funkisFloatA 7s ease-in-out infinite;
  transform-origin: center;
}
.hero__visual [data-anim="float-b"] {
  animation: funkisFloatB 9s ease-in-out infinite;
  transform-origin: center;
}
.hero__visual [data-anim="line"] {
  animation: funkisLinePulse 4.5s ease-in-out infinite;
}
.hero__visual [data-anim="heart"] {
  animation: funkisHeartPulse 5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* ── Organic section wave divider ─────────────────────── */
.section-wave {
  display: block;
  width: 100%;
  height: 50px;
  margin-bottom: -1px; /* close any subpixel gap */
}
.section-wave--up   { transform: rotate(180deg); margin-bottom: 0; margin-top: -1px; }
.section-wave path  { fill: var(--c-bg-alt); }
.section-wave--warm path { fill: var(--c-warm-soft); }
.section-wave--primary path { fill: var(--c-primary); }
.section-wave--cream path { fill: var(--c-bg); }

/* ── Journey/process row ──────────────────────────────── */
.journey {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .journey { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
  .journey::before {
    content: '';
    position: absolute;
    top: 36px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-secondary) 0 8px, transparent 8px 16px);
    opacity: 0.5;
    z-index: 0;
  }
}
.journey__step { text-align: center; position: relative; z-index: 1; }
.journey__num {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-primary);
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--c-primary);
  margin-bottom: var(--s-4);
  box-shadow: 0 4px 16px rgba(45,95,92,0.10);
}
.journey__step:nth-child(2) .journey__num { border-color: var(--c-secondary); color: #A57518; background: rgba(232,184,96,0.12); }
.journey__step:nth-child(3) .journey__num { border-color: var(--c-warm); color: #B87278; background: var(--c-warm-soft); }
.journey__title { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: var(--s-2); }
.journey__text { color: var(--c-text-muted); font-size: 0.97rem; line-height: 1.55; max-width: 30ch; margin: 0 auto; }

/* ── Decorative organic blob (background accent) ──────── */
.blob {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.section { position: relative; }
.section > .container { position: relative; z-index: 1; }

/* ── Reduce motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
