:root {
  --ink: #11101a;
  --muted: #766f89;
  --paper: #f7f5fb;
  --line: #ded9ef;
  --blue: #4a47ff;
  --blue-2: #5f5bff;
  --gold: #f7de94;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.28), transparent 12%, transparent 88%, rgba(247, 222, 148, 0.28)),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 251, 0.95);
  border-bottom: 1px solid rgba(247, 222, 148, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 251, 0.99);
  box-shadow: 0 12px 28px rgba(17, 16, 26, 0.08);
}

.utility {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 7vw, 128px);
  background: var(--ink);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.utility a {
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.main-nav {
  position: relative;
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(5, minmax(62px, 1fr)) minmax(150px, 210px) repeat(4, minmax(62px, 1fr)) 84px;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(20px, 7vw, 128px);
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  justify-self: center;
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
}

.brand span,
.title-block h1 em,
.page-head span,
.tag,
.story span,
.content-row h2,
.dictionary h2,
.content-row h2 {
  color: var(--blue);
}

.brand::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: -8px;
  height: 7px;
  background: var(--gold);
  opacity: 0.75;
  z-index: -1;
}

.nav-link {
  color: #343042;
  font-size: 13px;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link[data-route="articoli"] { grid-column: 1; }
.nav-link[data-route="weekly"] { grid-column: 2; }
.nav-link[data-route="culture"] { grid-column: 3; }
.nav-link[data-route="education"] { grid-column: 4; }
.nav-link[data-route="team"] { grid-column: 5; }
.nav-link[data-route="dictionary"] { grid-column: 7; }
.nav-link[data-route="backgrounds"] { grid-column: 8; }
.nav-link[data-route="map"] { grid-column: 9; }
.nav-link[data-route="forum"] { grid-column: 10; }

.nav-link:hover,
.nav-link.is-current,
.search:hover {
  color: var(--blue);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-link.is-current {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.search {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.search {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  grid-column: 11;
  gap: 7px;
  font-size: 13px;
}

.search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.search:hover svg {
  stroke: var(--gold);
}

.blue-panel {
  min-height: 220px;
  padding: 58px clamp(20px, 7vw, 128px) 72px;
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.24), transparent 34%, transparent 66%, rgba(247, 222, 148, 0.24)),
    radial-gradient(circle at 13% 36%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(180deg, var(--blue-2), var(--blue));
  color: var(--white);
}

.feature-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(247, 222, 148, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 14px;
  transform: translateY(18px);
  opacity: 0;
  animation: rise 700ms ease forwards;
}

.feature-grid a::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 8px 1px no-repeat,
    linear-gradient(90deg, var(--white), var(--white)) center / 1px 8px no-repeat,
    rgba(255, 255, 255, 0.18);
}

.feature-grid a:nth-child(7)::before {
  background:
    linear-gradient(var(--ink), var(--ink)) center / 8px 1px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) center / 1px 8px no-repeat,
    var(--gold);
}

.feature-grid a:nth-child(2) { animation-delay: 70ms; }
.feature-grid a:nth-child(3) { animation-delay: 140ms; }
.feature-grid a:nth-child(4) { animation-delay: 210ms; }
.feature-grid a:nth-child(5) { animation-delay: 280ms; }
.feature-grid a:nth-child(6) { animation-delay: 350ms; }
.feature-grid a:nth-child(7) { animation-delay: 420ms; }

.page {
  display: none;
  min-height: calc(100vh - 114px);
  padding: 70px clamp(24px, 8vw, 145px) 86px;
  background: var(--paper);
}

.page.is-active {
  display: block;
  animation: pageIn 360ms ease both;
}

#page-home {
  position: relative;
  min-height: calc(100vh - 114px);
  padding: clamp(54px, 8vw, 92px) clamp(24px, 8vw, 145px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 245, 251, 0.98) 0%, rgba(247, 245, 251, 0.92) 38%, rgba(247, 245, 251, 0.38) 62%, rgba(247, 245, 251, 0.05) 100%),
    url("home-hero-megaphone.png") right center / min(68vw, 980px) auto no-repeat,
    var(--paper);
}

.hero-content {
  min-height: calc(100vh - 260px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.section-kicker span {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.magazine-layout {
  display: grid;
  grid-template-columns: minmax(310px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.magazine-layout > *,
.split-page > *,
.article-grid > *,
.tile-list > *,
.content-row > *,
.dictionary > *,
.map-shell,
.map-shell > * {
  min-width: 0;
}

.title-block h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.title-block h1 em {
  font-style: normal;
}

.title-block p,
.lead-card p,
.story p,
.page-head p,
.tile-list p,
.weekly-list,
.dictionary p,
.content-row p,
.timeline p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.title-block p {
  max-width: 500px;
  margin-top: 22px;
  color: #343042;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.58;
}

.home-side {
  display: grid;
  gap: 26px;
}

.home-visual {
  position: relative;
  margin: 0;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(247, 222, 148, 0.9);
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(17, 16, 26, 0.08);
}

.home-visual::before {
  content: none;
}

.home-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.lead-card {
  padding: 30px 0 6px;
  border-top: 4px solid var(--gold);
}

.tag,
.story span,
.page-head span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead-card h2 {
  margin: 12px 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.page-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.page-head.compact {
  max-width: 760px;
}

.page-head h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story {
  min-height: 250px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(247, 222, 148, 0.22), transparent 5px),
    var(--white);
}

.story.large {
  grid-row: span 2;
  min-height: 501px;
}

.story-wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.story h2,
.tile-list b,
.content-row h2,
.dictionary h2 {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.story-link {
  display: block;
  height: 100%;
}

.story:has(.story-link) {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story:has(.story-link):hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17, 16, 26, 0.08);
  position: relative;
  z-index: 1;
}

.article-page {
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.18), transparent 24%, transparent 76%, rgba(247, 222, 148, 0.18)),
    var(--paper);
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}

.article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border-top: 6px solid var(--gold);
  background: var(--white);
}

.article-body > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-body h1 {
  margin: 14px 0 28px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.article-body h2 {
  margin: 44px 0 14px;
  color: var(--blue);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.08;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.article-body ul {
  margin: 20px 0 28px;
  padding-left: 22px;
}

.article-body li::marker {
  color: var(--blue);
}

.article-highlight {
  color: var(--blue);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 58%, rgba(247, 222, 148, 0.78) 58%);
}

.activity-subtitle {
  margin-top: -12px;
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
}

.activity-meta,
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.activity-meta article,
.materials-grid a {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(247, 222, 148, 0.24), transparent 7px),
    var(--white);
}

.activity-meta strong,
.materials-grid strong {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.activity-meta span,
.materials-grid span {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.materials-grid a {
  text-decoration: none;
}

.materials-grid a:hover strong {
  color: var(--ink);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 34px;
}

.skill-tags span {
  border: 1px solid var(--line);
  background: rgba(247, 222, 148, 0.35);
  color: var(--ink);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.weekly-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: week;
  border-top: 1px solid var(--line);
}

.weekly-list li {
  counter-increment: week;
  display: grid;
  grid-template-columns: 76px minmax(170px, 320px) 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.weekly-list li::before {
  content: "0" counter(week);
  color: var(--ink);
  text-shadow: 0 9px 0 rgba(247, 222, 148, 0.9);
  font-size: 32px;
  font-weight: 800;
}

.weekly-list strong {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
}

.weekly-list span {
  max-width: 720px;
}

.split-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 110px);
}

.culture-bios {
  max-width: 980px;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.culture-bios article {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.22), transparent 22%),
    var(--white);
}

.culture-bios h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.08;
}

.culture-bios p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.culture-articles {
  max-width: 980px;
  margin-top: 34px;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tile-list,
.content-row,
.dictionary,
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile-list article,
.content-row article,
.dictionary article,
.team-grid article {
  min-height: 210px;
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(180deg, rgba(247, 222, 148, 0.2), transparent 6px),
    var(--white);
}

.dictionary article {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
}

.dictionary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-bio {
  max-width: 980px;
  margin: -8px 0 34px;
  padding: clamp(24px, 4vw, 42px);
  border-top: 5px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.22), transparent 42%),
    var(--white);
}

.team-bio p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.team-bio p + p {
  margin-top: 16px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-grid span {
  width: fit-content;
  padding: 7px 9px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-grid h2 {
  margin: 28px 0 0;
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  text-shadow: 0 10px 0 rgba(247, 222, 148, 0.82);
}

.coming-soon {
  max-width: 780px;
  padding: clamp(30px, 5vw, 58px);
  border-top: 6px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.24), transparent 44%),
    var(--white);
}

.coming-soon span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.coming-soon h2 {
  margin: 14px 0 12px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
}

.coming-soon p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.map-board {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.4) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(rgba(17, 16, 26, 0.05) 1px, transparent 1px) 0 0 / 52px 52px,
    var(--white);
}

.world-map {
  position: absolute;
  inset: 8% 5%;
  width: 90%;
  height: 84%;
}

.world-map path {
  fill: #d6d4dc;
  stroke: #aaa6b5;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.world-map path:hover {
  fill: var(--gold);
}

.map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  min-width: 0;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(17, 16, 26, 0.16);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 13px 28px rgba(74, 71, 255, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.map-point:hover,
.map-point.is-selected {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(17, 16, 26, 0.24);
  z-index: 5;
}

.map-panel {
  min-height: 510px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.map-panel span {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.map-panel h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.04;
}

.map-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.map-panel dl {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  background: var(--line);
}

.map-panel dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 14px 0;
  background: var(--white);
}

.map-panel dt {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-panel dd {
  margin: 0;
  color: var(--ink);
}

.map-detail {
  margin-top: 26px;
}

.map-detail h3 {
  margin: 22px 0 8px;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-detail p,
.map-detail li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.map-detail p {
  margin: 0;
}

.map-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 18px;
}

.map-detail li::marker {
  color: var(--blue);
}

.map-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
  background: var(--white);
}

.map-list button {
  border: 1px solid var(--line);
  background: rgba(247, 222, 148, 0.24);
  color: var(--ink);
  padding: 9px 12px;
  font-size: 13px;
  cursor: pointer;
}

.map-list button:hover,
.map-list button.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.forum-form,
.subscribe {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.forum-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.forum-form input,
.forum-form select,
.forum-form textarea,
.subscribe input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 16px 18px;
  outline: none;
}

.forum-form input:focus,
.forum-form select:focus,
.forum-form textarea:focus,
.subscribe input:focus {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(247, 222, 148, 0.45);
}

.forum-form textarea {
  min-height: 150px;
  resize: vertical;
}

.forum-link-panel {
  max-width: 760px;
  display: grid;
  gap: 12px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 222, 148, 0.25), transparent 8px),
    var(--white);
}

.forum-link-panel a {
  width: fit-content;
  background: var(--blue);
  color: var(--white);
  padding: 15px 22px;
  text-decoration: none;
  font-weight: 700;
}

.forum-link-panel a:hover {
  background: var(--ink);
  color: var(--gold);
}

.forum-link-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.forum-form button,
.subscribe button {
  width: fit-content;
  border: 0;
  background: var(--blue);
  color: var(--white);
  padding: 15px 22px;
  cursor: pointer;
}

.forum-form button:hover,
.subscribe button:hover {
  background: var(--ink);
  color: var(--gold);
}

.search-panel {
  max-width: 860px;
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.search-panel label,
.dictionary-search label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dictionary-search {
  max-width: 860px;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 16px 18px;
  outline: none;
}

.search-row input:focus {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(247, 222, 148, 0.45);
}

.search-row button {
  border: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0 22px;
  cursor: pointer;
}

.search-row button:hover {
  background: var(--ink);
  color: var(--gold);
}

.search-results {
  max-width: 980px;
  display: grid;
  gap: 18px;
}

.search-empty {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.search-group {
  border: 1px solid var(--line);
  background: var(--white);
}

.search-group h2 {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 22px;
  line-height: 1.1;
}

.search-result {
  display: block;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 222, 148, 0.18), transparent 26%),
    var(--white);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.search-result span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.search-result mark {
  background: var(--gold);
  color: var(--ink);
  padding: 0 2px;
}

.subscribe {
  grid-template-columns: 1fr auto;
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .utility a {
    display: none;
  }

  .main-nav {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    padding: 16px 20px 18px;
  }

  .brand {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: inline-flex;
    grid-column: auto !important;
    align-items: center;
    font-size: 13px;
  }

  .search {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .utility {
    font-size: 9px;
  }

  .blue-panel {
    padding: 36px 20px 42px;
  }

  .feature-grid,
  .magazine-layout,
  .article-grid,
  .split-page,
  .tile-list,
  .content-row,
  .dictionary,
  .team-grid,
  .map-shell {
    grid-template-columns: 1fr;
  }

  .story.large {
    grid-row: auto;
    min-height: 290px;
  }

  .page {
    padding: 52px 24px 62px;
  }

  #page-home {
    min-height: calc(100vh - 150px);
    padding: 54px 24px 64px;
    background:
      linear-gradient(180deg, rgba(247, 245, 251, 0.7) 0%, rgba(247, 245, 251, 0.96) 48%, rgba(247, 245, 251, 1) 100%),
      url("home-hero-megaphone.png") center top / 115% auto no-repeat,
      var(--paper);
  }

  .hero-content {
    min-height: calc(100vh - 250px);
    justify-content: flex-end;
  }

  .title-block h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .home-visual {
    min-height: auto;
  }

  .home-visual img {
    min-height: 0;
  }

  .page-head h1 {
    font-size: clamp(28px, 8vw, 42px);
    overflow-wrap: normal;
  }

  .weekly-list li,
  .culture-bios article,
  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .subscribe {
    grid-template-columns: 1fr;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    min-height: 48px;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .utility {
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    gap: 10px;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    position: static;
    transform: none;
    justify-self: center;
  }

  .search {
    justify-self: center;
  }

  .nav-link {
    font-size: 12px;
  }

  .feature-grid a {
    font-size: 13px;
  }

  .map-board {
    min-height: 430px;
  }

  .map-panel {
    min-height: auto;
  }

  .map-point {
    min-height: 22px;
    padding: 4px 6px;
    font-size: 9px;
  }

  .map-detail ul {
    grid-template-columns: 1fr;
  }
}
