@font-face {
  font-family: "Barlow Condensed";
  src: url(assets/barlow-condensed.ttf) format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(assets/manrope.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #10120e;
  --ink: #f4f4e9;
  --muted: #bbc3af;
  --lime: #dfff66;
  --orange: #ff8055;
  --line: #414b38;
  --display: "Barlow Condensed", Impact, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--background);
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, fieldset { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--lime); }
a:focus-visible, input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; }
.shell { width: min(100% - 80px, 1320px); margin-inline: auto; }
.mono { font: 500 .78rem/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.skip { position: absolute; z-index: 4; top: -100px; left: 18px; padding: 12px; color: #10120e; background: var(--lime); }
.skip:focus { top: 12px; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead .shell, .footer { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 20px; }
.brand { font-weight: 800; font-size: 1.8rem; letter-spacing: -.065em; text-decoration: none; line-height: 1; }
.brand b { color: var(--lime); padding-inline: .05em; }
.masthead nav { display: flex; align-items: center; gap: 22px; font-size: .83rem; font-weight: 750; }
.masthead nav a { text-decoration: none; }
.poster {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
  background: #0b1112;
}
.poster-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.poster-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.poster-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #10120efa, #10120e72 34%, #10120e02 77%),
    linear-gradient(90deg, #10120e33, #10120e08 25%, #0b11128f 64%, #0b1112bd);
}
.poster-grid {
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: end;
  gap: clamp(20px, 4vw, 80px);
  padding-block: 205px 63px;
}
.poster-copy .mono { color: #e7eadc; margin-bottom: 19px; }
.poster h1 { font-size: clamp(63px, 8.1vw, 125px); letter-spacing: -.022em; text-transform: uppercase; line-height: .84; }
.poster h1 span { display: block; color: var(--lime); }
.poster h1 .title-first { color: var(--ink); text-wrap: balance; }
.article-page .poster h1 { font-size: clamp(58px, 7.2vw, 112px); }
.poster-summary { max-width: 41ch; margin-top: 23px; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.6; color: #e7ebdd; }
.poster-displays { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(9px, 1.35vw, 25px); align-items: end; padding-bottom: 4px; }
.poster-displays figure { text-align: center; min-width: 0; }
.poster-displays figure:nth-child(2) { transform: translateY(-28px); }
.dial {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px #b5bc8852, 0 0 0 5px #dfff6610, 0 16px 26px #0008;
}
.dial img { width: 100%; }
.poster-displays figcaption { margin-top: 13px; font-size: clamp(8px, .9vw, 12px); color: #e3eacb; letter-spacing: .07em; }
.poster-displays .featured .dial { box-shadow: 0 0 0 1px #dfff66a8, 0 0 0 7px #dfff6616, 0 16px 30px #0008; }
.poster-displays .featured figcaption { color: var(--lime); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  padding: 12px 18px;
  min-height: 46px;
  width: fit-content;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #171c0c;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { color: #171c0c; background: #f3f7e8; border-color: #f3f7e8; }
.poster .button { margin-top: 23px; }
.teaser-page .poster { min-height: 650px; }
.teaser-page .poster-grid { padding-bottom: 64px; }

.story-wrap {
  display: grid;
  grid-template-columns: minmax(145px, .27fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 92px);
  padding-block: 70px 86px;
}
.toc { position: sticky; top: 25px; align-self: start; border-top: 1px solid var(--line); padding-top: 18px; }
.toc .mono { margin-bottom: 13px; color: var(--lime); }
.toc a {
  display: block;
  max-width: max-content;
  padding-block: 8px;
  color: var(--muted);
  font-size: .86rem;
  text-decoration: none;
}
.toc a:hover { color: var(--lime); text-decoration: underline; }
.lead { font-size: clamp(19px, 2.15vw, 27px); max-width: 56ch; line-height: 1.55; margin-bottom: 41px; }
.story section { padding-block: 30px 39px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.story h2 { max-width: 20ch; font-size: clamp(36px, 4.5vw, 67px); margin-bottom: 21px; }
.story p:not(.lead), .story li { font-size: 1rem; line-height: 1.74; color: #d7ddce; }
.story section > p, .story section > ol, .story section > ul { max-width: 75ch; }
.story a:not(.button) { color: var(--lime); }
.story p + p, .story li + li { margin-top: 14px; }
.story ul, .story ol { padding-left: 1.45rem; margin-block: 0 20px; }
.story li::marker { color: var(--lime); }
.table-wrap { margin-block: 25px; }
table { border-collapse: collapse; width: 100%; font-size: .87rem; line-height: 1.5; text-align: left; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead { color: var(--lime); background: #1b2116; }
tbody th { font-weight: 800; }
.preview-controls { padding: 16px 0 25px; border: 0; }
.preview-controls legend { padding: 0; margin-bottom: 4px; color: var(--muted); }
.preview-controls label { display: inline-flex; cursor: pointer; position: relative; margin-right: 6px; }
.preview-controls input { position: absolute; opacity: 0; }
.preview-controls span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 15px;
  border: 1px solid #777f60;
  border-radius: 24px;
  font-size: .83rem;
}
.preview-controls input:checked + span { color: #14180c; background: var(--lime); border-color: var(--lime); font-weight: 800; }
.preview-white, .story:has(#white:checked) .preview-yellow { display: none; }
.story:has(#white:checked) .preview-white { display: block; }
.field-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(210px, .75fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.field-layout .chapter-copy { min-width: 0; }
.field-preview { padding: 22px; background: #181e15; border: 1px solid var(--line); min-width: 0; }
.field-preview img { width: min(100%, 250px); margin-inline: auto; }
.field-preview figcaption { color: var(--muted); font-size: .73rem; line-height: 1.45; margin-top: 15px; }
.field-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-top: 17px; margin-top: 16px; border-top: 1px solid var(--line); }
.field-meta strong { font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.field-meta span { font-size: .85rem; color: var(--lime); font-weight: 800; }
.field-preview .availability { margin-top: 9px; font-size: .76rem; line-height: 1.45; }
.field-preview .button, .field-preview .store-link { margin-top: 13px; }
.store-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 750; }

.training-illustration { max-width: 720px; margin: clamp(20px, 3vw, 34px) 0 0; }
.training-illustration img { display: block; width: 100%; height: auto; }
.training-illustration figcaption { margin-top: 9px; color: var(--muted); font-size: .83rem; line-height: 1.5; }

.orbit-edit { background: #171d13; padding-block: 53px 47px; border-top: 1px solid var(--line); }
.orbit-eyebrow { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.orbit-eyebrow p { color: var(--muted); }
.orbit-brand { font-size: 1.8rem; line-height: 1; font-weight: 800; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.orbit-brand span { display: block; font: 500 .57rem/1.8 var(--mono); text-align: right; color: var(--muted); }
.orbit-title-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; }
.orbit-title-row h2 { font-size: clamp(48px, 6.4vw, 91px); text-transform: uppercase; margin-top: 22px; }
.orbit-title-row h2 span { color: var(--lime); white-space: nowrap; }
.recommendations { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 29px 0 0; padding: 0; border-block: 1px solid var(--line); }
.recommendations li + li { border-left: 1px solid var(--line); }
.recommendations a { display: grid; grid-template-columns: minmax(70px, .7fr) minmax(0,1fr) auto; gap: 14px; align-items: center; height: 100%; padding: 21px 18px; text-decoration: none; }
.recommendations a:hover { background: #242c1d; }
.recommendations img { max-width: 124px; border-radius: 50%; aspect-ratio: 1; }
.recommendations strong { font: 800 clamp(22px, 2.8vw, 43px)/.9 var(--display); display: block; }
.recommendations small { color: var(--muted); display: block; margin-top: 6px; font-size: .77rem; line-height: 1.4; }
.recommendations .arrow { color: var(--lime); }
.footer { color: var(--muted); font-size: .8rem; padding-block: 12px; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1050px) {
  .recommendations a { gap: 10px; padding-inline: 12px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .poster-grid { grid-template-columns: 1fr; gap: 43px; padding-block: 200px 38px; }
  .poster h1 { font-size: clamp(49px, 10.8vw, 80px); }
  .article-page .poster h1 { font-size: clamp(46px, 9.7vw, 76px); }
  .poster-photo img { object-position: 22% top; }
  .poster-photo::after { background: linear-gradient(0deg, #10120e 0%, #10120edb 29%, #10120e8a 57%, #10120e05 100%); }
  .poster-displays { width: min(100%, 410px); justify-self: end; }
  .poster-displays figure:nth-child(2) { transform: translateY(-13px); }
  .poster-displays figcaption { font-size: .65rem; margin-top: 10px; }
  .teaser-page .poster-grid { padding-bottom: 35px; }
  .story-wrap { display: block; padding-block: 33px 53px; }
  .toc { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 11px; border-top: none; padding-top: 0; margin-bottom: 26px; }
  .toc .mono { width: 100%; margin-bottom: 4px; }
  .toc a { min-height: 44px; display: inline-flex; align-items: center; font-size: .75rem; }
  .lead { margin-bottom: 29px; }
  .recommendations { grid-template-columns: 1fr; }
  .recommendations li + li { border-left: 0; border-top: 1px solid var(--line); }
  .recommendations a { grid-template-columns: 82px minmax(0,1fr) auto; gap: 19px; }
  .recommendations strong { font-size: 2rem; }
}
@media (max-width: 560px) {
  .masthead .shell { min-height: 61px; }
  .masthead nav { gap: 11px; font-size: .72rem; }
  .poster-grid { padding-top: 175px; gap: 41px; }
  .poster h1 { font-size: clamp(43px, 11vw, 62px); }
  .article-page .poster h1 { font-size: clamp(40px, 10.4vw, 58px); }
  .poster, .teaser-page .poster { min-height: 0; }
  .poster-copy .mono { font-size: .65rem; margin-bottom: 15px; }
  .poster-summary { margin-top: 16px; }
  .field-layout { display: flex; flex-direction: column; }
  .field-preview { width: min(100%, 380px); margin-inline: auto; }
  .story h2 { margin-bottom: 17px; }
  .story p:not(.lead), .story li { font-size: .95rem; }
  .story .availability { font-size: .76rem; }
  th, td { font-size: .74rem; padding: 10px 6px; overflow-wrap: anywhere; }
  .orbit-edit { padding-block: 35px 30px; }
  .orbit-eyebrow p { font-size: .64rem; }
  .orbit-brand { font-size: 1.5rem; }
  .orbit-title-row h2 { font-size: clamp(38px, 10vw, 56px); }
}

.masthead .article-nav { margin-left: auto; }
.masthead .guide-languages {
  flex: 0 0 auto;
  gap: 4px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.guide-languages a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 5px;
}
.guide-languages a[aria-current="page"] {
  background: var(--lime);
  color: #171c0c;
}
.guide-language-suggestion:not([hidden]) {
  display: flex;
  justify-content: end;
}
.guide-language-suggestion a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lime);
  font-size: .85rem;
}
@media (max-width: 560px) {
  .masthead .shell {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 .75rem;
    padding-top: .45rem;
  }
  .masthead .brand { grid-area: 1 / 1; }
  .masthead .guide-languages { grid-area: 1 / 2; }
  .masthead .article-nav {
    grid-area: 2 / 1 / 3 / -1;
    margin-left: 0;
  }
  .masthead .article-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Keep the guide action above the fold on shorter screens. */
@media (min-width: 801px) and (max-height: 880px) {
  .article-page .poster-grid { padding-block-start: clamp(72px, 16vh, 125px); }
}
@media (max-width: 560px) and (max-height: 720px) {
  .article-page .poster-grid { padding-block-start: 135px; }
}

.preview-controls input:focus-visible + span {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
