/* ═══════════════════════════════════════════════
   DE TROOSTPLEK — Design System v3
   Aesthetic: Organic-editorial. Warm, quiet, alive.
   ═══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Color — OKLCH, tinted neutrals */
  --teal:        oklch(0.38 0.06 195);
  --teal-light:  oklch(0.45 0.055 195);
  --teal-dark:   oklch(0.30 0.065 195);
  --teal-mist:   oklch(0.92 0.015 195);
  --cream:       oklch(0.97 0.008 85);
  --cream-deep:  oklch(0.94 0.012 80);
  --sand:        oklch(0.88 0.025 75);
  --sand-light:  oklch(0.93 0.018 78);
  --bark:        oklch(0.25 0.02 60);
  --bark-soft:   oklch(0.40 0.015 65);
  --fog:         oklch(0.60 0.01 80);
  --white:       oklch(0.99 0.003 85);
  --rose:        oklch(0.75 0.04 25);
  --rose-mist:   oklch(0.94 0.015 25);

  /* Typography scale — 1.25 ratio */
  --text-xs:    clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --text-sm:    clamp(0.85rem, 0.8rem + 0.25vw, 0.9rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl:    clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-2xl:   clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --text-3xl:   clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --text-4xl:   clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
  --text-display: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Spacing — irregular rhythm */
  --sp-2xs:  0.25rem;
  --sp-xs:   0.5rem;
  --sp-sm:   0.75rem;
  --sp-md:   1.25rem;
  --sp-lg:   2rem;
  --sp-xl:   3.5rem;
  --sp-2xl:  5.5rem;
  --sp-3xl:  8rem;
  --sp-4xl:  12rem;

  /* Radius */
  --r-sm:   0.375rem;
  --r-md:   0.75rem;
  --r-lg:   1.25rem;
  --r-xl:   2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px oklch(0.25 0.02 60 / 0.06);
  --shadow-md:  0 4px 16px oklch(0.25 0.02 60 / 0.08);
  --shadow-lg:  0 8px 40px oklch(0.25 0.02 60 / 0.1);
  --shadow-xl:  0 16px 64px oklch(0.25 0.02 60 / 0.12);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    200ms;
  --dur-med:     400ms;
  --dur-slow:    700ms;
  --dur-reveal:  1000ms;

  /* Layout */
  --max-w:       72rem;
  --max-w-text:  42rem;
  --gutter:      clamp(1.5rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-med: 0ms;
    --dur-slow: 0ms;
    --dur-reveal: 0ms;
  }
}

/* ── Base ── */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Lora', 'Georgia', serif;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--bark);
  background: var(--cream);
  overflow-x: hidden;
}

::selection {
  background: oklch(0.38 0.06 195 / 0.15);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover { color: var(--teal-light); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--bark);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

.script {
  font-family: 'Allura', cursive;
  font-weight: 400;
  line-height: 1.3;
}

.label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
}

p + p { margin-top: 1.2em; }

.lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--bark-soft);
}

.prose p { max-width: 65ch; }

.prose h2 {
  margin-top: 2.5em;
  margin-bottom: 0.6em;
}

.prose h3 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

/* Drop cap */
.drop-cap::first-letter {
  font-family: 'Allura', cursive;
  font-size: 3.8em;
  float: left;
  line-height: 0.75;
  margin-right: 0.08em;
  margin-top: 0.08em;
  color: var(--teal);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--max-w-text);
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

@media (min-width: 768px) {
  .grid-asymmetric {
    grid-template-columns: 1fr 1.618fr;
    gap: var(--sp-2xl);
  }
}

@media (min-width: 768px) {
  .grid-asymmetric--reverse {
    grid-template-columns: 1.618fr 1fr;
  }
  .grid-asymmetric--reverse > * {
    order: unset !important;
  }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-md) 0;
  transition: all var(--dur-med) var(--ease-out);
}

.nav--scrolled {
  background: oklch(0.97 0.008 85 / 0.9);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  padding: var(--sp-sm) 0;
  box-shadow: 0 1px 0 oklch(0.88 0.025 75 / 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  font-family: 'Allura', cursive;
  font-size: var(--text-xl);
  color: var(--teal);
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.nav__logo:hover { opacity: 0.7; color: var(--teal); }

.nav__links {
  display: none;
  list-style: none;
  gap: var(--sp-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__links a {
  font-size: var(--text-sm);
  color: var(--bark-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width var(--dur-med) var(--ease-out);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--teal);
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}

@media (min-width: 768px) {
  .nav__toggle { display: none; }
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bark);
  transition: all var(--dur-fast) var(--ease-out);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a {
  font-family: 'Lora', serif;
  font-size: var(--text-xl);
  color: var(--bark);
  text-decoration: none;
}

.nav__mobile a:hover {
  color: var(--teal);
}

/* ── Nav over hero (white text on teal/video) ── */
.nav--over-hero .nav__logo { color: rgba(255, 255, 255, 0.9); }
.nav--over-hero .nav__links a { color: rgba(255, 255, 255, 0.75); }
.nav--over-hero .nav__links a:hover { color: #fff; }
.nav--over-hero .nav__links a::after { background: #fff; }
.nav--over-hero .nav__toggle span { background: #fff; }
.nav--over-hero .btn.btn--primary { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); color: #fff; }

.nav--scrolled.nav--over-hero .nav__logo { color: var(--teal); }
.nav--scrolled.nav--over-hero .nav__links a { color: var(--bark-soft); }
.nav--scrolled.nav--over-hero .nav__links a:hover { color: var(--teal); }
.nav--scrolled.nav--over-hero .nav__links a::after { background: var(--teal); }
.nav--scrolled.nav--over-hero .nav__toggle span { background: var(--bark); }
.nav--scrolled.nav--over-hero .btn.btn--primary { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: 'Lora', serif;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.85em 2em;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid oklch(0.38 0.06 195 / 0.3);
}

.btn--outline:hover {
  border-color: var(--teal);
  background: oklch(0.38 0.06 195 / 0.04);
  color: var(--teal);
}

.btn--ghost {
  background: transparent;
  color: var(--bark-soft);
  padding: 0.6em 0;
}

.btn--ghost:hover {
  color: var(--teal);
}

.btn--ghost svg {
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn--ghost:hover svg {
  transform: translateX(3px);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
}

.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--teal);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4xl) 0 var(--sp-3xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--teal-dark) 0%, var(--teal) 40%, oklch(0.42 0.05 180) 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, oklch(0.88 0.025 75 / 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, oklch(0.99 0.003 85 / 0.04) 0%, transparent 50%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__tagline {
  font-family: 'Allura', cursive;
  font-size: var(--text-2xl);
  color: oklch(0.99 0.003 85 / 0.6);
  margin-bottom: var(--sp-sm);
}

.hero__title {
  font-size: var(--text-4xl);
  color: var(--white);
  max-width: 14ch;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: oklch(0.99 0.003 85 / 0.7);
  max-width: 38ch;
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(3rem, 6vw, 6rem);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 6vw, 6rem);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--teal-dark) 0%, var(--teal) 100%);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, oklch(0.99 0.003 85 / 0.05) 0%, transparent 60%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-hero__tagline {
  font-family: 'Allura', cursive;
  font-size: var(--text-xl);
  color: oklch(0.99 0.003 85 / 0.55);
  margin-bottom: var(--sp-xs);
}

.page-hero__title {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--sp-md);
  max-width: 18ch;
}

.page-hero__intro {
  font-size: var(--text-lg);
  color: oklch(0.99 0.003 85 / 0.7);
  max-width: 42ch;
  line-height: 1.6;
}

.page-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.page-hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(2.5rem, 5vw, 5rem);
}

/* ── Sections ── */
.section {
  padding: var(--sp-2xl) 0;
}

.section--compact {
  padding: var(--sp-xl) 0;
}

.section--sand {
  background: var(--sand-light);
}

.section--cream-deep {
  background: var(--cream-deep);
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--white);
}

.section--teal .lead,
.section--teal p {
  color: oklch(0.99 0.003 85 / 0.75);
}

/* Divider */
.divider {
  width: 3rem;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: var(--sp-lg) 0;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid oklch(0.88 0.025 75 / 0.5);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: all var(--dur-med) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--flat {
  background: transparent;
  border: none;
  padding: 0;
}

.card--flat:hover {
  box-shadow: none;
  transform: none;
}

/* ── Testimonial ── */
.testimonial {
  position: relative;
  padding: var(--sp-xl) 0;
}

.testimonial__quote {
  font-family: 'Lora', serif;
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.55;
  color: var(--bark);
  max-width: 36ch;
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  font-family: 'Allura', cursive;
  font-size: 5em;
  font-style: normal;
  position: absolute;
  top: -0.35em;
  left: -0.15em;
  color: oklch(0.38 0.06 195 / 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial__source {
  font-size: var(--text-sm);
  color: var(--fog);
  margin-top: var(--sp-md);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid oklch(0.88 0.025 75 / 0.5);
}

.faq-item:first-child {
  border-top: 1px solid oklch(0.88 0.025 75 / 0.5);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--bark);
  text-align: left;
  line-height: 1.4;
  transition: color var(--dur-fast) var(--ease-out);
}

.faq-trigger:hover {
  color: var(--teal);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--fog);
  transition: transform var(--dur-med) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--teal);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding-bottom: var(--sp-lg);
  color: var(--bark-soft);
  line-height: 1.7;
  max-width: 55ch;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  padding: var(--sp-xl) var(--sp-lg);
  border: 1px solid oklch(0.88 0.025 75 / 0.5);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: all var(--dur-med) var(--ease-out);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  position: relative;
}

.pricing-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bark);
  margin-bottom: var(--sp-xs);
}

.pricing-card__price {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
  font-variant-numeric: tabular-nums;
}

.pricing-card__note {
  font-size: var(--text-sm);
  color: var(--fog);
  line-height: 1.5;
}

/* ── Form ── */
.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  font-family: 'Lora', serif;
  font-size: var(--text-base);
  color: var(--bark);
  background: var(--white);
  border: 1px solid oklch(0.88 0.025 75 / 0.6);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  transition: all var(--dur-fast) var(--ease-out);
  outline: none;
}

.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px oklch(0.38 0.06 195 / 0.08);
}

.form-input::placeholder {
  color: var(--fog);
  opacity: 0.6;
}

textarea.form-input {
  resize: vertical;
  min-height: 8rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--bark-soft);
  margin-bottom: var(--sp-xs);
}

/* ── Footer ── */
.footer {
  position: relative;
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--sp-2xl) 0 var(--sp-xl);
}

.footer::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 48px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: 'Allura', cursive;
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--sp-sm);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  max-width: 28ch;
  line-height: 1.6;
}

.footer h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__links a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--sp-lg);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 100ms; }
[data-delay="2"] { transition-delay: 200ms; }
[data-delay="3"] { transition-delay: 300ms; }
[data-delay="4"] { transition-delay: 400ms; }
[data-delay="5"] { transition-delay: 500ms; }

/* ── Pull quote ── */
.pull-quote {
  position: relative;
  padding: var(--sp-xl) var(--gutter);
  text-align: center;
}

.pull-quote__text {
  font-family: 'Allura', cursive;
  font-size: var(--text-3xl);
  color: var(--teal);
  line-height: 1.3;
}

/* ── Horizontal rule with script ── */
.hr-script {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-xl) 0;
}

.hr-script::before,
.hr-script::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand);
}

.hr-script span {
  font-family: 'Allura', cursive;
  font-size: var(--text-xl);
  color: var(--teal);
  white-space: nowrap;
}

/* ── Contact grid ── */
.contact-form-wrap { order: 1; }
.contact-details { order: 2; }

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.618fr 1fr !important;
  }
}

/* ── Sidebar layout ── */
.sidebar-nav {
  display: none;
}

@media (min-width: 768px) {
  .sidebar-layout {
    grid-template-columns: 180px 1fr !important;
  }
  .sidebar-nav {
    display: block;
  }
}

/* ── Mobile adjustments ── */
@media (max-width: 767px) {
  .section {
    padding: var(--sp-xl) 0;
  }

  .section--compact {
    padding: var(--sp-lg) 0;
  }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }

  .grid-asymmetric {
    gap: var(--sp-lg);
  }

  .hero__content {
    padding-bottom: 4rem;
  }

  .page-hero {
    padding: clamp(7rem, 10vw, 9rem) 0 clamp(2.5rem, 4vw, 4rem);
  }

  .page-hero__title {
    font-size: var(--text-2xl);
  }

  .testimonial__quote {
    font-size: var(--text-lg);
  }

  .pull-quote__text {
    font-size: var(--text-2xl);
  }

  .footer__grid {
    gap: var(--sp-xl);
  }

  .pricing-grid {
    gap: var(--sp-md);
  }

  .hr-script {
    gap: var(--sp-md);
  }

  .hr-script span {
    font-size: var(--text-lg);
  }

}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-fog { color: var(--fog); }
.text-bark-soft { color: var(--bark-soft); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* ── Contact info list ── */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.contact-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.contact-list a {
  color: var(--bark-soft);
}

.contact-list a:hover {
  color: var(--teal);
}

/* ── Number accent ── */
.number-accent {
  font-family: 'Lora', serif;
  font-size: var(--text-display);
  font-weight: 600;
  color: oklch(0.38 0.06 195 / 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.3em 0.9em;
  border-radius: var(--r-full);
  background: oklch(0.38 0.06 195 / 0.08);
  color: var(--teal);
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--teal);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
}

/* ── Grid background texture for sections ── */
.texture-dots {
  position: relative;
}

.texture-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: radial-gradient(circle, var(--bark) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ── Logo (druppel-icoon + wit logo) ── */
.logo-mark {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.35em;
  vertical-align: -0.05em;
  background-color: currentColor;
  -webkit-mask: url('../img/logo-icoon.png') no-repeat center / contain;
  mask: url('../img/logo-icoon.png') no-repeat center / contain;
}

.nav__logo { white-space: nowrap; }

.footer__logo {
  display: block;
  width: 132px;
  height: auto;
  margin-bottom: var(--sp-md);
}
