:root {
  --carbon: #101311;
  --carbon-2: #171b18;
  --paper: #f4f5ef;
  --paper-2: #e6e8df;
  --green: #238358;
  --green-deep: #15563b;
  --orange: #df6a2e;
  --steel: #727872;
  --line-dark: rgba(244, 245, 239, 0.18);
  --line-light: #cfd3c9;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--carbon);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.masthead {
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--paper);
  background: var(--carbon);
  border-bottom: 1px solid var(--line-dark);
}
.wordmark { display: flex; align-items: baseline; gap: 14px; }
.wordmark span { color: var(--green); font-size: 24px; font-weight: 900; }
.wordmark small, .masthead nav {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.wordmark small { color: #aeb6ae; }
.masthead nav { display: flex; gap: 28px; color: #cbd0c9; }
.masthead nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.masthead nav a:hover, .masthead nav a:focus-visible { color: white; border-color: var(--orange); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100svh - 32px));
  padding: 90px max(24px, calc((100vw - var(--max)) / 2)) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  grid-template-rows: 1fr auto;
  gap: 46px 90px;
  color: var(--paper);
  background: var(--carbon);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 62%;
  z-index: -1;
  background: var(--green-deep);
}
.hero::after {
  content: "01";
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  z-index: -1;
  color: rgba(244, 245, 239, 0.035);
  font: 900 clamp(260px, 36vw, 590px)/1 var(--sans);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}
.hero-copy { align-self: center; max-width: 690px; }
.section-code {
  margin: 0 0 24px;
  color: var(--orange);
  font: 700 11px/1.4 var(--mono);
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 2px;
  font-size: clamp(58px, 7.8vw, 112px);
  line-height: 0.88;
  font-weight: 800;
}
.edition {
  margin-bottom: 34px;
  color: #9ad0b4;
  font: 500 clamp(21px, 2.3vw, 32px)/1.2 var(--mono);
}
.dek {
  max-width: 570px;
  margin-bottom: 34px;
  color: #d4d9d1;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}
.purchase {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 52px;
  padding: 0 20px;
  color: var(--carbon);
  background: var(--orange);
  font-weight: 800;
}
.purchase span { font-size: 21px; }
.purchase:hover, .purchase:focus-visible { background: #f47b3d; }
.hero-book { width: min(100%, 410px); margin: 0 auto; align-self: center; }
.hero-book img {
  width: 100%;
  height: auto;
  box-shadow: 22px 28px 0 rgba(8, 20, 13, 0.38);
}
.hero-book figcaption {
  margin-top: 28px;
  color: #c4d0c7;
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
}
.hero-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-dark);
}
.hero-specs div { padding: 20px 22px 0 0; }
.hero-specs dt { color: #8e9990; font: 10px var(--mono); text-transform: uppercase; }
.hero-specs dd { margin: 5px 0 0; font-size: 14px; }

.inside {
  max-width: var(--max);
  margin: 0 auto;
  padding: 116px 24px 128px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.1fr);
  gap: 60px 110px;
}
.inside h2, .series-band h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.7vw, 67px);
  line-height: 1.02;
  font-weight: 750;
}
.inside-copy { font-size: 18px; color: #4f5651; }
.inside-copy p + p { margin-top: 22px; }
.contents {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}
.contents li { min-height: 190px; padding: 26px 32px 20px 0; border-right: 1px solid var(--line-light); }
.contents li + li { padding-left: 32px; }
.contents li:last-child { border-right: 0; }
.contents span { color: var(--orange); font: 11px var(--mono); }
.contents strong { display: block; margin: 26px 0 8px; font-size: 25px; }
.contents small { color: #59615b; font-size: 15px; }

.field-note {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: end;
  gap: 80px;
  color: var(--paper);
  background: var(--green-deep);
}
blockquote { margin: 0; }
blockquote p { margin-bottom: 20px; font-size: clamp(30px, 4vw, 57px); line-height: 1.08; font-weight: 700; }
blockquote footer { color: #b8c9bd; font: 11px var(--mono); text-transform: uppercase; }
.rating { padding-left: 28px; border-left: 2px solid var(--orange); }
.rating strong { display: block; font-size: 76px; line-height: 0.9; }
.rating span, .rating small { display: block; margin-top: 12px; }
.rating span { font-weight: 700; }
.rating small { color: #b8c9bd; }

.series-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px 90px;
}
.series-band > p { color: #59615b; font-size: 18px; }
.series-band > a { grid-column: 2; width: max-content; color: var(--green-deep); font-weight: 800; border-bottom: 2px solid var(--orange); }

.site-footer {
  min-height: 94px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #adb5ae;
  background: var(--carbon);
  font: 10px var(--mono);
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .masthead { height: 64px; padding-inline: 16px; }
  .wordmark small { display: none; }
  .masthead nav a:not(:last-child) { display: none; }
  .hero {
    min-height: 910px;
    padding: 58px 18px 24px;
    display: block;
  }
  .hero::before { inset: 55% 0 0; }
  .hero-copy { position: relative; z-index: 2; }
  h1 { font-size: clamp(52px, 16vw, 74px); }
  .dek { max-width: 330px; font-size: 19px; }
  .hero-book { position: absolute; right: -18px; bottom: 92px; width: 250px; opacity: 0.76; }
  .hero-book img { box-shadow: 12px 14px 0 rgba(8, 20, 13, 0.4); }
  .hero-book figcaption { display: none; }
  .hero-specs { position: absolute; inset: auto 18px 20px; grid-template-columns: 1fr; background: rgba(16, 19, 17, 0.82); }
  .hero-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
  .hero-specs dd { margin: 0; text-align: right; }
  .inside { padding: 76px 18px 80px; grid-template-columns: 1fr; gap: 26px; }
  .inside h2, .series-band h2 { font-size: 40px; }
  .contents { grid-template-columns: 1fr; }
  .contents li, .contents li + li { min-height: 0; padding: 22px 0 28px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .contents strong { margin-top: 14px; }
  .field-note { padding: 70px 18px; grid-template-columns: 1fr; gap: 50px; }
  blockquote p { font-size: 34px; }
  .rating { display: grid; grid-template-columns: 92px 1fr; }
  .rating strong { grid-row: 1 / 3; font-size: 64px; }
  .series-band { padding: 76px 18px; grid-template-columns: 1fr; gap: 24px; }
  .series-band > a { grid-column: 1; }
  .site-footer { padding: 28px 18px; display: grid; gap: 8px; }
}

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