/* magazineteens — public site shared layout */

/* nav */
.mt-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}
.mt-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
}
.mt-nav-top .left, .mt-nav-top .right {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: 1;
}
.mt-nav-top .right { justify-content: flex-end; }
.mt-nav-top .center {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mt-nav-top .center em { color: var(--pink); font-style: italic; }
.lang-switch {
  display: inline-flex; gap: 2px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch button {
  border: none; background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink);
}
.lang-switch button.on { background: var(--ink); color: var(--cream); }
.search-btn, .menu-btn {
  background: transparent; border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.menu-btn.solid { background: var(--ink); color: var(--cream); }

.mt-nav-cats {
  display: flex; align-items: center; gap: 28px;
  padding: 10px 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-x: auto;
}
.mt-nav-cats a { white-space: nowrap; }
.mt-nav-cats a.on { color: var(--pink); }
.mt-nav-cats .pulse {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto;
}
.mt-nav-cats .pulse::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* footer */
.mt-foot {
  border-top: 1px solid var(--ink);
  margin-top: 80px;
  padding: 40px 32px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.mt-foot .brand {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.mt-foot .brand em { color: var(--pink); font-style: italic; }
.mt-foot h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.mt-foot ul { list-style: none; padding: 0; margin: 0; }
.mt-foot li {
  font-size: 13px;
  margin-bottom: 6px;
}
.mt-foot-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── ticker ───────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticker-track span { flex-shrink: 0; }
.ticker-track em { color: var(--pink); font-style: normal; margin-right: 8px; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── hero cover section ───────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 220px 1fr 480px;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  min-height: 640px;
}
.hero > * {
  padding: 40px 32px;
  border-right: 1px solid var(--ink);
}
.hero > *:last-child { border-right: none; padding: 0; }

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-issue {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero-deck {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 28px;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.read-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.read-link:hover { background: var(--ink); color: var(--cream); }

/* stat blocks in hero sidebar */
.stat { }
.stat > div:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

/* animated dot */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  margin-right: 6px;
  animation: pulse 1.4s infinite;
  vertical-align: middle;
}

/* ── search overlay ───────────────────────────── */
.search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.92);
  padding: 80px 32px 32px;
}
.search-overlay.open { display: block; }
.search-overlay input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--cream);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.02em;
  outline: none;
  padding-bottom: 12px;
}
.search-overlay .close-btn {
  position: absolute; top: 24px; right: 32px;
  background: transparent; border: none;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.search-results {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── newsletter modal ─────────────────────────── */
.nl-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,10,10,0.7);
  align-items: center; justify-content: center;
}
.nl-modal-overlay.open { display: flex; }
.nl-modal {
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
}
