/* The Pomegranate Journal — «front page / index».
   Type leads: an expressive grotesk for headlines, a newspaper serif for reading, mono for every fact.
   Paper, ink and one accent (pomegranate seed). Hairline rules instead of cards; no radius, no shadow. */

@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("/fonts/bricolage.a756882d8a.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader.6e4f2958c3.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader-italic.5dfcd10d24.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/plex-mono-400.08949f728d.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/plex-mono-500.01d2854474.woff2") format("woff2");
}

:root {
  --paper: #f6f3ec;
  --paper-deep: #ece7dc;
  --ink: #151412;
  --ink-soft: #57534b;
  --rule: #151412;
  --rule-soft: #d6d0c3;
  --seed: #b0152e;
  --seed-deep: #8a0f23;

  --display: "Bricolage", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --max: 90rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background-color: var(--paper);
  /* Paper grain: a fixed SVG noise at very low strength. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--seed); outline-offset: 3px; }
::selection { background: var(--seed); color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; background: var(--ink); color: var(--paper); padding: .6rem 1rem; font: 500 .8125rem/1 var(--mono); }
.skip:focus { top: .75rem; }

/* ── Bar ─────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--max); margin: 0 auto; padding: .85rem var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font: 500 .8125rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.bar__home { text-decoration: none; font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 1.05rem; letter-spacing: -.01em; text-transform: none; }
.bar__nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); }
.bar__nav a { text-decoration: none; padding-block: .35rem; }
.bar__nav a:hover { color: var(--seed); }
.bar__hotel span { color: var(--seed); }

/* ── Shared labels ───────────────────────────────────────────────── */
.section-label, .kicker, .masthead__issue, .row__meta, .tag-head__label, .tag-head__count, .adjacent__label, .margin__facts dt, .colophon__meta, .lead__more {
  font-family: var(--mono); font-weight: 500; font-size: .78rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
}
.section-label {
  max-width: var(--max); margin: 0 auto; padding: .7rem var(--gutter);
  display: flex; align-items: center; gap: .75rem;
  border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.section-label::before { content: ""; width: .55rem; height: .55rem; background: var(--seed); border-radius: 50%; flex: none; }
.kicker { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 0 0 1.25rem; color: var(--ink-soft); }
.kicker__flag { color: var(--seed); text-decoration: none; }
a.kicker__flag:hover { text-decoration: underline; }

/* ── Masthead ────────────────────────────────────────────────────── */
.masthead { max-width: var(--max); margin: 0 auto; padding: clamp(1.75rem, 5vw, 4rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.masthead__issue { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; margin: 0 0 clamp(1.25rem, 3vw, 2.25rem); padding-bottom: .7rem; border-bottom: 1px solid var(--rule); }
.masthead__title {
  margin: 0;
  font-family: var(--display); font-weight: 760; font-stretch: 75%;
  font-size: clamp(3.4rem, 14.6vw, 15rem); line-height: .82; letter-spacing: -.022em;
  font-variation-settings: "opsz" 96;
}
.masthead__title span { display: block; animation: rise .9s var(--ease) both; }
.masthead__title span + span { animation-delay: .12s; padding-left: clamp(0rem, 11vw, 12rem); }
.masthead__title i { font-style: normal; color: var(--seed); }
.masthead__title b { font-weight: inherit; }
@media (max-width: 599px) {
  .masthead__title { font-size: 21.5vw; line-height: .84; }
  .masthead__title b { display: block; }
  .masthead__title span + span { padding-left: 0; }
}
.masthead__dek {
  max-width: 34rem; margin: clamp(1.5rem, 3.5vw, 2.5rem) 0 0 auto;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; font-style: italic; color: var(--ink-soft);
  animation: fade 1s .35s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ── Lead story ──────────────────────────────────────────────────── */
.lead {
  max-width: var(--max); margin: 0 auto clamp(3rem, 7vw, 6rem); padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0;
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 3px solid var(--rule);
}
.lead__title { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 82%; font-size: clamp(2.1rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.015em; }
.lead__title a { text-decoration: none; background: linear-gradient(var(--seed), var(--seed)) 0 100% / 0 .08em no-repeat; transition: background-size .5s var(--ease); }
.lead__title a:hover { background-size: 100% .08em; }
.lead__dek { margin: 1.25rem 0 1.5rem; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.lead__more { text-decoration: none; display: inline-flex; gap: .5rem; padding-bottom: .2rem; border-bottom: 1px solid var(--seed); }
.lead__more:hover { color: var(--seed); }
.lead__image { margin: 0; }
.lead__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .lead { grid-template-columns: 7fr 5fr; align-items: end; }
  .lead__text { padding-bottom: .5rem; }
  .lead__image img { aspect-ratio: 4 / 5; }
}

/* ── Topics strip ────────────────────────────────────────────────── */
.topics { margin: 0 auto clamp(3rem, 7vw, 6rem); }
.topics__list {
  list-style: none; max-width: var(--max); margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem) var(--gutter) 1rem;
  display: flex; flex-wrap: wrap; gap: .2rem 1.4rem;
  font-family: var(--display); font-weight: 560; font-stretch: 85%; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -.02em;
}
.topics__list a { text-decoration: none; }
.topics__list a:hover { color: var(--seed); }
.topics__list sup { font: 500 .78rem/1 var(--mono); color: var(--seed); margin-left: .15rem; vertical-align: super; letter-spacing: 0; }
.topics__all { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.topics__all:hover { color: var(--seed); }

/* ── Index (table of contents) ───────────────────────────────────── */
.index { margin: 0 auto clamp(3rem, 7vw, 6rem); }
.year { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; }
.year + .year { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.year__num {
  margin: 0; padding: 1.25rem 0 .25rem;
  font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: clamp(3.25rem, 9vw, 7.5rem); line-height: .85; letter-spacing: -.025em; color: var(--seed);
}
.rows { list-style: none; margin: 0; padding: 0; }
.related .rows, .index--tag .rows { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.row {
  position: relative;
  display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; align-items: baseline;
  padding: 1rem 0 1.05rem;
  border-bottom: 1px solid var(--rule-soft);
}
.row:first-child { border-top: 1px solid var(--rule); }
.row__no { grid-row: 1; align-self: start; font: 500 .8125rem/1 var(--mono); color: var(--ink-soft); padding-top: .55rem; transition: color .25s; }
.row__title { margin: 0; font-family: var(--display); font-weight: 620; font-stretch: 88%; font-size: clamp(1.3rem, 2.3vw, 1.85rem); line-height: 1.1; letter-spacing: -.015em; }
.row__title a { text-decoration: none; display: inline-block; transition: transform .35s var(--ease), color .25s; }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row__meta { grid-column: 2; margin: .45rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem 1rem; color: var(--ink-soft); }
.row__thumb { display: none; }
.row:hover .row__no { color: var(--seed); }
.row:hover .row__title a { color: var(--seed); transform: translateX(.35rem); }
.row:focus-within { background: var(--paper-deep); }
@media (min-width: 1024px) {
  .year { grid-template-columns: 11rem 1fr; column-gap: 2rem; }
  .year__num { position: sticky; top: 4.25rem; align-self: start; padding-top: .9rem; }
  .row { grid-template-columns: 3.25rem 1fr 16rem 7.5rem; column-gap: 1.5rem; align-items: center; padding: 1.15rem 0; }
  .row__meta { grid-column: 3; margin: 0; flex-direction: column; gap: .25rem; }
  .row__thumb { display: block; grid-column: 4; grid-row: 1; }
  .row__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .9; transition: filter .45s var(--ease), opacity .45s; }
  .row:hover .row__thumb img { filter: none; opacity: 1; }
}

/* ── Article ─────────────────────────────────────────────────────── */
.article {
  max-width: var(--max); margin: 0 auto; padding: clamp(1.75rem, 5vw, 4.5rem) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem);
}
.article__head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.article__title {
  margin: 0; max-width: 18ch;
  font-family: var(--display); font-weight: 720; font-stretch: 78%; font-size: clamp(2.4rem, 7.2vw, 6.25rem); line-height: .94; letter-spacing: -.02em;
  text-wrap: balance;
}
.article[lang="ru"] .article__title, [lang="ru"].row__title, [lang="ru"].lead__title { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
.article__dek { margin: clamp(1.25rem, 3vw, 2rem) 0 0; max-width: 40rem; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; font-style: italic; color: var(--ink-soft); }
.article__margin { border-top: 3px solid var(--rule); padding-top: .9rem; margin-bottom: 2rem; }
.margin__no { margin: 0 0 .75rem; font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: 3.25rem; line-height: .9; letter-spacing: -.02em; color: var(--seed); }
.margin__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .9rem 1.25rem; }
.margin__facts dt { color: var(--ink-soft); margin-bottom: .2rem; }
.margin__facts dd { margin: 0; font-size: 1rem; line-height: 1.35; }
.margin__facts a { text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.margin__facts a:hover { color: var(--seed); border-color: var(--seed); }
.article__hero { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.article__hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.article__hero figcaption, .prose figcaption { margin-top: .6rem; font: 400 .8125rem/1.45 var(--mono); color: var(--ink-soft); }

.prose { min-width: 0; font-size: clamp(1.125rem, 1.35vw, 1.3125rem); line-height: 1.65; }
.prose > * { max-width: 38rem; }
.prose p { margin: 0 0 1.15em; hanging-punctuation: first; }
.prose > p:first-child::first-letter {
  float: left; margin: .06em .1em 0 -.02em;
  font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: 4.4em; line-height: .78; color: var(--seed);
}
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-family: var(--display); font-stretch: 85%; letter-spacing: -.02em; line-height: 1.1; margin: 1.8em 0 .55em; }
.prose h2 { font-size: 1.6em; font-weight: 700; }
.prose h3 { font-size: 1.3em; font-weight: 680; }
.prose h4, .prose h5, .prose h6 { font-size: 1.1em; font-weight: 650; }
.prose a { text-decoration: underline; text-decoration-color: var(--seed); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose a:hover { color: var(--seed); text-decoration-thickness: 2px; }
.prose strong, .prose b { font-weight: 640; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--seed); font-family: var(--mono); font-size: .85em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 3px solid var(--seed); font-style: italic; }
.prose .figure { margin: 2em 0; max-width: 46rem; }
.prose .figure img { width: 100%; }
.embed--video .embed__play {
  display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.25rem;
  border: 1px solid var(--rule); text-decoration: none;
  font: 500 .8125rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.embed--video .embed__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: .55rem 0 .55rem .95rem; border-color: transparent transparent transparent var(--seed); }
.embed--video .embed__play:hover { background: var(--ink); color: var(--paper); }
.embed--video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.embed--link a { font: 500 .8125rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

@media (min-width: 1024px) {
  .article { grid-template-columns: 13rem minmax(0, 1fr); }
  .article__head, .article__hero { grid-column: 1 / -1; }
  .article__head { padding-left: calc(13rem + clamp(1.5rem, 3vw, 3rem)); }
  .article__margin { grid-column: 1; grid-row: 3 / span 2; align-self: start; position: sticky; top: 5rem; margin: 0; }
  .margin__facts { grid-template-columns: 1fr; }
  .prose { grid-column: 2; }
  .article__hero { grid-column: 2 / -1; }
  .article:has(.article__hero) .article__margin { grid-row: 2 / span 2; }
}

/* ── After the article ───────────────────────────────────────────── */
.adjacent {
  max-width: var(--max); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--rule);
}
.adjacent__link { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 0; text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.adjacent__label { color: var(--seed); }
.adjacent__title { font-family: var(--display); font-weight: 650; font-stretch: 85%; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.12; letter-spacing: -.015em; }
.adjacent__link:hover .adjacent__title { color: var(--seed); }
@media (min-width: 768px) {
  .adjacent { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .adjacent__link { border-bottom: 0; }
  .adjacent__link--newer { text-align: right; align-items: flex-end; grid-column: 2; }
}
.related { margin: clamp(3rem, 6vw, 5rem) auto clamp(3rem, 7vw, 6rem); }
.related .row:first-child { border-top: 0; }

/* ── Tag pages ───────────────────────────────────────────────────── */
.tag-head { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem); }
.tag-head__label { margin: 0 0 .75rem; color: var(--seed); }
.tag-head__title {
  margin: 0; font-family: var(--display); font-weight: 760; font-stretch: 75%;
  font-size: clamp(3rem, 12vw, 11rem); line-height: .86; letter-spacing: -.025em; overflow-wrap: anywhere;
}
.tag-head__title::before { content: "#"; color: var(--seed); font-weight: 400; margin-right: .04em; }
.tag-head--missing .tag-head__title::before, .glossary ~ * .tag-head__title::before { content: none; }
.tag-head__count { margin: 1.25rem 0 0; color: var(--ink-soft); }
.tag-head__count a { color: var(--ink); }
.index--tag { margin-top: 0; }
.glossary {
  max-width: var(--max); margin: 0 auto clamp(3rem, 7vw, 6rem); padding: 1.5rem var(--gutter) 0;
  border-top: 3px solid var(--rule);
  columns: 17rem auto; column-gap: 2.5rem;
}
.glossary__group { break-inside: avoid; margin-bottom: 1.5rem; }
.glossary__letter { margin: 0 0 .35rem; font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: 2.25rem; line-height: 1; color: var(--seed); }
.glossary ul { list-style: none; margin: 0; padding: 0; }
.glossary li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--rule-soft); }
.glossary li a { text-decoration: none; }
.glossary li a:hover { color: var(--seed); }
.glossary li span { font: 500 .78rem/1.8 var(--mono); color: var(--ink-soft); }

/* ── Colophon ────────────────────────────────────────────────────── */
.colophon {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 2.5rem;
  border-top: 3px solid var(--rule);
  display: grid; gap: 1rem;
}
.colophon__name { margin: 0; font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: .9; letter-spacing: -.02em; }
.colophon__logo { display: inline-block; justify-self: start; }
.colophon__logo img { height: 64px; width: auto; }
.colophon__line { margin: 0; font-style: italic; color: var(--ink-soft); }
.colophon__line a { color: var(--ink); text-decoration-color: var(--seed); text-underline-offset: .18em; }
.colophon__meta { margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); }
.colophon__meta a { color: var(--ink); }
@media (min-width: 900px) {
  .colophon { grid-template-columns: 1fr auto; align-items: end; }
  .colophon__line, .colophon__meta { grid-column: 1; }
  .colophon__logo { grid-column: 2; grid-row: 1 / span 3; align-self: end; justify-self: end; }
}

/* Phones: the bar keeps the wordmark and two links. */
@media (max-width: 479px) {
  .bar__nav a[href="/#index"] { display: none; }
  .bar__home { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; }
  .bar, .adjacent, .related, .colophon__meta, .skip { display: none; }
}
