/* =========================================================
   Puijonlaakson Kukkakauppa — index.css
   Design: Warm botanical artisan · Fraunces + Figtree
   ========================================================= */

/* ── 0. Animated gradient @property ─────────────────────── */
@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ── 1. Design Tokens ────────────────────────────────────── */
:root {
  /* Brand: dusty rose */
  --brand:           oklch(0.62 0.12 15);
  --brand-light:     color-mix(in oklab, var(--brand) 30%, white);
  --brand-dark:      color-mix(in oklab, var(--brand) 70%, black);

  /* Secondary: sage green */
  --secondary:       oklch(0.55 0.08 148);
  --secondary-light: color-mix(in oklab, var(--secondary) 25%, white);

  /* Accent: warm terracotta for CTAs */
  --accent:          oklch(0.60 0.15 42);
  --accent-hover:    color-mix(in oklab, var(--accent) 85%, black);

  /* Surfaces — tinted warm cream, NOT pure white */
  --surface-1:       oklch(0.99 0.008 80);
  --surface-2:       oklch(0.96 0.012 80);
  --surface-3:       oklch(0.91 0.018 80);
  --surface-dark:    oklch(0.18 0.015 80);

  /* Text */
  --text-primary:    oklch(0.18 0.015 80);
  --text-secondary:  oklch(0.45 0.025 80);
  --text-muted:      oklch(0.62 0.018 80);
  --text-on-dark:    oklch(0.96 0.008 80);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Figtree', 'Helvetica Neue', Arial, sans-serif;

  /* Fluid type scale (Perfect Fourth — 1.333 ratio) */
  --text-xs:   clamp(0.75rem,  0.70rem + 0.20vw, 0.813rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.25vw, 0.938rem);
  --text-base: clamp(1rem,     0.94rem + 0.30vw, 1.063rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.40vw, 1.25rem);
  --text-xl:   clamp(1.5rem,   1.30rem + 0.80vw, 1.875rem);
  --text-2xl:  clamp(2rem,     1.70rem + 1.20vw, 2.625rem);
  --text-3xl:  clamp(2.75rem,  2.20rem + 2.00vw, 3.75rem);
  --text-4xl:  clamp(3.5rem,   2.80rem + 2.80vw, 5rem);

  /* Spatial rhythm — 4-point base */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Vertical rhythm base */
  --rhythm: 1.6rem;
  --line-height-body: 1.65;

  /* Misc */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --transition-fast: 120ms ease-in-out;
  --transition-mid:  280ms ease-out;
  --shadow-sm:  0 2px 8px oklch(0.18 0.015 80 / 0.08);
  --shadow-md:  0 8px 24px oklch(0.18 0.015 80 / 0.12);
  --shadow-lg:  0 20px 48px oklch(0.18 0.015 80 / 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--surface-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* Custom selection */
::selection {
  background: color-mix(in oklab, var(--brand) 30%, white);
  color: var(--text-primary);
}

/* ── 3. Layout Utilities ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-md); }
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.55;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* ── 4. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-lg);
  border-radius: var(--radius-sm);
}

/* Accent (terracotta) */
.btn-accent {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Ghost */
.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: oklch(0.75 0.02 80);
}
.btn-ghost:hover {
  background-color: var(--surface-3);
  border-color: oklch(0.65 0.03 80);
  transform: translateY(-1px);
}

/* Outline (brand) */
.btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline:hover {
  background-color: var(--secondary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Cream (on dark brand bg) */
.btn-cream {
  background-color: var(--surface-1);
  color: var(--brand-dark);
  border-color: var(--surface-1);
}
.btn-cream:hover {
  background-color: white;
  transform: scale(1.03) translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ── 5. Site Header ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background-color: transparent;
  transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
}

.site-header.scrolled {
  background-color: var(--surface-1);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.1rem + 0.3vw, 1.2rem);
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--secondary);
  transition: right var(--transition-mid);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  right: 0;
}

.nav-cta {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}

.hamburger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface-1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 280ms ease-out, opacity 200ms ease-out;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-list li {
    border-bottom: 1px solid var(--surface-3);
  }
  .nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--text-base);
  }
  .nav-cta {
    margin-top: var(--space-lg);
    align-self: stretch;
    text-align: center;
    padding: 14px 20px;
    font-size: var(--text-base);
  }
}

/* ── 6. Hero Section ─────────────────────────────────────── */
@property --hero-hue-shift {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.section-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(72px + var(--space-5xl)) var(--space-5xl);
  background-color: var(--surface-1);
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    color-mix(in oklab, var(--brand) 12%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-lg);

  /* @starting-style entrance */
  animation: fade-up 600ms 100ms ease-out both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  max-width: 760px;
  margin-inline: auto;

  animation: fade-up 700ms 200ms ease-out both;
}

.hero-headline em {
  font-style: italic;
  color: var(--brand);
  font-weight: 300;
}

.hero-subheadline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);

  animation: fade-up 700ms 350ms ease-out both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);

  animation: fade-up 700ms 480ms ease-out both;
}

.hero-rule {
  width: 60px;
  height: 2px;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  margin-inline: auto;
  border-radius: 2px;

  animation: fade-in 700ms 600ms ease-out both;
}

@keyframes fade-up {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── 7. Image Strip ──────────────────────────────────────── */
.image-strip {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;

  /* Scroll parallax */
  animation: parallax-strip linear;
  animation-timeline: scroll();
  animation-range: 0% 100%;
}

@keyframes parallax-strip {
  from { object-position: center 20%; }
  to   { object-position: center 60%; }
}

.image-strip-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .image-strip { height: 220px; }
}

/* ── 8. Services Section ─────────────────────────────────── */
.section-services {
  padding-block: var(--space-5xl);
  background-color: var(--surface-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background-color: var(--surface-1);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
  position: relative;

  /* Scroll-driven stagger reveal */
  animation: card-reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}

.service-card:nth-child(1) { animation-delay: 0ms; }
.service-card:nth-child(2) { animation-delay: 100ms; }
.service-card:nth-child(3) { animation-delay: 200ms; }
.service-card:nth-child(4) { animation-delay: 300ms; }

@keyframes card-reveal {
  from {
    opacity: 0;
    translate: 0 32px;
    clip-path: inset(100% 0 0 0 round 8px);
  }
  to {
    opacity: 1;
    translate: 0 0;
    clip-path: inset(0 0 0 0 round 8px);
  }
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.service-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.service-price {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ── 9. About Section ────────────────────────────────────── */
.section-about {
  padding-block: var(--space-5xl);
  background-color: var(--surface-1);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .about-image { order: -1; }
}

.about-text .section-eyebrow { text-align: left; }
.about-text .section-title { text-align: left; max-width: 520px; }

.about-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.about-text .btn-outline {
  margin-top: var(--space-md);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);

  animation: about-reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}

@keyframes about-reveal {
  from { opacity: 0; translate: 24px 0; clip-path: inset(0 100% 0 0 round 12px); }
  to   { opacity: 1; translate: 0 0;  clip-path: inset(0 0 0 0 round 12px); }
}

@media (max-width: 900px) {
  .about-image img { height: 280px; }
}

/* ── 10. Stats Section ───────────────────────────────────── */
.section-stats {
  padding-block: var(--space-5xl);
  background-color: var(--surface-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-3xl); }
}

.stat-item {
  animation: fade-up linear both;
  animation-timeline: view();
  animation-range: entry 20% entry 80%;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-base);
  color: var(--text-on-dark);
  opacity: 0.7;
  margin-top: var(--space-md);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── 11. Testimonials Section ────────────────────────────── */
.section-testimonials {
  padding-block: var(--space-5xl);
  background-color: var(--surface-3);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background-color: var(--surface-1);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);

  animation: fade-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 65%;
}

.testimonial-card:nth-child(2) { animation-delay: 100ms; }
.testimonial-card:nth-child(3) { animation-delay: 200ms; }

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

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--brand-light);
  line-height: 0.6;
  display: block;
  margin-bottom: var(--space-md);
  user-select: none;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.testimonial-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}

.testimonial-city {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ── 12. CTA Section ─────────────────────────────────────── */
.section-cta {
  padding-block: var(--space-5xl);
  background-color: var(--brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    color-mix(in oklab, white 12%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  color: color-mix(in oklab, white 75%, var(--brand));
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: var(--space-lg);

  animation: cta-reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}

.cta-title em {
  font-style: italic;
  font-weight: 300;
}

@keyframes cta-reveal {
  from { opacity: 0; scale: 0.96; }
  to   { opacity: 1; scale: 1; }
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: color-mix(in oklab, white 80%, var(--brand));
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

/* ── 13. Contact Section ─────────────────────────────────── */
.section-contact {
  background-color: var(--surface-dark);
  padding-block: var(--space-4xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
}

.contact-address p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-base);
  color: color-mix(in oklab, var(--text-on-dark) 75%, transparent);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.contact-icon { flex-shrink: 0; }

.contact-link {
  color: color-mix(in oklab, var(--text-on-dark) 75%, transparent);
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--secondary);
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.contact-hours-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: var(--space-xl);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  font-size: var(--text-base);
  color: color-mix(in oklab, var(--text-on-dark) 70%, transparent);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.hours-row dt { font-weight: 400; }
.hours-row dd { font-weight: 600; color: var(--text-on-dark); }

.contact-tagline-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.contact-tagline {
  font-size: var(--text-base);
  color: color-mix(in oklab, var(--text-on-dark) 55%, transparent);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  padding-block: var(--space-xl);
  text-align: center;
}

.footer-copy {
  font-size: var(--text-xs);
  color: color-mix(in oklab, var(--text-on-dark) 40%, transparent);
  letter-spacing: 0.04em;
}

/* ── 14. Scroll-driven nav background ───────────────────── */
/* Handled via JS (header scroll class), but ensure smooth */
.site-header { will-change: background-color, box-shadow; }

/* ── 15. Delight micro-interactions ─────────────────────── */

/* CTA button satisfying press feedback */
.btn-accent:active, .btn-cream:active {
  transform: scale(0.96) translateY(1px);
  box-shadow: none;
}

/* Service card stagger — delight via :nth-child delays (CSS only) */
.service-card:nth-child(1) { --card-delay: 0ms; }
.service-card:nth-child(2) { --card-delay: 100ms; }
.service-card:nth-child(3) { --card-delay: 200ms; }
.service-card:nth-child(4) { --card-delay: 300ms; }

.service-card {
  animation-delay: var(--card-delay, 0ms);
}

/* Service icon scale on card hover — personality */
.service-card:hover .service-icon {
  transform: scale(1.2) rotate(-5deg);
  transition: transform 200ms ease-out;
  display: inline-block;
}

.service-icon {
  display: inline-block;
  transition: transform 200ms ease-out;
}

/* Testimonial subtle lift */
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Nav link active indicator */
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  right: 0;
}

/* Scroll-driven stats section counter digits */
.stat-item:nth-child(2) { animation-delay: 150ms; }
.stat-item:nth-child(3) { animation-delay: 300ms; }

/* ── 16. Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Still show counters at final value immediately */
  .stat-number { animation: none !important; }
}
