/* Prisma Publications — site styles
   Palette taken from the logo: blue #2B8CED, light blue #95C1E5, charcoal #58595B */
:root {
  --blue: #2b8ced;
  --blue-dark: #1a6fc4;
  --blue-deep: #0f3d6e;
  --sky: #95c1e5;
  --sky-soft: #eaf3fc;
  --charcoal: #58595b;
  --ink: #23262b;
  --muted: #6b7078;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 18px 48px rgba(16, 24, 40, .10);
  --max: 1160px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--charcoal); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-size: 1.45rem; font-weight: 800; letter-spacing: .02em; color: var(--charcoal); }
.brand-text span { font-size: .7rem; letter-spacing: .32em; color: var(--charcoal); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--charcoal); font-weight: 500; font-size: .96rem;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--sky-soft); color: var(--blue-dark); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue-dark); background: var(--sky-soft); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--charcoal); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff !important; box-shadow: 0 6px 18px rgba(43, 140, 237, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); }
.btn-outline:hover { background: var(--sky-soft); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(149, 193, 229, .45), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(43, 140, 237, .55), transparent 60%),
    linear-gradient(135deg, #0f3d6e 0%, #1a6fc4 55%, #2b8ced 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 0 110px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 34em; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
}
.eyebrow.dark { background: var(--sky-soft); color: var(--blue-dark); border-color: #d4e6f8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art .logo-card {
  background: #fff; border-radius: 28px; padding: 34px 38px;
  box-shadow: 0 30px 80px rgba(5, 25, 55, .35);
  transform: rotate(-1.5deg);
  max-width: 360px;
}
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; z-index: 1; color: var(--bg); }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 64px; }
.page-hero .hero-inner { display: block; padding: 0; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin: 0; }
.breadcrumbs { font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.breadcrumbs a { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -64px; position: relative; z-index: 2; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature h3 { margin: 0; font-size: 1.08rem; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-soft), #d6e8f9); color: var(--blue-dark);
}
.icon-badge svg { width: 28px; height: 28px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .prose p { color: #3c4148; }
.stat-panel {
  position: relative; border-radius: 24px; padding: 40px;
  background: linear-gradient(160deg, var(--sky-soft), #fff 70%);
  border: 1px solid var(--line);
}
.stat-panel img { max-width: 300px; margin: 0 auto; }
.quote {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--blue-deep);
  border-left: 4px solid var(--blue); padding-left: 18px; margin: 28px 0 0;
}

/* Journal cards */
.journals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.journal-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.journal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.journal-top {
  padding: 28px 30px 24px; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}
.journal-card.alt .journal-top { background: linear-gradient(135deg, #3b3c3f, var(--charcoal) 50%, #4f8fcf); }
.journal-abbr { font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: .04em; line-height: 1; }
.journal-top h3 { color: #fff; margin: 10px 0 0; font-size: 1.2rem; line-height: 1.35; }
.journal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .03em;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
}
.journal-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.journal-body p { color: #3c4148; font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; padding: 0; list-style: none; }
.tags li { font-size: .82rem; padding: 4px 12px; border-radius: 999px; background: var(--sky-soft); color: var(--blue-dark); font-weight: 500; }
.editors { border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
.editors h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.editors ul { list-style: none; margin: 0 0 22px; padding: 0; }
.editors li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); padding: 3px 0; }
.editors li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow);
}
.service .icon-badge { margin: 0 0 18px; }
.service ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.service li { position: relative; padding: 6px 0 6px 30px; color: #3c4148; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6fc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.service blockquote { margin: 22px 0 0; padding: 14px 18px; background: var(--bg-alt); border-radius: 12px; font-style: italic; color: var(--charcoal); }

/* Mission / vision */
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mv-card { border-radius: 20px; padding: 36px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mv-card.highlight { background: linear-gradient(150deg, var(--blue-deep), var(--blue)); color: #fff; border: 0; }
.mv-card.highlight h2, .mv-card.highlight h3 { color: #fff; }
.mv-card.highlight p { color: rgba(255, 255, 255, .9); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.chip-list li { padding: 6px 14px; border-radius: 999px; font-size: .88rem; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); }
.mv-card:not(.highlight) .chip-list li { background: var(--sky-soft); border-color: #d4e6f8; color: var(--blue-dark); }

/* CTA band */
.cta-band {
  border-radius: 28px; padding: 56px; color: #fff; text-align: center;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(149, 193, 229, .5), transparent 60%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 40em; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-badge { margin: 0; flex: none; width: 48px; height: 48px; border-radius: 14px; }
.contact-item .icon-badge svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin: 2px 0 4px; }
.contact-item p, .contact-item address { margin: 0; color: #3c4148; font-style: normal; }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 380px; background: var(--bg-alt); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #1f2124; color: #c5c9d0; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e6e9ee; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 48px; background: #fff; border-radius: 12px; padding: 5px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.2rem; letter-spacing: .03em; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid #34373c; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8e939b; font-size: .88rem; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 100px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .journals, .services, .mv, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: 0 16px 30px rgba(16, 24, 40, .08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 20px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .service, .mv-card, .contact-card { padding: 28px 22px; }
  .journal-top, .journal-body { padding-left: 22px; padding-right: 22px; }
  .brand-text strong { font-size: 1.25rem; }
}

/* Prevent grid children from forcing horizontal overflow on small screens */
.split > *, .journals > *, .services > *, .mv > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.btn { max-width: 100%; overflow-wrap: anywhere; }
.mission-panel { background: linear-gradient(150deg, var(--blue-deep), var(--blue)); color: #fff; border: 0; }
.mission-panel .quote { color: #fff; border-color: var(--sky); margin: 0 0 18px; font-size: 1.9rem; }
.mission-panel p { color: rgba(255,255,255,.9); }
.mission-panel .chip-list li { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.mission-panel .icon-badge { margin: 0 0 18px; }
.nav-links a.btn[aria-current="page"] { background: var(--blue-dark); color: #fff; }
/* Contact map card (static, links to Google Maps) */
.map-card { position: relative; display: block; color: var(--ink); }
.map-card:hover { text-decoration: none; }
.map-card .map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -100%); width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--blue); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(26,111,196,.4); }
.map-pin svg { width: 30px; height: 30px; color: #fff; rotate: 45deg; }
.map-label { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); background: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow-lg); text-align: center; width: max-content; max-width: calc(100% - 32px); }
.map-label strong { display: block; font-family: var(--font-head); }
.map-label span { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-dark); font-weight: 600; font-size: .92rem; }
.map-label svg { width: 15px; height: 15px; }
.map-card:hover .map-label { transform: translateX(-50%) translateY(-3px); transition: transform .2s; }
/* Contact form */
.contact-grid { align-items: start; }
.contact-form h2 { margin-bottom: .2em; }
.form-intro { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label span { color: var(--blue-dark); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,140,237,.15); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 22px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: #1c7a43; }
.form-status.err { color: #c03434; }
.contact-form button[disabled] { opacity: .65; cursor: wait; transform: none; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Animated hero ---------- */
.hero { background-size: 200% 200%; animation: heroShift 18s ease-in-out infinite alternate; }
@keyframes heroShift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.hero-fx { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: #4fa3f5; top: -180px; right: -120px; animation: float1 16s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; background: #95c1e5; bottom: -200px; left: -100px; opacity: .35; animation: float2 20s ease-in-out infinite alternate; }
.blob.b3 { width: 300px; height: 300px; background: #0b2f57; top: 30%; left: 40%; opacity: .45; animation: float3 14s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(-160px, 120px) scale(1.15); } }
@keyframes float2 { to { transform: translate(220px, -90px) scale(1.2); } }
@keyframes float3 { to { transform: translate(-120px, -60px) scale(.85); } }

.leaves { position: absolute; inset: 0; }
.leaf { position: absolute; top: -40px; display: block; width: 14px; opacity: 0; animation: leafFall linear infinite; }
.leaf svg { width: 100%; height: auto; fill: #95c1e5; }
.leaf:nth-child(3n) svg { fill: #2b8ced; }
.leaf:nth-child(4n) svg { fill: rgba(255,255,255,.75); }
.leaf.l1 { left: 6%;  animation-duration: 14s; animation-delay: 0s;  width: 12px; }
.leaf.l2 { left: 15%; animation-duration: 18s; animation-delay: 3s;  width: 16px; }
.leaf.l3 { left: 27%; animation-duration: 15s; animation-delay: 7s;  width: 10px; }
.leaf.l4 { left: 38%; animation-duration: 20s; animation-delay: 1s;  width: 14px; }
.leaf.l5 { left: 49%; animation-duration: 16s; animation-delay: 9s;  width: 11px; }
.leaf.l6 { left: 60%; animation-duration: 19s; animation-delay: 4s;  width: 17px; }
.leaf.l7 { left: 70%; animation-duration: 13s; animation-delay: 6s;  width: 12px; }
.leaf.l8 { left: 80%; animation-duration: 17s; animation-delay: 2s;  width: 15px; }
.leaf.l9 { left: 89%; animation-duration: 21s; animation-delay: 8s;  width: 10px; }
.leaf.l10{ left: 95%; animation-duration: 15s; animation-delay: 11s; width: 13px; }
@keyframes leafFall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .9; }
  25%  { transform: translate(40px, 25vh) rotate(90deg); }
  50%  { transform: translate(-20px, 50vh) rotate(200deg); }
  75%  { transform: translate(50px, 75vh) rotate(280deg); }
  90%  { opacity: .7; }
  100% { transform: translate(0, 105vh) rotate(380deg); opacity: 0; }
}
.page-hero .leaf { animation-name: leafFallShort; }
@keyframes leafFallShort {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  12%  { opacity: .9; }
  50%  { transform: translate(-30px, 200px) rotate(180deg); }
  88%  { opacity: .6; }
  100% { transform: translate(20px, 420px) rotate(360deg); opacity: 0; }
}
.hero-art .logo-card { animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-14px); } }

/* Animated headline accent + entrance */
.hero h1, .hero .lead, .hero .eyebrow, .hero .hero-actions, .hero .breadcrumbs { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { animation-delay: .12s; }
.hero .hero-actions { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rotator { display: inline-block; color: #bfe0ff; border-right: 3px solid rgba(255,255,255,.8); padding-right: 4px; white-space: nowrap; animation: caret .8s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }

@media (prefers-reduced-motion: reduce) {
  .hero, .blob, .leaf, .hero-art .logo-card, .rotator { animation: none !important; }
  .leaves { display: none; }
}
.rotate-line { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: #fff; margin: -4px 0 18px; min-height: 1.6em; animation: heroIn .9s .06s cubic-bezier(.2,.7,.2,1) both; }
/* IJDIIC card: indigo, a blue-leaning purple that sits beside the brand blue */
.journal-card.alt .journal-top { background: radial-gradient(520px 230px at 100% 0%, rgba(149,193,229,.40), transparent 60%), linear-gradient(135deg, #1e1b5e 0%, #3d3a9e 50%, #5b6ee1 100%); }
.journal-card.alt .editors li::before { background: #5b6ee1; }
.journal-card.alt .tags li { background: #eef0fc; color: #3d3a9e; }
.journal-card.alt .btn-primary { background: #5b6ee1; box-shadow: 0 6px 18px rgba(91,110,225,.35); }
.journal-card.alt .btn-primary:hover { background: #4a5bd0; }
.journal-card.alt .btn-outline { border-color: #5b6ee1; color: #3d3a9e; }
.journal-card.alt .btn-outline:hover { background: #eef0fc; }
