:root {
  --bg: #0c0b12;
  --panel: #17141e;
  --ink: #f6eee4;
  --muted: #b9afbb;
  --accent: #22b8b0;
  --paper: #f3e7d6;
  --line: #38313e;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3.4rem, 6.8vw, 7rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
p {
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  border: 0;
}
.masthead,
.edition,
main,
footer {
  max-width: 1440px;
  margin: auto;
}
.masthead {
  padding: 26px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.masthead img {
  width: 260px;
  display: block;
}
.masthead nav {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  font-weight: 700;
}
.masthead nav a[aria-current] {
  color: var(--accent);
}
.edition {
  display: flex;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  padding: 13px 5%;
  font-family: monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}
.edition span:last-child {
  color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 540px;
  border-bottom: 8px solid #060509;
}
.hero-copy {
  padding: 70px 9% 70px 12%;
  background: var(--accent);
  color: #141119;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.eyebrow {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 24px 0;
}
.hero p {
  max-width: 470px;
  font-size: 1.02rem;
}
.button {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: #17111c;
  padding: 15px 22px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}
.button:hover {
  filter: brightness(1.12);
  text-decoration: none;
}
.hero .button {
  background: #141119;
  color: var(--ink);
  margin-top: 32px;
}
.hero-print {
  overflow: hidden;
  position: relative;
  background: #ef7857;
  min-height: 420px;
  border-left: 8px solid #060509;
}
.sun {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffc845;
  position: absolute;
  top: 60px;
  right: 60px;
}
.horizon {
  position: absolute;
  inset: 57% 0 0;
  background: #0d736f;
  border-top: 22px solid #f8c684;
}
.tower {
  position: absolute;
  bottom: 20%;
  background: #211d2c;
  border: 8px solid #211d2c;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0 18px,
    #fdab7e 18px 23px
  );
}
.tower-one {
  height: 210px;
  width: 20%;
  left: 17%;
  transform: skewY(-5deg);
}
.tower-two {
  height: 310px;
  width: 22%;
  left: 44%;
  border-top-width: 34px;
}
.tower-three {
  height: 170px;
  width: 18%;
  right: 5%;
  transform: skewY(5deg);
}
.print-label {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font: 700 0.65rem monospace;
  letter-spacing: 0.15em;
  color: #f5d5a6;
}
.compass-rose {
  position: absolute;
  bottom: 27%;
  left: 5%;
  font-size: 200px;
  color: #141119;
  line-height: 1;
  transform: rotate(17deg);
}
.section {
  padding: 65px 5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading .eyebrow {
  color: var(--accent);
  display: block;
  margin-bottom: 13px;
}
.section-heading > a {
  font-size: 0.82rem;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.story-grid:not(.compact) .story-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.card-link {
  display: block;
  height: 100%;
}
.card-link:hover {
  text-decoration: none;
}
.story-art {
  height: 180px;
  background: var(--accent);
  color: #19141e;
  padding: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  font: 700 1rem monospace;
  overflow: hidden;
}
.story-art b {
  font:
    900 140px Impact,
    sans-serif;
  opacity: 0.6;
  line-height: 0.7;
  transform: rotate(-12deg);
}
.art-1 {
  background: #e8d9c2;
}
.art-2 {
  background: #534367;
  color: #fff;
}
.story-card:first-child .story-art {
  height: 290px;
}
.story-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  background: var(--panel);
}
.card-copy {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.card-copy h2 {
  font-size: 1.9rem;
  margin: 13px 0;
  line-height: 1.1;
}
.story-card:first-child .card-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.card-copy p {
  color: var(--muted);
  font-size: 0.9rem;
}
.meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  margin-top: 19px;
  line-height: 1.7;
}
.card-copy .eyebrow {
  color: var(--accent);
}
.empty {
  padding: 44px;
  display: flex;
  gap: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.empty-no {
  font: 700 3rem monospace;
  color: var(--accent);
}
.empty h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.empty p {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 20px;
}
.empty a {
  font-size: 0.8rem;
  font-weight: 700;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  color: #211925;
  margin: 0 5% 65px;
}
.principles > div {
  padding: 35px;
  border-right: 1px solid #cbbdaa;
}
.principles span {
  font: 700 0.75rem monospace;
}
.principles h2 {
  font-size: 2rem;
  margin: 24px 0 15px;
}
.principles p {
  font-size: 0.9rem;
}
.offer {
  background: var(--accent);
  color: #18121c;
  margin: 60px 5%;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.offer h2 {
  font-size: 2.4rem;
  margin: 18px 0;
}
.offer p {
  max-width: 700px;
}
.offer .button {
  background: #16121a;
  color: #fff;
  white-space: nowrap;
}
.article-head {
  padding: 65px 8%;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.article-head h1 {
  max-width: 1100px;
  margin: 20px 0 26px;
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}
.article-head .eyebrow {
  color: var(--accent);
}
.dek {
  font-size: 1.2rem;
  max-width: 850px;
  color: var(--muted);
}
.article-grid {
  padding: 55px 8%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 70px;
  align-items: start;
}
.article-image {
  display: block;
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}
.prose {
  font-size: 1.04rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
  margin: 0 0 24px;
}
.prose h2 {
  font-size: 2.2rem;
  margin: 42px 0 18px;
}
.prose h3 {
  font-size: 1.65rem;
  margin: 28px 0 14px;
}
.prose a {
  text-decoration: underline;
  color: var(--accent);
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  margin-bottom: 28px;
  max-width: 100%;
}
.prose th,
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--line);
}
.prose pre {
  overflow: auto;
  padding: 20px;
  background: var(--panel);
}
.takeaway {
  border-block: 2px solid var(--accent);
  padding: 24px 0;
  margin-bottom: 35px;
}
.takeaway strong {
  font: 700 0.7rem monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.takeaway p {
  margin: 14px 0 0;
  font-size: 1.15rem;
}
.sources {
  position: sticky;
  top: 25px;
}
.sources h2 {
  font-size: 1.8rem;
}
.sources ol {
  padding-left: 20px;
}
.sources li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
  font-size: 0.9rem;
}
.sources small {
  display: block;
  color: var(--muted);
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.sources > a {
  font-size: 0.8rem;
}
.info {
  max-width: 900px;
  padding: 60px 6%;
  margin: auto;
}
.fine {
  font-size: 0.78rem;
  color: var(--muted);
}
.pagination {
  display: flex;
  gap: 40px;
  margin-top: 35px;
}
.search-form {
  display: flex;
  max-width: 700px;
  gap: 12px;
}
.search-form input {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 15px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
footer {
  padding: 50px 5% 30px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}
.footer-top strong {
  font:
    900 2.5rem Impact,
    sans-serif;
  white-space: nowrap;
}
.footer-top p {
  max-width: 500px;
  font-size: 0.9rem;
  color: var(--muted);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 35px 0;
  font-size: 0.75rem;
}
footer button {
  padding: 0;
  color: inherit;
  background: none;
  font-size: inherit;
}
footer small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
}
.consent {
  position: fixed;
  bottom: 15px;
  left: 3%;
  right: 3%;
  max-width: 1200px;
  margin: auto;
  background: var(--paper);
  color: #201a24;
  padding: 24px;
  border: 2px solid #201a24;
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 10;
}
.consent[hidden] {
  display: none;
}
.consent div {
  flex: 1;
}
.consent p {
  font-size: 0.8rem;
  margin-top: 8px;
}
.consent a {
  text-decoration: underline;
}
.consent button {
  padding: 14px;
  background: #ddd1bd;
  white-space: nowrap;
}
.consent .button {
  background: #211925;
  color: white;
}
.skip,
.sr-only {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 30;
  background: white;
  color: black;
  padding: 15px;
}
[data-theme="atlas"] {
  --accent: #ffc845;
}
[data-theme="dispatch"] {
  --accent: #ff6d9e;
}
[data-theme="journal"] {
  --accent: #c1acfa;
}
[data-theme="scout"] {
  --accent: #ff9a51;
}
[data-theme="field"] {
  --accent: #9fe08a;
}
[data-theme="atlas"] .hero {
  grid-template-columns: 1.3fr 1fr;
}
[data-theme="atlas"] .hero-print {
  background: #ffc845;
}
[data-theme="dispatch"] .hero-copy {
  background: #16121a;
  color: var(--ink);
}
[data-theme="dispatch"] .hero-print {
  background: #ff6d9e;
}
[data-theme="dispatch"] .hero h1 {
  text-transform: uppercase;
}
[data-theme="dispatch"] .hero .button {
  background: var(--accent);
  color: #17111c;
}
[data-theme="journal"] .hero-copy {
  background: var(--paper);
  color: #211925;
}
[data-theme="journal"] h1,
[data-theme="journal"] h2 {
  font-family: Georgia, serif;
  letter-spacing: -0.055em;
}
[data-theme="journal"] .hero-print {
  background: #a395bd;
}
[data-theme="scout"] .hero {
  grid-template-columns: 1fr 1.2fr;
}
[data-theme="scout"] .hero-print {
  background: #dd7043;
}
[data-theme="field"] .hero-print {
  background: #9fe08a;
}
[data-theme="field"] .sun {
  background: #f3e7d6;
}
[data-theme="field"] .hero-copy {
  background: #19382a;
  color: #f3e7d6;
}
[data-theme="field"] .hero .button {
  background: var(--accent);
  color: #172119;
}
[data-theme="dossier"] {
  --accent: #89c6f5;
  --panel: #101e2b;
  --line: #304454;
}
[data-theme="archive"] {
  --accent: #e8bb76;
  --panel: #252019;
  --line: #514534;
}
[data-theme="dossier"] .hero-copy {
  background: #deedf5;
  color: #172b3a;
}
[data-theme="dossier"] .hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 5.5vw, 6rem);
  letter-spacing: -0.065em;
}
[data-theme="archive"] .hero-copy {
  background: #262119;
  color: #f4ead9;
}
[data-theme="archive"] h1,
[data-theme="archive"] h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
[data-theme="archive"] .hero .button {
  background: var(--accent);
  color: #262119;
}
.reference-print {
  display: grid;
  align-items: center;
  padding: clamp(24px, 4vw, 60px);
  background-color: #28465f;
  background-image:
    linear-gradient(#ffffff12 1px, transparent 1px),
    linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 28px 28px;
}
.reference-sheet {
  background: #f2f5f4;
  color: #173148;
  padding: clamp(22px, 3vw, 42px);
  border-top: 7px solid var(--accent);
  box-shadow: 12px 12px 0 #0003;
}
.reference-title {
  display: block;
  margin: 32px 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.reference-rows > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid #17314840;
  font-size: 0.85rem;
}
.reference-rows strong {
  flex: 1;
}
.reference-rows span,
.reference-note {
  font-family: monospace;
  font-size: 0.7rem;
}
.reference-note {
  display: block;
  margin-top: 24px;
  line-height: 1.6;
}
[data-theme="archive"] .reference-print {
  background-color: #b78f55;
  background-size: 8px 8px;
}
[data-theme="archive"] .reference-sheet {
  background: #f2e6cf;
  color: #38291b;
  border-top: 0;
  border-left: 10px solid #654c2d;
  box-shadow:
    7px 7px 0 #d8c39e,
    14px 14px 0 #654c2d;
}
[data-theme="archive"] .reference-title {
  font-family: Georgia, serif;
  font-weight: 400;
}
@media (max-width: 900px) {
  .masthead {
    align-items: flex-start;
  }
  .masthead nav {
    flex-wrap: wrap;
    gap: 18px;
  }
  .masthead img {
    width: 220px;
  }
  .hero,
  [data-theme] .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding: 45px 10%;
  }
  .hero-print {
    min-height: 400px;
  }
  .sun {
    width: 130px;
    height: 130px;
    right: 20px;
  }
  .tower-two {
    height: 220px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sources {
    position: static;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principles > div {
    border-right: 0;
    border-bottom: 1px solid #cbbdaa;
  }
  .principles h2 {
    margin: 12px 0;
  }
  .offer {
    flex-direction: column;
    align-items: start;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-grid:not(.compact) .story-card:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .consent {
    flex-wrap: wrap;
  }
  .consent div {
    flex-basis: 100%;
  }
}
@media (max-width: 600px) {
  .masthead {
    display: block;
    padding: 22px 5%;
  }
  .masthead img {
    width: 230px;
    margin-bottom: 22px;
  }
  .masthead nav {
    gap: 20px;
    font-size: 0.73rem;
  }
  .edition {
    font-size: 0.54rem;
  }
  .edition span:nth-child(2) {
    display: none;
  }
  .hero,
  [data-theme] .hero {
    grid-template-columns: 1fr;
  }
  .hero-print {
    min-height: 260px;
    border-left: 0;
    border-top: 7px solid #060509;
  }
  .hero-copy {
    padding: 42px 6%;
  }
  .hero h1 {
    max-width: 450px;
  }
  .tower-two {
    height: 180px;
  }
  .tower-one {
    height: 110px;
  }
  .tower-three {
    height: 100px;
  }
  .sun {
    top: 25px;
    right: 30px;
  }
  .compass-rose {
    font-size: 140px;
  }
  .section {
    padding: 45px 5%;
  }
  .empty {
    padding: 28px;
    gap: 20px;
  }
  .empty-no {
    font-size: 1.6rem;
  }
  .empty h3 {
    font-size: 1.9rem;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-grid:not(.compact) .story-card:first-child {
    grid-column: auto;
  }
  .section-heading {
    align-items: start;
  }
  .article-head {
    padding: 45px 6%;
  }
  .article-grid {
    padding: 35px 6%;
  }
  .footer-top {
    display: block;
  }
  .footer-top p {
    margin-top: 20px;
  }
  .consent {
    padding: 18px;
    gap: 12px;
  }
  .consent button {
    flex: 1;
    font-size: 0.8rem;
  }
  .search-form {
    flex-direction: column;
  }
}
