/* ============================================================
   AEON universal blocks — theme-adaptive shared block styles.
   Every rule derives from the host theme's tokens:
     --ab-display / --ab-accent  (set once per theme css on main)
     --surf / --txt / --txt-dim / --rule  (per-block, theme css)
   so the same block renders native-looking in any theme.
   ============================================================ */

main > [data-block].ab {
  --_acc: var(--ab-accent, var(--accent, currentColor));
  --_dim: var(--txt-dim, var(--txt-soft, inherit));
  --_rule: var(--rule, oklch(0.5 0.02 260 / 0.25));

  /* Rich-text colour palette — the swatch popover in the editor reads these
     six tokens and offers them as text colours. Defaults are derived from the
     theme's own contract (ink / accent / ornament + two color-mix blends) so
     every theme gets a tasteful, theme-aware selection with no per-theme
     wiring. A theme sheet may override any --ab-sw-N to curate its own set. */
  --ab-sw-1: var(--txt, currentColor);
  --ab-sw-2: var(--accent, var(--ab-accent, currentColor));
  --ab-sw-3: var(--ab-accent, var(--accent, currentColor));
  --ab-sw-4: color-mix(in srgb, var(--accent, currentColor) 55%, var(--txt, #000));
  --ab-sw-5: var(--txt-dim, color-mix(in srgb, var(--txt, #000) 55%, transparent));
  --ab-sw-6: color-mix(in srgb, var(--accent, currentColor) 78%, white);
}

.ab-wrap { width: min(1100px, calc(100% - clamp(36px, 6vw, 96px))); margin-inline: auto; }
.ab-wrap--narrow { width: min(680px, calc(100% - clamp(36px, 6vw, 96px))); margin-inline: auto; }

/* ---------- type ---------- */

.ab-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--_acc);
  margin: 0 0 22px;
}

.ab-h1 {
  font-family: var(--ab-display, inherit);
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.05;
  margin: 0 0 20px;
  text-wrap: balance;
}

.ab-h2 {
  font-family: var(--ab-display, inherit);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
  text-wrap: balance;
}

.ab-h3 {
  font-family: var(--ab-display, inherit);
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.ab-lede {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  margin: 0 0 14px;
  text-wrap: pretty;
}

.ab-body { color: var(--_dim); margin: 0; text-wrap: pretty; }
.ab-body + .ab-body { margin-top: 1em; }

.ab-cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

/* ---------- buttons ---------- */

.ab-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
[data-align="center"] .ab-actions { justify-content: center; }
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid currentColor;
  padding: 15px 26px;
  border-radius: 3px;
  transition: background 0.3s ease, color 0.3s ease;
}
.ab-btn:hover { background: var(--txt, currentColor); color: var(--surf, #fff); }
.ab-btn--solid { background: var(--_acc); border-color: var(--_acc); color: var(--surf, #fff); }
.ab-btn--solid:hover { background: var(--txt, currentColor); border-color: var(--txt, currentColor); }

/* ---------- media ---------- */

.ab-media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: oklch(0.5 0.01 260 / 0.08);
}
.ab-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-media--wide { aspect-ratio: 21 / 9; }
.ab-media--standard { aspect-ratio: 16 / 9; }
.ab-media--tall { aspect-ratio: 4 / 5; }
.ab-media.img-fallback { display: grid; place-items: center; }
.ab-media.img-fallback::before {
  content: attr(data-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--_dim);
}
.ab-caption {
  font-size: 13.5px;
  color: var(--_dim);
  padding-top: 12px;
  border-top: 1px solid var(--_rule);
  margin-top: 12px;
}

.ab-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ab-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ab-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

/* video placeholder */
.ab-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background:
    repeating-linear-gradient(45deg, oklch(0.5 0.01 260 / 0.06) 0 18px, transparent 18px 36px),
    oklch(0.5 0.01 260 / 0.07);
  display: grid;
  place-items: center;
  border: 1px solid var(--_rule);
}
.ab-video__play {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--_acc);
  display: grid;
  place-items: center;
  transition: transform 0.35s ease;
}
.ab-video:hover .ab-video__play { transform: scale(1.08); }
.ab-video__play::before {
  content: "";
  border-left: 20px solid var(--surf, #fff);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.ab-video__label {
  position: absolute;
  bottom: 14px; left: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--_dim);
}

/* map placeholder */
.ab-map {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 4px;
  border: 1px solid var(--_rule);
  background:
    linear-gradient(var(--_rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--_rule) 1px, transparent 1px),
    oklch(0.5 0.01 260 / 0.05);
  background-size: 56px 56px, 56px 56px, auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ab-map__pin {
  width: 18px; height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--_acc);
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px -6px oklch(0 0 0 / 0.4);
}
.ab-map__pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--surf, #fff);
}
.ab-map__label {
  position: absolute;
  bottom: 14px; left: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--_dim);
}

/* ---------- lists & data ---------- */

.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-stat { border-top: 2px solid var(--_acc); padding-top: 18px; }
.ab-stat b {
  display: block;
  font-family: var(--ab-display, inherit);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  margin-bottom: 8px;
}
.ab-stat span { font-size: 14px; color: var(--_dim); }

.ab-rows { border-top: 1px solid var(--_rule); }
.ab-row {
  display: grid;
  grid-template-columns: 56px 240px 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--_rule);
}
.ab-row__no { font-weight: 600; font-size: 14px; color: var(--_acc); }
.ab-row__name { font-family: var(--ab-display, inherit); font-size: 20px; }
.ab-row p { margin: 0; font-size: 15px; color: var(--_dim); }

.ab-faq { border-top: 1px solid var(--_rule); }
.ab-faq details { border-bottom: 1px solid var(--_rule); }
.ab-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  font-family: var(--ab-display, inherit);
  font-size: 19px;
}
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after {
  content: "+";
  color: var(--_acc);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.3s ease;
}
.ab-faq details[open] summary::after { transform: rotate(45deg); }
.ab-faq details p { margin: 0; padding: 0 4px 22px; color: var(--_dim); max-width: 60ch; }

.ab-sched { border-top: 1px solid var(--_rule); }
.ab-sched__row {
  display: grid;
  grid-template-columns: 120px 130px 1fr;
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--_rule);
}
.ab-sched__day {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--_acc);
}
.ab-sched__time { font-family: var(--ab-display, inherit); font-size: 20px; }
.ab-sched__row p { margin: 0; font-size: 15px; color: var(--_dim); }

.ab-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.ab-person { text-align: center; }
.ab-person .ab-media {
  width: min(180px, 60%);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 18px;
}
.ab-person b { font-family: var(--ab-display, inherit); font-size: 19px; display: block; }
.ab-person span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--_acc); display: block; margin: 6px 0 8px; }
.ab-person p { font-size: 14px; color: var(--_dim); margin: 0; }

.ab-events { border-top: 1px solid var(--_rule); }
.ab-event {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--_rule);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s ease;
}
.ab-event:hover { padding-left: 16px; }
.ab-event__date { font-family: var(--ab-display, inherit); font-size: 18px; color: var(--_acc); }
.ab-event__title { font-weight: 600; font-size: 17px; }
.ab-event__meta { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--_dim); }

/* ---------- engage ---------- */

.ab-banner {
  border: 1.5px solid var(--_rule);
  border-radius: 6px;
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
}

.ab-announce {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ab-announce b { font-family: var(--ab-display, inherit); font-size: 19px; }
.ab-announce span { color: var(--_dim); font-size: 15px; }
.ab-announce .ab-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surf, #fff);
  background: var(--_acc);
  padding: 6px 12px;
  border-radius: 999px;
}

.ab-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--_acc);
}
.ab-divider::before, .ab-divider::after {
  content: "";
  height: 1px;
  width: clamp(60px, 12vw, 180px);
  background: var(--_rule);
}
.ab-divider i {
  font-style: normal;
  width: 8px; height: 8px;
  background: currentColor;
  transform: rotate(45deg);
  display: block;
}

.ab-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-contact dl { margin: 0; display: grid; gap: 14px; }
.ab-contact dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--_acc);
}
.ab-contact dd { margin: 2px 0 0; font-size: 16px; }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .ab-cols2, .ab-split, .ab-contact { grid-template-columns: 1fr; }
  .ab-duo { grid-template-columns: 1fr; }
  .ab-trio { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .ab-stats { grid-template-columns: 1fr; max-width: 360px; }
  [data-align="center"] .ab-stats { margin-inline: auto; }
  .ab-team { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .ab-row { grid-template-columns: 40px 1fr; }
  .ab-row p { grid-column: 2; }
  .ab-sched__row { grid-template-columns: 1fr; gap: 4px; }
  .ab-event { grid-template-columns: 70px 1fr; }
  .ab-event__meta { grid-column: 2; }
}

/* ============================================================
   Block presentation styles — data-style="1|2|3|4"
   Every universal block ships 3-4 distinct treatments.
   ============================================================ */

/* Quote */
[data-label="Quote"][data-style="2"] { text-align: left; }
[data-label="Quote"][data-style="2"] .ab-h2 { padding-left: 28px; position: relative; }
[data-label="Quote"][data-style="2"] .ab-h2::before { content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 4px; background: var(--_acc); border-radius: 2px; }
[data-label="Quote"][data-style="3"] .ab-wrap--narrow { border: 1px solid var(--_rule); border-radius: 10px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 30px 60px -36px oklch(0 0 0 / 0.4); }
[data-label="Quote"][data-style="4"] .ab-h2 { font-size: clamp(34px, 5.6vw, 72px); font-style: italic; }

/* Heading */
[data-label="Heading"][data-style="2"] .ab-h1 { display: inline-block; border-bottom: 4px solid var(--_acc); padding-bottom: 14px; }
[data-label="Heading"][data-style="3"] .ab-wrap { border: 1px solid var(--_rule); outline: 1px solid var(--_rule); outline-offset: 5px; padding: clamp(28px, 5vw, 56px); }
[data-label="Heading"][data-style="4"] .ab-eyebrow { display: flex; align-items: center; gap: 14px; justify-content: inherit; }
[data-label="Heading"][data-style="4"] .ab-eyebrow::after { content: ""; flex: 0 1 120px; height: 1px; background: var(--_acc); }

/* Image + Text */
[data-label="Image + Text"][data-style="2"] .ab-split > .ab-media { order: 2; }
[data-label="Image + Text"][data-style="3"] .ab-split { align-items: end; }
[data-label="Image + Text"][data-style="3"] .ab-split > div:last-child { background: var(--surf); border: 1px solid var(--_rule); border-radius: 8px; padding: clamp(22px, 3.5vw, 40px); margin-left: -64px; position: relative; z-index: 2; box-shadow: 0 30px 60px -34px oklch(0 0 0 / 0.45); }
[data-label="Image + Text"][data-style="4"] .ab-split { grid-template-columns: 1fr; }
[data-label="Image + Text"][data-style="4"] .ab-media--tall { aspect-ratio: 21 / 9; }

/* Gallery */
[data-label="Gallery"][data-style="2"] .ab-trio > :nth-child(2) { transform: translateY(-22px); }
[data-label="Gallery"][data-style="3"] .ab-trio .ab-media { border-radius: 999px 999px 8px 8px; }
[data-label="Gallery"][data-style="4"] .ab-trio { grid-template-columns: 1.4fr 1fr 0.8fr; align-items: end; }

/* Stats */
[data-label="Stats"][data-style="2"] .ab-stat { border: 1px solid var(--_rule); border-top: 3px solid var(--_acc); border-radius: 10px; padding: 24px 22px; box-shadow: 0 22px 44px -32px oklch(0 0 0 / 0.4); }
[data-label="Stats"][data-style="3"] .ab-stats { gap: 0; }
[data-label="Stats"][data-style="3"] .ab-stat { border-top: 0; border-left: 1px solid var(--_rule); padding: 6px 26px; }
[data-label="Stats"][data-style="3"] .ab-stat:first-child { border-left: 0; padding-left: 0; }
[data-label="Stats"][data-style="4"] { text-align: center; }
[data-label="Stats"][data-style="4"] .ab-stat { border: 0; padding: 0; }
[data-label="Stats"][data-style="4"] .ab-stat b { color: var(--_acc); font-size: clamp(52px, 6vw, 84px); }

/* CTA */
[data-label="CTA"][data-style="2"] .ab-wrap--narrow { background: var(--_acc); color: var(--surf); border-radius: 14px; padding: clamp(32px, 6vw, 64px); }
[data-label="CTA"][data-style="2"] .ab-eyebrow, [data-label="CTA"][data-style="2"] .ab-body { color: inherit; opacity: 0.85; }
[data-label="CTA"][data-style="2"] .ab-btn { border-color: currentColor; }
[data-label="CTA"][data-style="2"] .ab-btn--solid { background: var(--surf); color: var(--txt); border-color: var(--surf); }
[data-label="CTA"][data-style="3"] { text-align: left; }
[data-label="CTA"][data-style="3"] .ab-wrap--narrow { border-left: none; border-top: 1px solid var(--_rule); padding-top: 34px; width: min(1100px, calc(100% - clamp(36px, 6vw, 96px))); }
[data-label="CTA"][data-style="4"] .ab-wrap--narrow { border: 1.5px dashed var(--_acc); border-radius: 10px; padding: clamp(28px, 5vw, 56px); }

/* Schedule */
[data-label="Schedule"][data-style="2"] .ab-sched { border: 1px solid var(--_rule); border-radius: 12px; overflow: hidden; box-shadow: 0 26px 50px -36px oklch(0 0 0 / 0.45); }
[data-label="Schedule"][data-style="2"] .ab-sched__row { padding-inline: clamp(18px, 3vw, 32px); }
[data-label="Schedule"][data-style="3"] .ab-sched__time { background: var(--_acc); color: var(--surf); border-radius: 999px; padding: 6px 16px; font-size: 16px; justify-self: start; }
[data-label="Schedule"][data-style="4"] .ab-sched { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 0; }
[data-label="Schedule"][data-style="4"] .ab-sched__row:first-child { border-top: 1px solid var(--_rule); }

/* Events */
[data-label="Events"][data-style="2"] .ab-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; }
[data-label="Events"][data-style="2"] .ab-event { grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--_rule); border-radius: 10px; padding: 22px; box-shadow: 0 20px 40px -30px oklch(0 0 0 / 0.4); }
[data-label="Events"][data-style="2"] .ab-event:hover { padding-left: 22px; transform: translateY(-3px); }
[data-label="Events"][data-style="3"] .ab-event { padding-block: 12px; }
[data-label="Events"][data-style="3"] .ab-event__date { font-size: 15px; }

/* Banner */
[data-label="Banner"][data-style="2"] .ab-banner { background: var(--_acc); color: var(--surf); border: 0; }
[data-label="Banner"][data-style="2"] .ab-banner .ab-eyebrow { color: inherit; opacity: 0.8; }
[data-label="Banner"][data-style="3"] .ab-banner { border-style: double; border-width: 4px; }

/* Full image */
[data-label="Full Image"][data-style="2"] .ab-media { border: 1px solid var(--_acc); outline: 1px solid var(--_rule); outline-offset: 6px; padding: 10px; background: var(--surf); }
[data-label="Full Image"][data-style="3"] .ab-media { border-radius: 999px 999px 10px 10px; aspect-ratio: 16 / 9; }
[data-label="Full Image"][data-style="4"] .ab-media { box-shadow: 0 40px 80px -40px oklch(0 0 0 / 0.55); border-radius: 10px; }

/* People */
[data-label="People"][data-style="2"] .ab-person .ab-media { border-radius: 12px; width: 100%; aspect-ratio: 4 / 4.6; }
[data-label="People"][data-style="3"] .ab-team { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
[data-label="People"][data-style="3"] .ab-person { display: grid; grid-template-columns: 92px 1fr; gap: 20px; text-align: left; align-items: center; }
[data-label="People"][data-style="3"] .ab-person .ab-media { width: 92px; margin: 0; }

/* FAQ */
[data-label="FAQ"][data-style="2"] .ab-faq { border: 1px solid var(--_rule); border-radius: 12px; padding: 6px 22px; }
[data-label="FAQ"][data-style="3"] .ab-faq summary { font-size: 17px; padding-block: 16px; }

@media (max-width: 880px) {
  [data-label="Image + Text"][data-style="3"] .ab-split > div:last-child { margin-left: 0; margin-top: -40px; }
  [data-label="Events"][data-style="2"] .ab-events { grid-template-columns: 1fr; }
  [data-label="Schedule"][data-style="4"] .ab-sched { grid-template-columns: 1fr; }
  [data-label="Gallery"][data-style="4"] .ab-trio { grid-template-columns: 1fr; }
}

/* ============================================================
   Generic style treatments — apply to ANY block, so theme
   signature blocks respond to the Style chips too. Specific
   [data-label] rules above refine universal blocks further.
   A (1) = native · B (2) = tinted wash · C (3) = double-rule
   frame · D (4) = floating panel.
   ============================================================ */

main > [data-block][data-style="2"] {
  background:
    linear-gradient(color-mix(in oklab, var(--accent, var(--ab-accent, currentColor)) 8%, transparent),
                    color-mix(in oklab, var(--accent, var(--ab-accent, currentColor)) 4%, transparent)),
    var(--surf);
}

main > [data-block][data-style="3"] {
  border-block: 3px double color-mix(in oklab, var(--accent, var(--ab-accent, currentColor)) 50%, transparent);
}

main > [data-block][data-style="4"] {
  width: min(1280px, calc(100% - clamp(20px, 4vw, 56px)));
  margin-inline: auto;
  margin-block: clamp(14px, 2vw, 28px);
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--txt, currentColor) 14%, transparent),
    0 36px 70px -44px color-mix(in oklab, var(--txt, currentColor) 55%, transparent);
  overflow: hidden;
}

/* ---------- width control (inspector Width chips) ---------- */
main > [data-block][data-width="narrow"] > div { width: min(720px, calc(100% - clamp(32px, 6vw, 80px))) !important; margin-inline: auto; }
main > [data-block][data-width="wide"] > div { width: min(1440px, calc(100% - clamp(32px, 5vw, 72px))) !important; margin-inline: auto; }
main > [data-block][data-width="full"] > div { width: calc(100% - clamp(24px, 3vw, 48px)) !important; margin-inline: auto; }

/* ---------- background-image option (inspector) ---------- */
main > [data-block].ae-bgimg {
  background-size: cover !important;
  background-position: center !important;
  --txt: oklch(0.97 0.008 90);
  --txt-dim: oklch(0.97 0.008 90 / 0.8);
  --txt-soft: oklch(0.97 0.008 90 / 0.8);
  --rule: oklch(0.97 0.008 90 / 0.3);
  --accent: oklch(0.82 0.1 85);
  color: var(--txt);
  position: relative;
  isolation: isolate;
}
main > [data-block].ae-bgimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(oklch(0.17 0.02 260 / 0.45), oklch(0.17 0.02 260 / 0.68));
  z-index: -1;
}

/* ---------- global mobile rhythm ---------- */
@media (max-width: 640px) {
  main > [data-block] { padding-block: clamp(36px, 11vw, 64px); }
  main > [data-block][data-pad="l"] { padding-block: clamp(44px, 13vw, 80px); }
  main > [data-block][data-pad="xl"] { padding-block: clamp(52px, 15vw, 96px); }
  .ab-h1 { font-size: clamp(30px, 9.5vw, 44px); }
  .ab-h2 { font-size: clamp(24px, 7.5vw, 34px); }
}

/* ── Motion no-JS safety ─────────────────────────────────────────────────
   Themes hide [data-reveal] elements (opacity:0) under
   @media (prefers-reduced-motion: no-preference) and reveal them via JS
   (.in). Without JS the class `aeon-motion` is never added to <html>, so this
   rule forces every reveal element visible — the SSR/no-JS baseline holds.
   With JS, an inline head script adds `aeon-motion` before paint, this rule
   stops applying, and the theme's reveal animation takes over. */
html:not(.aeon-motion) [data-reveal] { opacity: 1 !important; transform: none !important; }
