/* Adventures in Enlightenment. Concept: first light over the page. The look's gradient ribbon becomes a dawn (violet
   night, rose, then the gold of their book cover) behind huge crisp navy type; white UI cards float over it.
   Colours: ink #0c2340 = deep navy text (15.9 to 1 on white); paper #fff = the page; brand #4f3df0 = violet call button,
   links and small marks (white text 6.4 to 1); accent #f2a541 = dawn gold, shapes only (the warm side of the ribbon,
   ticks, the sun); shade #0c2340 = navy bands and the call band. Second tone of a two-tone headline: muted violet
   #6e67c2 on white (4.8 to 1), pale dawn gold #f1cf9c on navy (10 to 1). Soft text #425466 on white (7.6 to 1),
   #a3b1c6 on navy (7.6 to 1).
   Type: Bricolage Grotesque 600 at -0.04em for the name and headlines, Inter for everything else. Prefix: .ae- */
:root {
  --c-ink: #0c2340; --c-paper: #ffffff; --c-brand: #4f3df0; --c-on-brand: #ffffff; --c-accent: #f2a541; --c-shade: #0c2340;
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display-case: none; --display-weight: 600; --display-track: -0.04em; --display-lh: 1;
  --radius: 12px;
  --c-paper-2: #f6f8fc; --c-paper-3: #e9eef5; --c-ink-2: #425466; --c-line: #e3e8ee;
  --maxw: 1400px;
  --fs-h2: clamp(2.4rem, 1rem + 4.4vw, 4.95rem);      /* section headlines: 38 px on the phone, 79 px at 1440 */
  --ae-mute: #6e67c2; --ae-soft: #425466; --ae-line: #e3e8ee;
  --ae-navy: #0a1d36; --ae-navy-2: #12294a; --ae-on-navy: #a3b1c6; --ae-on-navy-em: #f1cf9c; --ae-violet-lt: #b9b3ff;
  --ae-ease: cubic-bezier(.16, 1, .3, 1);
  --ae-grad: linear-gradient(100deg, #6c5cff, #f07f9c 45%, #f2a541 75%, #ffd08a);
  --ae-card: 0 1px 1px rgb(12 35 64 / .04), 0 13px 27px -5px rgb(50 50 93 / .22), 0 8px 16px -8px rgb(0 0 0 / .18);
}
body { font-feature-settings: 'kern' 1, 'cv11' 1; }
::selection { background: #e0dcff; color: var(--c-ink); }

/* type: a small violet label, the two-tone section headline, a soft lead */
.ae-label { margin: 0; font: 650 .95rem/1.3 var(--font-text); color: var(--c-brand); letter-spacing: -.005em; }
.ae-h2 { margin: 0; font: 600 var(--fs-h2)/1.02 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.ae-h2 em { font-style: normal; color: var(--ae-mute); }
.ae-lead { margin: 0; max-width: 60ch; font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); line-height: 1.62; color: var(--ae-soft); text-wrap: pretty; }
.ae-tnum { font-variant-numeric: tabular-nums; }

/* links and pills: a quiet text link with a chevron; a white pill for the navy bands */
.ae-chev { width: 10px; height: 10px; flex: none; transition: transform .2s; }
a:hover > .ae-chev { transform: translateX(3px); }
.ae-more { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; color: var(--c-ink); font: 650 1rem/1 var(--font-text); text-decoration: none; }
.ae-more:hover { color: var(--c-brand); text-decoration: none; }
.ae-pill { gap: 10px; padding-inline: 28px; font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ae-pill--light { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.ae-pill--light:hover { --btn-bg: #ece9ff; --btn-bd: #ece9ff; }
.ae-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--ae-card); }

/* the dawn ribbon: soft bands drifting inside a crisp diagonal edge, with a low sun breathing behind them.
   Markup: <div class="ae-rib" data-pause-off><span class="ae-sun"></span><div class="ae-rib__in"><i></i> x5</div></div>
   The still state (no script, reduced motion, static) is the bands at rest. Never small text on it. */
.ae-rib { position: absolute; z-index: 0; inset: 0 0 auto 0; overflow: hidden; pointer-events: none; }
.ae-rib__in { position: absolute; inset: -40% -20% -10% -10%; transform: rotate(-12deg); transform-origin: 70% 30%; }
.ae-rib i { position: absolute; left: 0; right: 0; height: 26%; border-radius: 50%; filter: blur(28px); will-change: transform; animation: ae-drift 18s ease-in-out infinite alternate; }
.ae-rib i:nth-child(1) { top: 4%; background: linear-gradient(90deg, #ffe2a8 0%, #f2a541 30%, #f07f9c 62%, #8a6cf0 100%); }
.ae-rib i:nth-child(2) { top: 22%; height: 30%; background: linear-gradient(90deg, #f07f9c 0%, #a68bff 38%, #6c5cff 70%, #4f3df0 100%); animation-duration: 22s; animation-delay: -6s; }
.ae-rib i:nth-child(3) { top: 42%; height: 24%; background: linear-gradient(90deg, #6c5cff 0%, #b49cff 45%, #ffd9a8 100%); animation-duration: 16s; animation-delay: -3s; }
.ae-rib i:nth-child(4) { top: 58%; height: 18%; background: linear-gradient(90deg, #a68bff 0%, #f2a541 52%, #ffe7bd 100%); animation-duration: 25s; animation-delay: -11s; opacity: .88; }
.ae-rib i:nth-child(5) { top: 30%; height: 10%; left: 20%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .75), transparent); filter: blur(14px); animation-duration: 13s; }
.ae-sun { position: absolute; right: 9%; top: 34%; width: clamp(120px, 22vw, 340px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff8e8 0%, #ffe0a3 30%, rgb(242 165 65 / .55) 52%, rgb(242 165 65 / 0) 70%); filter: blur(4px);
  animation: ae-breathe 9s ease-in-out infinite alternate; }
@keyframes ae-drift { from { transform: translate3d(-7%, -4%, 0) scaleY(1); } to { transform: translate3d(7%, 5%, 0) scaleY(1.18); } }
@keyframes ae-breathe { from { transform: translate3d(0, 8%, 0) scale(.94); opacity: .75; } to { transform: translate3d(0, -6%, 0) scale(1.06); opacity: 1; } }
@keyframes ae-rise { from { opacity: 0; transform: translateY(22px); } }
.ck-reduced .ae-rib i, .ck-reduced .ae-sun { animation: none; }
@media (prefers-reduced-motion: reduce) { .ae-rib i, .ae-sun { animation: none; } }

/* the header: a white frosted bar over the ribbon; the phone hangs under its left edge as a slim white card */
.ae-head { background: rgb(255 255 255 / .72); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); color: var(--c-ink); border-bottom: 1px solid rgb(255 255 255 / .5); }
.ae-head.is-scrolled { background: rgb(255 255 255 / .92); border-bottom-color: var(--ae-line); }
.ae-head .site-header__inner { position: relative; gap: clamp(12px, 1.6vw, 24px); }
.ae-brand { gap: 11px; color: var(--c-ink); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 650; letter-spacing: -.03em; }
.ae-brand:hover { text-decoration: none; }
.ae-brand__mark { position: relative; flex: none; width: 34px; height: 34px; border-radius: 9px; overflow: hidden;
  background: linear-gradient(160deg, #4f3df0 0%, #8a6cf0 38%, #f07f9c 68%, #f2a541 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.ae-brand__mark::before { content: ''; position: absolute; left: 50%; bottom: -9px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff6e2; }
.ae-brand__mark::after { content: ''; position: absolute; left: 5px; right: 5px; bottom: 9px; height: 1.5px; border-radius: 1px; background: rgb(255 255 255 / .85); }
.ae-nav { color: var(--c-ink); font: 600 .94rem/1 var(--font-text); }
.ae-menu-btn { flex: none; border-color: var(--ae-line); background: #fff; color: var(--c-ink); }
.ae-hcall { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--c-brand); color: var(--c-on-brand); text-decoration: none; font: 650 .92rem/1 var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .2s; }
.ae-hcall:hover { background: var(--c-brand-hot); text-decoration: none; }
.ae-hcall svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 479px) { .ae-brand__mark { display: none; } .ae-hcall { gap: 6px; padding: 0 12px; font-size: .84rem; } .ae-hcall svg { width: 13px; height: 13px; } }
.ae-menu { background: var(--c-shade); }
.ae-menu .ae-menu__call { margin-top: var(--s-5); font-family: var(--font-text); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ae-on-navy-em); }

/* the footer: pale and crisp, a thin dawn line along its top */
.ae-foot { position: relative; background: var(--c-paper-2); color: var(--c-ink); border-top: 1px solid var(--ae-line); }
.ae-foot::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--ae-grad); }
.ae-foot .muted { color: var(--ae-soft); }
.ae-foot__name { margin: 0 0 10px; font: 650 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.08 var(--font-display); letter-spacing: -.035em; }
.ae-foot__call { display: inline-flex; align-items: center; min-height: 44px; font: 650 1.15rem/1.2 var(--font-text); font-variant-numeric: tabular-nums; color: var(--c-brand); }
.ae-foot address { font-style: normal; color: var(--ae-soft); line-height: 1.6; }
.ae-foot .ae-foot__k { margin: 0 0 12px; font: 650 .82rem/1.3 var(--font-text); color: var(--ae-soft); }
.ae-foot .footer-links { margin: 0 0 var(--s-6); padding: 0; color: var(--c-ink); font-size: .97rem; }
.ae-foot .footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.ae-foot .footer-links a:hover { color: var(--c-brand); }
