:root {
  --ink: #111518;
  --ink-soft: #3b4548;
  --paper: #f1eee6;
  --paper-deep: #e1ddd2;
  --white: #fbfaf6;
  --acid: #d9f45c;
  --red: #ff594d;
  --line: rgba(17, 21, 24, .2);
  --line-light: rgba(241, 238, 230, .2);
  --max: 1180px;
  --shadow: 18px 22px 0 rgba(17, 21, 24, .13);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(17, 21, 24, .035) 6px);
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

img { max-width: 100%; }

figure { margin: 0; }

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus { top: 16px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  min-height: 86px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: -.05em;
}

.brand-mark img { display: block; width: 100%; height: 100%; }

.brand-text {
  display: grid;
  gap: 0;
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.brand-text span {
  color: var(--ink-soft);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 32px);
}

.main-nav a,
.site-footer nav a,
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.site-footer nav a:hover,
.back-link:hover { color: var(--red); }

.main-nav .nav-cta {
  padding: 0 13px;
  color: var(--ink);
  background: var(--acid);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(44px, 9vw, 126px);
  align-items: center;
  min-height: 680px;
  padding-block: 82px 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--red);
  border-radius: 50%;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 7ch;
  margin-bottom: 28px;
  font-size: clamp(4rem, 9vw, 8.7rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .86;
}

.hero-lede {
  max-width: 34rem;
  min-width: 0;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.hero-note {
  max-width: 38rem;
  min-width: 0;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: .94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy,
.book-copy,
.author-copy,
.section-body > *,
.book-layout > *,
.author-layout > * { min-width: 0; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover { background: var(--red); border-color: var(--red); }

.button-quiet {
  border-color: transparent;
  background: transparent;
}

.button-quiet:hover { color: var(--red); }

.button-wide { width: 100%; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 25px;
  margin-top: 42px;
  color: var(--ink-soft);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-meta span + span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 15px 2px 0;
  content: "";
  background: var(--red);
  border-radius: 50%;
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 510px;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 8% 8% 4% 10%;
  z-index: -1;
  content: "";
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .22);
  transform: rotate(3deg);
}

.case-stamp,
.registration {
  position: absolute;
  color: var(--red);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.case-stamp {
  top: 5%;
  right: 7%;
  z-index: 3;
  padding: 6px 8px;
  border: 1px solid var(--red);
  transform: rotate(7deg);
}

.hero-cover {
  position: absolute;
  top: 6%;
  left: 14%;
  z-index: 1;
  width: min(63%, 330px);
  transform: rotate(-5deg);
}

.hero-cover img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

.cover-shadow {
  position: absolute;
  inset: 7% -5% -4% 8%;
  z-index: -1;
  background: var(--acid);
  transform: rotate(7deg);
}

.paper-slip {
  position: absolute;
  right: 0;
  bottom: 9%;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 47%;
  padding: 17px;
  background: var(--white);
  box-shadow: 10px 12px 0 rgba(17, 21, 24, .08);
  transform: rotate(5deg);
}

.paper-slip span,
.paper-slip small {
  color: var(--ink-soft);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.paper-slip strong { font-size: 1rem; letter-spacing: -.04em; }

.paper-slip small { font-weight: 550; letter-spacing: 0; text-transform: none; }

.registration-a { right: 16%; top: 31%; transform: rotate(90deg); }
.registration-b { bottom: 2%; left: 10%; }

.section-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 20px;
}

.section-rule::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.section-rule span { display: block; width: 100%; height: 1px; background: var(--line); }

.content-section { padding-block: 112px; scroll-margin-top: 20px; }

.content-section + .content-section { border-top: 1px solid var(--line); }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-label span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--paper);
  background: var(--ink);
  font-size: .68rem;
}

.section-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: clamp(38px, 10vw, 150px);
  align-items: start;
}

h2 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -.085em;
  line-height: .88;
}

h3 { margin-bottom: 12px; font-size: 1.7rem; letter-spacing: -.06em; line-height: 1; }

.section-intro {
  max-width: 31rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.45;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .43fr);
  gap: clamp(44px, 9vw, 132px);
  align-items: start;
}

.book-copy { max-width: 690px; }

.book-copy h2 { margin-bottom: 14px; }

.book-subtitle {
  max-width: 39rem;
  margin-bottom: 35px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 720;
  line-height: 1.35;
}

.answer-label {
  margin: 38px 0 10px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.answer-block {
  max-width: 39rem;
  padding: 16px 18px;
  border-left: 4px solid var(--acid);
  background: rgba(217, 244, 92, .16);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 680;
  line-height: 1.45;
}

.book-copy > p:not(.eyebrow):not(.book-subtitle) {
  max-width: 39rem;
  font-size: 1.07rem;
}

blockquote {
  max-width: 35rem;
  margin: 42px 0 0;
  padding: 19px 0 19px 20px;
  border-left: 5px solid var(--acid);
  color: var(--ink-soft);
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.25;
}

.book-aside { position: relative; }

.book-back-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 12px 15px 0 rgba(17, 21, 24, .09);
  transform: rotate(3deg);
}

.book-back-figure figcaption,
.author-portrait figcaption {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.book-aside .button { margin-top: 25px; }

.book-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 78px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.book-facts div {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  padding: 17px 18px 17px 0;
  border-right: 1px solid var(--line);
}

.book-facts div + div { padding-left: 18px; }
.book-facts div:last-child { border-right: 0; }
.book-facts dt, .book-facts dd { margin: 0; }

.book-facts dt {
  color: var(--ink-soft);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.book-facts dd { font-weight: 800; line-height: 1.25; }

.fiction-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  max-width: 820px;
  margin-top: 42px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .33);
}

.fiction-note p { margin-bottom: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.fiction-note strong { color: var(--ink); }

.note-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--ink);
  background: var(--acid);
  font-weight: 950;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--ink);
}

.section-dark .section-label,
.section-dark .section-intro,
.section-dark .eyebrow { color: var(--paper-deep); }

.section-dark .eyebrow-dot { background: var(--acid); }

.section-dark .section-label span:first-child { color: var(--ink); background: var(--acid); }

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
  gap: clamp(48px, 10vw, 145px);
  align-items: start;
}

.author-copy { max-width: 680px; }

.author-copy h2 { max-width: 13ch; margin-bottom: 35px; }

.author-copy p:not(.eyebrow) { color: var(--paper-deep); font-size: 1.05rem; }

.author-portrait { position: relative; }

.author-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-light);
  filter: saturate(.78) contrast(1.08);
}

.section-dark .author-portrait figcaption { color: var(--paper-deep); }

.author-index {
  position: absolute;
  right: 17px;
  bottom: 43px;
  color: var(--acid);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.contact-layout { grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr); }

.contact-routes { border-top: 1px solid var(--line); }

.contact-routes a {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-routes a:hover strong { color: var(--red); }
.contact-routes span { grid-row: 1 / span 2; color: var(--red); font-size: .68rem; font-weight: 900; }
.contact-routes strong { font-size: 1.06rem; line-height: 1.25; }
.contact-routes small { color: var(--ink-soft); }
.contact-routes b { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 1.25rem; font-weight: 400; }

.direct-contact {
  display: grid;
  gap: 3px;
  margin-top: 36px;
  padding-left: 17px;
  border-left: 5px solid var(--red);
}

.direct-contact span {
  color: var(--ink-soft);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.direct-contact a { width: fit-content; font-size: 1.13rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.direct-contact a:hover { color: var(--red); }
.direct-contact small { color: var(--ink-soft); }

.contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  margin-top: 74px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-deep);
}

.form-note { color: var(--ink-soft); font-size: .88rem; }

form { display: grid; gap: 15px; }

label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

label .optional { font-weight: 550; letter-spacing: 0; text-transform: none; }

input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}

textarea { resize: vertical; }

.consent-row {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.consent-row input { width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.consent-row a { text-underline-offset: 3px; }
.form-status { min-height: 1.5em; margin: 0; color: var(--red); font-size: .85rem; font-weight: 700; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: 34px 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .86rem;
}

.site-footer p { margin: 0; }
.footer-mark { color: var(--ink); font-size: .72rem; font-weight: 950; letter-spacing: .15em; }

.legal-page .site-header { margin-bottom: 60px; }

.legal-content { min-height: 66vh; padding-block: 40px 120px; }
.legal-content h1 { max-width: none; font-size: clamp(4rem, 10vw, 8.5rem); }
.legal-content h2 { max-width: none; margin-top: 72px; font-size: clamp(2rem, 4vw, 3.5rem); }
.legal-content p, .legal-content ul { max-width: 46rem; }
.legal-content li + li { margin-top: 9px; }
.legal-content a { text-underline-offset: 4px; }
.legal-note { margin-top: 28px; color: var(--ink-soft); font-size: .86rem; }

@media (max-width: 940px) {
  .hero { gap: 48px; }
  .book-layout, .author-layout { gap: 48px; }
  .book-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-facts div:nth-child(3) { border-right: 0; }
  .book-facts div:nth-child(4) { padding-left: 0; border-top: 1px solid var(--line); }
  .book-facts div:nth-child(5) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
  .main-nav { width: 100%; overflow-x: auto; }
  .main-nav a { flex: 0 0 auto; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 66px; }
  .hero-art { width: min(100%, 560px); margin-inline: auto; }
  .section-body, .contact-layout, .contact-form-wrap { grid-template-columns: 1fr; }
  .section-body { gap: 42px; }
  .book-layout, .author-layout { grid-template-columns: 1fr; }
  .book-copy, .author-copy { max-width: 720px; }
  .book-aside, .author-portrait { width: min(100%, 360px); }
  .book-aside { margin-left: auto; }
  .author-portrait { margin-left: auto; }
  h2 { max-width: 16ch; }
  .contact-form-wrap { gap: 30px; }
}

@media (max-width: 560px) {
  .shell, .site-header { width: min(calc(100% - 32px), var(--max)); }
  .hero { min-height: auto; padding-block: 55px 46px; }
  h1 { font-size: clamp(3.55rem, 19vw, 5.2rem); }
  .hero-lede { max-width: 18rem; }
  .hero-note { max-width: 20rem; }
  .hero-art { min-height: 430px; }
  .hero-cover { left: 5%; width: 66%; }
  .paper-slip { right: 0; width: 50%; padding: 13px; }
  .paper-slip strong { font-size: .9rem; }
  .case-stamp { right: 2%; font-size: .55rem; }
  .registration-a { right: 8%; }
  .content-section { padding-block: 76px; }
  .section-dark { padding-inline: 16px; }
  .section-label { margin-bottom: 31px; }
  h2 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .button { width: 100%; }
  .hero-actions { align-items: stretch; }
  .hero-meta { margin-top: 31px; }
  .hero-meta span + span::before { margin-right: 10px; }
  .book-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 58px; }
  .book-facts div, .book-facts div + div { padding: 14px 12px 14px 0; }
  .book-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
  .book-facts div:nth-child(even) { padding-left: 12px; border-right: 0; }
  .book-facts div:nth-child(3) { border-top: 1px solid var(--line); }
  .book-facts div:nth-child(4) { padding-left: 12px; border-top: 1px solid var(--line); }
  .book-facts div:nth-child(5) { padding-left: 0; border-top: 1px solid var(--line); }
  .fiction-note { grid-template-columns: 27px 1fr; gap: 10px; padding: 15px; }
  .contact-form-wrap { margin-top: 52px; padding: 22px 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-bottom: 32px; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 20px; }
  .legal-page .site-header { margin-bottom: 20px; }
  .back-link { align-self: flex-start; }
}

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