/* ============================================================================
   DENTOSPHERE — Design System
   Premium medical / dental visual identity: deep teal + soft sky blue,
   off-white ground, generous whitespace, rounded cards, subtle shadows.
   ============================================================================ */

/* ---------- Tokens ---------------------------------------------------- */
:root {
  /* Color */
  --color-primary: #0b5d56;
  --color-primary-dark: #073f3b;
  --color-primary-light: #0f766e;
  --color-sky: #7fc4d9;
  --color-sky-soft: #eaf6f8;
  --color-mint: #eef8f4;
  --color-bg: #ffffff;
  --color-bg-offwhite: #f8faf9;
  --color-navy: #142522;
  --color-text: #1c2b28;
  --color-text-muted: #55655f;
  --color-border: #e3ebe8;
  --color-whatsapp: #0d7a3d; /* deepened from brand #25d366 so white button text meets WCAG AA contrast */
  --color-whatsapp-dark: #0a5f30;
  --color-whatsapp-bright: #25d366; /* original brand green, safe for icon-only surfaces (no overlaid text) */
  --color-gold: #b9975b;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radius / shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(11, 40, 36, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 40, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 40, 36, 0.12);

  /* Layout */
  --container-width: 1200px;
  --header-height: 84px;
}

/* ---------- Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--color-text-muted); }
address { font-style: normal; }
svg { display: block; } /* intrinsic 48x48 (1:1) from the icon set; every usage context sets its own width below */

/* ---------- Icon sizing (every icon-bearing element gets an explicit size) - */
.btn svg, .link-arrow svg { width: 20px; height: 20px; flex-shrink: 0; }
.brand-mark svg { width: 26px; height: 26px; }
.service-icon svg { width: 28px; height: 28px; }
.qual-badge svg { width: 30px; height: 30px; }
.exp-icon svg { width: 40px; height: 40px; }
.hero-visual-icon svg { width: 100%; height: 100%; }
.featured-visual svg { width: 70px; height: 70px; }
.kids-visual svg { width: 130px; height: 130px; }
.faq-icon svg { width: 100%; height: 100%; }
.brand-mark, .service-icon, .qual-badge, .exp-icon, .btn-icon, .faq-icon {
  display: inline-flex; align-items: center; justify-content: center;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-sky);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

section { padding-block: 72px; }
@media (min-width: 1024px) { section { padding-block: 108px; } }
.section-tight { padding-block: 48px; }
.bg-offwhite { background: var(--color-bg-offwhite); }
.bg-mint { background: var(--color-mint); }
.bg-primary { background: var(--color-primary); color: #fff; }
.bg-primary h2, .bg-primary h3, .bg-primary p { color: #fff; }

/* ---------- Typography helpers ----------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-mint);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.bg-primary .eyebrow { background: rgba(255,255,255,0.14); color: #fff; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading-center { margin-inline: auto; text-align: center; }
.section-heading h2 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); }
.section-subtitle { font-size: 1.08rem; margin: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 15px 28px; border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-icon { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-mint); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-label-lg { display: none; }
@media (min-width: 1180px) { .btn-label-lg { display: inline; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }

/* ---------- Header / Nav ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-height); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; color: var(--color-primary); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-clinic { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; font-size: 1.15rem; color: var(--color-navy); }
.brand-doctor { font-size: 0.72rem; color: var(--color-text-muted); font-weight: 500; }

.main-nav { display: none; }
.nav-list { display: flex; gap: 8px; }
.nav-link { padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; color: var(--color-text); transition: background .2s, color .2s; }
.nav-link:hover, .nav-link.is-active { background: var(--color-mint); color: var(--color-primary); }

.header-ctas { display: none; align-items: center; gap: 10px; }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: var(--color-primary); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-ctas { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: none; flex-direction: column; gap: 24px;
  padding: 24px 20px 32px; border-top: 1px solid var(--color-border);
  background: #fff;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link { display: block; padding: 14px 8px; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--color-border); }
.mobile-nav-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 56px 72px;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--color-sky-soft), transparent 60%),
    linear-gradient(180deg, var(--color-mint) 0%, #ffffff 65%);
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding-block: 88px 100px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; } }
.hero-eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.hero h1 {
  font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem);
  letter-spacing: -0.01em;
}
.hero-lede { font-size: 1.15rem; max-width: 52ch; }
.hero-doctor-card {
  display: flex; align-items: center; gap: 14px; margin: 28px 0 32px;
  padding: 14px 18px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); max-width: fit-content;
}
.hero-doctor-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-light));
  color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
}
.hero-doctor-info p { margin: 0; }
.hero-doctor-name { font-weight: 700; color: var(--color-navy); font-size: 1rem; }
.hero-doctor-cred { font-size: 0.82rem; color: var(--color-text-muted); }

.hero-clinic-strip {
  display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 0.92rem; color: var(--color-text-muted);
}
.hero-clinic-strip strong { color: var(--color-navy); }
.hero-clinic-strip svg { width: 18px; height: 18px; color: var(--color-primary); flex: none; }

.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-visual-icon {
  display: flex; align-items: center; justify-content: center;
  width: 170px; height: 170px; color: rgba(255,255,255,0.9); flex: none;
}
.hero-visual-icon--sm { width: 110px; height: 110px; }
.hero-visual-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,0.96); border-radius: var(--radius-md); padding: 16px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-md);
}
.hero-visual-badge svg { width: 26px; height: 26px; color: var(--color-primary); flex: none; }
.hero-visual-badge p { margin: 0; color: var(--color-navy); font-size: 0.88rem; font-weight: 600; }
.hero-visual-ring {
  position: absolute; inset: 14px; border: 1.5px dashed rgba(255,255,255,0.35); border-radius: calc(var(--radius-lg) - 6px);
}

/* ---------- Cards --------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--color-mint);
  color: var(--color-primary); padding: 12px; margin-bottom: 20px; flex: none;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; flex: 1; }
.service-card-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-primary); font-size: 0.92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Qualification card */
.qual-card { text-align: center; }
.qual-badge {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--color-primary);
  color: #fff; display: grid; place-items: center; padding: 15px;
}
.qual-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.qual-card p { font-size: 0.88rem; margin: 0; }

/* Experience card */
.exp-card { text-align: left; }
.exp-icon { width: 48px; height: 48px; color: var(--color-primary); margin-bottom: 16px; }

/* Featured service (large) */
.featured-card {
  display: grid; gap: 28px; align-items: center; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); padding: 32px; box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) { .featured-card { grid-template-columns: 200px 1fr; padding: 40px; } }
.featured-visual {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-md); background: linear-gradient(150deg, var(--color-mint), var(--color-sky-soft));
  display: grid; place-items: center; color: var(--color-primary);
}
.featured-visual svg { width: 46%; }
.featured-card h3 { font-size: 1.4rem; }

/* Testimonial-style placeholder note (ethics: no fake reviews) */
.notice-card {
  background: var(--color-sky-soft); border: 1px solid #d7ecf1; border-radius: var(--radius-md);
  padding: 24px 26px; font-size: 0.94rem; color: var(--color-text);
}

/* ---------- Patient Experience ------------------------------------------- */
.experience-section .grid { }

/* ---------- Children's dentistry (slightly warmer) ------------------------ */
.kids-section {
  background: linear-gradient(160deg, #fff7ee 0%, var(--color-bg-offwhite) 60%);
  border-radius: var(--radius-lg);
}
.kids-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .kids-inner { grid-template-columns: 1fr 1fr; } }
.kids-visual {
  border-radius: var(--radius-lg); background: linear-gradient(150deg, #ffe9cf, #fff3e2);
  min-height: 260px; display: grid; place-items: center; color: var(--color-gold);
}
.kids-visual svg { width: 40%; max-width: 160px; }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg); padding: 56px 32px; text-align: center; color: #fff;
}
@media (min-width: 768px) { .cta-band { padding: 72px 60px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 52ch; margin-inline: auto 1.2em; }

/* ---------- Contact ------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 24px; height: 24px; color: var(--color-primary); flex: none; }
.contact-row h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-row p { margin: 0; font-size: 0.95rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Form ----------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--color-navy); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); background: var(--color-bg-offwhite); color: var(--color-text);
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-primary); background: #fff; }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { color: var(--color-primary); }

/* ---------- FAQ ------------------------------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--color-navy);
}
.faq-icon { width: 20px; height: 20px; color: var(--color-primary); transition: transform .2s; flex: none; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(90deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; }

/* ---------- Breadcrumb ------------------------------------------------------ */
.breadcrumb { padding-block: 18px; font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-primary); font-weight: 600; }
.breadcrumb span { margin: 0 8px; }

/* ---------- Page hero (interior pages) -------------------------------------- */
.page-hero { padding-block: 48px 56px; background: var(--color-mint); text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 2.7rem); }
.page-hero p { max-width: 60ch; margin-inline: auto; font-size: 1.05rem; }

/* ---------- Blog card -------------------------------------------------------- */
.blog-card .blog-status { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); background: var(--color-mint); padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }

/* ---------- Sitewide toolstrip (trust bar) ----------------------------------- */
.trust-bar { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; padding-block: 28px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--color-navy); }
.trust-item svg { width: 22px; height: 22px; color: var(--color-primary); flex: none; }

/* ---------- Footer ----------------------------------------------------------- */
.site-footer { background: var(--color-navy); color: #d8e4e1; padding-block: 64px 28px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #c3d3cf; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-heading { font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; }
.footer-brand .brand-mark { color: #9fd7cd; }
.footer-brand .brand-clinic { color: #fff; }
.footer-doctor-name { margin: 18px 0 2px; font-weight: 700; color: #fff; }
.footer-credentials, .footer-pmdc { font-size: 0.85rem; color: #a9bcb7; margin: 0 0 4px; }
.footer-address { font-size: 0.92rem; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px; font-size: 0.82rem; }
.footer-bottom p, .footer-disclaimer, .footer-credentials, .footer-pmdc { color: #b6c6c1; }

/* ---------- WhatsApp floating button ----------------------------------------- */
.wa-float {
  position: fixed; bottom: 22px; right: 20px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-whatsapp-bright);
  color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float-pulse {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--color-whatsapp-bright);
  animation: wa-pulse 2.4s ease-out infinite;
}
@media (min-width: 768px) { .wa-float { bottom: 28px; right: 28px; } }

/* ---------- Animations -------------------------------------------------------- */
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.14s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.26s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wa-float-pulse { animation: none; }
}

/* ---------- Utility ------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.max-w-prose { max-width: 68ch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose p, .prose li { color: var(--color-text-muted); font-size: 1.02rem; }
.prose ul { padding-left: 1.4em; list-style: disc; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.5em; }
