/* Sacred Liberation: the "Dawn" motion layer (adapted 2026-11-25 from Northstar Web Studio's version).
   Loaded after site.css on every page. It adds movement only: the drifting gold light, pages easing in,
   cards that lean toward the pointer, and gentle hover effects. It does not change the layout, photos,
   fonts or spacing. Remove this file's <link> and dawn.js's <script> and the site is exactly as before.
   "html.anim" is set by the small script in each page's <head> only when motion is allowed, and is taken
   off again after 3 seconds if dawn.js never started, so nothing can stay hidden. */

:root { --ease: cubic-bezier(.2, .7, .2, 1); --foil: linear-gradient(100deg, #e0a83a 0%, #f2c25c 28%, #ffe9b5 50%, #f2c25c 72%, #e0a83a 100%); }
html.lenis { scroll-behavior: auto; }

/* ── drifting light: one fixed canvas above every section's background and below its content ── */
.dawn-motes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
main > section > .wrap, .site-foot > .wrap { position: relative; z-index: 2; }
.split-line { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }

/* ── header: the logo glows on hover, menu links underline, dropdowns fade in ── */
.brand img { transition: transform .8s var(--ease), filter .5s; }
.brand:hover img { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 0 12px rgba(242, 194, 92, .9)); }
@media (min-width: 1041px) {
  .nav > a:not(.btn) { position: relative; }
  .nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: none; }
}

/* ── buttons: a slow sheen on hover ── */
.btn { position: relative; overflow: hidden; transition: transform .4s var(--ease), background .25s, box-shadow .4s, border-color .25s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .38) 50%, transparent 66%); transform: translateX(-130%); transition: transform .8s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn-ink:hover, .btn-gold:hover { box-shadow: 0 16px 34px -14px rgba(58, 38, 16, .75); }
.btn.is-pending::after { display: none; }

/* ── "Does any of this sound familiar?": each line lights as it comes into view ── */
.recognize li { transition: color .9s var(--ease); }
html.anim .recognize li { color: rgba(51, 35, 15, .28); }
html.anim .recognize li.lit { color: var(--ink); }

/* ── cards: lean toward the pointer in 3D, with a soft light that follows it ── */
.ways { perspective: 1400px; }
.way { position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s, border-color .3s; will-change: transform; }
.way-photo { transition: transform 1.4s var(--ease); }
.way:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -38px rgba(58, 38, 16, .6); }
.way:hover .way-photo { transform: scale(1.045); }
.way::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 232, 170, .34), transparent 62%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.way:hover::after { opacity: 1; }
.events li { transition: background .5s; }
.events li:hover { background: linear-gradient(90deg, rgba(244, 223, 174, .42), rgba(244, 223, 174, 0)); }

/* ── gentle lifts on the other cards ── */
.quote, .commit > div, .path-cards > *, .faq details { transition: transform .6s var(--ease), box-shadow .6s, border-color .3s; }
.quote:hover, .commit > div:hover, .path-cards > *:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(58, 38, 16, .55); }
.faq details[open] { box-shadow: 0 24px 44px -34px rgba(58, 38, 16, .5); }
.retreat-hero h2 { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html.anim .retreat-hero h2 { animation: dawn-foil 9s linear infinite; }
@keyframes dawn-foil { to { background-position: -200% 0; } }
html.anim .status::before { animation: dawn-pulse 2.75s ease-in-out infinite alternate; }
@keyframes dawn-pulse { from { box-shadow: 0 0 0 0 rgba(242, 194, 92, .7); } to { box-shadow: 0 0 0 7px rgba(242, 194, 92, 0); } }
.signup input, .signup textarea { transition: box-shadow .3s; }
.signup input:focus, .signup textarea:focus { box-shadow: 0 0 0 4px rgba(242, 194, 92, .45); }
.site-foot ul a { transition: color .25s, padding .4s var(--ease); }
.site-foot ul a:hover { padding-left: .35rem; }

/* ── what dawn.js hides first and then brings in (only while html.anim is set) ── */
html.anim main > section:first-child .stack > *, html.anim main > section:first-child .photo,
html.anim .dec-hero .ticket, html.anim main > .retreat-hero:first-child .wrap > * { opacity: 0; }
html.anim .rv { opacity: 0; transform: translateY(28px); transition: none !important; }
html.anim .photo.rv { transform: none; clip-path: inset(9% 9% 9% 9%); }

@media (prefers-reduced-motion: reduce) { .dawn-motes { display: none; } }

/* ── homepage top: glow, sacred-geometry ring, twinkling stars, headline shimmer ── */
.hero-magic { position: relative; overflow: clip; }
.magic-frame { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-split .magic-frame .photo { position: relative; z-index: 2; max-width: none; }
.magic-glow { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 246, 214, .95) 0%, rgba(250, 214, 130, .5) 30%, rgba(242, 194, 92, .16) 52%, transparent 68%); }
.magic-ring { position: absolute; left: 50%; top: 50%; width: 152%; height: auto; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; overflow: visible; opacity: .7; }
.magic-ring circle, .magic-ring path { fill: none; stroke: #c8922a; stroke-width: .45; }
.magic-ring .dot { fill: #d9a441; stroke: none; }
.magic-ring .mr-in { opacity: .75; }
.magic-ring g { transform-origin: 0 0; }
.spark { position: absolute; z-index: 3; width: 26px; aspect-ratio: 1; pointer-events: none; opacity: .9;
  background: radial-gradient(circle, #fffdf5 0%, #f7cf6a 30%, #d39a2c 62%, #a8701a 100%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 8px rgba(242, 180, 60, .95)); }
.s1 { left: -8%; top: 12%; } .s2 { right: -7%; top: 5%; width: 34px; } .s3 { right: -10%; top: 46%; width: 20px; }
.s4 { left: -11%; top: 58%; width: 30px; } .s5 { left: 8%; top: -5%; width: 18px; } .s6 { right: 12%; bottom: -6%; width: 28px; }
.s7 { left: -4%; bottom: 6%; width: 18px; } .s8 { right: -4%; bottom: 24%; width: 22px; } .s9 { left: 46%; top: -7%; width: 24px; }
html.anim .magic-glow { animation: magic-breathe 9s ease-in-out infinite; }
html.anim .magic-ring .mr-out { animation: magic-spin 140s linear infinite; }
html.anim .magic-ring .mr-in { animation: magic-spin 90s linear infinite reverse; }
html.anim .spark { opacity: 0; animation: magic-twinkle 4.2s ease-in-out infinite; }
.s2 { animation-delay: .7s !important; } .s3 { animation-delay: 1.9s !important; } .s4 { animation-delay: 2.6s !important; }
.s5 { animation-delay: 3.3s !important; } .s6 { animation-delay: 1.2s !important; } .s7 { animation-delay: 3.8s !important; }
.s8 { animation-delay: .3s !important; } .s9 { animation-delay: 2.2s !important; }
@keyframes magic-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .75; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }
@keyframes magic-spin { to { transform: rotate(360deg); } }
@keyframes magic-twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; transform: scale(.9) rotate(60deg); } }
/* the ring and stars arrive just after the photo */
html.anim .magic-ring { animation: magic-arrive 2.4s var(--ease) .9s both; }
@keyframes magic-arrive { from { opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-20deg); } to { opacity: .7; transform: translate(-50%, -50%) scale(1); } }
/* gold light passes through the headline every few seconds */
html.anim .hero-magic h1.shimmer { background: linear-gradient(100deg, #33230f 0 42%, #b37a1c 47%, #f2c25c 50%, #b37a1c 53%, #33230f 58% 100%);
  background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: magic-sheen 8s ease-in-out 0s infinite; }
@keyframes magic-sheen { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0% 0; } }
/* pointer drift: the ring follows the pointer a little, the stars move the other way */
.magic-ring { translate: var(--dx, 0px) var(--dy, 0px); transition: translate 1.6s var(--ease); }
.spark { translate: calc(var(--dx, 0px) * -1.4) calc(var(--dy, 0px) * -1.4); transition: translate 2.2s var(--ease); }
@media (max-width: 860px) { .magic-frame { max-width: 420px; } .magic-ring { width: 138%; } }
