:root {
  --navy: #06264a;
  --blue: #084aa5;
  --blue-2: #0b65c3;
  --ink: #10213d;
  --muted: #5b6880;
  --line: #dce7f5;
  --soft: #eef6fd;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(15, 54, 96, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f8fbff;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  min-height: 104px;
  padding: 14px clamp(18px, 3vw, 46px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(8, 43, 85, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 232px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 66px;
  color: var(--blue);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-mark .brand-staff {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 3.5;
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #1f3658;
  font-size: 12px;
  letter-spacing: 2px;
}

.brand em {
  display: block;
  margin-top: 3px;
  color: #41526a;
  font-size: 10px;
  font-style: normal;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 36px);
  flex: 1;
}

.primary-nav a {
  position: relative;
  padding: 18px 0;
  color: #071b38;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: 180ms ease;
}

.primary-nav a.active::after,
.primary-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 62, 134, 0.16);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #084aa5, #043478);
}

.btn-ghost {
  background: #fff;
}

.icon-file {
  width: 18px;
  height: 18px;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-file::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: inherit;
  content: "";
}

.icon-file::after {
  position: absolute;
  right: 4px;
  bottom: 3px;
  width: 7px;
  height: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 70px clamp(24px, 8vw, 106px) 92px;
  background: linear-gradient(90deg, rgba(246, 252, 255, 0.95) 0%, rgba(237, 249, 255, 0.84) 42%, rgba(222, 242, 255, 0.2) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-microscope.png");
  background-position: right top;
  background-size: cover;
  content: "";
  opacity: 0.7;
}

.journal-hero::before {
  background-image: url("assets/journal-hero-microscope.png");
  background-position: right center;
  opacity: 0.9;
}

.journal-hero {
  min-height: 385px;
  color: #fff;
  background: #06264a;
}

.journal-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 32, 70, 0.92), rgba(4, 44, 96, 0.6) 42%, rgba(6, 48, 98, 0.06));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.journal-hero .hero-content {
  z-index: 2;
}

.hero h1 {
  margin: 0 0 18px;
  color: #0e1f3a;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.12;
}

.hero p {
  margin: 0 0 30px;
  color: #253a59;
  font-size: 20px;
  line-height: 1.55;
}

.journal-hero h1,
.journal-hero .hero-content > p {
  color: #fff;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 18px 28px;
  max-width: 520px;
  margin-top: 30px;
}

.journal-subnav {
  position: sticky;
  top: 104px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 18px clamp(18px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(8, 43, 85, 0.06);
}

.journal-subnav a {
  color: #092752;
  font-weight: 800;
  white-space: nowrap;
}

.journal-subnav a:hover {
  color: var(--blue);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.meta-pill svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px clamp(18px, 4vw, 38px);
}

.section.tight {
  padding-top: 34px;
}

.section-title {
  margin-bottom: 28px;
}

.center-title {
  text-align: center;
}

.center-title h2::after {
  margin-right: auto;
  margin-left: auto;
}

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

h2 {
  margin: 0;
  color: #082b66;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.section-title h2::after,
.card h2::after {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  background: var(--blue);
  border-radius: 999px;
  content: "";
}

.feature-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1130px;
  margin: -46px auto 0;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature svg,
.tile svg,
.author-card svg,
.contact-item svg,
.issue-row svg,
.issue-list svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature strong,
.tile strong {
  display: block;
  margin-bottom: 5px;
  color: #0a2242;
  font-size: 16px;
}

.feature span,
.tile span,
.muted {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 54px;
  align-items: center;
}

.copy p,
.card p,
.policy p,
.issue-row p {
  color: #33445e;
  line-height: 1.75;
}

.image-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 180px);
  gap: 10px;
}

.photo-panel {
  overflow: hidden;
  border-radius: 8px;
  background: #dbeefd;
  box-shadow: 0 12px 26px rgba(6, 43, 82, 0.12);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-panel.large {
  grid-row: span 2;
}

.photo-panel.large img {
  object-position: 64% 18%;
}

.photo-panel.heart img {
  object-position: 74% 49%;
}

.photo-panel.neuro img {
  object-position: 78% 64%;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

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

.journal-list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: stretch;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(26, 64, 111, 0.08);
}

.journal-list-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.journal-list-card div {
  padding: 26px 26px 26px 0;
}

.journal-list-card h3 {
  margin: 0 0 10px;
  color: #082b66;
  font-size: 23px;
  line-height: 1.2;
}

.journal-list-card p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.journal-card,
.author-card,
.card,
.board-card,
.issue-list a,
.article-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 64, 111, 0.07);
}

.journal-card {
  overflow: hidden;
}

.journal-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.journal-card h3 {
  min-height: 58px;
  margin: 16px 16px 10px;
  color: #11213d;
  font-size: 18px;
  line-height: 1.25;
}

.text-link {
  display: inline-flex;
  margin: 0 16px 20px;
  color: var(--blue);
  font-weight: 900;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.card {
  padding: 32px;
}

.current-issue {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 34px;
  align-items: center;
}

.cover {
  display: grid;
  align-content: start;
  min-height: 310px;
  padding: 34px 28px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(150deg, rgba(4, 42, 93, 0.95), rgba(6, 83, 166, 0.86)), url("assets/journal-page-reference.png") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 30px rgba(6, 43, 82, 0.22);
}

.cover strong {
  margin-top: 28px;
  font-size: 30px;
  line-height: 1.08;
}

.cover span {
  margin-top: 12px;
  color: #cfe8ff;
}

.issue-list {
  display: grid;
  gap: 13px;
}

.issue-list a,
.issue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 20px;
  color: var(--blue);
  font-weight: 800;
}

.author-band {
  background: linear-gradient(90deg, #f1f8ff, #e8f4ff);
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.author-card {
  min-height: 230px;
  padding: 24px 18px;
}

.author-card h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.author-card p {
  min-height: 58px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.cta {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 28px clamp(22px, 5vw, 56px);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #073a78, #064da8);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
}

.cta h2 {
  color: #fff;
  font-size: 25px;
}

.cta p {
  margin: 6px 0 0;
}

.page-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 38px) 68px;
}

.policy-grid,
.board-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy,
.board-card,
.article-card {
  padding: 24px;
}

.policy h3,
.board-card h3,
.article-card h3 {
  margin: 0 0 10px;
  color: #0a2d66;
}

.board-card span {
  color: var(--blue);
  font-weight: 900;
}

.issue-row {
  align-items: flex-start;
  min-height: auto;
  padding: 22px;
}

.issue-row div {
  flex: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field span {
  color: #16345b;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd9ea;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.notice {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #acd1b4;
  border-radius: 8px;
  color: #155f28;
  background: #effaf1;
  font-weight: 800;
}

.notice.show {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  padding: 42px clamp(24px, 5vw, 58px) 24px;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, #094a8d, #031b34 65%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.2fr;
  gap: 42px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark {
  color: #fff;
}

.brand-footer strong,
.brand-footer small,
.brand-footer em {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 18px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: #e5f3ff;
}

.socials {
  display: flex;
  gap: 11px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-weight: 900;
}

.copyright {
  max-width: 1180px;
  margin: 24px auto 0;
  color: #d2e6f7;
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
  }

  .journal-subnav {
    top: 154px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
  }

  .header-submit {
    margin-left: auto;
  }

  .feature-strip,
  .journal-grid,
  .journal-list-grid,
  .author-grid,
  .policy-grid,
  .board-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .feature:nth-child(n + 3) {
    padding-top: 18px;
  }

  .split,
  .contact-grid,
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand-mark {
    width: 46px;
    height: 52px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-submit {
    display: none;
  }

  .primary-nav {
    display: none;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .primary-nav.open {
    display: grid;
  }

  .journal-subnav {
    top: 82px;
    justify-content: flex-start;
  }

  .primary-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 520px;
    padding: 56px 22px 92px;
  }

  .hero::before {
    background-position: 68% top;
    opacity: 0.48;
  }

  .journal-hero::before {
    opacity: 0.78;
  }

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

  .hero p {
    font-size: 17px;
  }

  .hero-meta,
  .feature-strip,
  .journal-grid,
  .journal-list-grid,
  .author-grid,
  .policy-grid,
  .board-grid,
  .article-grid,
  .current-issue,
  .form-grid,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .journal-list-card {
    grid-template-columns: 1fr;
  }

  .journal-list-card div {
    padding: 22px;
  }

  .journal-list-card img {
    height: 190px;
    min-height: 190px;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 6px;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .photo-panel.large {
    grid-row: span 1;
  }

  .cta {
    text-align: left;
  }
}
