/* =====================================================================
   Æther — Webfonts
   Three licensed families, self-hosted. Daily Sans is capped at SemiBold;
   the heavier cuts are deliberately not loaded so they cannot be used.
   ===================================================================== */

/* ---- Daily Sans — the voice of the institution ---- */
@font-face {
  font-family: "Daily Sans";
  src: url("../fonts/DailySans-Thin.otf") format("opentype");
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Daily Sans";
  src: url("../fonts/DailySans-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Daily Sans";
  src: url("../fonts/DailySans-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Daily Sans";
  src: url("../fonts/DailySans-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Daily Sans";
  src: url("../fonts/DailySans-SemiBold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- Perfectly Nineties — the editorial and liturgical serif ----
   Italic carries every headline. Roman is reserved for scripture. */
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-LightItalic.otf") format("opentype");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-Semibold.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Perfectly Nineties";
  src: url("../fonts/PerfectlyNineties-SemiboldItalic.otf") format("opentype");
  font-weight: 600; font-style: italic; font-display: swap;
}

/* ---- Neo Forma — the standing backup, and the house icon face ---- */
@font-face {
  font-family: "Neo Forma Sans";
  src: url("../fonts/NeoFormaSans.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neo Forma Serif";
  src: url("../fonts/NeoFormaSerif.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neo Forma Serif";
  src: url("../fonts/NeoFormaSerif-BoldItalic.otf") format("opentype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Neo Forma Icons";
  src: url("../fonts/NeoFormaIcons.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* =====================================================================
   Æther — Colour
   ---------------------------------------------------------------------
   The Church is a LIGHT-first system. Paper white is the default surface;
   obsidian is the punctuation, not the ground. Roughly 68 light / 32 dark
   across a body of work — the inverse of a private brand.

   Three tiers:
     1. The Constants  — the everyday palette. Seven values.
     2. The Nine Realms — the doctrinal accent ladder, low frequency to high.
                          It resolves into Champagne Gold at the ninth.
     3. Semantic aliases — what you actually reference in components.
   ===================================================================== */

:root {
  /* ---------------------------------------------------------------
     1. THE CONSTANTS
     --------------------------------------------------------------- */
  --paper:        #FFFFFF;  /* the default surface. The open door. */
  --bone:         #FAF9F6;  /* warm paper. Documents, quiet panels. */
  --bone-2:       #F0EDE6;  /* pressed paper. Field rules, table stripes. */
  --obsidian:     #0D0D0D;  /* the veil. Ink, authority, full-bleed dark. */
  --charcoal:     #1A1A1A;  /* elevated dark. Cards on obsidian. */
  --slate:        #3A3A3A;  /* secondary body on light. */
  --smoke:        #7A7A7A;  /* labels, metadata, the quiet register. */

  /* Remembrance — the one accent. A line of light through the veil. */
  --gold:         #B8963E;
  --gold-bright:  #D4B25A;  /* hover only, +6% lightness */
  --gold-deep:    #8E7129;  /* gold on light surfaces — contrast-safe */

  --gold-a08:     rgba(184, 150, 62, 0.08);
  --gold-a15:     rgba(184, 150, 62, 0.15);
  --gold-a22:     rgba(184, 150, 62, 0.22);
  --gold-a40:     rgba(184, 150, 62, 0.40);

  /* ---------------------------------------------------------------
     2. THE NINE REALMS
     Octaves of frequency — dense and warm at the first, luminous at
     the ninth. Each realm owns a DEEP (a field a page may sit on) and
     a BRIGHT (a rule, a numeral, or a single word).

     Ceiling: ONE realm colour per surface. Never two. The ladder is
     doctrine, not a palette to shop from.
     --------------------------------------------------------------- */
  --realm-1-deep: #33261F;  --realm-1-bright: #7A5B48;  /* Foundation */
  --realm-2-deep: #4A2318;  --realm-2-bright: #A85436;  /* Vital      */
  --realm-3-deep: #4E1E2A;  --realm-3-bright: #A6455C;  /* Emotional  */
  --realm-4-deep: #2F3A22;  --realm-4-bright: #6B8A45;  /* Mental     */
  --realm-5-deep: #143A40;  --realm-5-bright: #2E8A93;  /* Ethereal   */
  --realm-6-deep: #1B2B4A;  --realm-6-bright: #4A6DA8;  /* Astral     */
  --realm-7-deep: #262A55;  --realm-7-bright: #5E63B8;  /* Celestial  */
  --realm-8-deep: #3A2450;  --realm-8-bright: #8A5BC4;  /* Divine     */
  --realm-9-deep: #4A3A12;  --realm-9-bright: #B8963E;  /* Source     */

  /* The realm in scope. Set by a .realm-* class; falls back to gold. */
  --realm-deep:   var(--realm-9-deep);
  --realm-bright: var(--gold);

  /* ---------------------------------------------------------------
     3. SEMANTIC — light surface is the default
     --------------------------------------------------------------- */
  --surface:          var(--paper);
  --surface-raised:   var(--bone);
  --surface-sunken:   var(--bone-2);
  --surface-inverse:  var(--obsidian);

  --fg:               var(--obsidian);
  --fg-2:             var(--slate);
  --fg-3:             var(--smoke);
  --fg-inverse:       var(--bone);
  --fg-accent:        var(--gold-deep);

  --border:           rgba(13, 13, 13, 0.12);
  --border-soft:      rgba(13, 13, 13, 0.08);
  --border-strong:    rgba(13, 13, 13, 0.26);
  --border-gold:      var(--gold);
  --border-gold-soft: var(--gold-a40);

  /* Standing — the one place the Church signals state.
     Never a punishment colour; the ladder is restorative. */
  --state-open:       var(--realm-4-bright);  /* affirmed, live, published */
  --state-forming:    var(--gold-deep);       /* in preparation, in review */
  --state-held:       var(--realm-3-bright);  /* held, needs a person      */
  --state-quiet:      var(--smoke);           /* draft, archived, past     */

  /* Elevation. The Church is flat; this exists for modals alone. */
  --shadow-1: 0 1px 0 rgba(13, 13, 13, 0.04), 0 8px 24px rgba(13, 13, 13, 0.08);
  --shadow-2: 0 1px 0 rgba(13, 13, 13, 0.06), 0 18px 48px rgba(13, 13, 13, 0.14);
  --scrim:    rgba(13, 13, 13, 0.70);
}

/* ---- Realm scopes. Set one on a section; never nest two. ---- */
.realm-foundation { --realm-deep: var(--realm-1-deep); --realm-bright: var(--realm-1-bright); }
.realm-vital      { --realm-deep: var(--realm-2-deep); --realm-bright: var(--realm-2-bright); }
.realm-emotional  { --realm-deep: var(--realm-3-deep); --realm-bright: var(--realm-3-bright); }
.realm-mental     { --realm-deep: var(--realm-4-deep); --realm-bright: var(--realm-4-bright); }
.realm-ethereal   { --realm-deep: var(--realm-5-deep); --realm-bright: var(--realm-5-bright); }
.realm-astral     { --realm-deep: var(--realm-6-deep); --realm-bright: var(--realm-6-bright); }
.realm-celestial  { --realm-deep: var(--realm-7-deep); --realm-bright: var(--realm-7-bright); }
.realm-divine     { --realm-deep: var(--realm-8-deep); --realm-bright: var(--realm-8-bright); }
.realm-source     { --realm-deep: var(--realm-9-deep); --realm-bright: var(--realm-9-bright); }

/* =====================================================================
   Æther — Typography
   ---------------------------------------------------------------------
   Three families, four roles. Two families on a surface, never three.

     Daily Sans          the institution speaking — UI, eyebrows, labels
     Perfectly Nineties  ITALIC   — every headline, every pull quote
     Perfectly Nineties  ROMAN    — scripture only. The liturgical setting.
     Neo Forma           the standing backup, and the icon face

   Weight cap: 600. Daily Sans stops at SemiBold. Bold and above do not
   exist in this system — they are not even loaded.
   ===================================================================== */

:root {
  --font-sans:      "Daily Sans", "Neo Forma Sans", "Helvetica Neue", Arial, sans-serif;
  --font-editorial: "Perfectly Nineties", "Neo Forma Serif", Georgia, serif;
  --font-serif:     "Perfectly Nineties", "Neo Forma Serif", Georgia, "Times New Roman", serif;
  --font-liturgy:   "Perfectly Nineties", "Neo Forma Serif", Georgia, serif;
  --font-sans-alt:  "Neo Forma Sans", "Daily Sans", "Helvetica Neue", Arial, sans-serif;
  --font-icons:     "Neo Forma Icons";
  --font-mono:      ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* ---- Weights. Nothing above 600. ---- */
  --w-thin: 200;
  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;

  /* ---- Scale. Fluid where it carries a headline. ---- */
  --fs-hero:    clamp(46px, 6.2vw, 92px);
  --fs-display: clamp(38px, 4.6vw, 66px);
  --fs-h1:      clamp(30px, 3.4vw, 46px);
  --fs-h2:      clamp(25px, 2.4vw, 34px);
  --fs-h3:      22px;
  --fs-verse:   clamp(19px, 1.7vw, 25px);   /* scripture body */
  --fs-lede:    clamp(17px, 1.4vw, 20px);
  --fs-body:    16px;
  --fs-body-sm: 14.5px;
  --fs-meta:    13px;
  --fs-label:   11px;
  --fs-eyebrow: 10px;
  --fs-mark:    9.5px;

  /* ---- Line height ---- */
  --lh-tight:   1.1;
  --lh-heading: 1.18;
  --lh-snug:    1.45;
  --lh-body:    1.72;
  --lh-loose:   1.85;   /* scripture and long-form */

  /* ---- Tracking. The Church letterspaces its labels, never its prose. ---- */
  --track-hero:    -0.02em;
  --track-body:    0;
  --track-label:   0.13em;
  --track-eyebrow: 0.2em;
  --track-mark:    0.24em;
}

/* ---------------------------------------------------------------------
   Headlines. Always the editorial serif, always italic, always 400.
   Italic is not emphasis here — it is the resting state of the voice.
   --------------------------------------------------------------------- */
.ae-hero, .ae-display, .ae-h1, .ae-h2, .ae-h3 {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: var(--w-regular);
  color: var(--fg);
  margin: 0;
  text-wrap: pretty;
}
.ae-hero    { font-size: var(--fs-hero);    line-height: var(--lh-tight);   letter-spacing: var(--track-hero); }
.ae-display { font-size: var(--fs-display); line-height: var(--lh-tight);   letter-spacing: var(--track-hero); }
.ae-h1      { font-size: var(--fs-h1);      line-height: var(--lh-heading); letter-spacing: -0.015em; }
.ae-h2      { font-size: var(--fs-h2);      line-height: var(--lh-heading); }
.ae-h3      { font-size: var(--fs-h3);      line-height: 1.28; }

/* ---------------------------------------------------------------------
   Eyebrows, labels and marks. Daily Sans, uppercase, letterspaced.
   The eyebrow is how a section announces itself before it speaks.
   --------------------------------------------------------------------- */
.ae-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--w-semibold);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--fg-accent);
  margin: 0;
}
.ae-eyebrow-quiet { color: var(--fg-3); }

.ae-label {
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-3);
}

.ae-mark {
  font-family: var(--font-sans);
  font-weight: var(--w-regular);
  font-size: var(--fs-mark);
  letter-spacing: var(--track-mark);
  text-transform: uppercase;
  color: var(--fg-accent);
}

/* ---------------------------------------------------------------------
   Body. Daily Sans Light for the institution; the serif for long-form.
   --------------------------------------------------------------------- */
.ae-lede {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: var(--fs-lede);
  line-height: var(--lh-body);
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.ae-body {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.ae-body-editorial {
  font-family: var(--font-serif);
  font-size: var(--fs-lede);
  line-height: var(--lh-loose);
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.ae-meta {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: var(--fs-meta);
  line-height: var(--lh-snug);
  color: var(--fg-3);
}

/* ---------------------------------------------------------------------
   The liturgical setting. Scripture is the ONE place the serif sets
   roman — the italic is the Church talking, the roman is the text
   itself. Verses are numbered in gold, hung in the margin.
   --------------------------------------------------------------------- */
.ae-liturgy {
  font-family: var(--font-liturgy);
  font-style: normal;
  font-weight: var(--w-light);
  font-size: var(--fs-verse);
  line-height: var(--lh-loose);
  color: var(--fg);
  max-width: 34em;
}
.ae-verse {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  gap: 0 14px;
  align-items: baseline;
  margin: 0 0 var(--sp-5);
}
.ae-verse-n {
  font-family: var(--font-sans);
  font-weight: var(--w-regular);
  font-size: var(--fs-meta);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: var(--fg-accent);
  text-align: right;
  user-select: none;
}
.ae-gloss {
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-3);
  border-left: 1px solid var(--border-gold-soft);
  padding-left: 16px;
}

/* ---- Pull quote. The Church quotes itself sparingly. ---- */
.ae-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: var(--w-light);
  font-size: var(--fs-h2);
  line-height: 1.4;
  color: var(--fg);
  max-width: 24em;
  margin: 0;
}

/* ---- Numerals. Editorial sets 01, 02, 03 — never 1, 2, 3. ---- */
.ae-numeral {
  font-family: var(--font-sans);
  font-weight: var(--w-thin);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-h2);
  letter-spacing: 0.04em;
  color: var(--fg-accent);
  line-height: 1;
}
.ae-roman {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: var(--w-regular);
  font-size: var(--fs-h3);
  letter-spacing: 0.08em;
  color: var(--fg-accent);
  line-height: 1;
}

/* ---- Links. A gold rule slides in from the left. ---- */
.ae-link {
  color: var(--fg);
  text-decoration: none;
  background-image: linear-gradient(to right, var(--fg-accent), var(--fg-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size var(--dur-2) var(--ease-aether);
}
.ae-link:hover { background-size: 100% 1px; }

/* =====================================================================
   Æther — Spacing, measure and radius
   An 8pt grid. The Church is generous with air — whitespace is how a
   public institution signals it is not selling you anything.
   ===================================================================== */

:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 88px;
  --sp-12: 120px;
  --sp-13: 160px;

  /* Section rhythm — the vertical breath between sections of a page. */
  --section-y:       clamp(80px, 9vw, 148px);
  --section-y-tight: clamp(56px, 6vw, 96px);
  --gutter:          clamp(20px, 3vw, 40px);

  /* Measure */
  --measure-page:      1440px;  /* full page frame          */
  --measure-content:   1180px;  /* standard content column  */
  --measure-reading:   720px;   /* editorial reading column */
  --measure-liturgy:   620px;   /* scripture column         */

  /* Radius. Three values. Nothing else — the Church does not round. */
  --radius-0:   0;      /* full-bleed sections, image frames */
  --radius-1:   2px;    /* cards, inputs, buttons            */
  --radius-pill: 999px; /* capsules and tags                 */

  /* Fixed chrome */
  --bar-h:    36px;   /* the language bar */
  --header-h: 82px;   /* the sticky header */
}

.ae-page    { max-width: var(--measure-page); margin-inline: auto; padding-inline: var(--gutter); }
.ae-content { max-width: var(--measure-content); margin-inline: auto; }
.ae-reading { max-width: var(--measure-reading); }
.ae-section { padding-block: var(--section-y); }
.ae-section-tight { padding-block: var(--section-y-tight); }

/* =====================================================================
   Æther — Motion
   The Church composes; it does not delight. Everything rises a little
   and settles. Nothing bounces, nothing springs, nothing parallaxes.
   ===================================================================== */

:root {
  --ease-aether: cubic-bezier(0.22, 1, 0.36, 1);   /* the house curve */
  --ease-quiet:  cubic-bezier(0.4, 0, 0.2, 1);

  --dur-1: 180ms;   /* state change  */
  --dur-2: 240ms;   /* micro         */
  --dur-3: 480ms;   /* section       */
  --dur-4: 860ms;   /* arrival       */

  /* Stagger between siblings in a sequenced reveal. */
  --stagger: 90ms;
}

/* Type arrives in sequence: eyebrow, rule, headline, dek, actions. */
@keyframes aeRise   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aeFade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes aeSeal   { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }
@keyframes aeDraw   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes aeBreathe{ 0%, 100% { transform: scale(1); } 50% { transform: scale(1.016); } }
@keyframes aeRing   { 0% { transform: scale(0.62); opacity: 0; } 18% { opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

.ae-rise  { animation: aeRise var(--dur-4) var(--ease-aether) both; }
.ae-in    { animation: aeFade var(--dur-3) var(--ease-aether) both; }
.ae-seal  { animation: aeSeal var(--dur-4) var(--ease-aether) both; }
.ae-draw  { transform-origin: 0 50%; animation: aeDraw var(--dur-3) var(--ease-aether) both; }

/* The seal breathes. It is the only thing in the system that loops. */
.ae-breathe { animation: aeBreathe 7s var(--ease-quiet) infinite; }

.ae-d1 { animation-delay: calc(var(--stagger) * 1); }
.ae-d2 { animation-delay: calc(var(--stagger) * 2); }
.ae-d3 { animation-delay: calc(var(--stagger) * 3); }
.ae-d4 { animation-delay: calc(var(--stagger) * 4); }
.ae-d5 { animation-delay: calc(var(--stagger) * 5); }
.ae-d6 { animation-delay: calc(var(--stagger) * 6); }

/* Focus is gold. Never the browser's blue. */
.ae-focusable:focus-visible {
  outline: 1px solid var(--fg-accent);
  outline-offset: 2px;
}

/* =====================================================================
   Æther — Surfaces
   Choose the surface first; the foreground colours follow from it and
   are not a separate decision. Four surfaces, no others.
   ===================================================================== */

.surface-paper {
  background: var(--paper);
  --surface: var(--paper); --surface-raised: var(--bone); --surface-sunken: var(--bone-2);
  --fg: var(--obsidian); --fg-2: var(--slate); --fg-3: var(--smoke);
  --fg-accent: var(--gold-deep);
  --border: rgba(13, 13, 13, 0.12);
  --border-soft: rgba(13, 13, 13, 0.08);
  --border-strong: rgba(13, 13, 13, 0.26);
  --border-gold-soft: rgba(142, 113, 41, 0.36);
  color: var(--fg);
}

.surface-bone {
  background: var(--bone);
  --surface: var(--bone); --surface-raised: var(--paper); --surface-sunken: var(--bone-2);
  --fg: var(--obsidian); --fg-2: var(--slate); --fg-3: var(--smoke);
  --fg-accent: var(--gold-deep);
  --border: rgba(13, 13, 13, 0.12);
  --border-soft: rgba(13, 13, 13, 0.08);
  --border-strong: rgba(13, 13, 13, 0.26);
  --border-gold-soft: rgba(142, 113, 41, 0.36);
  color: var(--fg);
}

/* The veil. Full-bleed dark — the hero, the seal, the moment of arrival. */
.surface-obsidian {
  background: var(--obsidian);
  --surface: var(--obsidian); --surface-raised: var(--charcoal); --surface-sunken: #060606;
  --fg: var(--bone);
  --fg-2: rgba(245, 245, 245, 0.72);
  --fg-3: rgba(245, 245, 245, 0.45);
  --fg-accent: var(--gold);
  --border: rgba(245, 245, 245, 0.16);
  --border-soft: rgba(245, 245, 245, 0.10);
  --border-strong: rgba(245, 245, 245, 0.32);
  --border-gold-soft: var(--gold-a40);
  --shadow-1: 0 1px 0 var(--gold-a08), 0 8px 32px rgba(0, 0, 0, 0.6);
  color: var(--fg);
}

/* A realm field. Requires a .realm-* class alongside it. */
.surface-realm {
  background: var(--realm-deep);
  --surface: var(--realm-deep); --surface-raised: rgba(255, 255, 255, 0.05);
  --fg: var(--bone);
  --fg-2: rgba(245, 245, 245, 0.72);
  --fg-3: rgba(245, 245, 245, 0.45);
  --fg-accent: var(--realm-bright);
  --border: rgba(245, 245, 245, 0.16);
  --border-soft: rgba(245, 245, 245, 0.10);
  --border-gold-soft: rgba(245, 245, 245, 0.22);
  color: var(--fg);
}

/* ---- The hairline. The Church cuts; it does not fence. ---- */
.ae-rule       { height: 1px; width: 100%; border: 0; background: var(--border); margin: 0; }
.ae-rule-gold  { height: 1px; width: 100%; border: 0; background: var(--fg-accent); margin: 0; }
.ae-rule-short { height: 1px; width: 56px; border: 0; background: var(--fg-accent); margin: 0; }

/* ---- Imagery. Never a protection gradient. ---- */
.ae-image-veiled {
  position: relative;
  filter: brightness(0.62);
}
.ae-image-veiled::after {
  content: ""; position: absolute; inset: 0;
  background: var(--obsidian); opacity: 0.36; pointer-events: none;
}

/* ---- Motion respects the reader. ---- */
@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;
  }
}

/* =====================================================================
   Æther — Components
   ---------------------------------------------------------------------
   The production layer. Everything above this line is the token system,
   carried over unchanged from the Æther design system. Everything below
   is the class vocabulary the server-rendered pages are written in.

   Rules obeyed here, not restated: light first; italic is the Church
   talking; gold is a hairline; one realm per surface; never coerce.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: var(--w-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Nothing may scroll sideways, so nothing may be wider than the page:
     a long address or an unbroken word wraps instead of being clipped
     into the margin, where it could not be read or scrolled to. */
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold-a22); }

:focus-visible { outline: 1px solid var(--fg-accent); outline-offset: 2px; }

/* Skip link — the Church does not make anyone hunt for the content. */
.ae-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--obsidian); color: var(--bone);
  padding: 12px 20px; font-size: var(--fs-label); letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.ae-skip:focus { left: 0; }

/* ---------------------------------------------------------------------
   THE READING PROGRESS HAIRLINE
   A single gold thread across the top. The only ornament on the page.
   --------------------------------------------------------------------- */
.ae-thread {
  position: fixed; inset: 0 0 auto 0; height: 1px; z-index: 90;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   THE LANGUAGE BAR
   Obsidian, 36px, endonyms only — a language names itself.
   --------------------------------------------------------------------- */
.ae-langbar {
  background: var(--obsidian); color: var(--bone);
  display: flex; align-items: center; justify-content: space-between;
  column-gap: var(--sp-5); row-gap: var(--sp-1); flex-wrap: wrap;
  padding: 7px var(--gutter); min-height: var(--bar-h);
  font-size: 11px; font-weight: var(--w-regular);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.ae-langbar-set { display: flex; align-items: center; flex-wrap: wrap; column-gap: var(--sp-4); row-gap: var(--sp-1); min-width: 0; }
.ae-langbar-label { color: rgba(245,245,245,0.42); white-space: nowrap; }
.ae-langbar a { color: rgba(245,245,245,0.62); white-space: nowrap; transition: color var(--dur-1) var(--ease-quiet); }
.ae-langbar a:hover { color: var(--bone); }
.ae-langbar a.is-current { color: var(--bone); }
.ae-langbar a.is-key { color: var(--gold); display: flex; align-items: center; gap: 7px; }
.ae-langbar a.is-key:hover { color: var(--gold-bright); }

.ae-langnotice {
  background: var(--charcoal); color: rgba(245,245,245,0.72);
  border-top: 1px solid var(--gold-a40);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; column-gap: var(--sp-5); row-gap: 6px;
  padding: 9px var(--gutter); font-weight: var(--w-light); font-size: 12.5px; line-height: 1.6;
}
.ae-langnotice a { color: var(--gold); font-size: 10px; font-weight: var(--w-medium); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

/* ---------------------------------------------------------------------
   THE HEADER
   --------------------------------------------------------------------- */
.ae-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.ae-header-in {
  max-width: var(--measure-page); margin-inline: auto;
  min-height: var(--header-h); padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; column-gap: clamp(16px, 2vw, 40px); row-gap: var(--sp-3);
}
.ae-lockup { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ae-lockup img { width: 38px; height: 38px; }
.ae-lockup-text { display: flex; flex-direction: column; gap: var(--sp-1); }
.ae-lockup-name {
  font-weight: var(--w-semibold); font-size: 12.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--obsidian); line-height: 1;
}
.ae-lockup-sub {
  font-weight: var(--w-regular); font-size: 9.5px; letter-spacing: var(--track-mark);
  text-transform: uppercase; color: var(--gold-deep); line-height: 1;
}
.ae-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: clamp(13px, 1.7vw, 30px); row-gap: var(--sp-2);
  font-size: clamp(10.5px, 0.85vw, 11.5px); font-weight: var(--w-medium);
  letter-spacing: 0.13em; text-transform: uppercase;
}
.ae-nav a {
  padding: 6px 0; border-bottom: 1px solid transparent;
  white-space: nowrap; transition: border-color var(--dur-1) var(--ease-quiet);
}
.ae-nav a:hover { border-bottom-color: var(--gold-a40); }
.ae-nav a[aria-current] { border-bottom-color: var(--gold); }

/* The header's mobile disclosure. No hamburger animation, no overlay. */
.ae-nav-toggle { display: none; }
@media (max-width: 900px) {
  .ae-nav-toggle {
    display: block; background: none; border: 1px solid var(--border-strong);
    border-radius: var(--radius-1); padding: 10px 14px;
    font-size: 10.5px; font-weight: var(--w-medium); letter-spacing: 0.13em; text-transform: uppercase;
  }
  .ae-nav {
    order: 3; flex-basis: 100%; flex-direction: column; align-items: flex-start;
    gap: 0; padding: var(--sp-4) 0 var(--sp-2);
  }
  .ae-nav[hidden] { display: none; }
  .ae-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
  .ae-header-cta { display: none; }
}

/* ---------------------------------------------------------------------
   BUTTONS
   Obsidian is the primary act. A hairline is the secondary. Gold is used
   for one act on a dark surface, and never for two acts on the same one.
   --------------------------------------------------------------------- */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-sans); font-size: 12px; font-weight: var(--w-medium);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius-1);
  background: var(--obsidian); color: var(--bone);
  transition: background var(--dur-2) var(--ease-aether), border-color var(--dur-2) var(--ease-aether), color var(--dur-2) var(--ease-aether);
  text-align: center;
}
.ae-btn:hover { background: var(--charcoal); color: var(--bone); }
.ae-btn--quiet { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.ae-btn--quiet:hover { background: transparent; color: var(--fg); border-color: var(--gold); }
.ae-btn--gold { background: var(--gold); color: var(--obsidian); }
.ae-btn--gold:hover { background: var(--gold-bright); color: var(--obsidian); }
.ae-btn--onDark { background: var(--bone); color: var(--obsidian); }
.ae-btn--onDark:hover { background: var(--paper); color: var(--obsidian); }
.ae-btn--sm { padding: 11px 18px; font-size: 11px; }
.ae-btn--xs { padding: 8px 13px; font-size: 10px; letter-spacing: 0.1em; }
.ae-btn--wide { width: 100%; }
.ae-btn[disabled], .ae-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.ae-btn--danger { background: transparent; color: var(--realm-3-bright); border-color: rgba(166,69,92,0.4); }
.ae-btn--danger:hover { background: transparent; color: var(--realm-3-bright); border-color: var(--realm-3-bright); }

/* ---------------------------------------------------------------------
   SECTIONS & SURFACE BANDS
   --------------------------------------------------------------------- */
.ae-band { padding-block: var(--section-y); }
.ae-band--tight { padding-block: var(--section-y-tight); }
.ae-band--flush { padding-block: 0; }
.ae-band > .ae-content, .ae-band > .ae-reading { padding-inline: var(--gutter); }
.ae-content { max-width: var(--measure-content); margin-inline: auto; }
.ae-reading { max-width: var(--measure-reading); margin-inline: auto; }
.ae-liturgy-col { max-width: var(--measure-liturgy); margin-inline: auto; }
.ae-stack { display: flex; flex-direction: column; }
.ae-stack > * + * { margin-top: var(--flow, var(--sp-6)); }
.ae-center { text-align: center; align-items: center; }

/* The divider between bands of the same surface. */
.ae-seam { max-width: var(--measure-content); margin-inline: auto; padding-inline: var(--gutter); }
.ae-seam hr { height: 1px; border: 0; background: var(--border); margin: 0; }

/* ---------------------------------------------------------------------
   SECTION HEAD — eyebrow, italic headline, a dek pushed to the right
   --------------------------------------------------------------------- */
.ae-sechead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-7); padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.ae-sechead-dek { max-width: 420px; text-align: right; font-size: 13px; letter-spacing: 0.04em; color: var(--fg-3); margin: 0; }
@media (max-width: 720px) {
  .ae-sechead { flex-direction: column; gap: var(--sp-4); }
  .ae-sechead-dek { text-align: left; }
}

/* ---------------------------------------------------------------------
   THE SEAL
   It breathes, and three rings leave it on a seven-second cycle. This is
   the only looping motion in the system.
   --------------------------------------------------------------------- */
.ae-seal-frame {
  position: relative; width: 212px; height: 212px;
  display: flex; align-items: center; justify-content: center;
}
.ae-seal-frame img { position: relative; width: 172px; height: 172px; }
.ae-seal-frame span {
  position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: var(--radius-pill);
  animation: aeRing 7s var(--ease-quiet) infinite;
}
.ae-seal-frame span:nth-child(2) { animation-delay: 2.4s; }
.ae-seal-frame span:nth-child(3) { animation-delay: 4.8s; }
.ae-seal-frame--sm { width: 96px; height: 96px; }
.ae-seal-frame--sm img { width: 72px; height: 72px; }

/* ---------------------------------------------------------------------
   THE HAIRLINE GRID
   Cards divided by rules, not boxed by them. The Church cuts; it does
   not fence. Cells hover to warm paper, never to a shadow.
   --------------------------------------------------------------------- */
.ae-grid { display: grid; gap: 0; }
.ae-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ae-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ae-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ae-grid--auto { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.ae-grid--ruled { border-bottom: 1px solid var(--border); }
.ae-grid--ruled > * {
  padding: 44px 36px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: background var(--dur-2) var(--ease-aether);
}
.ae-grid--ruled > *:last-child { border-right: 0; }
.ae-grid--ruled > a:hover { background: var(--bone); }
.surface-obsidian .ae-grid--ruled > a:hover,
.surface-realm .ae-grid--ruled > a:hover { background: rgba(255,255,255,0.04); }
/* First cell in a row sits flush with the column edge. */
.ae-grid--3.ae-grid--ruled > *:nth-child(3n+1) { padding-left: 0; }
.ae-grid--3.ae-grid--ruled > *:nth-child(3n) { padding-right: 0; }
.ae-grid--2.ae-grid--ruled > *:nth-child(2n+1) { padding-left: 0; }
.ae-grid--2.ae-grid--ruled > *:nth-child(2n) { padding-right: 0; }

@media (max-width: 980px) {
  .ae-grid--3, .ae-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ae-grid--3.ae-grid--ruled > *:nth-child(3n+1),
  .ae-grid--3.ae-grid--ruled > *:nth-child(3n) { padding-inline: 36px; }
  .ae-grid--ruled > *:nth-child(2n) { padding-right: 0; border-right: 0; }
  .ae-grid--ruled > *:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 640px) {
  .ae-grid--2, .ae-grid--3, .ae-grid--4, .ae-grid--auto { grid-template-columns: 1fr; }
  .ae-grid--ruled > * {
    padding: 32px 0 !important; border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .ae-grid--ruled > *:last-child { border-bottom: 0; }
}

/* The split — an editorial two-column with an uneven measure. */
.ae-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.ae-split--even { grid-template-columns: 1fr 1fr; }
.ae-split--narrow-first { grid-template-columns: 0.42fr 1fr; }
@media (max-width: 900px) { .ae-split, .ae-split--even, .ae-split--narrow-first { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   THE INDEX ROW
   Numeral, name, gloss, standing. Volumes, realms, rites, spheres — the
   Church sets nearly every list this way.
   --------------------------------------------------------------------- */
.ae-index { display: flex; flex-direction: column; }
.ae-index-row {
  display: grid; align-items: baseline; gap: var(--sp-5);
  padding: 22px 0; border-bottom: 1px solid var(--border-soft);
  grid-template-columns: 64px 1fr auto;
  transition: background var(--dur-2) var(--ease-aether);
}
.ae-index-row:first-child { border-top: 1px solid var(--border); }
.ae-index-row--head {
  padding-block: 12px; border-bottom: 1px solid var(--border-strong);
}
.ae-index-row--4 { grid-template-columns: 56px 1.1fr 1fr 1fr; }
.ae-index-row--vol { grid-template-columns: 80px 1fr 1.2fr 130px; }
.ae-index-row--rite { grid-template-columns: 60px 260px 1fr; }
.ae-index-row--pair { grid-template-columns: 200px 1fr; }
.ae-index-row--pair-wide { grid-template-columns: 180px 1fr; }
a.ae-index-row:hover { background: var(--bone); }
.surface-obsidian a.ae-index-row:hover { background: rgba(255,255,255,0.03); }
@media (max-width: 780px) {
  .ae-index-row,
  .ae-index-row--4, .ae-index-row--vol, .ae-index-row--rite,
  .ae-index-row--pair, .ae-index-row--pair-wide {
    grid-template-columns: 1fr; gap: var(--sp-2);
  }
  .ae-index-row--head { display: none; }
}

/* ---------------------------------------------------------------------
   STANDING — the one place the Church signals state.
   Never a punishment colour. The ladder is restorative.
   --------------------------------------------------------------------- */
.ae-standing {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: var(--fs-label); font-weight: var(--w-medium);
  letter-spacing: var(--track-label); text-transform: uppercase; white-space: nowrap;
}
.ae-standing::before { content: ""; width: 5px; height: 5px; border-radius: var(--radius-pill); background: currentColor; }
.ae-standing--open    { color: var(--state-open); }
.ae-standing--forming { color: var(--state-forming); }
.ae-standing--held    { color: var(--state-held); }
.ae-standing--quiet   { color: var(--state-quiet); }

.ae-capsule {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 6px 13px; font-size: var(--fs-label); font-weight: var(--w-medium);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3);
}
.ae-capsule--gold { border-color: var(--border-gold-soft); color: var(--fg-accent); }

/* ---------------------------------------------------------------------
   CARDS — used where a thing must be picked up, not merely read.
   --------------------------------------------------------------------- */
.ae-card {
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-1); padding: var(--sp-7);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: border-color var(--dur-2) var(--ease-aether);
}
a.ae-card:hover { border-color: var(--border-gold-soft); }
.ae-card--flush { padding: 0; overflow: hidden; }
.ae-card-tile {
  background: var(--obsidian); color: var(--gold);
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
}
.ae-card-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.ae-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-6); }

/* ---------------------------------------------------------------------
   FIELDS
   One field is the ideal. The label sits above, small and letterspaced.
   --------------------------------------------------------------------- */
.ae-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.ae-field > label,
.ae-field-label {
  font-family: var(--font-sans); font-size: var(--fs-label); font-weight: var(--w-medium);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-3);
}
.ae-input, .ae-select, .ae-textarea {
  font-family: var(--font-sans); font-weight: var(--w-light); font-size: 15px;
  color: var(--fg); background: var(--surface-raised);
  border: 1px solid var(--border-strong); border-radius: var(--radius-1);
  padding: 14px 16px; width: 100%;
  transition: border-color var(--dur-2) var(--ease-aether);
}
.ae-input:focus, .ae-select:focus, .ae-textarea:focus { border-color: var(--gold); outline: none; }
.ae-input::placeholder, .ae-textarea::placeholder { color: var(--fg-3); }
.ae-textarea { min-height: 120px; resize: vertical; line-height: var(--lh-body); }
.ae-select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 15px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.surface-obsidian .ae-input, .surface-obsidian .ae-select, .surface-obsidian .ae-textarea {
  background: rgba(255,255,255,0.04); border-color: rgba(245,245,245,0.24); color: var(--bone);
}
.ae-field-note { font-size: 12.5px; color: var(--fg-3); line-height: var(--lh-snug); margin: 0; }
.ae-inline-form { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: flex-end; }
.ae-inline-form .ae-field { flex: 1 1 240px; }
.ae-check { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: 14.5px; color: var(--fg-2); }
.ae-check input { margin-top: 4px; accent-color: var(--gold-deep); }

/* The limit, stated out loud. Every ask in the Æthery carries one. */
.ae-limit {
  font-size: 12.5px; font-weight: var(--w-light); color: var(--fg-3);
  line-height: var(--lh-snug); margin: 0;
}

/* ---------------------------------------------------------------------
   NOTICES — a hairline and a sentence. Never a coloured tray.
   --------------------------------------------------------------------- */
.ae-note {
  border-left: 1px solid var(--border-gold-soft); padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
  font-size: 14.5px; color: var(--fg-2); line-height: var(--lh-snug);
}
.ae-note--held { border-left-color: var(--realm-3-bright); }
.ae-note--open { border-left-color: var(--state-open); }

/* ---------------------------------------------------------------------
   THE FOOTER
   --------------------------------------------------------------------- */
.ae-footer { background: var(--obsidian); color: var(--bone); padding-block: var(--sp-12) var(--sp-9); }
.ae-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.ae-footer-col { display: flex; flex-direction: column; gap: var(--sp-3); }
.ae-footer-col a { color: rgba(245,245,245,0.7); font-size: 13.5px; font-weight: var(--w-light); transition: color var(--dur-1) var(--ease-quiet); }
.ae-footer-col a:hover { color: var(--bone); }
.ae-footer-base {
  margin-top: var(--sp-10); padding-top: var(--sp-6); border-top: 1px solid rgba(245,245,245,0.14);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  font-size: 12px; color: rgba(245,245,245,0.45);
}
.ae-footer-base nav { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
@media (max-width: 900px) { .ae-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ae-footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   SCROLL REVEAL
   Sections rise a little and settle. Nothing bounces or parallaxes.
   With reduced motion, or without JS, everything is simply present.
   --------------------------------------------------------------------- */
[data-rv] { opacity: 0; transform: translateY(18px); }
[data-rv].is-in { opacity: 1; transform: none; transition: opacity var(--dur-3) var(--ease-aether), transform var(--dur-3) var(--ease-aether); }
.no-js [data-rv], html:not(.js) [data-rv] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   PROSE — long-form set in the serif, for letters and statements.
   --------------------------------------------------------------------- */
.ae-prose { font-family: var(--font-serif); font-size: var(--fs-lede); line-height: var(--lh-loose); color: var(--fg-2); }
.ae-prose > * + * { margin-top: var(--sp-6); }
.ae-prose h2, .ae-prose h3 {
  font-family: var(--font-editorial); font-style: italic; font-weight: var(--w-regular);
  color: var(--fg); margin-bottom: calc(var(--sp-6) * -0.25);
}
.ae-prose h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); }
.ae-prose h3 { font-size: var(--fs-h3); }
.ae-prose blockquote {
  margin: 0; padding-left: var(--sp-6); border-left: 1px solid var(--border-gold-soft);
  font-style: italic; color: var(--fg);
}
.ae-prose ul, .ae-prose ol { padding-left: var(--sp-6); }
.ae-prose li + li { margin-top: var(--sp-3); }
.ae-prose a { background-image: linear-gradient(var(--fg-accent), var(--fg-accent)); background-position: 0 100%; background-repeat: no-repeat; background-size: 100% 1px; padding-bottom: 2px; }

/* ---------------------------------------------------------------------
   TOAST — one line, obsidian, bottom centre, gone in 4.2 seconds
   where there is script to take it away, and in the flow where there is not.
   --------------------------------------------------------------------- */
.ae-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--obsidian); color: var(--bone);
  border: 1px solid var(--gold-a40); border-radius: var(--radius-1);
  padding: 14px 22px; font-size: 13.5px; z-index: 120; max-width: calc(100vw - 40px);
  animation: aeRise var(--dur-3) var(--ease-aether) both;
  /* A notice never takes a tap meant for the page beneath it. */
  pointer-events: none;
}

/* Script is what takes the toast away again, so where there is no script
   the toast does not float at all: it takes its place at the foot of the
   document, read once and scrolled past, never over the form it is
   speaking about. */
html:not(.js) .ae-toast {
  position: static; transform: none; animation: none;
  max-width: var(--measure-reading);
  margin: 0 auto var(--sp-8); width: fit-content;
}

/* ---------------------------------------------------------------------
   UTILITIES — a short list, on purpose.
   --------------------------------------------------------------------- */
.ae-row { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.ae-row--tight { gap: var(--sp-2); }
.ae-row--between { justify-content: space-between; }
.ae-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ae-hairline { height: 1px; background: var(--border); border: 0; margin: 0; }
.ae-hairline--gold { background: var(--fg-accent); }
.ae-hairline--short { width: 56px; }
.ae-hairline--seal { width: 120px; }
.ae-muted { color: var(--fg-3); }
.ae-nowrap { white-space: nowrap; }
.ae-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ae-fill { flex: 1 1 auto; min-width: 0; }
