:root {
  --ink: #0b1b3e;
  --navy: #001d4d;
  --deep: #001638;
  --blue: #104a9a;
  --line: #dfe6f2;
  --gold: #f4b82f;
  --muted: #60708c;
  --paper: #ffffff;
  --mist: #f4f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(6, 25, 64, .12);
}

.topbar {
  background: var(--deep);
  color: #eaf1ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 36px;
  padding: 0 6vw;
  font-size: 13px;
}

.topbar p {
  margin: 0;
}

.topbar nav,
.primary-menu,
.hero-actions,
.section-heading,
.footer-bottom {
  display: flex;
  align-items: center;
}

.topbar nav {
  gap: 26px;
  white-space: nowrap;
}

.mainnav {
  min-height: 96px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(210px, 19vw, 310px);
  height: auto;
  object-fit: contain;
}

.primary-menu {
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-menu a {
  padding: 40px 0 34px;
  border-bottom: 3px solid transparent;
}

.primary-menu .active {
  color: var(--gold);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  min-height: 454px;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 18, 48, .96) 0%, rgba(0, 24, 62, .78) 42%, rgba(0, 24, 62, .12) 78%),
    linear-gradient(0deg, rgba(0, 18, 48, .18), rgba(0, 18, 48, .18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 90vw);
  padding: 72px 0 70px 6vw;
  color: #fff;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.tagline {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
}
.taglineheading {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(35px, 2.1vw, 30px);
  font-weight: 800;
  margin-bottom: 30px;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: #eef4ff;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  min-width: 190px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.button::after,
.section-heading a::after,
.inline-link::after {
  content: "\2192";
  margin-left: 14px;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #f1a91e, #facf56);
  border-color: transparent;
}

.button.light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, .92);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 28px 6vw;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.stats article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.stats article:first-child {
  border-left: 0;
}

.stat-icon {
  grid-row: 1 / span 2;
  color: var(--blue);
  width: 48px;
  height: 48px;
  position: relative;
  display: block;
}

.stat-icon::before,
.stat-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.book-shape::before {
  inset: 7px 5px 6px;
  border: 3px solid;
  border-radius: 2px;
}

.book-shape::after {
  top: 9px;
  bottom: 7px;
  left: 23px;
  border-left: 3px solid;
}

.article-shape::before {
  inset: 5px 10px;
  border: 3px solid;
  border-radius: 2px;
}

.article-shape::after {
  width: 18px;
  height: 18px;
  top: 13px;
  left: 15px;
  border-top: 3px solid;
  border-bottom: 3px solid;
  box-shadow: 0 12px 0 -2px currentColor;
}

.globe-shape::before {
  inset: 4px;
  border: 3px solid;
  border-radius: 50%;
}

.globe-shape::after {
  inset: 11px 4px;
  border-top: 3px solid;
  border-bottom: 3px solid;
  border-radius: 50%;
}

.people-shape::before {
  width: 14px;
  height: 14px;
  top: 5px;
  left: 17px;
  border: 3px solid;
  border-radius: 50%;
  box-shadow: -16px 13px 0 -3px #fff, -16px 13px 0 0 currentColor, 16px 13px 0 -3px #fff, 16px 13px 0 0 currentColor;
}

.people-shape::after {
  width: 36px;
  height: 17px;
  left: 6px;
  bottom: 5px;
  border: 3px solid;
  border-radius: 18px 18px 4px 4px;
  border-bottom: 0;
}

.chart-shape::before {
  left: 8px;
  bottom: 7px;
  width: 6px;
  height: 19px;
  background: currentColor;
  box-shadow: 12px -9px 0 currentColor, 24px -18px 0 currentColor;
}

.chart-shape::after {
  left: 4px;
  right: 4px;
  bottom: 5px;
  border-bottom: 3px solid;
}

.stats strong {
  font-size: clamp(26px, 2.5vw, 39px);
  line-height: 1;
}

.stats span:last-child {
  font-size: 14px;
  font-weight: 800;
}

.cover-feature {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 42px 6vw;
  background:
    linear-gradient(135deg, rgba(0, 22, 56, .94), rgba(6, 60, 122, .88)),
    radial-gradient(circle at 76% 24%, rgba(244, 184, 47, .18), transparent 26rem);
  color: #fff;
}

.cover-preview {
  max-width: 360px;
  margin: 0 auto;
  padding: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
}

.cover-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1086 / 1448;
  object-fit: cover;
  border-radius: 4px;
}

.cover-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover-content h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.cover-meta {
  margin: 0 0 16px;
  color: #dce8fb;
  font-size: 18px;
  font-weight: 800;
}

.cover-content p:last-of-type {
  max-width: 650px;
  margin: 0;
  color: #edf4ff;
  font-size: 18px;
  line-height: 1.65;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.section {
  padding: 26px 6vw 18px;
  background: #fff;
}

.section-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section h2,
.research h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading a {
  color: #173f7f;
  font-weight: 800;
  white-space: nowrap;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.journal-card,
.book-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 42, 84, .08);
}

.journal-cover {
  min-height: 170px;
  padding: 26px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  background: #06214c;
  position: relative;
  overflow: hidden;
}

.journal-cover::before,
.journal-cover::after,
.book-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.journal-cover::before {
  width: 150px;
  height: 150px;
  right: -28px;
  bottom: -40px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, .2);
}

.journal-cover::after {
  width: 210px;
  height: 2px;
  right: -26px;
  bottom: 46px;
  background: rgba(255, 255, 255, .28);
  transform: rotate(-23deg);
}

.journal-cover strong {
  font-size: 32px;
  line-height: 1;
}

.journal-cover span {
  max-width: 210px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.journal-cover.ai {
  background: radial-gradient(circle at 84% 36%, #1fa3ff 0 2px, transparent 3px 100px), linear-gradient(135deg, #061a3f, #083e7f);
}

.journal-cover.nano {
  background: radial-gradient(circle at 72% 40%, #b5f184 0 4px, transparent 5px 100px), linear-gradient(135deg, #071d19, #276334);
}

.journal-cover.vlsi {
  background: radial-gradient(circle at 74% 45%, #ad7cff 0 5px, transparent 6px 100px), linear-gradient(135deg, #160f55, #3a188f);
}

.journal-cover.optics {
  background: radial-gradient(circle at 80% 62%, #6ffcff 0 4px, transparent 5px 100px), linear-gradient(135deg, #06202b, #06636f);
}

.journal-cover.energy {
  background: radial-gradient(circle at 82% 46%, #ffe29a 0 6px, transparent 7px 100px), linear-gradient(135deg, #4d2607, #df8a18);
}

.journal-cover.image-cover {
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  background: #071b40;
}

.journal-cover.image-cover::before,
.journal-cover.image-cover::after {
  display: none;
}

.journal-cover.image-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.card-body {
  padding: 20px 22px 18px;
}

.card-body h3 {
  min-height: 62px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.45;
}

.inline-link {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #153e7c;
  font-weight: 800;
}

.small-button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  background: var(--deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.books-section {
  background: linear-gradient(#fff, #f9fbff);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.book-card {
  min-height: 250px;
  padding: 18px 14px 16px;
  text-align: center;
}

.book-cover {
  position: relative;
  width: 122px;
  height: 154px;
  margin: 0 auto 14px;
  padding: 22px 13px;
  color: #fff;
  text-align: left;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 3px 8px 8px 3px;
  box-shadow: 12px 9px 16px rgba(5, 20, 46, .2);
  transform: perspective(500px) rotateY(-8deg);
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 11px;
  background: rgba(255, 255, 255, .16);
}

.book-cover::after {
  width: 62px;
  height: 62px;
  right: 10px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 28px rgba(102, 220, 255, .28);
}

.book-cover.image-book {
  width: 132px;
  height: 200px;
  padding: 0;
  overflow: hidden;
  background: #071b40;
}

.book-cover.image-book::before,
.book-cover.image-book::after {
  display: none;
}

.book-cover.image-book img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.blue { background: linear-gradient(135deg, #053064, #0a6aa8); }
.green { background: linear-gradient(135deg, #082a1e, #1c774a); }
.navy { background: linear-gradient(135deg, #062153, #15528f); }
.slate { background: linear-gradient(135deg, #0a1423, #31455c); }
.teal { background: linear-gradient(135deg, #082e42, #087581); }
.emerald { background: linear-gradient(135deg, #0d382d, #2e8b57); }

.book-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #52637c;
}

.book-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #4f5d72;
  border-radius: 4px;
  color: #10264d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.research {
  padding: 22px 6vw 0;
  text-align: center;
  background: #fbfcff;
  border-top: 1px solid var(--line);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.research-grid a {
  min-height: 150px;
  padding: 26px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.3;
}

.research-grid span {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.footer {
  background: var(--deep);
  color: #e9f0fc;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 330px) repeat(3, minmax(120px, 170px)) minmax(210px, 260px);
  gap: 24px;
  justify-content: space-between;
  padding: 32px 6vw 34px;
}

.footer-about p {
  max-width: 330px;
  margin: 0;
  color: #c9d7ee;
  line-height: 1.55;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer nav a {
  display: block;
  margin: 9px 0;
  color: #d6e1f2;
  font-size: 14px;
}

.footer-bottom {
  justify-content: space-between;
  gap: 24px;
  padding: 14px 6vw;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: #c9d7ee;
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
}

@media (max-width: 1200px) {
  .primary-menu {
    gap: 14px;
    font-size: 12px;
  }

  .journal-grid,
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px;
  }

  .book-grid,
  .research-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(250px, 1.2fr) repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 22px;
    gap: 8px;
  }

  .mainnav {
    min-height: 82px;
    padding: 0 22px;
  }

  .brand-logo {
    width: 220px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 118px;
    padding: 10px 22px 20px;
    background: #fff;
    box-shadow: 0 18px 30px rgba(6, 25, 64, .16);
  }

  .primary-menu.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-menu a {
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(0, 18, 48, .97), rgba(0, 18, 48, .72));
  }

  .hero-content {
    width: 100%;
    padding: 52px 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }

  .stats,
  .cover-feature,
  .journal-grid,
  .book-grid,
  .research-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section,
  .cover-feature,
  .research {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cover-feature {
    grid-template-columns: 1fr;
  }

  .cover-actions .button {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-body h3 {
    min-height: auto;
  }

  .research-grid a {
    min-height: 112px;
  }

  .footer-inner,
  .footer-bottom {
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .topbar nav {
    gap: 16px;
  }

  .brand-logo {
    width: 178px;
  }

  .primary-menu.open {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 35px;
  }

  .tagline {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .stats article {
    grid-template-columns: 48px 1fr;
  }

  .stat-icon {
    font-size: 38px;
  }
}
