/* ============================================================
   Federal Polytechnic, Ugep — Journal of Innovative Research
   Homepage rebrand (2026)
   Design system: deep navy + academic blue, premium editorial.
   ============================================================ */

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --navy:      #062B49;
  --navy-2:    #082B49;
  --navy-deep: #041D31;
  --blue:      #0879D9;
  --blue-600:  #0666BD;
  --blue-050:  #E8F3FD;
  --ink:       #17242F;
  --ink-2:     #4A5B6C;
  --ink-3:     #71818F;
  --line:      #E4EAF1;
  --line-2:    #D5DEE8;
  --gray:      #F5F7FA;
  --white:     #FFFFFF;
  --green:     #16A05D;
  --orange:    #E8833A;
  --purple:    #6D5AE6;

  --sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  --shell: 1220px;
  --pad:   clamp(20px, 5vw, 48px);
  --ease:  cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 1px 2px rgba(6, 43, 73, .06), 0 4px 14px rgba(6, 43, 73, .06);
  --shadow-md: 0 8px 20px rgba(6, 43, 73, .08), 0 22px 44px rgba(6, 43, 73, .10);
  --radius:   14px;
}

/* ── Base / reset (scoped to homepage) ───────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.home {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(body.home img) { max-width: 100%; display: block; }
:where(body.home a) { color: inherit; text-decoration: none; }
:where(body.home h1), :where(body.home h2), :where(body.home h3), :where(body.home h4) {
  margin: 0;
  color: inherit;
}
:where(body.home p) { margin: 0; }
:where(body.home ul), :where(body.home ol) { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue); color: var(--white); }

/* ── Layout helpers ──────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(64px, 9vw, 116px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker::before { content: ''; width: 30px; height: 2px; background: var(--blue); border-radius: 2px; }
.kicker-light { color: #8FD0FF; }
.kicker-light::before { background: #8FD0FF; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--ink);
  margin-top: 12px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.link-more i { transition: transform .3s var(--ease); }
.link-more:hover i { transform: translateX(4px); }
.section-sub { color: var(--ink-2); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn-sm { padding: 11px 18px; font-size: .84rem; border-radius: 9px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(8, 121, 217, .25); }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(8, 121, 217, .32); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ── Skip link / flash ───────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  font-size: .85rem;
}
.skip-link:focus { left: 0; }

.flash {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 400;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.flash-success { background: var(--green); }
.flash-error { background: #D64545; }

/* ── Header / navigation ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 43, 73, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 80px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: .96rem;
  letter-spacing: .01em;
  color: var(--navy);
}
.brand-text span { font-size: .68rem; font-weight: 600; color: var(--ink-2); }
.brand-text em {
  font-style: normal;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.primary-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.primary-nav a {
  position: relative;
  padding: 9px 9px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a.is-active { color: var(--blue); font-weight: 600; }
.primary-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--white);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-050); }
.login-link { font-size: .88rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.login-link:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px var(--pad) 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.is-active { color: var(--blue); font-weight: 600; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(6px) saturate(1.06);
  transform: scale(1.08);
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(6, 43, 73, .97) 0%,
    rgba(6, 43, 73, .90) 42%,
    rgba(6, 43, 73, .58) 72%,
    rgba(6, 43, 73, .38) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(56px, 8vw, 108px);
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #8FD0FF;
}
.hero-label::before { content: ''; width: 34px; height: 2px; background: var(--blue); border-radius: 2px; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 18px 0 20px;
  color: #fff;
}
.hero-title em { font-style: normal; color: #5EB6FF; }
.hero-lede {
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ── Hero book stack ─────────────────────────────────────── */
.hero-books { position: relative; width: 560px; max-width: 100%; height: 360px; margin-inline: auto; }
.book {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148px;
  height: 208px;
  border-radius: 5px 12px 12px 5px;
  padding: 16px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-image: var(--cover-grad, linear-gradient(160deg, #0A3B63, #062B49));
  box-shadow: 0 24px 48px rgba(4, 29, 49, .45);
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--r, 0deg));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.book::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: rgba(4, 29, 49, .38);
  border-radius: 5px 0 0 5px;
}
.book::after {
  content: '';
  position: absolute;
  right: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .35);
}
.book:hover {
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px) - 12px)) rotate(var(--r, 0deg));
  box-shadow: 0 30px 60px rgba(4, 29, 49, .55);
}
.book-brand { font-size: .55rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.book-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 1rem; }
.book-title { font-family: var(--display); font-size: 1.04rem; font-weight: 700; line-height: 1.2; }
.book-label { font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.book-0 { --x: -188px; --y: 10px; --r: -7deg; z-index: 1; }
.book-1 { --x: -95px;  --y: 3px;  --r: -3.5deg; z-index: 2; }
.book-2 { --x: 0px;    --y: -7px; --r: 0deg; z-index: 3; }
.book-3 { --x: 95px;   --y: 3px;  --r: 3.5deg; z-index: 4; }
.book-4 { --x: 188px;  --y: 10px; --r: 7deg; z-index: 5; }

/* ── Journal cover tones ─────────────────────────────────── */
.tone-navy   { --cover-grad: linear-gradient(160deg, #0A3B63 0%, #062B49 100%); }
.tone-blue   { --cover-grad: linear-gradient(160deg, #2E9BFF 0%, #0879D9 100%); }
.tone-green  { --cover-grad: linear-gradient(160deg, #3BC98A 0%, #16A05D 100%); }
.tone-orange { --cover-grad: linear-gradient(160deg, #F5A864 0%, #E8833A 100%); }
.tone-purple { --cover-grad: linear-gradient(160deg, #9B8BF3 0%, #6D5AE6 100%); }

/* ── Trust / value bar ───────────────────────────────────── */
.trust { background: var(--gray); border-block: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { position: relative; padding: 38px 28px; text-align: center; }
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  width: 1px;
  background: var(--line-2);
}
.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.trust-title { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.trust-text { font-size: .84rem; color: var(--ink-2); line-height: 1.55; }

/* ── Featured journals ───────────────────────────────────── */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.journal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.journal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.jc-cover {
  position: relative;
  height: 180px;
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: var(--cover-grad, linear-gradient(160deg, #0A3B63, #062B49));
  background-size: cover;
  background-position: center;
}
.jc-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 29, 49, 0) 35%, rgba(4, 29, 49, .5) 100%);
}
.jc-brand, .jc-icon, .jc-cover-title { position: relative; z-index: 1; }
.jc-brand { font-size: .55rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.jc-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.jc-cover-title { font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.22; }

.jc-body { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.jc-title { font-family: var(--display); font-size: 1.04rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.jc-title a { color: inherit; transition: color .2s var(--ease); }
.jc-title a:hover { color: var(--blue); }
.jc-desc { font-size: .85rem; color: var(--ink-2); line-height: 1.6; flex: 1; }
.jc-link { font-size: .82rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.jc-link i { transition: transform .3s var(--ease); }
.jc-link:hover i { transform: translateX(3px); }

/* ── Recently published articles ─────────────────────────── */
.recent-articles { background: var(--gray); border-block: 1px solid var(--line); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.ac-top { display: flex; flex-direction: column; gap: 10px; }
.ac-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--blue-050);
  color: var(--blue);
}
.ac-title { font-family: var(--display); font-size: 1.08rem; font-weight: 700; line-height: 1.32; color: var(--ink); }
.ac-title a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.ac-title a:hover { color: var(--blue); }
.ac-byline { font-size: .8rem; color: var(--ink-2); line-height: 1.5; }
.ac-excerpt { font-size: .88rem; color: var(--ink-2); line-height: 1.65; flex: 1; }
.ac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .76rem;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ac-meta i { color: var(--blue); margin-right: 4px; }
.ac-link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ac-link i { transition: transform .3s var(--ease); }
.ac-link:hover i { transform: translateX(3px); }

@media (max-width: 1000px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .articles-grid { grid-template-columns: 1fr; } }

/* ── Global impact ───────────────────────────────────────── */
.impact {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 110px);
}
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  opacity: .6;
  pointer-events: none;
}
.impact-map {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: min(660px, 62%);
  opacity: .55;
  pointer-events: none;
}
.impact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.impact-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: #fff;
  margin: 16px 0 18px;
}
.impact-lede { font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 480px; }
.impact-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.impact-num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.impact-label { display: block; margin-top: 8px; font-size: .86rem; color: rgba(255, 255, 255, .6); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .76); }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 56px;
  padding-block: 76px 52px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255, 255, 255, .68); }
.footer-brand .brand-text em { color: rgba(255, 255, 255, .45); }
.footer-about {
  margin-top: 22px;
  max-width: 400px;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}

.footer-cols { display: grid; grid-template-columns: 1.1fr .9fr 1.3fr; gap: 44px; }
.footer-col h4 { font-family: var(--display); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col > a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .66);
  transition: color .2s var(--ease);
}
.footer-col > a:hover { color: #fff; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .72);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-nl-text { font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.footer-newsletter { display: flex; gap: 10px; }
.footer-newsletter input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
}
.footer-newsletter input::placeholder { color: rgba(255, 255, 255, .4); }
.footer-newsletter input:focus { outline: none; border-color: var(--blue); }
.footer-newsletter button {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.footer-newsletter button:hover { background: var(--blue-600); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .52);
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: rgba(255, 255, 255, .52); transition: color .2s var(--ease); }
.footer-bottom-links a:hover { color: #fff; }

/* ── Scroll reveal ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1140px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 9px 7px; font-size: .8rem; }
  .login-link { display: none; }
}

@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .header-actions .icon-btn:first-child { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-books { height: 300px; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(4)::before { display: none; }
  .trust-item + .trust-item::before { display: block; }
  .trust-item:nth-child(3n + 1)::before { display: none; }

  .journals-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  .header-actions .btn-navy { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item + .trust-item::before { display: block; }
  .trust-item:nth-child(3n + 1)::before { display: block; }
  .trust-item:nth-child(2n + 1)::before { display: none; }
  .journals-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero-books { display: none; }
  .journals-grid { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-newsletter { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .book, .journal-card, .btn, .link-more i, .jc-link i { transition: none; }
}
