@import url("/fonts.css");

:root {
  color-scheme: light;
  --ink: #0a1f24;
  --teal: #0e2a31;
  --paper: #f1ece3;
  --cream: #fbf7f0;
  --orange: #f2600c;
  --muted: #526062;
  --line: #d5cec3;
  --display: Oswald, "Arial Narrow", sans-serif;
  --text: "Golos Text", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--text); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: #a73700; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(1192px, calc(100% - 2 * clamp(18px, 4vw, 56px))); margin-inline: auto; }
.top, footer { background: var(--ink); color: var(--cream); }
.bar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px 25px; flex-wrap: wrap; }
.bar a { color: inherit; }
.bar nav { display: flex; gap: clamp(16px, 4vw, 34px); }
.brand { font: 600 1.5rem/1 var(--display); text-decoration: none; }
.brand span { color: #ff813a; }
.bar [aria-current] { text-decoration-color: #ff813a; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.13; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.index, .article-head { padding-top: clamp(35px, 7vw, 78px); }
.intro { max-width: 63ch; font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); margin: 16px 0 30px; }
.tag { font-size: .85rem; font-weight: 650; color: #a73700; margin: 0 0 8px; }
.feature { margin-bottom: clamp(22px, 4vw, 40px); }
.card { display: flex; flex-direction: column; background: var(--cream); color: inherit; border-radius: 14px; overflow: hidden; text-decoration: none; }
.card img { aspect-ratio: 16 / 10; height: auto; background: #e2d9cb; }
.card > div { padding: clamp(17px, 2.4vw, 29px); }
.card h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.card p:last-child { margin: 12px 0 0; color: var(--muted); }
.card:hover h2 { text-decoration: underline; text-underline-offset: .15em; }
.feature .card { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; color: var(--cream); background: var(--teal); }
.feature img { aspect-ratio: 16 / 9; height: 100%; object-position: center 55%; }
.feature .card > div { align-self: center; padding: clamp(22px, 4vw, 52px); }
.feature h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
.feature .tag { color: #ff9c62; }
.feature p:last-child { color: #d2dbd8; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 30px); }
.index, .related { padding-bottom: clamp(42px, 7vw, 85px); }
.article-head { max-width: 900px; }
.back { display: inline-block; margin-bottom: 22px; }
.cover { margin: 0; overflow: hidden; border-radius: 16px; background: #e2d9cb; height: clamp(235px, 41vw, 530px); }
.cover img { object-position: center 55%; }
.prose { max-width: 72ch; margin: clamp(30px, 6vw, 66px) auto; font-size: clamp(1rem, 1.5vw, 1.125rem); }
.prose h2 { margin: 1.45em 0 .55em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li + li { margin-top: .42em; }
.table { overflow-x: auto; margin: 1.1em 0; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--cream); font-size: clamp(.84rem, 2vw, 1rem); }
th, td { padding: .62em .7em; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--cream); background: var(--teal); }
td:not(:first-child) { white-space: nowrap; }
.offer { margin-top: 28px; }
.offer a { display: inline-block; padding: 12px 19px; background: var(--orange); color: var(--ink); font-weight: 680; border-radius: 8px; text-decoration: none; }
.offer a:hover { background: #ff863f; }
.related { border-top: 1px solid var(--line); padding-top: 26px; }
.related > h2 { margin-bottom: 16px; }
.related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 850px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .grid, .related .grid, .feature .card { grid-template-columns: 1fr; }
  .feature img { height: auto; }
  .cover { border-radius: 12px; }
  footer .bar { padding-block: 14px; }
}

/* The journal shares the main site's dark shell, typography and orange actions. */
:root {
  --surface: #102e35;
  --on-dark: #cfdbd9;
  --dark-line: rgba(251, 247, 240, .16);
}
body { background: var(--ink); color: var(--cream); }
.wrap { width: min(1152px, calc(100% - 2 * clamp(18px, 5vw, 64px))); }
.top { border-bottom: 1px solid var(--dark-line); }
.bar a { text-decoration: none; }
.bar nav a:hover { color: #ff9c62; }
.brand { display: inline-flex; gap: 8px; align-items: center; text-transform: uppercase; font-size: 1.18rem; }
.brand svg { width: 37px; color: var(--orange); }
.brand small { background: var(--orange); color: var(--ink); padding: 5px 7px; border-radius: 3px; font: 700 .62rem/1.25 var(--text); letter-spacing: .1em; }
.bar [aria-current] { color: #ff9c62; }
h1 { text-transform: uppercase; font-size: clamp(2rem, 5.7vw, 4.7rem); }
.index h1 { color: var(--cream); }
.intro { color: var(--on-dark); }
.index { padding-top: clamp(34px, 5.4vw, 74px); }
.card { background: var(--surface); border: 1px solid var(--dark-line); border-radius: 6px; }
.card img { background: var(--teal); }
.card p:last-child, .feature .card p:last-child { color: var(--on-dark); }
.card .tag, .article-head .tag, .back { color: #ff9c62; }
.card h2 { font-weight: 550; }
.feature .card { grid-template-columns: 1fr; position: relative; isolation: isolate; min-height: clamp(370px, 42vw, 515px); align-items: end; background: var(--teal); }
.feature img { position: absolute; inset: 0; height: 100%; z-index: -2; object-position: center 48%; }
.feature .card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,31,36,.96), rgba(10,31,36,.76) 32%, rgba(10,31,36,.12) 72%), linear-gradient(0deg,rgba(10,31,36,.9),transparent 70%);
}
.feature .card > div { align-self: end; max-width: 580px; }
.feature h2 { font-size: clamp(1.85rem, 3.9vw, 3.1rem); }
.feature .read { display: inline-block; background: var(--orange); color: var(--ink); padding: 9px 15px; margin-top: 17px; border-radius: 4px; font-weight: 650; font-size: .9rem; }
.article-head { padding-top: clamp(30px, 5vw, 60px); }
.article-head h1 { font-size: clamp(1.85rem, 5vw, 4.05rem); }
.cover { border-radius: 6px; background: var(--teal); }
.prose { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(19px, 4vw, 46px); max-width: 80ch; }
.prose > :first-child { margin-top: 0; }
.related { border-color: var(--dark-line); }
.related-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
.related-links a { color: var(--cream); padding: 12px 0; border-bottom: 1px solid var(--dark-line); text-decoration-color: var(--orange); }
footer { border-top: 1px solid var(--dark-line); }
@media (max-width: 560px) {
  .brand svg { width: 28px; }
  .brand { gap: 5px; font-size: 1rem; }
  .brand small { font-size: .54rem; padding: 4px; }
  .bar { gap: 10px; }
  .bar nav { gap: 14px; font-size: .9rem; }
  .feature .card { min-height: auto; }
  .feature .card::after { display: none; }
  .feature img { position: static; z-index: auto; aspect-ratio: 16/10; height: auto; }
  .cover { height: auto; aspect-ratio: 16/10; }
  .related-links { grid-template-columns: 1fr; }
}
