@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #252525;
  --paper-light: #252525;
  --ink: rgb(237, 233, 230);
  --paper-rgb: 37 37 37;
  --ink-rgb: 237 233 230;
  --muted: rgba(237, 233, 230, 0.64);
  --line: rgba(237, 233, 230, 0.24);
  --accent: rgb(237, 233, 230);
  --accent-deep: rgb(237, 233, 230);
  --warm: #252525;
  --panel: #252525;
  --dark-ink: #252525;
  --surface-raised: #292929;
  --surface-menu: #202020;
  --surface-deep: #171717;
  --surface-settings: #2c2c2c;
  --surface-overlay: rgba(10, 10, 11, 0.78);
  --surface-sticky: rgba(37, 37, 37, 0.9);
  --surface-header-overlay: rgba(37, 37, 37, 0.94);
  --shadow-raised: rgba(0, 0, 0, 0.48);
  --shadow-soft: rgba(0, 0, 0, 0.25);
  --editor-surface-rgb: 41 41 41;
  --brand-filter: none;
  --on-color: #252525;
  --max-width: 1180px;
  --gutter: clamp(20px, 2.5vw, 36px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --paper: rgb(237, 233, 230);
  --paper-light: rgb(237, 233, 230);
  --ink: #252525;
  --paper-rgb: 237 233 230;
  --ink-rgb: 37 37 37;
  --muted: rgba(37, 37, 37, 0.64);
  --line: rgba(37, 37, 37, 0.24);
  --accent: #252525;
  --accent-deep: #252525;
  --warm: rgb(237, 233, 230);
  --panel: rgb(237, 233, 230);
  --dark-ink: rgb(237, 233, 230);
  --surface-raised: #e5e1de;
  --surface-menu: #f2eeeb;
  --surface-deep: #f7f4f1;
  --surface-settings: #e2deda;
  --surface-overlay: rgba(37, 37, 37, 0.36);
  --surface-sticky: rgba(237, 233, 230, 0.9);
  --surface-header-overlay: rgba(237, 233, 230, 0.94);
  --shadow-raised: rgba(37, 37, 37, 0.2);
  --shadow-soft: rgba(37, 37, 37, 0.12);
  --editor-surface-rgb: 229 225 222;
  --brand-filter: brightness(0) saturate(100%) opacity(0.85);
  --on-color: #252525;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
figure,
ol {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  left: 20px;
  padding: 12px 18px;
  position: fixed;
  top: -70px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 20px;
}

.wrap {
  margin-inline: auto;
  max-width: var(--max-width);
  padding-inline: var(--gutter);
  width: 100%;
}

.page-shell {
  background: var(--paper);
  min-height: 100vh;
  overflow: clip;
}

html.theme-ready body,
html.theme-ready .page-shell,
html.theme-ready #content,
html.theme-ready .site-header,
html.theme-ready .mobile-menu,
html.theme-ready .mobile-menu__top,
html.theme-ready .editor-modal__panel,
html.theme-ready .editor-settings,
html.theme-ready .editor-preview-screen,
html.theme-ready .editor-preview-screen__toolbar {
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease;
}

#content {
  background: var(--paper);
  border-radius: 0 0 28px 28px;
  overflow: clip;
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  .page-shell {
    min-height: 100vh;
  }
}

.site-header {
  background: var(--paper);
  position: relative;
  z-index: 50;
}

.gazeta-header {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  height: 68px;
}

.header-nav,
.header-service {
  align-items: center;
  display: flex;
}

.header-nav {
  gap: 24px;
}

.header-service {
  gap: 2px;
  justify-content: flex-end;
  transform: translateY(1px);
}

.header-nav a {
  font-size: 12px;
  font-weight: 650;
}

.utility-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 10px;
  font-weight: 650;
  grid-template-columns: 1fr auto 1fr;
  height: 34px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.utility-date {
  align-items: center;
  display: flex;
  gap: 8px;
}

.live-dot {
  background: var(--accent-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(var(--ink-rgb) / 0.14);
  height: 6px;
  width: 6px;
}

.utility-positioning {
  color: var(--muted);
}

.text-button {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.utility-login {
  justify-self: end;
  text-transform: uppercase;
}

.brand-row {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 112px;
  position: relative;
}

.wordmark {
  display: block;
  justify-self: start;
  line-height: 0;
  transform: translateY(1px);
  width: 250px;
}

.wordmark img {
  display: block;
  filter: var(--brand-filter);
  height: auto;
  transition: filter 260ms ease;
  width: 100%;
}

.wordmark i {
  display: none;
}

.brand-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  justify-self: start;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-note span {
  color: var(--ink);
  margin-inline: 5px;
}

.icon-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.icon-button svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
  width: 25px;
}

.telegram-button.is-disabled {
  cursor: default;
  opacity: 1;
}

.telegram-button img {
  height: 26px;
  width: 26px;
}

.theme-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0 5px;
  width: 62px;
}

.theme-toggle__track {
  background: rgb(var(--ink-rgb) / 0.07);
  border: 1px solid rgb(var(--ink-rgb) / 0.3);
  border-radius: 999px;
  display: block;
  height: 28px;
  position: relative;
  transition: background-color 260ms ease, border-color 260ms ease;
  width: 52px;
}

.theme-toggle__thumb {
  background: var(--ink);
  border-radius: 50%;
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transform: translateX(24px);
  transition: background-color 260ms ease, transform 280ms var(--ease);
  width: 20px;
  z-index: 1;
}

html[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(0);
}

.theme-toggle__icon {
  fill: none;
  height: 14px;
  opacity: 0.45;
  position: absolute;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  top: 6px;
  transition: opacity 260ms ease, stroke 260ms ease;
  width: 14px;
  z-index: 2;
}

.theme-toggle__icon--sun {
  left: 6px;
}

.theme-toggle__icon--moon {
  right: 6px;
}

html[data-theme="dark"] .theme-toggle__icon--moon,
html[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 1;
  stroke: var(--paper);
}

.theme-toggle:hover .theme-toggle__track {
  background: rgb(var(--ink-rgb) / 0.12);
  border-color: rgb(var(--ink-rgb) / 0.48);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}

.menu-toggle {
  display: inline-flex;
}

.search-toggle {
  justify-self: end;
}

.desktop-nav {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  height: 46px;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.desktop-nav a {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 100%;
  letter-spacing: 0.045em;
  position: relative;
  text-transform: uppercase;
}

.desktop-nav a::after {
  background: var(--ink);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
  width: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  inset: 0;
  max-height: 100dvh;
  opacity: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter))) 28px;
  position: fixed;
  touch-action: pan-y;
  transform: translateY(-18px);
  transition: opacity 250ms ease, transform 350ms var(--ease), visibility 350ms;
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 100;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__top {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.mobile-menu__caption {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu nav {
  margin-top: 20px;
}

.mobile-menu nav a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  padding-block: 15px;
}

.search-panel {
  visibility: hidden;
}

.lead-story {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.78fr);
  padding-bottom: clamp(64px, 7vw, 100px);
  padding-top: clamp(34px, 4vw, 56px);
}

.lead-feature {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding-right: clamp(26px, 3.8vw, 58px);
}

.lead-feature__meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.lead-feature__meta > span:last-child,
.section-heading > span,
.section-heading > div + span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow i {
  display: none;
}

.lead-feature h1 {
  font-size: clamp(31px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  max-width: 770px;
}

.lead-deck {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.45;
  margin-top: clamp(28px, 3vw, 42px);
  max-width: 560px;
}

.post-byline {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  width: fit-content;
}

.post-byline--lead {
  margin-top: auto;
  padding-top: 38px;
}

.post-byline__photo {
  border: 1px solid var(--line);
  border-radius: 50%;
  display: block;
  height: 40px;
  overflow: hidden;
  transition: border-color 220ms var(--ease), opacity 220ms var(--ease);
  width: 40px;
}

.post-byline__avatar {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.post-byline__copy {
  display: grid;
  gap: 1px;
  line-height: 1.25;
}

.post-byline__label {
  color: var(--muted);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-byline strong {
  font-size: 11px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.post-byline:hover .post-byline__photo {
  border-color: var(--muted);
  opacity: 0.86;
}

.post-byline:hover strong {
  text-decoration: underline;
}

.post-byline--compact {
  margin-top: 14px;
}

.post-byline--compact .post-byline__photo {
  height: 28px;
  width: 28px;
}

.post-byline--compact strong {
  font-size: 9px;
}

.story-link,
.all-link {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 750;
  gap: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-link {
  border-bottom: 1px solid currentColor;
  margin-top: 28px;
  padding-bottom: 8px;
  width: fit-content;
}

.story-link span,
.all-link span {
  transition: transform 220ms var(--ease);
}

.story-link:hover span,
.all-link:hover span {
  transform: translate(3px, -3px);
}

.lead-visual {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding-inline: clamp(26px, 3.8vw, 58px);
}

.lead-visual__image-wrap {
  min-height: 510px;
  overflow: hidden;
  position: relative;
}

.lead-visual img {
  filter: grayscale(1) contrast(1.04);
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  position: absolute;
  transition: transform 900ms var(--ease), filter 500ms ease;
  width: 100%;
}

.lead-visual:hover img {
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.025);
}

.issue-stamp {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  font-size: 8px;
  font-weight: 750;
  height: 78px;
  justify-content: center;
  letter-spacing: 0.12em;
  position: absolute;
  right: 20px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  width: 78px;
  color: var(--paper);
}

.issue-stamp strong {
  font-size: 12px;
  margin-top: 2px;
}

.lead-visual figcaption {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  margin-top: 11px;
}

.day-brief {
  padding-left: clamp(26px, 3.3vw, 48px);
}

.section-heading {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
}

.section-heading > *,
.latest-layout > *,
.feature-grid > *,
.opinion-layout > *,
.research-card > *,
.newsletter-section > * {
  min-width: 0;
}

.section-heading h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin-top: 12px;
}

.section-heading > div > h2:first-child {
  margin-top: 0;
}

.section-heading--compact {
  align-items: center;
  padding-bottom: 17px;
}

.section-heading--compact span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading--compact b {
  color: var(--ink);
  font-weight: 750;
}

.brief-list {
  list-style: none;
  padding: 0;
}

.brief-list li {
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
}

.brief-list time {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.brief-list a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.48;
  transition: background-size 300ms var(--ease);
}

.brief-list a:hover {
  background-size: 100% 1px;
}

.day-brief .all-link {
  margin-top: 24px;
}

.latest-section,
.topic-section {
  padding-bottom: clamp(68px, 7vw, 105px);
}

.latest-section {
  max-width: 1040px;
}

.story-filters {
  display: flex;
  gap: 8px;
}

.story-filters button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 13px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.story-filters button:hover,
.story-filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.latest-layout {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: clamp(44px, 7vw, 108px);
  grid-template-columns: minmax(0, 2fr) minmax(250px, 0.72fr);
  padding-top: 0;
}

.news-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 28px 0 32px;
  transition: opacity 260ms ease, transform 260ms ease;
}

.news-row.is-hidden {
  display: none;
}

.news-row__meta {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-row__meta time {
  font-size: 10px;
  font-weight: 750;
}

.news-row__meta span,
.article-tag {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-row h3 {
  font-size: clamp(18px, 1.85vw, 26px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.news-row h3 a,
.feature-item h3 a,
.tool-row h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 320ms var(--ease);
}

.news-row h3 a:hover,
.feature-item h3 a:hover,
.tool-row h3 a:hover {
  background-size: 100% 2px;
}

.news-row__content > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 13px;
  max-width: 650px;
}

.news-row__number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  justify-self: end;
}

.editors-pick {
  align-self: start;
  border-top: 1px solid var(--ink);
  position: sticky;
  top: 22px;
}

.editors-pick > .eyebrow {
  padding-block: 18px;
}

.editors-pick__art {
  align-items: center;
  aspect-ratio: 1.05;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.editors-pick__art::before,
.editors-pick__art::after {
  border: 1px solid rgb(var(--ink-rgb) / 0.34);
  border-radius: 50%;
  content: "";
  height: 84%;
  position: absolute;
  width: 84%;
}

.editors-pick__art::after {
  height: 62%;
  width: 62%;
}

.editors-pick__art span {
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
  position: relative;
  z-index: 1;
}

.editors-pick__art i {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 14px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.editors-pick__type {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 20px;
  text-transform: uppercase;
}

.editors-pick h3 {
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-top: 10px;
}

.editors-pick h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.editors-pick h3 + p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
}

.feature-grid {
  display: grid;
  gap: clamp(46px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  padding-top: 40px;
}

.weekly-lead-image {
  aspect-ratio: 3 / 2;
  display: block;
  margin-bottom: 24px;
  overflow: hidden;
}

.weekly-lead-image img {
  display: block;
  filter: grayscale(1) contrast(0.92);
  height: 100%;
  object-fit: cover;
  transition: filter 300ms ease, transform 500ms var(--ease);
  width: 100%;
}

.weekly-lead-image:hover img {
  filter: grayscale(0.82) contrast(0.96);
  transform: scale(1.015);
}

.editorial-art {
  aspect-ratio: 1.75;
  background: var(--warm);
  overflow: hidden;
  position: relative;
}

.editorial-art--signal {
  background: var(--paper);
  border: 1px solid var(--ink);
}

.art-word {
  bottom: -0.14em;
  font-size: clamp(82px, 13.5vw, 196px);
  font-weight: 820;
  left: -0.055em;
  letter-spacing: -0.095em;
  line-height: 1;
  position: absolute;
}

.art-circle {
  background: var(--accent);
  border-radius: 50%;
  height: 36%;
  position: absolute;
  right: 8%;
  top: 10%;
  width: 21%;
}

.art-grid {
  background-image: linear-gradient(rgb(var(--ink-rgb) / 0.18) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--ink-rgb) / 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  height: 70%;
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
}

.feature-main .article-tag {
  margin-top: 22px;
}

.feature-main h3 {
  font-size: clamp(27px, 2.9vw, 42px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-top: 0;
  max-width: 890px;
}

.feature-main h3 a:hover {
  color: var(--muted);
}

.feature-main > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 620px;
}

.feature-list {
  border-top: 1px solid var(--ink);
}

.feature-item {
  border-bottom: 1px solid var(--line);
  padding-block: 26px 30px;
  position: relative;
}

.feature-item h3 {
  font-size: clamp(19px, 1.85vw, 26px);
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin-top: 0;
}

.feature-item > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  margin-top: 12px;
  padding-right: 60px;
}

.feature-item > span {
  bottom: 30px;
  color: var(--muted);
  font-size: 9px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.opinion-section {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  color: var(--ink);
  margin-bottom: clamp(68px, 7vw, 105px);
  padding-block: clamp(64px, 7vw, 96px);
}

.opinion-layout {
  display: grid;
  gap: clamp(38px, 5vw, 78px);
  grid-template-columns: 0.65fr 1.65fr 0.8fr;
}

.opinion-intro h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin-top: 0;
}

.opinion-intro > p:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 28px;
  max-width: 250px;
}

.opinion-feature {
  border-left: 1px solid var(--line);
  padding-left: clamp(32px, 5vw, 80px);
}

.opinion-feature .weekly-lead-image {
  margin-bottom: 28px;
}

.opinion-quote {
  font-size: clamp(24px, 2.4vw, 35px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.opinion-author {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  margin-top: clamp(40px, 5vw, 72px);
}

.opinion-author__portrait {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--paper);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.opinion-author strong {
  font-size: 12px;
}

.opinion-author p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.opinion-author > a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  font-size: 20px;
  height: 46px;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease;
  width: 46px;
}

.opinion-author > a:hover {
  background: var(--accent);
  color: var(--paper);
}

.opinion-index {
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
}

.opinion-index li {
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
}

.opinion-index span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.opinion-index a {
  font-size: 13px;
  font-weight: 570;
  line-height: 1.45;
}

.opinion-index a:hover {
  color: var(--accent);
}

.tools-index {
  padding-top: 34px;
}

.services-layout {
  display: grid;
  gap: clamp(46px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  padding-top: 40px;
}

.services-layout > * {
  min-width: 0;
}

.services-layout .tools-index {
  padding-top: 0;
}

.services-layout .tool-row {
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 44px;
  min-height: 0;
  padding-block: 26px;
}

.services-layout .tool-row > p {
  display: none;
}

.services-layout .tool-row h3 {
  font-size: clamp(18px, 1.7vw, 24px);
}

.services-feature h3 {
  font-size: clamp(27px, 2.9vw, 42px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.services-feature > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 620px;
}

.tool-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 130px 48px;
  min-height: 130px;
  transition: background 240ms ease, padding 240ms var(--ease);
}

.tool-row:first-child {
  border-top: 1px solid var(--line);
}

.tool-row:hover {
  background: var(--paper-light);
  padding-inline: 18px;
}

.tool-row__index {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.tool-row > div > p,
.tool-row > p {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-row h3 {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-top: 7px;
}

.tool-row > a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  font-size: 18px;
  height: 44px;
  justify-content: center;
  transition: background 200ms ease, border 200ms ease;
  width: 44px;
}

.tool-row:hover > a {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.research-section {
  padding-bottom: clamp(68px, 7vw, 105px);
}

.research-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

.research-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px);
}

.research-copy > * {
  max-width: 820px;
}

.research-copy h2 {
  font-size: clamp(32px, 3.4vw, 47px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-top: 0;
  max-width: 850px;
}

.research-copy > p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 590px;
}

.button {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 100px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 750;
  gap: 24px;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-top: 34px;
  min-width: 240px;
  padding: 15px 18px;
  text-transform: uppercase;
  width: fit-content;
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: transparent;
  color: var(--ink);
}

.research-visual {
  background: var(--paper);
  border-left: 1px solid var(--ink);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

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

.research-visual__year {
  bottom: -0.09em;
  font-size: clamp(130px, 19vw, 290px);
  font-weight: 820;
  left: -0.055em;
  letter-spacing: -0.1em;
  line-height: 0.62;
  position: absolute;
}

.research-visual__line {
  display: none;
}

.research-visual__dot {
  display: none;
}

.research-visual p {
  font-size: 44px;
  font-weight: 760;
  line-height: 0.8;
  position: absolute;
  right: 11%;
  text-align: right;
  top: 28%;
}

.research-visual small {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-section {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  padding-bottom: clamp(68px, 7vw, 96px);
  padding-top: clamp(48px, 5vw, 72px);
}

.newsletter-section > * {
  min-width: 0;
}

.newsletter-copy h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-top: 0;
}

.newsletter-form {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-form label {
  border-bottom: 1px solid var(--ink);
  min-width: 0;
}

.newsletter-form input {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  height: 58px;
  min-width: 0;
  outline: none;
  padding: 0 18px 0 0;
  width: 100%;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form button {
  appearance: none;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--paper);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  min-width: 170px;
  padding-inline: 18px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.newsletter-form button:hover {
  background: var(--accent);
  color: var(--paper);
}

.newsletter-form > p {
  color: var(--muted);
  font-size: 10px;
  grid-column: 1 / -1;
  line-height: 1.5;
  margin-top: 12px;
}

.newsletter-form .newsletter-success {
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  min-height: 15px;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--ink);
  color: var(--ink);
  padding-top: 68px;
}

.footer-main {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  padding-bottom: 64px;
}

.wordmark--footer {
  color: var(--ink);
  font-size: clamp(28px, 3.1vw, 44px);
  justify-self: start;
}

.footer-main > div > p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 20px;
  max-width: 300px;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-main nav a {
  color: var(--muted);
  font-size: 11px;
  width: fit-content;
}

.footer-main nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 8px;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.07em;
  min-height: 58px;
  text-transform: uppercase;
}

.footer-bottom button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 8px;
  justify-self: end;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal--delay {
  transition-delay: 100ms;
}

.reveal--delay-2 {
  transition-delay: 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .brand-row {
    min-height: 94px;
  }

  .lead-story {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  }

  .lead-feature {
    min-height: 0;
  }

  .day-brief {
    border-top: 0;
    grid-column: auto;
    margin-top: 0;
    padding-left: 30px;
  }

  .brief-list {
    display: block;
  }

  .brief-list li:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .brief-list li:nth-child(even) {
    padding-left: 0;
  }

  .opinion-layout {
    grid-template-columns: 0.62fr 1.38fr;
  }

  .opinion-index {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .utility-bar {
    display: none;
  }

  .gazeta-header {
    height: 58px;
  }

  #content {
    border-radius: 0 0 22px 22px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .wordmark {
    width: min(184px, 52vw);
  }

  .brand-note,
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    background: var(--paper);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    inset: 0;
    opacity: 0;
    padding: 22px var(--gutter) 28px;
    position: fixed;
    transform: translateY(-18px);
    transition: opacity 250ms ease, transform 350ms var(--ease), visibility 350ms;
    visibility: hidden;
    z-index: 100;
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-menu__top {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
  }

  .mobile-menu__caption {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-menu nav {
    counter-reset: item;
    margin-top: 20px;
  }

  .mobile-menu nav a {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: clamp(23px, 7.2vw, 36px);
    font-weight: 620;
    justify-content: space-between;
    letter-spacing: -0.055em;
    line-height: 1;
    padding-block: 15px;
  }

  .mobile-menu nav a span {
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 0;
  }

  .mobile-menu__footer {
    align-items: end;
    color: var(--muted);
    display: flex;
    font-size: 9px;
    justify-content: space-between;
    margin-top: auto;
  }

  .mobile-menu__footer a {
    color: var(--ink);
  }

  .search-panel {
    background: var(--surface-header-overlay);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity 250ms ease, visibility 250ms;
    visibility: hidden;
    z-index: 110;
  }

  .search-panel.is-open {
    opacity: 1;
    visibility: visible;
  }

  .search-panel__inner {
    background: var(--paper);
    padding-bottom: 34px;
    transform: translateY(-100%);
    transition: transform 420ms var(--ease);
  }

  .search-panel.is-open .search-panel__inner {
    transform: translateY(0);
  }

  .search-panel__top {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 9px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0.1em;
    padding-block: 12px;
    text-transform: uppercase;
  }

  .search-field {
    align-items: center;
    border-bottom: 1px solid var(--ink);
    display: flex;
  }

  .search-field input {
    appearance: none;
    background: transparent;
    border: 0;
    font-size: clamp(22px, 6vw, 34px);
    font-weight: 550;
    height: 90px;
    letter-spacing: -0.04em;
    outline: none;
    width: 100%;
  }

  .search-field svg {
    fill: none;
    height: 27px;
    stroke: currentColor;
    stroke-width: 1.6;
    width: 27px;
  }

  .search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }

  .search-suggestions__label {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    width: 100%;
    text-transform: uppercase;
  }

  .search-suggestions button {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    cursor: pointer;
    font-size: 10px;
    padding: 8px 11px;
  }

  .lead-story {
    display: block;
    padding-top: 34px;
  }

  .lead-feature {
    border-right: 0;
    min-height: 0;
    padding-right: 0;
  }

  .lead-feature__meta {
    margin-bottom: 30px;
  }

  .lead-feature h1 {
    font-size: clamp(28px, 7.2vw, 32px);
    line-height: 1;
  }

  .lead-deck {
    max-width: 600px;
  }

  .post-byline--lead {
    padding-top: 30px;
  }

  .lead-feature .story-link {
    margin-bottom: 36px;
  }

  .day-brief {
    border-top: 1px solid var(--ink);
    margin-top: 44px;
    padding-left: 0;
  }

  .day-brief .section-heading--compact {
    padding-block: 17px;
  }

  .latest-layout,
  .feature-grid,
  .services-layout,
  .research-card,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .editors-pick {
    position: relative;
    top: auto;
  }

  .editors-pick__art {
    aspect-ratio: 1.5;
  }

  .opinion-layout {
    grid-template-columns: 1fr;
  }

  .opinion-feature {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 34px;
  }

  .opinion-index {
    grid-column: auto;
  }

  .research-card {
    min-height: 0;
  }

  .research-visual {
    border-left: 0;
    border-top: 1px solid var(--ink);
    min-height: 410px;
  }

  .newsletter-form {
    align-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) {
  .search-panel {
    background: var(--surface-header-overlay);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity 250ms ease, visibility 250ms;
    visibility: hidden;
    z-index: 110;
  }

  .search-panel.is-open {
    opacity: 1;
    visibility: visible;
  }

  .search-panel__inner {
    background: var(--paper);
    padding-bottom: 56px;
    transform: translateY(-100%);
    transition: transform 440ms var(--ease);
  }

  .search-panel.is-open .search-panel__inner {
    transform: translateY(0);
  }

  .search-panel__top {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 10px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0.1em;
    padding-block: 14px;
    text-transform: uppercase;
  }

  .search-field {
    align-items: center;
    border-bottom: 1px solid var(--ink);
    display: flex;
  }

  .search-field input {
    appearance: none;
    background: transparent;
    border: 0;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 560;
    height: 160px;
    letter-spacing: -0.055em;
    outline: none;
    width: 100%;
  }

  .search-field svg {
    fill: none;
    height: 42px;
    stroke: currentColor;
    stroke-width: 1.3;
    width: 42px;
  }

  .search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
  }

  .search-suggestions__label {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    width: 100%;
    text-transform: uppercase;
  }

  .search-suggestions button {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    cursor: pointer;
    font-size: 10px;
    padding: 10px 14px;
  }
}

@media (max-width: 560px) {
  .wordmark {
    width: min(152px, 38vw);
  }

  .header-service {
    gap: 0;
  }

  .header-service .icon-button {
    width: 36px;
  }

  .theme-toggle {
    padding-inline: 1px;
    width: 50px;
  }

  .theme-toggle__track {
    width: 48px;
  }

  .theme-toggle__thumb {
    transform: translateX(20px);
  }

  html[data-theme="light"] .theme-toggle__thumb {
    transform: translateX(0);
  }

  .theme-toggle__icon--sun {
    left: 5px;
  }

  .theme-toggle__icon--moon {
    right: 5px;
  }

  .topic-track {
    gap: 24px;
  }

  .lead-story {
    padding-bottom: 78px;
  }

  .lead-feature__meta > span:last-child {
    display: none;
  }

  .lead-deck {
    font-size: 15px;
  }

  .post-byline--lead {
    align-items: center;
  }

  .brief-list {
    display: block;
  }

  .brief-list li:nth-child(odd),
  .brief-list li:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .section-heading .all-link {
    flex-basis: 100%;
  }

  .latest-section .section-heading {
    display: block;
  }

  .story-filters {
    margin-top: 22px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .story-filters button {
    flex: 0 0 auto;
  }

  .news-row {
    gap: 13px;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 24px 27px;
  }

  .news-row__meta {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .news-row__meta span {
    overflow-wrap: anywhere;
  }

  .news-row__number {
    display: none;
  }

  .news-row h3 {
    font-size: 18px;
  }

  .news-row__content > p {
    display: none;
  }

  .feature-grid {
    gap: 52px;
  }

  .services-layout {
    gap: 52px;
  }

  .editorial-art {
    aspect-ratio: 1.25;
  }

  .art-word {
    font-size: 28vw;
  }

  .feature-main h3 {
    font-size: 25px;
  }

  .services-feature h3 {
    font-size: 25px;
  }

  .opinion-section {
    padding-block: 70px;
  }

  .opinion-quote {
    font-size: 22px;
  }

  .tool-row {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 40px;
    min-height: 120px;
  }

  .tool-row > p {
    display: none;
  }

  .tool-row h3 {
    font-size: 18px;
  }

  .tool-row > a {
    height: 38px;
    width: 38px;
  }

  .research-copy {
    padding: 40px 24px 48px;
  }

  .research-copy h2 {
    font-size: 28px;
  }

  .research-visual {
    min-height: 350px;
  }

  .research-visual__year {
    font-size: 44vw;
  }

  .newsletter-section {
    gap: 38px;
  }

  .newsletter-copy h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .newsletter-form {
    display: block;
  }

  .newsletter-form input {
    height: 56px;
  }

  .newsletter-form button {
    margin-top: 12px;
    min-height: 50px;
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 10px;
    grid-template-columns: 1fr auto;
    padding-block: 18px;
  }

  .footer-bottom > p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
