/* ═══════════════════════════════════════════════════════════════
   DK Digitals — Shared Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; }

/* ── Skip link (WCAG 2.4.1) ─────────────────── */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100%;
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  z-index: 9999;
  text-decoration: none;
  transition: top 120ms ease;
}
.skip-link:focus { top: 0; }

/* ── Tokens ─────────────────────────────────── */
:root {
  --primary:          #0052ff;
  --primary-active:   #003ecc;
  --primary-light:    #eef2ff;
  --primary-disabled: #a8b8cc;

  --canvas:           #ffffff;
  --surface-soft:     #f5f6f9;
  --surface-strong:   #eceef2;
  --surface-dark:     #07090f;
  --surface-dark-alt: #0e1018;

  --hairline:         #e1e4eb;
  --hairline-strong:  #c3c8d3;

  --ink:              #090a0f;
  --body:             #505560;
  --muted:            #60697b;
  --ink-on-dark:      #f0f2f8;
  --body-on-dark:     #8a93a8;

  --success:          #00904f;
  --success-light:    #e6f9f1;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-sans:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  32px;
  --text-4xl:  40px;
  --text-5xl:  56px;
  --text-6xl:  72px;

  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 100px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.05), 0 4px 14px rgba(0,0,0,0.04);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.07), 0 8px 28px rgba(0,0,0,0.05);
  --shadow-blue: 0 4px 20px rgba(0,82,255,0.16), 0 1px 4px rgba(0,82,255,0.08);

  --section-pad: 96px;
}

/* ── Base ────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background 250ms ease, color 250ms ease;
}

/* ── Dark mode ───────────────────────────────── */
body.dark {
  --canvas:           #090b12;
  --surface-soft:     #0e1018;
  --surface-strong:   #161922;
  --hairline:         #22262f;
  --ink:              #eef0f8;
  --body:             #8a93a8;
  --muted:            #79829a;
  --primary-light:    #0b1838;
}

/* ── Utilities ───────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: var(--section-pad); }

.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;
}

.label,
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--body);
  line-height: 1.65;
}

/* ── Scroll reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── Shared keyframes ────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.78); }
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease, box-shadow 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-active);
  box-shadow: 0 6px 28px rgba(0,82,255,0.26), 0 2px 8px rgba(0,82,255,0.12);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.97) translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 15px 31px;
  border: 1.5px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-ghost:active { transform: scale(0.97) translateY(0); }

.btn-dark {
  background: #ffffff;
  color: #090a0f;
  padding: 16px 32px;
  white-space: nowrap;
}
.btn-dark:hover { background: #eef0f5; transform: translateY(-1px); }
.btn-dark:active { transform: scale(0.97) translateY(0); }

.btn-ghost-dark {
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 15px 31px;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.36);
  transform: translateY(-1px);
}
.btn-ghost-dark:active { transform: scale(0.97); }
.btn-ghost-dark:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 3px; }

/* ── HEADER / NAV ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  view-transition-name: site-header;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

@view-transition { navigation: auto; }
::view-transition-old(site-header),
::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo         { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img     { height: 44px; width: auto; flex-shrink: 0; transition: transform 200ms ease; }
.logo:hover .logo-img { transform: scale(1.04); }

.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; }

.nav-link {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--body);
  transition: color 150ms ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 200ms ease;
}
.nav-link:hover         { color: var(--ink); }
.nav-link:hover::after  { width: 100%; }
.nav-link.active        { color: var(--ink); font-weight: var(--weight-semibold); }
.nav-link.active::after { width: 100%; }
.nav-link:focus-visible { color: var(--ink); outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 2px; }

.theme-toggle {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 6px 12px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.theme-toggle:hover { background: var(--surface-soft); color: var(--ink); border-color: var(--hairline-strong); }
.theme-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--weight-semibold);
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 150ms ease, transform 120ms ease, box-shadow 150ms ease;
  box-shadow: 0 2px 12px rgba(0,82,255,0.2);
}
.nav-cta:hover { background: var(--primary-active); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,82,255,0.3); }
.nav-cta:active { transform: scale(0.97); }
.nav-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ── No-Cure-No-Pay strip (service pages) ────── */
.ncnp-strip {
  background: var(--surface-soft);
  border-block: 1px solid var(--hairline);
  padding-block: 64px;
}
.ncnp-strip-inner {
  max-width: 620px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}
.ncnp-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(0,82,255,0.18);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
}
.ncnp-strip-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.ncnp-strip-text {
  font-size: var(--text-base);
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 28px;
}
body.dark .ncnp-strip { box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: var(--surface-dark);
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(0,82,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink-on-dark);
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-band-sub {
  font-size: var(--text-lg);
  color: var(--body-on-dark);
  line-height: 1.65;
  margin-bottom: 40px;
}
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────── */
.site-footer { background: var(--surface-soft); border-top: 1px solid var(--hairline); }
.footer-inner { max-width: 1200px; margin-inline: auto; padding: 48px 24px 32px; }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: var(--weight-bold);
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.footer-brand-name span { color: var(--primary); }
.footer-brand-sub { font-size: var(--text-sm); color: var(--muted); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--body); transition: color 150ms ease; }
.footer-link:hover { color: var(--ink); }
.footer-divider { height: 1px; background: var(--hairline); margin-bottom: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); transition: color 150ms ease; }
.footer-legal a:hover { color: var(--body); }

/* ── Hamburger button ────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 150ms ease, border-color 150ms ease;
}
.hamburger-btn:hover { background: var(--surface-soft); border-color: var(--hairline-strong); }
.hamburger-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hamburger-bar {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.25, 1, 0.5, 1), opacity 200ms ease, width 250ms ease;
}
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav drawer ───────────────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 82vw);
  background: var(--canvas);
  border-left: 1px solid var(--hairline);
  z-index: 201;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 150ms ease;
}
.mobile-nav-close:hover { background: var(--surface-soft); }
.mobile-nav-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-nav-link {
  font-size: 17px;
  font-weight: var(--weight-medium);
  color: var(--body);
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  display: block;
  transition: color 150ms ease, background 150ms ease;
}
.mobile-nav-link:hover { color: var(--ink); background: var(--surface-soft); }
.mobile-nav-link.active { color: var(--primary); font-weight: var(--weight-semibold); background: var(--surface-soft); }
.mobile-nav-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.mobile-nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--weight-semibold);
  background: var(--primary);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: background 150ms ease, transform 120ms ease;
  box-shadow: 0 2px 12px rgba(0, 82, 255, 0.2);
}
.mobile-nav-cta:hover { background: var(--primary-active); transform: translateY(-1px); }
.mobile-nav-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.mobile-theme-btn {
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 10px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  width: 100%;
  transition: background 150ms ease, color 150ms ease;
}
.mobile-theme-btn:hover { background: var(--surface-soft); color: var(--ink); }
.mobile-theme-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

body.nav-open { overflow: hidden; }

/* ── Responsive base ─────────────────────────── */
@media (max-width: 640px) {
  :root { --section-pad: 64px; }
  .main-nav, .theme-toggle, .nav-cta { display: none; }
  .hamburger-btn { display: flex; }
  .footer-top  { flex-direction: column; }
  .footer-cols { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav-backdrop, .hamburger-bar { transition: none; }
}

/* ── Contact Modal ───────────────────────────── */
dialog#contact-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 520px;
  width: calc(100% - 32px);
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.08);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  /* Explicit centering — overrides the margin:0 reset */
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
dialog#contact-modal::backdrop {
  background: rgba(9,10,15,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
dialog#contact-modal[open] {
  animation: modal-slide-in 280ms cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes modal-slide-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal-inner { padding: 40px; position: relative; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: none;
  background: var(--surface-soft);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--body);
  transition: background 150ms ease, color 150ms ease;
}
.modal-close:hover { background: var(--surface-strong); color: var(--ink); }
.modal-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: var(--text-base);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 32px;
}
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.cf-field label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink); }
.cf-field input,
.cf-field textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--canvas);
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  outline: none;
  resize: none;
  width: 100%;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--muted); }
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,82,255,0.1);
}
.cf-error {
  font-size: var(--text-sm);
  color: #c0392b;
  background: #fdf3f2;
  border: 1px solid #f5c6c2;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.cf-req-note { font-size: var(--text-sm); color: var(--muted); margin-bottom: 12px; }
.cf-submit { width: 100%; justify-content: center; margin-bottom: 14px; }
.cf-privacy { font-size: var(--text-xs); color: var(--muted); text-align: center; line-height: 1.5; }
.cf-privacy a { color: var(--primary); }
.modal-success { text-align: center; padding: 16px 0; }
.modal-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.modal-success .modal-subtitle { margin-bottom: 32px; }
@media (max-width: 480px) { .modal-inner { padding: 28px 20px; } }

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  dialog#contact-modal[open] { animation: none; }
}
