/* aec99 — forest green / amber */
:root { --ae-amber: 245, 165, 36; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #eff4ec; }
::selection { background: #f5a524; color: #08190f; }

.ae-kicker { display: inline-block; font-family: "Athiti", sans-serif; font-size: .85rem; font-weight: 600; letter-spacing: .08em; padding: .15rem .8rem; border-radius: 4px; background: #f5a524; color: #08190f; }
.ae-dark .ae-kicker { background: rgba(var(--ae-amber), .18); color: #ffd37f; border: 1px solid rgba(var(--ae-amber), .5); }

.ae-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 10px; padding: .8rem 1.5rem; font-weight: 700; color: #08190f;
  background: #f5a524; border-bottom: 4px solid #c47f08; transition: transform .15s ease, border-bottom-width .15s ease, background .15s ease; }
.ae-btn:hover { background: #ffb73d; transform: translateY(-2px); }
.ae-btn:active { transform: translateY(2px); border-bottom-width: 2px; }
.ae-btn:focus-visible, .ae-ghost:focus-visible { outline: 3px solid #ffd37f; outline-offset: 3px; }
.ae-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 10px; padding: .75rem 1.4rem; font-weight: 600; border: 2px solid #123524; color: #123524; transition: background .15s ease, color .15s ease; }
.ae-ghost:hover, .ae-ghost[aria-pressed="true"] { background: #123524; color: #fff; }
.ae-dark .ae-ghost, .ae-hero .ae-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.ae-dark .ae-ghost:hover, .ae-hero .ae-ghost:hover { background: #fff; color: #08190f; }

/* navbar */
#ae-bar { background: #0d2417; border-bottom: 3px solid #f5a524; transition: box-shadow .2s ease; }
#ae-bar.is-scrolled { box-shadow: 0 10px 26px -14px rgba(0,0,0,.6); }
.ae-nav a { display: block; border-radius: 8px; padding: .45rem .9rem; color: #c3d6c5; font-weight: 500; transition: background .15s, color .15s; }
.ae-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.ae-nav a[aria-current="page"] { color: #08190f; background: #f5a524; font-weight: 700; }

/* poster hero: full-width image, text laid over it */
.ae-hero { position: relative; isolation: isolate; min-height: min(86vh, 720px); display: flex; align-items: flex-end; background: #08190f; color: #fff; overflow: hidden; }
.ae-hero.is-short { min-height: min(52vh, 440px); }
.ae-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ae-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,25,15,.25) 0%, rgba(8,25,15,.55) 45%, rgba(8,25,15,.94) 100%), linear-gradient(90deg, rgba(8,25,15,.7), transparent 70%); }
.ae-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 1; background: repeating-linear-gradient(135deg, #f5a524 0 14px, #08190f 14px 28px); }
.ae-stamp { position: absolute; right: 1.25rem; top: 1.25rem; z-index: 1; transform: rotate(8deg); border: 3px double #ffd37f; color: #ffd37f; border-radius: 8px; padding: .4rem .9rem; font-family: "Athiti", sans-serif; font-weight: 700; letter-spacing: .12em; font-size: .85rem; background: rgba(8,25,15,.45); }

/* vertical ticket card */
.ae-ticket-wrap { filter: drop-shadow(0 16px 20px rgba(8,25,15,.3)); transition: transform .25s ease; }
.ae-ticket-wrap:hover { transform: translateY(-6px) rotate(-.6deg); }
.ae-ticket { display: flex; flex-direction: column; height: 100%; background: #fff; color: #174230; border-radius: 18px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--notch, 70%), transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--notch, 70%), transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 var(--notch, 70%), transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--notch, 70%), transparent 98%, #000) right / 51% 100% no-repeat; }
.ae-ticket .ae-art { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; display: block; background: #174230; }
.ae-ticket .ae-stub { position: relative; flex: 1; padding: 1.1rem 1.3rem 1.3rem; border-top: 3px dashed #f5a524; background: #fffaf0; }
.ae-ticket .ae-no { position: absolute; top: .6rem; right: 1.2rem; font-family: "Athiti", sans-serif; font-weight: 700; font-size: 1.8rem; color: rgba(245,165,36,.55); line-height: 1; }

.ae-panel { background: #fff; border: 2px solid #123524; border-radius: 14px; box-shadow: 6px 6px 0 #123524; }
.ae-panel-dark { background: #174230; border: 2px solid #f5a524; border-radius: 14px; box-shadow: 6px 6px 0 #f5a524; color: #eff4ec; }

.ae-h2 { position: relative; padding-left: 1rem; }
.ae-h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 3px; background: #f5a524; }

/* provider slider */
.ae-marquee { overflow: hidden; display: grid; gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ae-track { display: flex; gap: 12px; width: max-content; margin: 0; padding: 4px 0; list-style: none; animation: ae-scroll 56s linear infinite; animation-play-state: paused; }
.ae-track.is-rev { animation-direction: reverse; animation-duration: 64s; }
.ae-marquee.is-active .ae-track { animation-play-state: running; }
.ae-marquee.is-active:hover .ae-track { animation-play-state: paused; }
.ae-track li { flex: none; padding: 3px; border-radius: 12px; background: #f5a524; transition: transform .2s ease; }
.ae-track li:hover { transform: translateY(-3px); }
.ae-track img { width: 188px; height: 120px; display: block; border-radius: 9px; background: #174230; }
@keyframes ae-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .ae-track { animation: none; } .ae-marquee { overflow-x: auto; } }

.no-js .ae-reveal, .ae-reveal.is-in { opacity: 1; transform: none; }
.ae-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) { .ae-reveal { opacity: 1; transform: none; transition: none; } }

.ae-frame { background: #174230; overflow: hidden; }

.ae-route { counter-reset: step; }
.ae-route > li { counter-increment: step; position: relative; padding: 1.1rem 1.2rem 1.1rem 4.4rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,211,127,.3); }
.ae-route > li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #f5a524; color: #08190f; display: grid; place-items: center; font-family: "Athiti", sans-serif; font-weight: 700; font-size: 1.2rem; }

.ae-faq summary { list-style: none; cursor: pointer; }
.ae-faq summary::-webkit-details-marker { display: none; }
.ae-faq summary .ae-plus { transition: transform .25s ease; }
.ae-faq details[open] summary .ae-plus { transform: rotate(45deg); }

.ae-chip { display: inline-block; border-radius: 6px; padding: .1rem .6rem; font-size: .78rem; font-weight: 700; background: #f5a524; color: #08190f; }

.ae-prose { font-size: 1.06rem; line-height: 1.95; color: #1c3a2b; }
.ae-prose > * + * { margin-top: 1.15rem; }
.ae-prose h2 { margin-top: 2.6rem; font-family: "Athiti", sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1.35; color: #0d2417; padding-left: .9rem; border-left: 6px solid #f5a524; }
.ae-prose h3 { margin-top: 1.8rem; font-family: "Athiti", sans-serif; font-weight: 600; font-size: 1.25rem; color: #1f5a41; }
.ae-prose a { color: #8f5a00; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.ae-prose a:hover { color: #123524; }
.ae-prose ul, .ae-prose ol { padding-left: 1.4rem; }
.ae-prose ul { list-style: none; padding-left: 0; }
.ae-prose ul li { position: relative; padding-left: 1.5rem; }
.ae-prose ul li::before { content: ""; position: absolute; left: .1rem; top: .75rem; width: .6rem; height: .6rem; border-radius: 2px; background: #f5a524; }
.ae-prose ol { list-style: decimal; }
.ae-prose ol li::marker { color: #8f5a00; font-weight: 700; }
.ae-prose li + li { margin-top: .5rem; }
.ae-prose blockquote { background: #123524; color: #ffe2a8; padding: 1.1rem 1.4rem; border-radius: 12px; border-left: 8px solid #f5a524; font-family: "Athiti", sans-serif; font-size: 1.2rem; }

#ae-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; transform-origin: left; transform: scaleX(0); background: #f5a524; z-index: 70; }

.ae-fab { position: fixed; right: 14px; bottom: 14px; z-index: 40; transition: transform .3s ease, opacity .3s ease; }
.ae-fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* pbn: provider slider always auto-scrolls */
.ae-marquee { overflow: hidden !important; }
.ae-marquee .ae-track { animation-name: ae-scroll !important; animation-duration: 56s !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
@media (hover: hover) { .ae-marquee:hover .ae-marquee .ae-track { animation-play-state: paused !important; } }

/* conversion pass */
.ae-login { align-items: center; justify-content: center; border-radius: 10px; padding: .45rem 1rem; font-size: .9rem; font-weight: 600; color: #ffd37f; border: 2px solid rgba(255,211,127,.55); transition: background .15s ease, color .15s ease; }
.ae-login:hover { background: #ffd37f; color: #08190f; }
.ae-btn-lg { padding: 1rem 2.1rem; font-size: 1.15rem; box-shadow: 0 10px 24px -8px rgba(245,165,36,.65); }
.ae-steps > li { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: #fffaf0; border: 2px solid #123524; border-radius: 16px; box-shadow: 6px 6px 0 #f5a524; }
.ae-step-no { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .8rem; border-radius: 50%; background: #123524; color: #ffd37f; font-family: "Athiti", sans-serif; font-weight: 700; font-size: 1.5rem; }
.ae-mindful { background: #fff4d6; border-top: 3px dashed #c47f08; color: #3d2a00; }
.ae-age { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid #8f5a00; font-family: "Athiti", sans-serif; font-weight: 700; color: #8f5a00; }
.ae-band { background: #eff4ec; padding: 3rem 0; }
.ae-band-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem 1.6rem; border-radius: 18px; background: #123524; border: 3px solid #f5a524; box-shadow: 8px 8px 0 #f5a524; }
.ae-band-card > div:first-child { flex: 1 1 22rem; min-width: 0; }
.ae-band-act { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 480px) { .ae-band-act { width: 100%; } .ae-band-act > a { flex: 1 1 100%; } .ae-btn-lg { padding: .9rem 1.4rem; } }

/* pbn: search-topic section */
.pbn-kw { max-width: 48rem; margin: 2.5rem auto 0; padding: 1.5rem 1.25rem; border: 1px solid rgba(128,128,128,.35); border-radius: 14px; line-height: 1.9; }
.pbn-kw h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin: 0 0 .75rem; }
.pbn-kw h3 { font-size: 1.05rem; font-weight: 700; margin: 1.1rem 0 .25rem; }
.pbn-kw p { margin: .35rem 0; }
.pbn-kw a { text-decoration: underline; font-weight: 600; }

/* pbn: liquid-metal buttons */
body .ae-btn {
  position: relative !important; isolation: isolate; overflow: hidden !important;
  border: 2px solid transparent !important; border-radius: 999px !important; clip-path: none !important;
  color: #fff0cd !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .65) !important;
  background: linear-gradient(180deg, #123524 0%, #050f09 100%) padding-box, linear-gradient(114deg, #7a4305 0%, #ffe0a0 6%, #f5a524 12%, #fff5dc 18%, #f5a524 24%, #fbbd48 30%, #7a4305 38%, #fbbd48 44%, #7a4305 50%, #ffe0a0 56%, #f5a524 62%, #fff5dc 68%, #f5a524 74%, #fbbd48 80%, #7a4305 88%, #fbbd48 94%, #7a4305 100%) border-box !important;
  background-size: 100% 100%, 200% 100% !important; background-position: 0 0, 0% 50% !important;
  animation: ae-liq 10s linear infinite !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 20px 12px -12px rgba(0, 0, 0, .25), 0 9px 9px -6px rgba(0, 0, 0, .2), 0 2px 5px rgba(0, 0, 0, .2) !important;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease !important;
}
body .ae-btn::before, body .ae-btn::after { display: none !important; }
body .ae-btn:hover { transform: translateY(-1px) !important; animation-duration: 5s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 6px -6px rgba(0, 0, 0, .08), 0 8px 5px -4px rgba(0, 0, 0, .14), 0 4px 4px rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .22) !important; }
body .ae-btn:active { transform: translateY(1px) scale(.98) !important; animation-duration: 1.6s !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(0, 0, 0, .4) !important; }
@keyframes ae-liq { to { background-position: 0 0, 100% 50%; } }
.ae-rip { position: absolute; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 70%); animation: ae-rip .6s ease-out forwards; }
@keyframes ae-rip { from { transform: translate(-50%, -50%) scale(0); opacity: .6; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }

/* pbn:mobile-nav */
.ae-mnav{display:none}
@media (max-width:767px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .ae-mnav{display:grid;grid-template-columns:repeat(4,1fr) 1.25fr;align-items:center;gap:2px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(12,12,16,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-top:1px solid rgba(255,255,255,.14)}
  .ae-mnav a.ae-mi{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 2px;border-radius:10px;
    color:rgba(255,255,255,.72);font-size:11px;line-height:1.2;text-decoration:none;-webkit-tap-highlight-color:transparent}
  .ae-mnav a.ae-mi[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
  .ae-mnav a.ae-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-left:4px;padding:0 6px!important;font-size:14px!important;white-space:nowrap}
}
