:root {
    --af-accent: #4d6bff;
    --af-bg: #f4f6fb;
    --af-surface: rgba(255, 255, 255, 0.84);
    --af-surface-strong: rgba(255, 255, 255, 0.94);
    --af-border: rgba(15, 23, 42, 0.08);
    --af-border-strong: rgba(15, 23, 42, 0.12);
    --af-text: #0f172a;
    --af-text-soft: #475569;
    --af-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    --af-radius-xl: 32px;
    --af-radius-lg: 24px;
    --af-radius-md: 18px;
    --af-shell: min(1440px, calc(100vw - 32px));
    --af-ease: 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --af-stage-x: 0px;
    --af-stage-y: 0px;
    --af-stage-scale: 1;
    --af-focus-left: 48px;
    --af-focus-top: 48px;
    --af-focus-width: clamp(320px, 32vw, 480px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--af-text);
    background:
        radial-gradient(circle at top left, rgba(77, 107, 255, 0.1), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, #eef2f8 100%);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--af-accent); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.site { min-height: 100vh; }
.af-shell { width: var(--af-shell); margin-inline: auto; }
.af-main { padding-block: 24px 80px; }
.af-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 18px 22px; margin-bottom: 28px; background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 24px; backdrop-filter: blur(16px);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}
.af-brand { min-width: 0; }
.af-brand__text, .custom-logo-link {
    display: inline-flex; align-items: center; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em;
}
.custom-logo { max-height: 46px; width: auto; }
.af-nav { flex: 1 1 auto; }
.af-menu {
    display: flex; align-items: center; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0;
}
.af-menu a {
    display: inline-flex; align-items: center; padding: 12px 16px; border-radius: 999px; color: var(--af-text-soft);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.af-menu a:hover, .af-menu a:focus-visible {
    color: var(--af-text); background: rgba(255, 255, 255, 0.82); transform: translateY(-1px);
}
.af-cta, .af-inline-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px;
    border-radius: 999px; color: #fff;
    background: linear-gradient(135deg, var(--af-accent), color-mix(in srgb, var(--af-accent) 74%, white 26%));
    box-shadow: 0 16px 30px rgba(77, 107, 255, 0.24); transition: transform 180ms ease, box-shadow 180ms ease;
}
.af-cta:hover, .af-inline-link:hover, .af-cta:focus-visible, .af-inline-link:focus-visible {
    color: #fff; transform: translateY(-1px); box-shadow: 0 20px 34px rgba(77, 107, 255, 0.28);
}
.af-inline-link--muted { color: var(--af-text-soft); background: transparent; padding: 0; box-shadow: none; }
.af-hero-copy {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.72fr); gap: 24px; align-items: end; margin-bottom: 24px;
}
.af-eyebrow, .af-focus-panel__kicker, .af-support-card__eyebrow, .af-mobile-card__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(15, 23, 42, 0.08); color: var(--af-text-soft);
    letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.76rem; font-weight: 700;
}
.af-hero-copy h1, .af-generic-title {
    margin: 14px 0 0; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 0.94; letter-spacing: -0.05em; max-width: 12ch;
}
.af-hero-copy__intro {
    max-width: 60ch; margin: 18px 0 0; font-size: clamp(1rem, 1vw + 0.7rem, 1.2rem); line-height: 1.68; color: var(--af-text-soft);
}
.af-chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.af-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.74); color: var(--af-text-soft); border: 1px solid rgba(15, 23, 42, 0.08);
}
.af-chip--accent {
    color: color-mix(in srgb, var(--af-accent) 74%, #0f172a 26%);
    background: color-mix(in srgb, var(--af-accent) 14%, white 86%);
    border-color: color-mix(in srgb, var(--af-accent) 18%, white 82%);
}
.af-hero-copy__meta { display: grid; gap: 12px; }
.af-meta-card, .af-support-card, .af-generic-card {
    padding: 18px 20px; border-radius: 24px; background: var(--af-surface); backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.72); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.af-meta-card span { display: block; margin-bottom: 8px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--af-text-soft); }
.af-meta-card strong, .af-meta-card a { font-size: 1rem; line-height: 1.5; }
.af-stage-card { position: relative; }
.af-stage {
    position: relative; min-height: min(80vh, 920px); overflow: hidden; border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.68); box-shadow: var(--af-shadow);
    background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.2)), rgba(203, 213, 225, 0.35); isolation: isolate;
}
.af-stage::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0) 28%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1; pointer-events: none;
}
.af-stage__media {
    position: absolute; inset: 0; transform: translate3d(var(--af-stage-x), var(--af-stage-y), 0) scale(var(--af-stage-scale));
    transform-origin: 0 0; transition: transform var(--af-ease), filter var(--af-ease);
}
.af-stage.is-active .af-stage__media { filter: saturate(1.05) contrast(1.02); }
.af-stage__image { width: 100%; height: 100%; object-fit: cover; }
.af-stage__gradient {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 16% 14%, rgba(255,255,255,0.28), transparent 22%), linear-gradient(180deg, rgba(15,23,42,0.02) 18%, rgba(15,23,42,0.2) 100%);
}
.af-stage__hint {
    position: absolute; left: 28px; bottom: 28px; z-index: 6; display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-radius: 999px; background: rgba(255,255,255,0.84); border: 1px solid rgba(255,255,255,0.72);
    color: var(--af-text-soft); box-shadow: 0 14px 32px rgba(15,23,42,0.08); transition: opacity 220ms ease, transform 220ms ease;
}
.af-stage.is-active .af-stage__hint { opacity: 0; transform: translateY(10px); pointer-events: none; }
.af-stage__close {
    position: absolute; top: 24px; right: 24px; z-index: 8; width: 52px; height: 52px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,0.84); color: var(--af-text); font-size: 2rem; line-height: 1; cursor: pointer;
    backdrop-filter: blur(18px); box-shadow: 0 16px 32px rgba(15,23,42,0.08); opacity: 0; transform: translateY(-8px);
    pointer-events: none; transition: opacity 220ms ease, transform 220ms ease;
}
.af-stage.is-active .af-stage__close { opacity: 1; transform: translateY(0); pointer-events: auto; }
.af-stage__hotspots, .af-focus-panels { position: absolute; inset: 0; z-index: 4; }
.af-hotspot {
    position: absolute; display: flex; align-items: flex-start; justify-content: flex-start; padding: 14px; border: 0; background: transparent; cursor: pointer;
}
.af-hotspot__frame {
    position: absolute; inset: 0; border-radius: 20px; border: 1.5px solid rgba(255,255,255,0.48);
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02)); box-shadow: inset 0 0 0 1px rgba(15,23,42,0.05);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.af-hotspot__label {
    position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 10px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.88); color: var(--af-text); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(15,23,42,0.12); opacity: 0.92; transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.af-hotspot:hover .af-hotspot__frame, .af-hotspot:focus-visible .af-hotspot__frame, .af-hotspot.is-active .af-hotspot__frame {
    border-color: color-mix(in srgb, var(--af-accent) 44%, white 56%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--af-accent) 13%, white 87%), rgba(255,255,255,0.04));
    transform: translateY(-1px); box-shadow: 0 18px 34px rgba(77,107,255,0.16);
}
.af-hotspot:hover .af-hotspot__label, .af-hotspot:focus-visible .af-hotspot__label, .af-hotspot.is-active .af-hotspot__label {
    color: color-mix(in srgb, var(--af-accent) 70%, #0f172a 30%); transform: translateY(-1px);
}
.af-hotspot:focus-visible, .af-stage__close:focus-visible, .af-mobile-card:focus-visible, .af-mobile-sheet__close:focus-visible,
.af-cta:focus-visible, .af-inline-link:focus-visible, .af-menu a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--af-accent) 74%, white 26%); outline-offset: 4px;
}
.af-focus-panel {
    position: absolute; left: var(--af-focus-left); top: var(--af-focus-top); width: min(var(--af-focus-width), calc(100% - 32px));
    z-index: 6; opacity: 0; pointer-events: none; transform: translateY(16px) scale(0.98); transition: opacity 220ms ease, transform var(--af-ease);
}
.af-focus-panel.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.af-focus-panel__inner {
    padding: 26px; border-radius: 28px; background: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.66);
    backdrop-filter: blur(18px); box-shadow: 0 22px 40px rgba(15,23,42,0.12);
}
.af-focus-panel h2, .af-support-card h2 {
    margin: 14px 0 0; font-size: clamp(1.55rem, 2vw, 2.2rem); line-height: 1.02; letter-spacing: -0.04em;
}
.af-focus-panel p, .af-support-card p, .af-post-card p, .af-highlight-card p, .af-mobile-card span, .af-entry-content, .af-site-footer p {
    color: var(--af-text-soft); line-height: 1.65;
}
.af-hours-card, .af-support-hours { display: grid; gap: 10px; margin-top: 20px; }
.af-hours-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px;
    border-radius: 16px; background: rgba(248,250,252,0.8); border: 1px solid rgba(15,23,42,0.05);
}
.af-hours-row span { color: var(--af-text-soft); }
.af-hours-row strong { font-weight: 600; }
.af-hours-row.is-today {
    background: color-mix(in srgb, var(--af-accent) 12%, white 88%); border-color: color-mix(in srgb, var(--af-accent) 24%, white 76%);
}
.af-inline-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--af-text-soft); }
.af-inline-meta a { color: var(--af-text); }
.af-inline-link { margin-top: 18px; }
.af-post-stack { display: grid; gap: 14px; margin-top: 20px; }
.af-post-card, .af-highlight-card {
    padding: 18px; border-radius: 20px; background: rgba(248,250,252,0.86); border: 1px solid rgba(15,23,42,0.06);
}
.af-post-card__meta {
    display: block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
    color: color-mix(in srgb, var(--af-accent) 56%, #64748b 44%);
}
.af-post-card h3, .af-highlight-card h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.2; }
.af-highlight-grid, .af-support-highlights { display: grid; gap: 14px; margin-top: 20px; }
.af-support-grid { margin-top: 34px; }
.af-support-grid__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.af-support-card { padding: 24px; }
.af-support-posts, .af-support-highlights { margin-top: 18px; }
.af-support-post, .af-support-highlight { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid rgba(15,23,42,0.08); }
.af-support-post:first-child, .af-support-highlight:first-child { border-top: 0; padding-top: 0; }
.af-support-post span { color: var(--af-text-soft); font-size: 0.84rem; }
.af-mobile-actions, .af-mobile-sheet { display: none; }
.af-generic-page { padding-block: 18px 80px; }
.af-generic-page__inner { max-width: 920px; }
.af-generic-card { padding: clamp(24px, 2vw, 34px); }
.af-entry-content > *:first-child { margin-top: 0; }
.af-entry-content > *:last-child { margin-bottom: 0; }
.af-entry-content p, .af-entry-content li { font-size: 1.03rem; line-height: 1.8; color: var(--af-text-soft); }
.af-post-date { display: inline-block; margin-bottom: 10px; color: var(--af-text-soft); }
.af-site-footer { padding-bottom: 36px; }
.af-site-footer__inner { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 0; color: var(--af-text-soft); }
.af-site-footer__inner strong { color: var(--af-text); }
.af-site-footer__meta { display: flex; align-items: center; }
@media (max-width: 1180px) {
    .af-hero-copy { grid-template-columns: 1fr; }
    .af-support-grid__inner { grid-template-columns: 1fr; }
    .af-stage { min-height: min(72vh, 760px); }
}
@media (max-width: 920px) {
    .af-main { padding-block: 14px 48px; }
    .af-topbar { flex-wrap: wrap; justify-content: center; }
    .af-nav { order: 3; width: 100%; }
    .af-menu { justify-content: center; flex-wrap: wrap; }
    .af-stage { min-height: 58vh; border-radius: 28px; }
    .af-stage__hint, .af-stage__close, .af-focus-panels, .af-stage__hotspots { display: none; }
    .af-mobile-actions { display: grid; gap: 14px; margin-top: 18px; }
    .af-mobile-card {
        display: grid; gap: 8px; width: 100%; padding: 18px 18px 20px; text-align: left; border: 0; border-radius: 24px;
        background: rgba(255,255,255,0.86); border: 1px solid rgba(255,255,255,0.68); box-shadow: 0 18px 36px rgba(15,23,42,0.08); cursor: pointer;
    }
    .af-mobile-card strong { font-size: 1.1rem; }
    .af-mobile-sheet[hidden] { display: none !important; }
    .af-mobile-sheet { display: block; position: fixed; inset: 0; z-index: 999; }
    .af-mobile-sheet__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.42); backdrop-filter: blur(4px); }
    .af-mobile-sheet__panel {
        position: absolute; left: 0; right: 0; bottom: 0; max-height: 84vh; overflow: auto; padding: 18px 18px 30px;
        border-radius: 28px 28px 0 0; background: rgba(255,255,255,0.96); box-shadow: 0 -20px 46px rgba(15,23,42,0.18);
    }
    .af-mobile-sheet__close {
        position: sticky; top: 0; margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border: 0;
        border-radius: 50%; background: rgba(15,23,42,0.06); font-size: 1.8rem; line-height: 1; cursor: pointer;
    }
    .af-mobile-sheet__content .af-focus-panel__inner {
        padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
    }
    .af-mobile-sheet__content .af-focus-panel__kicker { margin-top: 8px; }
    .af-mobile-sheet__content .af-highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    :root { --af-shell: min(100vw - 20px, 100vw - 20px); }
    .af-topbar { padding: 16px 14px; margin-bottom: 18px; border-radius: 22px; }
    .af-menu a { padding: 10px 12px; }
    .af-hero-copy h1, .af-generic-title { font-size: clamp(2.1rem, 13vw, 3rem); max-width: none; }
    .af-meta-card, .af-support-card, .af-generic-card { border-radius: 22px; }
    .af-stage { min-height: 46vh; }
    .af-support-card { padding: 20px; }
    .af-site-footer__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .af-stage__media, .af-focus-panel, .af-stage__hint, .af-stage__close, .af-hotspot__frame, .af-hotspot__label, .af-cta, .af-inline-link, .af-menu a { transition: none !important; }
}
