:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --muted: #4c4c4c;
  --line: #dedede;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body::before,
body::after {
  content: none;
  display: none;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  display: block;
  height: 58px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  position: relative;
  overflow: visible;
}

.main-nav a,
.cta {
  text-decoration: none;
  color: #000;
  font-size: 0.94rem;
}

.main-nav a:hover,
.cta:hover {
  text-decoration: underline;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(4px);
  min-width: 390px;
  max-width: min(92vw, 520px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  padding: 0.46rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 120;
}

.dropdown-menu a {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 0.48rem 0.58rem;
  border-radius: 8px;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f4f4f4;
  text-decoration: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cta {
  border: 1px solid #000;
  padding: 0.48rem 0.86rem;
  border-radius: 999px;
  text-decoration: none;
}

main {
  padding-bottom: 3.5rem;
}

#about,
#for-authors,
#contact,
#journals-list {
  scroll-margin-top: 84px;
}

.hero {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.2rem, 2.8vw, 2.7rem);
  background: var(--panel);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.08);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  color: #434343;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  margin-top: 0.42rem;
}

h2 {
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.lead {
  margin: 0.92rem 0 0;
  max-width: 68ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-size: 0.92rem;
  border: 1px solid #000;
}

.button-solid {
  background: #000;
  color: #fff;
}

.button-ghost {
  background: transparent;
  color: #000;
}

.block {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  background: rgba(255, 255, 255, 0.8);
}

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.82rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.block-head a {
  color: #000;
  text-decoration: none;
  font-size: 0.88rem;
}

.block-head a:hover {
  text-decoration: underline;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.journal-list,
.value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: #fff;
  width: 100%;
}

.journal-card p {
  margin: 0.42rem 0 0.62rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.journal-card a {
  color: #000;
  font-size: 0.88rem;
}

.journal-card h3 a {
  color: #000;
  text-decoration: none;
  font-size: inherit;
}

.journal-card h3 a:hover {
  text-decoration: underline;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.value-grid li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: #fff;
  font-size: 0.93rem;
}

#contact p {
  margin: 0;
}

#contact a {
  color: #000;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
}

.footer-inner p {
  order: 1;
  margin: 0;
  font-size: 0.88rem;
  text-align: left;
}

.back-to-top {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #000;
  border-radius: 999px;
  color: #000;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1;
}

.back-to-top:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr;
    min-height: 84px;
    padding: 0.4rem 0;
    justify-items: center;
    gap: 0.55rem;
  }

  .brand img {
    height: 48px;
  }

  .footer-inner {
    min-height: 78px;
    gap: 0.6rem;
    padding: 0.55rem 0;
  }

  .footer-inner p {
    font-size: 0.82rem;
  }

  .back-to-top {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.95rem;
  }

  .about-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-menu {
    min-width: 300px;
    max-width: min(92vw, 360px);
  }
}

.main-nav a.is-active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
