/* Brand wordmark: Flat Brush (assets/fonts/flat-brush.ttf), with Caveat Brush as fallback. */
@font-face { font-family: "Flat Brush"; src: url("fonts/flat-brush.woff2") format("woff2"), url("fonts/flat-brush.ttf") format("truetype"); font-display: swap; }
/* Living Angels Christian Academy — modern site */
:root {
  --blue: #1f3fbf;
  --blue-deep: #0d1f5c;
  --blue-ink: #0d1f5c;
  --sky: #eaf0ff;
  --sky-2: #f5f8ff;
  --gold: #1f3fbf;
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f8fd;
  --card: #ffffff;
  --text: #121a33;
  --muted: #55607d;
  --line: #e1e6f2;
  --on-blue: #ffffff;
  --shadow: 0 1px 2px rgba(13, 31, 92, .06), 0 12px 32px -12px rgba(13, 31, 92, .18);
  --radius: 22px;
  --wrap: 1180px;
  --display: "Fraunces", Georgia, serif;
  --brand: "Flat Brush", "Caveat Brush", var(--display);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.alt { background: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .98rem; transition: transform .15s ease, box-shadow .15s ease, background .15s; border: 1.5px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(31, 63, 191, .6); }
.cta .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.brand b { display: block; white-space: nowrap; font-family: var(--brand); font-weight: 400; font-size: 1.12rem; line-height: 1.05; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; }
.site-header .brand b { font-size: 1.18rem; line-height: 1.08; }
.brand b i { display: block; font-style: normal; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; white-space: nowrap; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--muted); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); background: var(--surface); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { color: var(--text); }
.nav-cta { padding: 11px 20px; white-space: nowrap; }
.menu-toggle { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); background:
  radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero .lede { margin: 22px 0 32px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; margin-bottom: 22px; box-shadow: var(--shadow); text-decoration: none; }
.pill span { background: var(--blue); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .06em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art .frame { border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); background: var(--sky); }
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.float b { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--blue); }
.float small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.float.f1 { left: -28px; bottom: 44px; }
.float.f2 { right: -18px; top: 36px; }
.float.f2 img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.stat { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--blue); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Generic grids/cards */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 18ch; }
.head .lede { margin: 0; max-width: 46ch; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.statement { position: relative; padding: 36px; overflow: hidden; }
.statement.dark { background: var(--blue-deep); color: #e9eeff; border-color: transparent; }
.statement.dark .eyebrow { color: #cfd8ff; }
.statement.dark .eyebrow::before { background: #cfd8ff; }
.statement p { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; }

.program { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: 0; transition: transform .2s, box-shadow .2s; }
.program:hover { transform: translateY(-4px); }
.program .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.program .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.program:hover .ph img { transform: scale(1.04); }
.program .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.program .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.program h3 { margin: 6px 0 8px; font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.program p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { font-weight: 700; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.more svg { width: 18px; height: 18px; flex: none; }

.value { text-align: left; }
.value .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; margin-bottom: 16px; color: var(--blue); }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { margin-bottom: 4px; }
.value .ref { font-size: .82rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; }

.verse { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 0 0 22px; }
.verse p { font-family: var(--display); font-style: italic; font-size: 1.2rem; margin: 0 0 6px; }
.verse cite { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.motto { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.motto div { padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.motto b { font-family: var(--display); font-size: 1.2rem; display: block; }
.motto small { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--sky); position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(10, 22, 56, .72); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }

/* CTA band */
.cta { background: linear-gradient(135deg, #1f3fbf, #0d1f5c); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .06); }
.cta h2 { color: #fff; }
.cta p { color: #cfd8ff; margin: 0; }
.cta .actions { justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* Page header */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); background: radial-gradient(800px 380px at 90% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.level { border-top: 4px solid var(--blue); }
.level .k { font-family: var(--display); font-size: 1.6rem; margin-bottom: 10px; }
.level dl { margin: 0; display: grid; gap: 6px; }
.level dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-size: .95rem; }
.level dt { color: var(--muted); }
.level dd { margin: 0; font-weight: 700; }
.num { counter-reset: n; }
.num .card { position: relative; }
.num .card::before { counter-increment: n; content: "0" counter(n); display: block; font-family: var(--display); font-size: 1rem; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card .body { padding: 22px 24px 24px; }
.photo-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--gold)); border-radius: 2px; }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -31px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue); }
.tl b { font-family: var(--display); font-size: 1.35rem; color: var(--blue); display: block; }
.tl p { margin: 2px 0 0; color: var(--muted); }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logos div { background: #fff; border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; padding: 16px; }
.logos img { max-height: 100%; object-fit: contain; }

.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--blue-ink); color: #c4cdee; padding: 72px 0 32px; margin-top: 0; }
.site-footer a { text-decoration: none; color: #c4cdee; }
.site-footer a:hover { color: #fff; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.foot .brand b { color: #fff; font-size: 1.18rem; line-height: 1.08; margin-bottom: 4px; }
.foot .brand small { color: #8f9bc8; }
.foot p { font-size: .95rem; margin-top: 18px; max-width: 34ch; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8f9bc8; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* Responsive */
@media (max-width: 1280px) {
  .menu-toggle { display: grid; }
  .menu { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 74px); overflow: auto; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; font-size: 1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; min-width: 0; }
}
@media (max-width: 1020px) {
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .float.f1 { left: 12px; } .float.f2 { right: 12px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .brand small { display: none; }
  .site-header .brand b { font-size: 1.02rem; }
  .float { padding: 10px 14px; }
  .float b { font-size: 1.3rem; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
}
.cta .eyebrow::before { background: #cfd8ff; }

/* ===================== Motion & abstract background ===================== */
body { background: transparent; }
html { background: var(--bg); }
main, .site-footer { position: relative; z-index: 1; }
.alt { background: color-mix(in srgb, var(--surface) 72%, transparent); }
.bg-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: -14vw; top: -18vw; background: radial-gradient(circle at 30% 30%, #9fb4ff, #dbe4ff 60%, transparent 70%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 44vw; height: 44vw; max-width: 640px; max-height: 640px; right: -12vw; top: 28vh; background: radial-gradient(circle at 60% 40%, #b9c8ff, #eef2ff 60%, transparent 70%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #c7d4ff, transparent 68%); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vw, -18vh) scale(1.2); } }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lines path { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .14; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 6s ease forwards, sway 18s ease-in-out 6s infinite alternate; }
.lines path:nth-child(2) { opacity: .09; animation-delay: .6s, 6.6s; }
.lines path:nth-child(3) { opacity: .1; animation-delay: 1.2s, 7.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sway { to { transform: translateY(26px); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--blue) 22%, transparent) 1px, transparent 1.4px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 70% 55% at 80% 15%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 80% 15%, #000 0%, transparent 70%); opacity: .7; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: linear-gradient(90deg, #1f3fbf, #6f8cff); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero entrance */
.hero { background: none; position: relative; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .32s; }
.hero-copy > *:nth-child(4) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero h1 em { background: linear-gradient(90deg, #1f3fbf, #5b7cff, #1f3fbf); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; padding-right: .06em; }
@keyframes shine { to { background-position: -200% 0; } }
.hero-art { animation: pop 1.1s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
.hero-art .frame { position: relative; z-index: 2; animation: bob 7s ease-in-out 1.3s infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--blue) 40%, transparent); z-index: 1; }
.r1 { inset: -26px -26px auto auto; width: 62%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.r2 { left: -34px; bottom: -34px; width: 44%; aspect-ratio: 1; border-style: solid; border-color: color-mix(in srgb, var(--blue) 18%, transparent); border-width: 18px; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.sparkle { position: absolute; z-index: 3; fill: var(--blue); filter: drop-shadow(0 4px 10px rgba(31,63,191,.35)); animation: twinkle 3.2s ease-in-out infinite; }
.s1 { width: 30px; top: -12px; left: 18%; }
.s2 { width: 20px; bottom: 16%; right: -10px; animation-delay: 1.4s; }
@keyframes twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
.dot-grid { position: absolute; z-index: 1; right: -30px; bottom: -30px; width: 140px; height: 140px; background-image: radial-gradient(var(--blue) 1.6px, transparent 2px); background-size: 16px 16px; opacity: .35; }

/* Marquee */
.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--blue); color: #fff; padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; box-shadow: 0 18px 40px -20px rgba(31,63,191,.6); }
.marquee .track { display: flex; gap: 28px; width: max-content; animation: marquee 34s linear infinite; align-items: center; }
.marquee span { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap; }
.marquee i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Richer reveals */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .split > .reveal:first-child { transform: translateX(-40px); }
.js .split > .reveal:last-child { transform: translateX(40px); }
.js .reveal.in { opacity: 1; transform: none; }
.eyebrow::before { transition: width .6s ease .2s; }
.head .eyebrow::before { width: 0; }
.head.in .eyebrow::before, .page-head .eyebrow::before { width: 22px; }

/* Hover motion */
.card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover { box-shadow: 0 2px 4px rgba(13,31,92,.06), 0 24px 48px -18px rgba(13,31,92,.3); }
.value:hover { transform: translateY(-6px); }
.value .ic { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s, color .3s; }
.value:hover .ic { transform: rotate(-8deg) scale(1.12); background: var(--blue); color: #fff; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s ease-in-out 2s infinite; }
@keyframes sheen { 30%, 100% { transform: translateX(120%); } }
.gallery figure img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.06); }
.photo img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.photo:hover img { transform: scale(1.04); }
.cta { background: linear-gradient(120deg, #1f3fbf, #0d1f5c, #2a4fe0, #1f3fbf); background-size: 300% 300%; animation: flow 14s ease infinite; }
@keyframes flow { 50% { background-position: 100% 50%; } }
.cta::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); animation: bob 8s ease-in-out infinite; }
.page-head { background: none; }
.page-head h1, .page-head .lede, .page-head .crumbs { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.page-head h1 { animation-delay: .1s; } .page-head .lede { animation-delay: .22s; }
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(13,31,92,.35); }

@media (max-width: 640px) {
  .ring.r1 { inset: -14px -10px auto auto; } .r2 { left: -16px; bottom: -16px; border-width: 12px; }
  .dot-grid { right: -8px; bottom: -14px; width: 90px; height: 90px; }
  .marquee { margin: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lines path { stroke-dashoffset: 0; }
  .head .eyebrow::before { width: 22px; }
}

/* Static values band */
.values-band { position: relative; z-index: 1; width: min(1240px, 100% - 32px); margin: 0 auto; border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(600px 200px at 85% 0%, rgba(255,255,255,.16), transparent 70%), linear-gradient(120deg, #1f3fbf, #14308f 55%, #0d1f5c);
  box-shadow: 0 24px 50px -24px rgba(31,63,191,.65); }
.values-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.vb-inner { position: relative; width: auto; margin: 0 clamp(20px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; flex-wrap: wrap; }
.vb-label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cfd8ff; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.values-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.values-band li { font-family: var(--display); font-size: clamp(1.05rem, 1.7vw, 1.4rem); white-space: nowrap; display: flex; align-items: center; }
.values-band li + li::before { content: "✦"; font-size: .7em; color: #8fa6ff; margin: 0 16px; }
.vb-motto { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: #dfe6ff; }
@media (max-width: 1020px) { .vb-inner { justify-content: center; text-align: center; } .values-band ul { justify-content: center; } }
@media (max-width: 640px) { .values-band { width: calc(100% - 24px); border-radius: 22px; } .values-band li + li::before { margin: 0 10px; } .vb-inner { padding: 22px 0; gap: 14px; } }
