/* ============================================================
   ZerothGen — Main Website
   Light & airy emerald-white design system
   ============================================================ */

:root {
  --emerald-950: #0d2f26;
  --emerald-900: #173a31;
  --emerald-800: #1e4d3f;
  --emerald-700: #0f766e;
  --emerald-600: #0d9488;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --seafoam: #e0efe9;
  --seafoam-soft: #eff6f2;
  --gold: #c9b079;
  --gold-soft: #f4ecdc;
  --ink: #0f172a;
  --slate: #526170;
  --line: #e3e9ef;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--emerald-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--emerald-500); }
h1, h2, h3, h4, h5 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-alt { background: var(--seafoam-soft); }
.section-seafoam { background: linear-gradient(180deg, #ffffff 0%, var(--seafoam-soft) 100%); }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-700);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.section-head .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--slate); }
.lead { color: var(--slate); font-size: 1.1rem; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--emerald-700); color: #fff; box-shadow: 0 6px 20px rgba(15, 118, 110, .3); }
.btn-primary:hover { background: var(--emerald-900); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 118, 110, .35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--emerald-500); color: var(--emerald-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--emerald-950); }
.btn-gold:hover { background: #b9a26a; color: var(--emerald-950); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .65rem; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--emerald-950); letter-spacing: -0.02em; }
.brand img { height: 34px; width: auto; }
.brand span { color: var(--emerald-900); }
.brand span em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .5rem .9rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--slate);
}
.nav-links a:hover { color: var(--emerald-700); background: var(--seafoam-soft); }
.nav-links a.active { color: var(--emerald-900); background: var(--seafoam); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 1.5rem;
    gap: .25rem; transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-bg::before { width: 560px; height: 560px; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 65%); top: -140px; right: -80px; }
.hero-bg::after { width: 460px; height: 460px; background: radial-gradient(circle, rgba(201,176,121,.18), transparent 65%); bottom: -160px; left: -100px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin: 1rem 0 1.1rem; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--emerald-700), var(--emerald-500) 55%, var(--emerald-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.25rem; color: var(--slate); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; stroke: var(--emerald-600); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.6rem; backdrop-filter: blur(6px);
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.hero-card-top strong { font-family: 'Sora', sans-serif; font-size: .95rem; }
.hero-card-top .chip { font-size: .72rem; font-weight: 700; color: var(--emerald-800); background: var(--seafoam); padding: .25rem .6rem; border-radius: 999px; }
.bars { display: flex; flex-direction: column; gap: .7rem; }
.bar { display: grid; grid-template-columns: 26% 1fr auto; gap: .75rem; align-items: center; font-size: .82rem; color: var(--slate); }
.bar .track { height: 8px; background: var(--seafoam-soft); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400)); width: 0; transition: width 1.2s var(--ease); }
.bar .fill.gold { background: linear-gradient(90deg, #b9a26a, var(--gold)); }
.hero-float { position: absolute; display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; color: var(--emerald-900); }
.hero-float svg { width: 18px; height: 18px; stroke: var(--emerald-600); }
.hero-float.f1 { top: -18px; left: -22px; animation: floaty 5s ease-in-out infinite; }
.hero-float.f2 { bottom: 26px; right: -18px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-float.f1 { left: -6px; }
  .hero-float.f2 { right: -6px; }
}

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.25rem 0; }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; color: var(--emerald-900); letter-spacing: -0.03em; }
.stat .num sup { font-size: 1rem; color: var(--gold); }
.stat .label { color: var(--slate); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(15, 118, 110, .35); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--seafoam); color: var(--emerald-700); margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .95rem; margin-bottom: 0; }
.card .card-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; }
.card .card-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 7vw, 5rem); }
.feature-row.flip > div:first-child { order: 2; }
.feature-row .feature-body h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.feature-row .feature-body ul li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; color: var(--slate); }
.feature-row .feature-body ul li svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; stroke: var(--emerald-600); }
.feature-panel { border-radius: var(--radius); padding: 2rem; background: linear-gradient(160deg, var(--seafoam) 0%, var(--seafoam-soft) 100%); border: 1px solid rgba(224, 239, 233, .9); }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip > div:first-child { order: 0; }
}

/* ---------- Badges / chips ---------- */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 999px; }
.badge-emerald { background: var(--seafoam); color: var(--emerald-800); }
.badge-gold { background: var(--gold-soft); color: #8a6d2f; }
.badge-slate { background: var(--seafoam-soft); color: var(--slate); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Publications ---------- */
.pub-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.pub-filters button {
  border: 1px solid var(--line); background: #fff; color: var(--slate); border-radius: 999px;
  padding: .5rem 1.1rem; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: all .25s var(--ease);
}
.pub-filters button:hover { border-color: var(--emerald-500); color: var(--emerald-700); }
.pub-filters button.active { background: var(--emerald-700); border-color: var(--emerald-700); color: #fff; }
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pub-card { display: flex; flex-direction: column; }
.pub-card .badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.pub-card h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.35; }
.pub-card .authors { color: var(--slate); font-size: .9rem; margin-bottom: .5rem; }
.pub-card .journal { color: var(--emerald-700); font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.pub-card .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--slate); }
@media (max-width: 900px) { .pub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pub-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 2rem 1.5rem; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--emerald-600), var(--emerald-800));
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 118, 110, .28);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.team-card .role { color: var(--emerald-700); font-weight: 600; font-size: .85rem; margin-bottom: .6rem; }
.team-card p { color: var(--slate); font-size: .9rem; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; }
.news-card .date { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--slate); margin-bottom: .8rem; }
.news-card .date svg { width: 15px; height: 15px; stroke: var(--gold); }
.news-card h3 { font-size: 1.08rem; }
.news-card .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-700); background: var(--seafoam); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem; display: inline-block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(120deg, var(--emerald-950), var(--emerald-800) 60%, var(--emerald-700));
  padding: clamp(2.5rem, 6vw, 4rem); color: #fff; text-align: center;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(16,185,129,.4), transparent 55%); }
.cta-banner .inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-banner p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.cta-banner .btn { margin-top: .5rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--seafoam-soft), #fff); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .75rem; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: .85rem; color: var(--slate); margin-bottom: 1rem; }
.breadcrumb a { color: var(--emerald-700); }
.breadcrumb a:hover { color: var(--emerald-500); }
.breadcrumb span { color: var(--slate); margin: 0 .35rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--gold);
  position: absolute; top: 0; left: 0;
}
.step h4 { font-size: 1.05rem; }
.step p { color: var(--slate); font-size: .92rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--seafoam); color: var(--emerald-700); }
.contact-item .ic svg { width: 22px; height: 22px; stroke: currentColor; }
.contact-item h4 { font-size: .95rem; margin-bottom: .1rem; }
.contact-item p { color: var(--slate); margin: 0; font-size: .95rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.form-group .req { color: var(--emerald-600); }
.form-input, .form-textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .14); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--slate); margin-top: .75rem; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .95rem; }
.alert-success { background: var(--seafoam); color: var(--emerald-900); border: 1px solid rgba(15, 118, 110, .25); }
.alert-error { background: #fdecea; color: #8f2d22; border: 1px solid rgba(143, 45, 34, .2); }
.alert-info { background: var(--gold-soft); color: #7a5f20; border: 1px solid rgba(201, 176, 121, .35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-950); color: rgba(255, 255, 255, .72); padding: clamp(3rem, 7vw, 5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid .brand { color: #fff; margin-bottom: 1rem; }
.footer-grid .brand span { color: #fff; }
.footer-grid .brand span em { color: var(--gold); }
.footer-links a { display: block; color: rgba(255, 255, 255, .72); padding: .3rem 0; font-size: .95rem; }
.footer-links a:hover { color: var(--emerald-300); }
.footer-grid p { font-size: .95rem; }
.socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { background: var(--emerald-600); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; font-size: .88rem; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Journals ---------- */
.journal-card { display: flex; flex-direction: column; }
.journal-card-head { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.journal-sub { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--emerald-800); margin-bottom: .75rem; }
.journal-points { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.journal-points li { display: flex; gap: .6rem; align-items: flex-start; color: var(--slate); font-size: .95rem; }
.journal-points svg { width: 18px; height: 18px; flex: none; stroke: var(--emerald-600); margin-top: .15rem; }
.journals-more { text-align: center; color: var(--slate); margin-top: 2.5rem; font-size: .95rem; }

/* Journal detail (OMNISCERA) */
.journal-masthead { display: flex; flex-direction: column; gap: 1.25rem; }
.journal-masthead .kicker { margin-bottom: .5rem; }
.journal-masthead h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: .6rem; }
.journal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--slate); font-size: .92rem; }
.journal-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.journal-meta svg { width: 16px; height: 16px; stroke: var(--emerald-600); }
.journal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.aims-list { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.aims-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate); font-size: .95rem; }
.aims-list svg { width: 18px; height: 18px; flex: none; stroke: var(--emerald-600); margin-top: .15rem; }
.editor-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.editor-row:last-child { border-bottom: 0; }
.editor-avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--seafoam); color: var(--emerald-700); display: grid; place-items: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; }
.editor-row h4 { font-size: 1rem; margin-bottom: .1rem; }
.editor-row .role { font-size: .82rem; color: var(--emerald-700); font-weight: 600; }
.editor-row p { color: var(--slate); font-size: .92rem; margin: .2rem 0 0; }
.journal-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.journal-info-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.journal-info-item .ic { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--seafoam); color: var(--emerald-700); }
.journal-info-item .ic svg { width: 20px; height: 20px; stroke: currentColor; }
.journal-info-item h4 { font-size: .95rem; margin-bottom: .15rem; }
.journal-info-item p { color: var(--slate); font-size: .88rem; margin: 0; }
@media (max-width: 640px) { .journal-info-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- 404 ---------- */
.error-wrap { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-code { font-family: 'Sora', sans-serif; font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--emerald-700), var(--emerald-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-wrap h1 { margin: 1rem 0 .5rem; }
.error-wrap p { color: var(--slate); max-width: 480px; margin: 0 auto 1.75rem; }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--emerald-700); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid rgba(16, 185, 129, .5); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}