/* ==========================================================================
   Luminous Insights — CSC-structured homepage (LOCAL PROTOTYPE, not deployed)
   Structure/density: CSC Global homepage (see ../../CSC-AUDIT.md)
   Brand: LI tokens (mirrors li-color-system.css values), Literata / Source Sans 3 / Nunito Sans
   ========================================================================== */

:root {
  /* LI tokens (same values as li-color-system.css) */
  --li-navy-900: #0A2A36;
  --li-navy-800: #0F3A4A;
  --li-navy-700: #1A5568;
  --li-teal-700: #216670;
  --li-teal-600: #2A6F79;
  --li-teal-500: #378F9B;
  --li-teal-300: #7EB8C2;
  --li-teal-200: #B9D4DB;
  --li-teal-100: #D5E3E6;
  --li-teal-50:  #F0F6F7;
  --li-coral-600: #D97866;
  --li-coral-500: #E98C7B;
  --li-coral-400: #F0A799;
  --li-ink-900: #121F24;
  --li-ink-800: #1A2B30;
  --li-ink-700: #3A4A50;
  --li-ink-600: #4A5C62;
  --li-ink-500: #64747A;
  --li-page-50: #FAFCFC;
  --li-page-100: #F3F8F9;

  --li-font-ui: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --li-font-nav: "Nunito Sans", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --li-font-head: "Nunito Sans", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --li-font-scholar: "Literata", Georgia, "Times New Roman", serif;

  /* CSC-style gradient vocabulary, translated to LI colours */
  --g-navyteal: linear-gradient(90deg, var(--li-navy-800), var(--li-teal-600));
  --g-navyteal-v: linear-gradient(180deg, #14566c, var(--li-navy-800));
  --g-coral: linear-gradient(90deg, #C9604E 0%, var(--li-coral-500) 55%, var(--li-coral-400) 100%);
  --g-coral-bar: linear-gradient(90deg, var(--li-coral-600), var(--li-coral-400));
  --g-mist: linear-gradient(90deg, var(--li-teal-500), var(--li-teal-200));
  --g-logo: linear-gradient(90deg, var(--li-coral-500), var(--li-teal-600));

  --bar-h: 80px;
  --wrap: 1440px;      /* same as .hdr__bar max-width — header + page content share one width */
  --gutter: 1.3rem;    /* same as .hdr__bar side padding */
  --radius: 12px;
  --shadow-card: 0 10px 30px rgba(10, 42, 54, .10);
  --hair: #dcddde;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: var(--li-font-ui);
  font-size: 1.125rem;       /* 18px — CSC body */
  line-height: 1.5;          /* 27px */
  color: var(--li-ink-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { font-family: var(--li-font-ui); color: var(--li-teal-700); text-decoration: none; }
a:hover { color: var(--li-navy-800); }
h1, h2, h3, h4 { font-family: var(--li-font-head); color: var(--li-navy-800); margin: 0; font-weight: 800; }
h3 a, h4 a { font-family: inherit; color: inherit; }   /* title-link exception */
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--li-navy-800); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--li-teal-500); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons (CSC: pills only, 1.6px border, uppercase) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .6rem 1.9rem;
  font-family: var(--li-font-ui); font-size: 1.0625rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--li-navy-800); background: #fff; border: 1.6px solid var(--li-navy-800); border-radius: 999px;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover, .pill:focus-visible { background: var(--li-navy-800); color: #fff; }
.pill .icon { width: 1.25rem; height: 1.25rem; color: var(--li-teal-500); }
.pill:hover .icon { color: #fff; }
.pill--solid { background: var(--li-navy-800); color: #fff; }
.pill--solid:hover { background: var(--li-teal-700); border-color: var(--li-teal-700); }
.pill--light { background: transparent; color: #fff; border-color: #fff; }
.pill--light:hover { background: #fff; color: var(--li-navy-800); }
.pill--ghost { border-color: var(--hair); color: var(--li-navy-800); min-height: 44px; }
.pill--ghost:hover { background: var(--li-teal-50); color: var(--li-navy-800); border-color: var(--li-teal-300); }
.pill--ghost .icon { color: var(--li-teal-500); }
.pill--ghost:hover .icon { color: var(--li-teal-700); }

/* Section accent bar above every H2 (CSC signature) */
.bar { display: block; width: 110px; height: 6px; border-radius: 0; margin-bottom: 1.25rem; background: var(--li-teal-500); }
.bar--logo { background: var(--g-logo); }
.bar--coral { background: var(--g-coral-bar); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.2; letter-spacing: -.005em; }

/* ---------- Site notice (matches live) ---------- */
.notice { position: relative; background: var(--li-teal-50); color: var(--li-ink-700); font-size: .9375rem; line-height: 1.4; border-bottom: 1px solid var(--li-teal-100); }
.notice .wrap { display: flex; gap: 1rem; align-items: center; padding-top: .6rem; padding-bottom: .6rem; }
.notice p { margin: 0; flex: 1; }
.notice button { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--li-ink-600); cursor: pointer; padding: .1rem .5rem; }

/* ==========================================================================
   HEADER (80px white bar, soft teal shadow, Nunito Sans uppercase nav)
   ========================================================================== */
.hdr { position: sticky; top: 0; z-index: 1000; background: #fff;
  box-shadow: 0 1px 1px rgba(42,111,121,.10), 0 12px 28px -6px rgba(42,111,121,.22); }
.hdr__bar { position: relative; display: flex; align-items: center; gap: 1.1rem; max-width: var(--wrap); margin: 0 auto; height: var(--bar-h); padding: 0 var(--gutter); font-family: var(--li-font-nav); }
.brand { display: block; flex: none; margin-right: 1.2rem; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: stretch; height: var(--bar-h); }
.nav__item { display: flex; }
.nav__btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; height: 100%;
  padding: 0 1rem; margin: 0; border: 0; background: transparent; cursor: pointer;
  font-family: var(--li-font-nav); font-size: 1.0625rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #54585a;
  transition: color .15s ease;
}
.nav__btn .icon { width: 1.35rem; height: 1.35rem; color: var(--li-teal-500); stroke-width: 2; transition: transform .2s ease; }
.nav__btn::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 5px; background: transparent; transition: background-color .15s ease; }
.nav__btn { white-space: nowrap; }
.nav__link { text-decoration: none; }
.nav__btn:hover { color: var(--li-navy-800); }
.nav__btn[aria-expanded="true"] { color: var(--li-navy-800); }
.nav__btn[aria-expanded="true"]::after { background: var(--li-teal-500); }
.nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.hdr__cta { margin-left: .3rem; min-height: 46px; padding: 0 1.6rem; font-family: var(--li-font-nav); font-weight: 700; font-size: 1rem; }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.hdr__icon-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--li-teal-500); cursor: pointer; font-size: 1.7rem; }
.hdr__icon-btn:hover { background: var(--li-teal-50); color: var(--li-navy-800); }
.hdr__div { width: 1px; height: 26px; background: #cfe0e4; }
.hdr__login { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--li-font-nav); font-size: 1rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--li-navy-800); }
.hdr__login .icon { width: 1.35rem; height: 1.35rem; color: var(--li-teal-500); stroke-width: 2; }
.hdr__login:hover { color: var(--li-teal-600); }
.hdr__burger { display: none; }

/* Mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; z-index: 5; width: min(920px, calc(100% - 2rem));
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 50px -14px rgba(10,42,54,.35), 0 0 0 1px rgba(10,42,54,.04);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  font-family: var(--li-font-ui);
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__tabs { display: flex; gap: 0; background: var(--li-page-100); padding: .6rem 1rem 0 2rem; border-bottom: 1px solid #e6eaec; }
.mega__tab { font-family: var(--li-font-nav); font-size: 1.0625rem; font-weight: 600; color: var(--li-ink-600); background: transparent; border: 1px solid transparent; border-bottom: 0; border-radius: .3rem .3rem 0 0; padding: .85rem 1.5rem .8rem; cursor: pointer; }
.mega__tab:hover { color: var(--li-navy-800); }
.mega__tab[aria-selected="true"] { background: #fff; color: var(--li-navy-800); font-weight: 800; border-top: 6px solid var(--li-teal-500); border-left-color: #e6eaec; border-right-color: #e6eaec; margin-bottom: -1px; padding-top: .65rem; }
.mega__body { display: grid; grid-template-columns: 1fr 292px; padding: 1.4rem 2rem 1.8rem; gap: 0; }
.mega__main { padding-right: 2rem; border-right: 1px solid #e3e8ea; display: flex; flex-direction: column; min-height: 250px; }
.mega__panel { display: none; flex: 1; flex-direction: column; }
.mega__panel.is-active { display: flex; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; align-content: start; flex: 1; }
.mega__list a { font-size: 1.0625rem; line-height: 1.3; color: var(--li-teal-700); font-weight: 500; }
.mega__list a:hover { color: var(--li-navy-800); text-decoration: underline; text-underline-offset: 3px; }
.mega__foot { display: flex; justify-content: center; margin-top: 1.25rem; }
.mega__rail { padding-left: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.mega__eyebrow { font-size: .9375rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #54585a; margin-bottom: .1rem; }
.mega__rail a { font-size: 1.0625rem; line-height: 1.3; font-weight: 500; }
.mega__rail hr { border: 0; border-top: 1px solid #e3e8ea; margin: .35rem 0; width: 100%; }
.mega__rail .pill { margin-top: auto; align-self: center; }

/* Mobile drawer */
.drawer { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; min-height: clamp(520px, 64vh, 640px); display: flex; align-items: center; background: #fff; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -3; background: url("../img/hero-publishing.jpg") center 45% / cover no-repeat; }
.hero__fade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(42,111,121,.20) 0, rgba(42,111,121,0) 90px),
    radial-gradient(ellipse 80% 78% at 50% 52%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 48%, rgba(255,255,255,.55) 78%, rgba(255,255,255,.30) 100%); }
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 3.2rem;
  padding-bottom: 4.5rem;
}
.hero__copy { max-width: 44rem; margin: 0 auto; }
.hero__kicker {
  margin: 0 0 .7rem;
  font-family: var(--li-font-nav);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--li-teal-700);
}
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 2.85rem); line-height: 1.08; letter-spacing: -.012em; font-weight: 900; margin: 0 0 1.75rem; }
.hero__lead,
.hero p.lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--li-ink-700);
  max-width: 52ch;
  margin: 1.5rem auto 0;
}
/* Hero search = primary focal action (larger / wider than copy) */
.search,
.hero__search {
  display: flex;
  align-items: center;
  width: min(100%, 56rem); /* ~896px long, centered scholarly search */
  max-width: none;
  background: #fff;
  border: 2px solid var(--li-navy-800);
  border-radius: 999px;
  padding: .45rem .45rem .45rem 1.75rem;
  margin: 0 auto;
  box-shadow:
    0 4px 6px -2px rgba(10,42,54,.12),
    0 22px 48px -14px rgba(10,42,54,.42);
}
.search input,
.hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(1.1875rem, 1.8vw, 1.375rem);
  line-height: 1.35;
  color: var(--li-ink-800);
  padding: .95rem 0;
}
.search input::placeholder,
.hero__search input::placeholder { color: var(--li-ink-500); }
.search input:focus,
.hero__search input:focus { outline: none; }
.search:focus-within,
.hero__search:focus-within {
  outline: 3px solid rgba(55,143,155,.45);
  outline-offset: 3px;
  border-color: var(--li-teal-700);
}
.search button,
.hero__search button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  cursor: pointer;
  background: var(--li-navy-800);
  color: #fff;
  border-radius: 999px;
  min-height: 56px;
  padding: 0 1.7rem;
  font-family: var(--li-font-ui);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background-color .15s;
}
.search button:hover,
.hero__search button:hover { background: var(--li-teal-700); }
.search button .icon,
.hero__search button .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.25; }
.hero__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.4rem; margin-top: 1.5rem; }
.hero__links .link-arrow { font-weight: 600; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: 1rem; color: var(--li-teal-700); }
.link-arrow .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; transition: transform .15s; }
.link-arrow:hover { color: var(--li-navy-800); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   STICKY PAGE NAV (white w/ icons → navy bar with teal underline when stuck)
   Keep all items (5+, incl. future Video/Shorts) on one row — never wrap.
   Tighten spacing so they fit at desktop/tablet; horizontal scroll only if needed.
   ========================================================================== */
.pnav {
  position: sticky;
  top: calc(var(--bar-h) - 1px);
  z-index: 900;
  --pnav-h: 110px;          /* resting height  (read by li-csc-home.js to aim nav-link scrolls) */
  --pnav-h-stuck: 50px;     /* height once stuck under the header */
  height: var(--pnav-h);
  background: #fff;
  transition: height .35s ease, background-color .35s ease;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pnav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, rgba(42,111,121,.16), rgba(42,111,121,0)); pointer-events: none; transition: opacity .3s; z-index: 1; }
.pnav__list {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 100%;
  width: 100%;
  max-width: var(--wrap);
  min-width: max-content;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pnav__link {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .4rem;
  white-space: nowrap;
  font-family: var(--li-font-nav);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--li-ink-700);
  transition: color .3s;
}
.pnav__link + .pnav__link::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: #dfe5e7; transition: opacity .3s; }
.pnav__link .icon { width: 1.9rem; height: 1.9rem; flex-shrink: 0; stroke-width: 1.4; color: var(--li-teal-600); transition: width .3s, height .3s, opacity .3s; }
.pnav__link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 5px; border-radius: 3px; background: var(--li-teal-300); transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .35s ease, opacity .2s; }
.pnav__link.is-active { color: var(--li-navy-800); }
.pnav.is-stuck { height: var(--pnav-h-stuck); background: var(--g-navyteal-v); box-shadow: 0 8px 20px -10px rgba(10,42,54,.5); }
.pnav.is-stuck::before { opacity: 0; }
.pnav.is-stuck .pnav__link { color: rgba(255,255,255,.85); font-size: .875rem; }
.pnav.is-stuck .pnav__link .icon { width: 0; height: 0; opacity: 0; margin-right: -.5rem; }
.pnav.is-stuck .pnav__link + .pnav__link::before { opacity: 0; }
.pnav.is-stuck .pnav__link.is-active { color: #fff; }
.pnav.is-stuck .pnav__link::after { opacity: 1; background: var(--li-teal-300); bottom: 0; }
.pnav.is-stuck .pnav__link.is-active::after { transform: scaleX(1); }
.pnav__link:hover { color: var(--li-navy-800); }
.pnav.is-stuck .pnav__link:hover { color: #fff; }

/* Roomier type when the bar has space (wide desktop) */
@media (min-width: 1280px) {
  .pnav__link { font-size: 1.0625rem; gap: .65rem; padding: 0 .55rem; }
  .pnav__link .icon { width: 2.2rem; height: 2.2rem; }
  .pnav.is-stuck .pnav__link { font-size: 1rem; }
}

/* ==========================================================================
   BANDS — gradient band + inset white card (CSC rhythm)
   ========================================================================== */
.band { position: relative; padding: 51px var(--gutter); }
.band--coral { background: var(--g-coral); }
.band--mist { background: var(--g-mist); }
.band--navyteal { background: var(--g-navyteal); }
.card { width: 100%; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; background: #fff; border-radius: var(--radius); }

/* --- Journals (CSC "Solutions") --- */
.journals__head { padding: 3.1rem 3.7rem 2.4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.journals__head p { margin: .7rem 0 0; color: var(--li-ink-700); max-width: 52ch; }
.journals__head .journals__lede { margin-top: .9rem; max-width: 64ch; font-family: var(--li-font-ui, "Source Sans 3", system-ui, sans-serif); font-size: 1.1875rem; font-weight: 600; line-height: 1.45; color: var(--li-teal-700); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.4rem 1.5rem 2.2rem; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transition: background-color .2s; }
.tile:nth-child(3n) { border-right: 0; }
.tile:nth-last-child(-n+3) { border-bottom: 0; }
.tile__cover { height: 190px; width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: none; transition: transform .25s ease; }
.tile h3 { margin-top: 1.5rem; font-size: 1.5rem; line-height: 1.25; padding: 0 .5rem; transition: color .15s; }
.tile__meta { margin-top: .55rem; font-size: .9375rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--li-ink-500); }
.tile__meta span { color: var(--li-coral-600); }
.tile a.stretch { position: absolute; inset: 0; z-index: 1; border-radius: 0; }
.tile:hover { background: var(--li-page-50); }
.tile:hover .tile__cover { transform: translateY(-6px); }
.tile:hover h3 { color: var(--li-teal-700); }
.journals__foot { display: flex; justify-content: center; padding: 1.8rem 1rem 2.4rem; border-top: 1px solid var(--hair); }

/* --- Our products (external tools: ManuscriptGate, SEMGate) --- */
.products__head { padding: 3.1rem 3.7rem 2.4rem; }
.products__head p { margin: .7rem 0 0; color: var(--li-ink-700); max-width: 52ch; }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair); }
.product { position: relative; display: flex; align-items: flex-start; gap: 1.4rem; padding: 2.4rem 3.7rem 2.6rem; border-right: 1px solid var(--hair); transition: background-color .2s; }
.product:last-child { border-right: 0; }
.product:hover { background: var(--li-page-50); }
.product__mark { flex: none; width: 4.5rem; height: 4.5rem; display: grid; place-items: center; }
.product__mark img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product h3 { font-size: 1.5rem; line-height: 1.25; transition: color .15s; }
.product__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product:hover h3 { color: var(--li-teal-700); }
.product p { margin: .55rem 0 1rem; color: var(--li-ink-700); font-size: 1.0625rem; line-height: 1.5; max-width: 46ch; }
.product__go { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--li-font-ui); font-weight: 600; letter-spacing: .03em; font-size: 1rem; color: var(--li-teal-700); }
.product__go .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; transition: transform .15s; }
.product:hover .product__go .icon { transform: translateX(4px); }

/* --- Partnership (editors / societies CTA; class names kept as .transfer*) --- */
.transfer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding: 3.6rem 3.7rem; }
.transfer__kicker { margin: 0 0 .65rem; font-family: var(--li-font-nav); font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--li-teal-700); }
.transfer__lead { font-family: var(--li-font-scholar); font-size: 1.1875rem; line-height: 1.65; color: var(--li-ink-800); margin: 1.4rem 0 2.1rem; max-width: 56ch; }
.transfer__points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.transfer__points li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--hair); }
.transfer__ico { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--li-teal-50); color: var(--li-teal-700); }
.transfer__ico .icon { width: 1.4rem; height: 1.4rem; }
.transfer__points h3 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .3rem; color: var(--li-navy-800); }
.transfer__points p { margin: 0; color: var(--li-ink-700); font-size: 1.0625rem; line-height: 1.5; }

/* --- Numbers (CSC "Our expertise and scale") --- */

/* --- Latest research carousel --- */
.latest { padding: 3.4rem 0 2.8rem; overflow: hidden; }
.latest__head { padding: 0 3.7rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.latest__lede { margin: .7rem 0 0; color: var(--li-ink-700); max-width: 48ch; font-size: 1.0625rem; }
.latest__ctrl { display: flex; align-items: center; gap: .6rem; }
.circ { width: 48px; height: 48px; border-radius: 50%; border: 1.6px solid var(--hair); background: #fff; color: var(--li-navy-800); display: grid; place-items: center; cursor: pointer; font-size: 1.3rem; transition: background-color .15s, border-color .15s, color .15s; }
.circ:hover:not(:disabled) { background: var(--li-navy-800); color: #fff; border-color: var(--li-navy-800); }
.circ:disabled { opacity: .35; cursor: default; }
.circ .icon { stroke-width: 2; }
.track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .6rem 3.7rem 1.6rem; scroll-padding-left: 3.7rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 292px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 8px; padding: 0; }
.slide--text { background: #fff; border: none; box-shadow: var(--shadow-card); padding: 1.7rem 1.6rem 1.5rem; min-height: 100%; }
.slide__eyebrow { display: flex; justify-content: space-between; gap: .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #54585a; margin-bottom: .8rem; }
.slide__eyebrow .t { color: var(--li-coral-600); }
.slide h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 800; }
.slide--text h3 { font-family: var(--li-font-scholar); font-weight: 700; font-size: 1.1875rem; line-height: 1.38; letter-spacing: -.003em; }
.slide h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.slide:hover h3 { color: var(--li-teal-700); }
.slide__author { margin-top: .9rem; font-size: 1rem; color: var(--li-ink-600); }
.slide__go { margin-top: auto; padding-top: 1.2rem; }
.slide__go span { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: 1rem; color: var(--li-teal-700); }
.slide__go .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; transition: transform .15s; }
.slide:hover .slide__go .icon { transform: translateX(4px); }
.rail { height: 4px; margin: .4rem 3.7rem 0; background: #e6eaec; border-radius: 4px; overflow: hidden; }
.rail__thumb { height: 100%; width: 30%; background: var(--li-teal-500); border-radius: 4px; transform: translateX(0); transition: transform .12s linear; }
.latest__foot { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: 2rem 1rem 0; }

/* --- Community (CSC "Locations", dark band) --- */
.community { position: relative; overflow: hidden; background: var(--li-navy-800); color: #fff; padding: 119px var(--gutter) 120px; }
.community__inner { position: relative; z-index: 1; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; padding: 0; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 3rem; align-items: center; }
.community h2 { color: #fff; }
.community p { font-size: 1.125rem; line-height: 1.55; color: rgba(255,255,255,.92); margin: 1.2rem 0 2.2rem; }
.community__btns { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.community__art { position: relative; width: 100%; margin: 0; }

/* --- Papers-by-country map (replaces the old dot art) --- */
.pmap { --pmap-hi: #F0A799; --pmap-lo: #378F9B; font-family: var(--li-font-ui); }
.pmap__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .75rem; }
.pmap__title { font-family: var(--li-font-head); font-weight: 800; font-size: 1.0625rem; letter-spacing: .02em; color: #fff; }
.pmap__sub { font-size: .9375rem; color: var(--li-teal-200); }
.pmap__stage { position: relative; width: 100%; aspect-ratio: 800 / 410; border-radius: 14px; background: radial-gradient(120% 120% at 50% 40%, rgba(55,143,155,.16), rgba(10,42,54,.35) 70%); border: 1px solid rgba(185,212,219,.16); overflow: hidden; }
.community .pmap__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 1rem; color: var(--li-teal-200); }
.pmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.pmap__land { fill: rgba(213,227,230,.09); stroke: rgba(213,227,230,.16); stroke-width: .5; vector-effect: non-scaling-stroke; transition: fill .2s; }
.pmap__land.has { fill: var(--c); stroke: rgba(10,42,54,.55); }
.pmap__land.is-on { fill: #fff; }
.pmap__pt { cursor: pointer; outline: none; }
.pmap__pt .dot { fill: var(--pmap-hi); stroke: var(--li-navy-900); stroke-width: 1.2; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.pmap__pt .halo { fill: none; stroke: var(--pmap-hi); stroke-width: 1; opacity: .7; transform-box: fill-box; transform-origin: center; animation: pmapPulse 2.8s ease-out infinite; }
.pmap__pt:hover .dot, .pmap__pt:focus-visible .dot, .pmap__pt.is-on .dot { transform: scale(1.35); fill: #fff; }
.pmap__pt:focus-visible .ring { stroke: #fff; }
.pmap__pt .ring { fill: none; stroke: transparent; stroke-width: 2; }
.pmap__lead { stroke: rgba(240,167,153,.75); stroke-width: .8; fill: none; }
.pmap__tag rect { fill: rgba(10,42,54,.88); stroke: rgba(240,167,153,.8); stroke-width: .8; }
.pmap__tag text { font-family: var(--li-font-ui); font-weight: 700; font-size: 11px; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
@keyframes pmapPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.pmap__tip { position: absolute; z-index: 3; min-width: 150px; max-width: 220px; padding: .55rem .75rem; border-radius: 10px; background: #fff; color: var(--li-navy-900); box-shadow: 0 10px 28px rgba(0,0,0,.35); pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); font-size: .9375rem; line-height: 1.3; }
.pmap__tip[hidden] { display: none; }
.pmap__tip strong { display: block; font-family: var(--li-font-head); font-weight: 800; }
.pmap__tip b { font-size: 1.5rem; font-weight: 700; color: var(--li-teal-700); margin-right: .35rem; }
.pmap__tip small { color: #4a6672; font-size: .8125rem; }
.pmap__foot { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.5rem; align-items: start; margin-top: .9rem; }
.pmap__legend { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--li-teal-200); white-space: nowrap; }
.pmap__legend i { display: block; width: 110px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #7EB8C2, #E9D0AC 50%, #EC806C); }
.pmap__top { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; justify-content: flex-end; }
.pmap__top button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; gap: .4rem; align-items: baseline; padding: .3rem .7rem; min-height: 32px; border-radius: 99px; border: 1px solid rgba(185,212,219,.35); font-size: .9375rem; color: #fff; }
.pmap__top button b { font-weight: 700; color: var(--pmap-hi); }
.pmap__top button:hover, .pmap__top button:focus-visible, .pmap__top button.is-on { background: #fff; color: var(--li-navy-900); }
.pmap__top button:hover b, .pmap__top button:focus-visible b, .pmap__top button.is-on b { color: var(--li-teal-700); }
.pmap__top button:focus-visible { outline: 3px solid var(--pmap-hi); outline-offset: 2px; }
@media (max-width: 640px) { /* simplify: % pins are unreadably small when the SVG scales down, so rely on tap tooltips + the chips below */
  .pmap__tag, .pmap__lead, .pmap__pt .halo { display: none; }
  .pmap__stage { aspect-ratio: 800 / 430; }
  .pmap__tip { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .pmap__pt .halo { animation: none; opacity: 0; } .pmap__land, .pmap__pt .dot { transition: none; } }

/* ==========================================================================
   FOOTER (CSC: dark grey, white logo, uppercase 2-col links, hairlines)
   ========================================================================== */
.foot { background: var(--li-ink-700); color: #fff; padding: 3rem var(--gutter) 2rem; }
.foot a { color: #fff; font-family: var(--li-font-ui); }
.foot a:hover { color: var(--li-teal-200); }
.foot__top { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 240px 1fr 1fr 1fr; gap: 1.5rem 2rem; padding-bottom: 2rem; }
.foot__logo img { width: 150px; height: auto; }
.foot__logo p { margin: 1.1rem 0 0; font-size: .9375rem; color: rgba(255,255,255,.78); max-width: 24ch; }
.foot__logo .foot__tagline { color: #fff; font-weight: 700; }
.foot__col h4 { font-family: var(--li-font-nav); color: rgba(255,255,255,.7); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-bottom: .8rem; }
.foot__col li { margin-bottom: .55rem; }
.foot__col a { text-transform: uppercase; letter-spacing: .01em; font-size: 1rem; }
.foot__rule { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; border: 0; border-top: 1px solid rgba(255,255,255,.28); }
.foot__priv { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; padding: 1.2rem 0; text-align: center; font-size: 1rem; }
.foot__priv a { text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9375rem; }
.foot__social { display: flex; gap: 1rem; }
.foot__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background-color .15s; }
.foot__social a:hover { background: rgba(255,255,255,.22); }
.foot__social .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.9; }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .nav__btn { padding: 0 .75rem; }
  .hdr__cta { padding: 0 1.2rem; }
  .journals__head, .latest__head { padding-left: 2.4rem; padding-right: 2.4rem; }
  .track { padding-left: 2.4rem; padding-right: 2.4rem; scroll-padding-left: 2.4rem; }
  .rail { margin-left: 2.4rem; margin-right: 2.4rem; }
}

@media (max-width: 991.98px) {
  :root { --bar-h: 68px; --gutter: 1rem; }
  .nav, .hdr__cta, .hdr__div, .hdr__login .lbl { display: none; }
  .hdr__bar { gap: .5rem; }
  .brand img { height: 44px; }
  .hdr__burger { display: inline-flex; color: var(--li-navy-800); }
  .hdr__burger .icon { width: 2rem; height: 2rem; stroke-width: 2.4; }
  .mega { display: none; }
  .drawer { display: block; position: fixed; z-index: 1100; inset: 0 0 0 auto; width: min(100%, 420px); background: var(--li-navy-800); color: #fff; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; overflow-y: auto; padding: 1rem 1.5rem 2.5rem; }
  .drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
  .drawer__top img { height: 40px; }
  .drawer__close { width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
  .drawer__acc { border-bottom: 1px dotted var(--li-teal-200); }
  .drawer__acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 1rem 0; background: transparent; border: 0; color: #fff; cursor: pointer; font-family: var(--li-font-nav); font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; }
  .drawer__acc > button .icon { width: 1.4rem; height: 1.4rem; stroke-width: 2.2; color: var(--li-teal-300); transition: transform .2s; }
  .drawer__acc > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .drawer__acc ul { display: none; padding: 0 0 1rem .2rem; }
  .drawer__acc.is-open ul { display: block; }
  .drawer__acc li a { display: block; padding: .5rem 0; color: #fff; font-size: 1.0625rem; }
  .drawer__acc li a:hover { color: var(--li-teal-200); }
  .drawer .pill { margin-top: 1.5rem; width: 100%; }
  .drawer__plain { display: block; padding: 1rem 0; border-bottom: 1px dotted var(--li-teal-200); color: #fff; font-family: var(--li-font-nav); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .scrim { position: fixed; inset: 0; z-index: 1050; background: rgba(10,42,54,.55); opacity: 0; visibility: hidden; transition: opacity .25s; }
  .scrim.is-open { opacity: 1; visibility: visible; }

  .hero { min-height: 0; display: block; }
  .hero__img { display: none; }
  .hero__fade { background: linear-gradient(180deg, rgba(42,111,121,.18) 0, rgba(42,111,121,0) 60px); }
  .hero__inner { padding-top: 2.4rem; padding-bottom: 3rem; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.35rem); margin-bottom: 1.4rem; }
  .search,
  .hero__search { width: 100%; padding-left: 1.25rem; }
  .hero__links { justify-content: center; }
  .pnav { display: none; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(3n) { border-right: 1px solid var(--hair); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile:nth-last-child(-n+3) { border-bottom: 1px solid var(--hair); }
  .tile:nth-last-child(-n+2) { border-bottom: 0; }

  .products__head { padding: 2.4rem 2rem 1.8rem; }
  .products__grid { grid-template-columns: 1fr; }
  .product { padding: 1.8rem 2rem 2rem; border-right: 0; border-bottom: 1px solid var(--hair); }
  .product:last-child { border-bottom: 0; }


  .transfer { grid-template-columns: 1fr; gap: 2rem; }
  .community__inner { grid-template-columns: 1fr; }
  .community__art { max-width: 720px; margin: 0 auto; }
  .pmap__foot { grid-template-columns: 1fr; }
  .pmap__top { justify-content: flex-start; }
  .community { padding: 80px var(--gutter); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__logo { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  body { font-size: 1.0625rem; }
  .band { padding: 36px var(--gutter); }
  .notice p { font-size: .8125rem; }
  .card { border-radius: 8px; }
  .journals__head { padding: 2rem 1.5rem 1.5rem; }
  .products__head { padding: 2rem 1.5rem 1.5rem; }
  .product { padding: 1.5rem 1.5rem 1.7rem; gap: 1rem; }
  .product__mark { width: 3.5rem; height: 3.5rem; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile:nth-child(2n), .tile:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--hair); padding: 1.6rem 1.2rem; flex-direction: row; text-align: left; gap: 1.2rem; align-items: center; }
  .tile:last-child { border-bottom: 0; }
  .tile:nth-last-child(-n+3) { border-bottom: 1px solid var(--hair); }
  .tile:last-child { border-bottom: 0; }
  .tile__cover { height: 104px; }
  .tile h3 { margin-top: 0; font-size: 1.25rem; padding: 0; }
  .tile__meta { margin-top: .35rem; }
  .transfer { padding: 2rem 1.5rem; }
  .latest { padding: 2.2rem 0 2rem; }
  .latest__head { padding: 0 1.5rem; }
  .latest__ctrl { display: none; }
  .track { padding: .4rem 1.5rem 1.4rem; scroll-padding-left: 1.5rem; }
  .slide { flex-basis: 78%; }
  .rail { margin: 0 1.5rem; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
  .search,
  .hero__search { padding: .32rem .32rem .32rem 1.05rem; }
  .search input,
  .hero__search input { font-size: 1.0625rem; padding: .7rem 0; }
  .search button .lbl,
  .hero__search button .lbl { display: none; }
  .search button,
  .hero__search button { min-height: 48px; padding: 0 1.05rem; }
}
