/* ==========================================================================
   Al Qalam Al Arabi — design system

   A deliberately light, luminous page: lapis and ochre washes over warm paper,
   taken from the pigments of Quranic illumination. Committed to a single light
   world rather than inverting, so every colour below is explicit.
   ========================================================================== */

:root {
  /* ground */
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f2ec;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.9);

  /* ink */
  --ink: #101a30;
  --text: #1e2740;
  --text-muted: #5c657c;

  /* lines */
  --rule: rgba(16, 26, 48, 0.1);
  --rule-strong: rgba(16, 26, 48, 0.2);
  --hairline: rgba(255, 255, 255, 0.85);

  /* pigments */
  --lapis: #1e3a76;
  --lapis-deep: #16294f;
  --lapis-soft: #e9eefb;
  --ochre: #9d6b1c;          /* display sizes and decorative marks */
  --ochre-text: #7d5413;     /* small text: 6.4:1 on paper, 5.8:1 on ochre-soft */
  --ochre-bright: #c8912f;   /* decorative only, never behind text */
  --ochre-soft: #f8efdb;

  /* the call-to-action panel stays a rich lapis card */
  --cta-bg: #16294f;
  --cta-fg: #ffffff;
  --cta-muted: #b9c6e2;

  --shadow-sm: 0 1px 2px rgba(16, 26, 48, 0.05);
  --shadow: 0 1px 2px rgba(16, 26, 48, 0.04), 0 14px 36px -20px rgba(16, 26, 48, 0.3);
  --shadow-lg: 0 2px 4px rgba(16, 26, 48, 0.04), 0 30px 60px -28px rgba(16, 26, 48, 0.35);

  --measure: 68ch;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(20px, 5vw, 44px);
  --maxw: 1180px;

  --f-display: var(--font-display), Georgia, 'Times New Roman', serif;
  --f-body: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
  /* Labels and figures use the body face with wide tracking rather than a
     third family: fewer fonts, and the geometric digits already align. */
  --f-label: var(--font-body), 'Helvetica Neue', Arial, sans-serif;
  --f-arabic: var(--font-arabic), 'Noto Naskh Arabic', var(--f-display), serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* The luminous ground: soft pigment washes that stay put while the page moves. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58rem 40rem at 10% -8%, rgba(30, 58, 118, 0.17), transparent 62%),
    radial-gradient(44rem 34rem at 92% 4%, rgba(200, 145, 47, 0.15), transparent 64%),
    radial-gradient(52rem 40rem at 50% 108%, rgba(30, 58, 118, 0.12), transparent 66%);
}

/* A very fine paper tooth so large light areas are not dead flat. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(16, 26, 48, 0.055) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

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

a { color: var(--lapis); text-underline-offset: 2px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(38px, 6.4vw, 68px); letter-spacing: -0.028em; }
h2 { font-size: clamp(27px, 3.8vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 22px); }

p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--lapis); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* Shown only in draft mode, above everything else in the page flow, so an
   editor previewing unpublished work is never in doubt about what they see. */
.draft-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px;
  background: var(--lapis-deep); color: #fff;
  padding: 10px var(--gutter);
  font-family: var(--f-label); font-size: 13px; line-height: 1.4;
  text-align: center;
}
.draft-bar strong { font-weight: 600; }
.draft-bar a { color: #fff; text-underline-offset: 3px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; margin-inline: auto; }
.section { padding-block: clamp(52px, 8vw, 104px); }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: 14px; }

.eyebrow {
  font-family: var(--f-label);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-text);
  margin: 0 0 14px;
}
.lede {
  font-family: var(--f-display);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 58ch;
}
.muted { color: var(--text-muted); }
.measure { max-width: var(--measure); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.72);
  backdrop-filter: saturate(1.7) blur(14px);
  -webkit-backdrop-filter: saturate(1.7) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .bar { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  font-family: var(--f-display); font-size: 22px; color: var(--ink);
  letter-spacing: -0.025em; line-height: 1.05; font-weight: 500;
}
.brand-sub {
  font-family: var(--f-label); font-size: 9.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ochre-text);
}
.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  font-size: 14.5px; color: var(--text-muted); text-decoration: none;
  padding: 9px 14px; border-radius: 999px; transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--ink); background: rgba(16, 26, 48, 0.05); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 600; background: rgba(157, 107, 28, 0.1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--ochre), var(--ochre-text));
  color: #fff; box-shadow: 0 1px 2px rgba(16, 26, 48, 0.12), 0 10px 22px -12px rgba(157, 107, 28, 0.75);
}
.btn-primary:hover { box-shadow: 0 2px 4px rgba(16, 26, 48, 0.14), 0 14px 28px -12px rgba(157, 107, 28, 0.85); }
.btn-secondary { background: var(--glass); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: #fff; }
.btn-lapis { background: var(--lapis); color: #fff; border-color: var(--lapis); }
.btn-sm { padding: 9px 17px; font-size: 14px; }

.menu-toggle {
  display: none; background: var(--glass); border: 1px solid var(--rule-strong);
  border-radius: 999px; padding: 8px 14px; color: var(--ink); font-size: 14px; cursor: pointer;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset-inline: 0; top: 74px;
    background: var(--glass-strong);
    backdrop-filter: saturate(1.7) blur(14px);
    -webkit-backdrop-filter: saturate(1.7) blur(14px);
    border-bottom: 1px solid var(--rule);
    padding: 12px var(--gutter) 20px; gap: 2px;
  }
  .nav.open a { padding: 13px 12px; font-size: 16px; border-radius: var(--radius-sm); }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(52px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-figure {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--surface-2); aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
/* Calligraphic panel used when no photograph has been supplied. */
.hero-mark {
  display: grid; place-items: center; height: 100%;
  background:
    radial-gradient(24rem 20rem at 30% 20%, rgba(200, 145, 47, 0.3), transparent 65%),
    linear-gradient(155deg, #24457f 0%, #16294f 55%, #101f3d 100%);
  color: #f4e6c8; font-family: var(--f-arabic);
  font-size: clamp(64px, 12vw, 132px); line-height: 1;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-figure { aspect-ratio: 16 / 10; } }

/* ---------- trust strip ---------- */
.trust {
  border-block: 1px solid var(--rule);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.trust-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.trust-item { padding: 26px 18px; text-align: center; border-inline-end: 1px solid var(--rule); }
.trust-item:last-child { border-inline-end: none; }
.trust-value { font-family: var(--f-display); font-size: 30px; color: var(--ochre); line-height: 1; }
.trust-label { font-size: 13.5px; color: var(--text-muted); margin-top: 7px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Cap at three so cards keep a comfortable measure and a six-item set forms
   two clean rows rather than an orphan. */
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--hairline);
  outline: 1px solid var(--rule);
  outline-offset: -1px;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
a.card { text-decoration: none; color: inherit; transition: transform 0.16s ease, box-shadow 0.16s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card .more { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--lapis); font-weight: 500; }

.pill {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--f-label); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: transparent; color: var(--ochre-text);
  border: 1px solid rgba(125, 84, 19, 0.38);
  margin-bottom: 14px;
}
/* The one filled marker, kept for genuine emphasis such as certification. */
.pill-ochre {
  background: var(--ochre-soft); color: #7d5413; border-color: transparent;
}

/* ---------- teachers ---------- */
.teacher-photo {
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden;
  background: var(--surface-2); margin-bottom: 16px;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-initial {
  display: grid; place-items: center; height: 100%;
  font-family: var(--f-display); font-size: 56px; color: var(--lapis);
  background: linear-gradient(160deg, #f4efe1, #eef1f9);
}
.cred { list-style: none; padding: 0; margin: 12px 0 0; }
.cred li { position: relative; padding-inline-start: 18px; font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.cred li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ochre-bright);
}

/* ---------- steps ---------- */
.steps {
  list-style: none; counter-reset: s; padding: 0; margin: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.steps li {
  counter-increment: s; background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); outline: 1px solid var(--rule); outline-offset: -1px;
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-label); font-size: 12px; color: var(--ochre-text);
  letter-spacing: 0.12em; display: block; margin-bottom: 12px;
}
.steps h3 { font-size: 17px; font-family: var(--f-body); font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--glass-strong); box-shadow: var(--shadow-sm);
}
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 420px; }
th {
  text-align: start; font-family: var(--f-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  padding: 14px 18px; background: rgba(16, 26, 48, 0.035); border-bottom: 1px solid var(--rule);
}
td { padding: 14px 18px; border-bottom: 1px solid var(--rule); }
tr:last-child td { border-bottom: none; }
.num {
  text-align: end;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94em;
  letter-spacing: -0.01em;
}
.rate { color: var(--ochre-text); font-weight: 500; }

/* ---------- hadith ---------- */
.hadith {
  border-radius: 22px; padding: clamp(32px, 6vw, 60px); text-align: center;
  background:
    radial-gradient(30rem 20rem at 50% 0%, rgba(200, 145, 47, 0.16), transparent 70%),
    linear-gradient(160deg, #f4f6fc 0%, #eef1fa 100%);
  border: 1px solid var(--hairline);
  outline: 1px solid var(--rule); outline-offset: -1px;
}
.hadith .ar {
  font-family: var(--f-arabic); direction: rtl;
  font-size: clamp(24px, 3.6vw, 34px); line-height: 2; color: var(--lapis-deep); margin-bottom: 22px;
}
.hadith blockquote {
  font-family: var(--f-display); font-size: clamp(19px, 2.5vw, 26px);
  line-height: 1.5; color: var(--ink); margin: 0 auto; max-width: 46ch;
}
.hadith cite {
  display: block; margin-top: 18px; font-family: var(--f-label); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-style: normal;
}

.quote-card {
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); outline: 1px solid var(--rule); outline-offset: -1px;
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.quote-card blockquote { margin: 0 0 16px; font-size: 15.5px; line-height: 1.62; color: var(--text); }
.quote-card footer { font-size: 13.5px; color: var(--text-muted); }
.quote-card footer b { color: var(--ink); font-weight: 600; }

/* ---------- call to action ---------- */
.cta-banner {
  border-radius: 22px; padding: clamp(36px, 6vw, 64px); text-align: center;
  background:
    radial-gradient(28rem 18rem at 50% 0%, rgba(200, 145, 47, 0.22), transparent 70%),
    linear-gradient(160deg, #24457f 0%, var(--cta-bg) 60%, #101f3d 100%);
  color: var(--cta-fg);
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--cta-fg); }
.cta-banner p { color: var(--cta-muted); max-width: 52ch; margin-inline: auto; }

/* ---------- forms ---------- */
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lapis); box-shadow: 0 0 0 3px var(--lapis-soft);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-error input, .field-error select, .field-error textarea { border-color: #b4443c; }
.err { font-size: 13px; color: #a83b33; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-note { font-size: 13.5px; color: var(--text-muted); }
.recaptcha-notice { line-height: 1.55; }
.recaptcha-notice a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 15px 18px; border-radius: var(--radius-sm); font-size: 14.5px; }
.alert-ok {
  background: var(--ochre-soft); color: #6f4a10;
  border-inline-start: 3px solid var(--ochre-bright);
}
.alert-bad { background: #fbeae8; color: #8c2f2a; }

/* ---------- prose ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 7px; }
.prose blockquote {
  border-inline-start: 2px solid var(--ochre-bright); margin: 1.5em 0;
  padding: 6px 0 6px 20px; color: var(--text-muted);
  font-family: var(--f-display); font-size: 19px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-top: clamp(56px, 8vw, 104px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 40px;
  padding-block: 52px 34px;
}
/* Link columns own their own grid so auto-fit is valid on its own and the
   layout holds as the client adds or removes footer columns. */
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px 32px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
.footer-grid h4 {
  font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a {
  font-size: 14px; color: var(--text-muted); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 24px;
}
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--rule); padding-block: 20px 28px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
}
.footer-follow { margin-top: 24px; }
.footer-follow h4 { margin-bottom: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  min-height: 36px; padding: 7px 12px; border: 1px solid var(--rule);
  border-radius: 999px; background: var(--glass-strong); color: var(--ink);
  font-family: var(--f-label); font-size: 11px; letter-spacing: 0.04em;
  text-decoration: none; align-items: center;
}
.social-link:hover { border-color: var(--ochre); color: var(--ochre-text); text-decoration: none; }
.social-link:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.contact-social { grid-column: 1 / -1; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 8px;
  /* Darkened from the brand green: white on #1f8f4e is only 4.11:1. */
  background: #1a7f45; color: #fff; text-decoration: none;
  padding: 13px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
@media (max-width: 900px) { .wa-float { display: inline-flex; } }

/* ---------- two-column page layouts ---------- */
/* Previously inline styles with no breakpoint: below ~900px the content column
   collapsed to 0px and only the sidebar remained usable. */
.split,
.split-detail,
.split-profile { display: grid; gap: 48px; align-items: start; }
.split { grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: 56px; }
.split-detail { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
.split-profile { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 44px; }

@media (max-width: 900px) {
  .split,
  .split-detail { grid-template-columns: 1fr; gap: 34px; }
  .split .card,
  .split-detail aside { position: static !important; }
}
@media (max-width: 700px) {
  .split-profile { grid-template-columns: 1fr; gap: 26px; }
  .split-profile .teacher-photo { max-width: 280px; }
}

/* WCAG 2.2 (2.5.8) target size: inline telephone and email links sit in dense
   blocks, so give them a full 24px target rather than relying on line height. */
a[href^='tel:'],
a[href^='mailto:'] { display: inline-flex; align-items: center; min-height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
