:root {
  --ink: #11130f;
  --paper: #f5f7f2;
  --white: #ffffff;
  --line: #c9cec4;
  --muted: #596057;
  --acid: #d9ff35;
  --coral: #f15a47;
  --blue: #1f5cff;
  --display: "Bahnschrift Condensed", "Franklin Gothic Medium", sans-serif;
  --body: Cambria, "Times New Roman", serif;
  --ui: "Aptos", "Trebuchet MS", sans-serif;
  --shell: min(1240px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  width: 1px;
  height: 1px;
  padding: 10px 14px;
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  font: 700 14px/1 var(--ui);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: 72px;
  border-bottom: 1px solid #343631;
  background: var(--ink);
  color: var(--white);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
}

.header-inner {
  width: var(--shell);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  margin-right: 11px;
  object-fit: contain;
}

.brand-type {
  font: 750 25px/1 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-type span {
  color: var(--acid);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 26px 0 22px;
  color: #e9ece5;
  font: 700 13px/1 var(--ui);
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  min-width: 72px;
  min-height: 40px;
  border: 1px solid #656860;
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  font: 750 12px/1 var(--ui);
  text-transform: uppercase;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(720px, 77svh);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #282e2b url("/assets/images/hero-deepfake.png") center 37% / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(9, 12, 9, 0.58);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: clamp(18px, 4vw, 64px);
  top: clamp(24px, 6vw, 84px);
  width: clamp(72px, 11vw, 160px);
  aspect-ratio: 1;
  border: clamp(8px, 1vw, 14px) solid var(--acid);
  content: "";
  transform: rotate(10deg);
}

.hero-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(84px, 12vw, 150px) 0 clamp(54px, 7vw, 82px);
}

.hero-kicker,
.section-kicker,
.article-kicker,
.hub-kicker {
  margin: 0 0 14px;
  font: 800 12px/1.2 var(--ui);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-block;
  padding: 8px 10px;
  background: var(--acid);
  color: var(--ink);
}

.hero h1 {
  max-width: 1080px;
  margin: 0;
  font: 800 clamp(64px, 12vw, 166px)/0.78 var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  animation: hero-rise 620ms 80ms both ease-out;
}

.hero h1 span {
  display: block;
  color: var(--acid);
}

.hero-deck {
  width: min(630px, 100%);
  margin: 28px 0 0;
  color: #f4f7ef;
  font: 600 clamp(18px, 2vw, 24px)/1.35 var(--body);
  animation: hero-rise 620ms 180ms both ease-out;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero-rail-inner {
  width: var(--shell);
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  color: #ffffff;
  font: 750 11px/1 var(--ui);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-rail-inner span:not(:last-child)::after {
  margin-left: 18px;
  color: var(--coral);
  content: "/";
}

.reading-desk {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.desk-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(62px, 8vw, 108px);
}

.desk-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: 35px;
}

.section-kicker,
.hub-kicker {
  color: #a32c20;
}

.desk-heading h2,
.field-copy h2,
.contact-hero h1,
.hub-hero h1 {
  margin: 0;
  font: 800 clamp(46px, 7vw, 90px)/0.92 var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.desk-heading p,
.field-copy > p,
.contact-hero p,
.hub-hero p {
  margin: 0;
  color: #333831;
  font: 500 19px/1.5 var(--body);
}

.desk-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 24px;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.desk-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #7c8278;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font: 800 12px/1 var(--ui);
  text-transform: uppercase;
  cursor: pointer;
}

.desk-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

[data-desk-panel][hidden] {
  display: none !important;
}

.story-list {
  border-top: 3px solid var(--ink);
}

.story-link {
  display: grid;
  grid-template-columns: minmax(115px, 0.55fr) minmax(300px, 2.4fr) minmax(230px, 1.4fr) 24px;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.story-link:hover {
  background: var(--ink);
  color: var(--white);
}

.story-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  font: 750 11px/1.5 var(--ui);
  text-transform: uppercase;
}

.story-meta time {
  color: var(--muted);
}

.story-link:hover .story-meta time,
.story-link:hover .story-excerpt {
  color: #dce0d8;
}

.story-title {
  margin: 0;
  font: 800 clamp(24px, 3vw, 39px)/1.02 var(--display);
  letter-spacing: 0;
  text-wrap: balance;
}

.story-excerpt {
  margin: 0;
  color: #4e554c;
  font: 500 15px/1.45 var(--body);
}

.story-arrow {
  font: 800 26px/1 var(--display);
  transition: transform 160ms ease;
}

.story-link:hover .story-arrow {
  color: var(--acid);
}

.field-band {
  border-bottom: 1px solid #3e413b;
  background: var(--ink);
  color: var(--white);
}

.field-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  padding: clamp(66px, 9vw, 128px) 0;
}

.field-copy .section-kicker {
  color: var(--acid);
}

.field-copy h2 {
  max-width: 760px;
}

.field-copy > p {
  max-width: 670px;
  margin-top: 26px;
  color: #cdd2ca;
}

.field-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 11px 16px;
  border: 1px solid var(--acid);
  border-radius: 3px;
  color: var(--acid);
  font: 800 12px/1 var(--ui);
  text-decoration: none;
  text-transform: uppercase;
}

.field-link:hover {
  background: var(--acid);
  color: var(--ink);
}

.field-visual {
  position: relative;
  min-height: 430px;
}

.field-visual img {
  width: 84%;
  height: 340px;
  margin-left: auto;
  object-fit: cover;
  border: 1px solid #72766f;
}

.field-stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(280px, 68%);
  padding: 28px;
  border: 10px solid var(--coral);
  background: var(--ink);
  color: var(--white);
  font: 800 clamp(32px, 5vw, 58px)/0.88 var(--display);
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.site-footer {
  background: #090a08;
  color: #dfe3dc;
}

.footer-inner {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
  padding: 40px 0;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--white);
  font: 800 27px/1 var(--display);
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--acid);
}

.footer-inner p {
  margin: 0;
  color: #aeb4ac;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-nav a {
  color: #dfe3dc;
  font: 750 12px/1 var(--ui);
  text-decoration: none;
  text-transform: uppercase;
}

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

.hub-hero,
.contact-hero {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hub-hero-inner,
.contact-hero-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0 clamp(56px, 8vw, 100px);
}

.hub-hero h1,
.contact-hero h1 {
  max-width: 990px;
}

.hub-hero p,
.contact-hero p {
  max-width: 700px;
  margin-top: 24px;
}

.library {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 100px) 0;
}

.library details {
  border-top: 2px solid var(--ink);
}

.library details:last-child {
  border-bottom: 2px solid var(--ink);
}

.library summary {
  position: relative;
  min-height: 78px;
  padding: 24px 54px 22px 0;
  list-style: none;
  font: 800 clamp(24px, 4vw, 44px)/1 var(--display);
  text-transform: uppercase;
  cursor: pointer;
}

.library summary::-webkit-details-marker {
  display: none;
}

.library summary::after {
  position: absolute;
  right: 5px;
  top: 50%;
  font: 500 32px/1 var(--ui);
  content: "+";
  transform: translateY(-50%);
}

.library details[open] summary::after {
  content: "−";
}

.library-list {
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
}

.library-list li {
  border-top: 1px solid var(--line);
}

.library-list a {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 2fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 70px;
  padding: 13px 8px;
  color: var(--ink);
  text-decoration: none;
}

.library-list a:hover {
  background: var(--acid);
}

.library-list time,
.library-list small {
  color: var(--muted);
  font: 700 11px/1.3 var(--ui);
  text-transform: uppercase;
}

.library-list strong {
  font: 750 21px/1.1 var(--display);
}

.article-hero {
  position: relative;
  min-height: 560px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #242722 center / cover no-repeat;
  color: var(--white);
}

.article-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(8, 10, 8, 0.7);
  content: "";
}

.article-hero-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 160px) 0 clamp(50px, 7vw, 86px);
}

.article-kicker {
  display: inline-block;
  padding: 7px 9px;
  background: var(--acid);
  color: var(--ink);
}

.article-hero h1 {
  max-width: 1100px;
  margin: 0;
  font: 800 clamp(46px, 8vw, 100px)/0.92 var(--display);
  letter-spacing: 0;
  text-wrap: balance;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: #e4e8e0;
  font: 700 12px/1.3 var(--ui);
  text-transform: uppercase;
}

.article-byline span:not(:last-child)::after {
  margin-left: 24px;
  color: var(--coral);
  content: "/";
}

.article-layout {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 760px);
  gap: clamp(42px, 8vw, 108px);
  justify-content: center;
  padding: clamp(54px, 8vw, 104px) 0;
}

.article-layout--wide {
  grid-template-columns: minmax(0, 760px);
}

.article-rail {
  align-self: start;
  position: sticky;
  top: 100px;
  padding-top: 12px;
  border-top: 3px solid var(--ink);
}

.article-rail p {
  margin: 0 0 14px;
  color: var(--muted);
  font: 800 11px/1.2 var(--ui);
  text-transform: uppercase;
}

.article-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-rail li {
  border-top: 1px solid var(--line);
}

.article-rail a {
  display: block;
  padding: 11px 0;
  color: #3e443c;
  font: 700 12px/1.3 var(--ui);
  text-decoration: none;
}

.article-rail a:hover {
  color: var(--blue);
}

.article-body {
  min-width: 0;
  color: #23261f;
  font: 400 clamp(18px, 2vw, 21px)/1.72 var(--body);
}

.article-standfirst {
  margin: 0 0 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 600 clamp(23px, 3vw, 31px)/1.35 var(--body);
}

.article-body h2,
.article-body h3 {
  scroll-margin-top: 105px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-body h2 {
  margin: 58px 0 18px;
  font-size: clamp(32px, 5vw, 51px);
  line-height: 0.98;
}

.article-body h3 {
  margin: 38px 0 14px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.05;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body a {
  color: #1748ca;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 38px 0;
  padding: 24px 0 24px 28px;
  border-left: 10px solid var(--acid);
  color: #1e241d;
  font-size: 1.2em;
  font-style: italic;
}

.article-body pre,
.article-body code {
  max-width: 100%;
  font-family: Consolas, monospace;
}

.article-body pre {
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #e9ede6;
  font-size: 14px;
}

.article-body table {
  display: block;
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border-collapse: collapse;
  font: 15px/1.4 var(--ui);
}

.article-body th,
.article-body td {
  padding: 11px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-end {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.article-end a {
  font: 800 12px/1 var(--ui);
  text-decoration: none;
  text-transform: uppercase;
}

.article-end a:hover {
  color: var(--blue);
}

.contact-grid {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(50px, 10vw, 150px);
  padding: clamp(60px, 9vw, 120px) 0;
}

.contact-details {
  font: 600 clamp(28px, 4vw, 50px)/1.2 var(--display);
  text-transform: uppercase;
}

.contact-details p {
  margin: 0 0 20px;
}

.contact-details a {
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.contact-note {
  align-self: start;
  padding-top: 18px;
  border-top: 8px solid var(--coral);
  color: #30362f;
  font: 500 19px/1.55 var(--body);
}

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

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

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 30px, 760px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 12px 15px 22px;
    border-bottom: 1px solid #343631;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 52px;
    padding: 18px 4px 15px;
    border-bottom: 1px solid #343631;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .hero h1 {
    font-size: clamp(65px, 17vw, 112px);
  }

  .desk-heading,
  .field-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-link {
    grid-template-columns: 110px minmax(0, 1fr) 24px;
    gap: 20px;
    padding: 16px 0;
  }

  .story-excerpt {
    display: none;
  }

  .field-visual {
    width: min(620px, 100%);
    min-height: 360px;
  }

  .field-visual img {
    height: 290px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-rail {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    margin-right: 8px;
  }

  .brand-type {
    font-size: 21px;
  }

  .site-nav {
    inset: 64px 0 auto;
  }

  .hero {
    min-height: 75svh;
    background-position: 47% center;
  }

  .hero::after {
    top: 24px;
    right: 16px;
    width: 74px;
    border-width: 7px;
  }

  .hero-inner {
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(61px, 22vw, 94px);
  }

  .hero-deck {
    margin-top: 20px;
    font-size: 18px;
  }

  .hero-rail-inner span:nth-child(n + 4) {
    display: none;
  }

  .hero-rail-inner span:nth-child(3)::after {
    display: none;
  }

  .desk-heading h2,
  .field-copy h2,
  .contact-hero h1,
  .hub-hero h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .desk-heading p,
  .field-copy > p,
  .contact-hero p,
  .hub-hero p {
    font-size: 17px;
  }

  .desk-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    overflow: visible;
  }

  .desk-tab {
    width: 100%;
    min-width: 0;
  }

  .story-link {
    grid-template-columns: 86px minmax(0, 1fr) 18px;
    gap: 14px;
    min-height: 98px;
  }

  .story-title {
    font-size: clamp(22px, 7vw, 29px);
  }

  .story-meta {
    font-size: 9px;
  }

  .field-visual {
    min-height: 300px;
  }

  .field-visual img {
    width: 92%;
    height: 235px;
  }

  .field-stamp {
    width: 220px;
    padding: 20px;
    border-width: 7px;
    font-size: 38px;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }

  .library summary {
    min-height: 68px;
    font-size: 28px;
  }

  .library-list a {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .library-list time {
    grid-column: 1 / -1;
  }

  .library-list strong {
    font-size: 19px;
  }

  .article-hero {
    min-height: 520px;
  }

  .article-hero h1 {
    font-size: clamp(42px, 13vw, 67px);
  }

  .article-byline {
    display: grid;
    gap: 8px;
  }

  .article-byline span:not(:last-child)::after {
    display: none;
  }

  .article-body {
    font-size: 18px;
    line-height: 1.66;
  }

  .article-standfirst {
    font-size: 23px;
  }

  .article-body h2 {
    font-size: 36px;
  }

  .contact-details {
    font-size: clamp(27px, 10vw, 42px);
    overflow-wrap: anywhere;
  }
}

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

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

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