:root {
  --ink: #111111;
  --paper: #f7f7f5;
  --white: #ffffff;
  --blue: #0c2478;
  --deep-blue: #071852;
  --red: #c9252b;
  --line: #d9d9d6;
  --muted: #6c6c69;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--white); padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 84px;
  padding: 0 clamp(1.25rem, 6vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(247,247,245,.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 112px; height: auto; }
#site-nav { display: flex; gap: clamp(1.4rem, 3vw, 3.2rem); }
#site-nav a { font-size: .78rem; font-weight: 600; text-decoration: none; position: relative; }
#site-nav a::after { content: ""; position: absolute; left: 0; bottom: -.45rem; width: 0; height: 2px; background: var(--red); transition: width .25s ease; }
#site-nav a:hover::after, #site-nav a:focus-visible::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s ease; }

.hero {
  min-height: clamp(620px, 78vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) 56px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 7vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  top: -14px;
}
.eyebrow { margin: 0 0 1.3rem; color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 7.4vw, 8rem); line-height: .84; letter-spacing: -.075em; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-weight: 500; }
.hero-intro { max-width: 34rem; margin: 2.6rem 0 2rem; font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
.text-link { width: fit-content; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; text-decoration: none; padding-bottom: .4rem; border-bottom: 1px solid var(--ink); }
.text-link span { color: var(--red); font-size: 1rem; margin-left: .5rem; }
.hero-portrait { position: relative; overflow: hidden; min-height: 580px; background: var(--blue); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(12,36,120,.06), rgba(12,36,120,.62)); mix-blend-mode: multiply; pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 48%; filter: grayscale(1) contrast(1.12); }
.portrait-number { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2; color: rgba(255,255,255,.78); font-size: .72rem; letter-spacing: .2em; }
.portrait-caption { position: absolute; bottom: 2rem; left: 2rem; z-index: 2; color: var(--white); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; line-height: 1.5; }
.hero-side { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; font-size: .66rem; letter-spacing: .2em; font-weight: 700; color: var(--muted); }

.section { padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 10vw, 10rem); position: relative; }
.section-mark { position: absolute; top: 4rem; left: clamp(1.5rem, 10vw, 10rem); color: transparent; -webkit-text-stroke: 1px #dededb; font-size: clamp(4rem, 11vw, 10rem); line-height: 1; font-weight: 700; letter-spacing: -.08em; pointer-events: none; }
.section-heading { position: relative; z-index: 1; max-width: 52rem; margin-bottom: 4rem; }
.section-heading h2, .book-copy h2, .next-copy h2, .contact h2 { margin: 0; font-size: clamp(3rem, 6.2vw, 6.5rem); line-height: .98; letter-spacing: -.055em; }
h2 em { font-family: var(--serif); font-weight: 600; }
.about { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(320px, 1.22fr); column-gap: 8vw; }
.about .section-heading { grid-column: 1 / -1; }
.about-body { grid-column: 2; max-width: 47rem; }
.about-body p { margin: 0 0 1.35rem; }
.about-body .lead { font-size: clamp(1.35rem, 2.2vw, 2.05rem); line-height: 1.4; letter-spacing: -.025em; }
.signature { grid-column: 1; grid-row: 2; font-family: var(--serif); font-size: clamp(4rem, 7vw, 7rem); color: var(--red); font-style: italic; transform: rotate(-7deg); align-self: center; justify-self: center; }

.book-section { background: var(--blue); color: var(--white); display: grid; grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr); gap: clamp(4rem, 10vw, 10rem); align-items: center; overflow: hidden; }
.book-visual { position: relative; display: flex; justify-content: center; padding: 3rem; }
.book-visual img { width: min(420px, 82%); position: relative; z-index: 2; box-shadow: 2.4rem 2.8rem 0 rgba(3,13,49,.85), 0 30px 70px rgba(0,0,0,.35); transform: rotate(-2.5deg); }
.book-halo { position: absolute; width: min(36vw, 500px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.book-halo::before, .book-halo::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.book-halo::before { inset: 11%; }
.book-halo::after { inset: 23%; }
.book-year { position: absolute; bottom: -.5rem; right: 0; z-index: 3; font-size: .65rem; letter-spacing: .2em; transform: rotate(90deg); transform-origin: right bottom; }
.book-copy { max-width: 42rem; position: relative; z-index: 2; }
.book-copy .eyebrow { color: #ff5559; }
.book-copy h2 em { color: #ff5559; }
.book-copy .genre { font-size: 1.05rem; font-weight: 600; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); margin: 2rem 0; }
.book-copy > p:not(.eyebrow):not(.genre) { color: rgba(255,255,255,.8); }
.availability { margin: 2rem 0; display: flex; flex-direction: column; font-size: .83rem; text-transform: uppercase; letter-spacing: .08em; }
.availability strong { color: #ff5559; margin-top: .25rem; }
.button { display: inline-block; color: var(--blue); background: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; padding: 1rem 1.35rem; transition: background .2s, color .2s, transform .2s; }
.button:hover, .button:focus-visible { background: var(--red); color: var(--white); transform: translateY(-2px); }

.next-book { min-height: 640px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 7vw; align-items: end; overflow: hidden; }
.next-number { font-size: clamp(12rem, 27vw, 31rem); line-height: .65; font-weight: 700; letter-spacing: -.12em; color: var(--red); margin-left: -.08em; }
.next-copy { max-width: 45rem; padding-bottom: 2rem; position: relative; z-index: 2; }
.next-copy p:last-child { max-width: 39rem; font-size: 1.12rem; }
.quote-section { background: #ededeb; }
blockquote { max-width: 72rem; margin: 0 auto; position: relative; padding-left: clamp(2rem, 8vw, 8rem); }
blockquote p { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: 1.2; margin: 0 0 2rem; }
blockquote footer { color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.quote-mark { position: absolute; left: 0; top: -.25em; color: var(--red); font-family: var(--serif); font-size: clamp(5rem, 10vw, 10rem); line-height: 1; }

.contact { background: var(--ink); color: var(--white); padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 10vw, 10rem) 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact .eyebrow { color: #ff5559; }
.contact h2 em { color: #ff5559; }
.contact-details { display: flex; flex-direction: column; justify-content: center; }
.contact-details a { display: flex; justify-content: space-between; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid #444; font-size: clamp(1.2rem, 2.3vw, 2.1rem); text-decoration: none; }
.contact-details a:hover { color: #ff5559; }
.contact-details p { color: #999; max-width: 28rem; margin-top: 2rem; }
.contact-email { display: block; padding: 1.1rem 0; border-bottom: 1px solid #444; font-size: clamp(1.2rem, 2.3vw, 2.1rem); }
.footer-bottom { grid-column: 1 / -1; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #333; display: flex; align-items: center; justify-content: space-between; color: #8d8d8d; font-size: .72rem; }
.brand-light img { filter: brightness(0) invert(1); opacity: .95; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (min-width: 901px) {
  .hero-copy { top: -48px; }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  #site-nav { position: absolute; left: 0; right: 0; top: 72px; display: none; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; }
  #site-nav.open { display: flex; }
  #site-nav a { padding: .75rem 0; font-size: .9rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 500px; padding: 4rem 1.5rem 3.5rem; top: -8px; }
  .hero-portrait { min-height: 540px; }
  .hero-side { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-body, .signature { grid-column: 1; grid-row: auto; }
  .signature { justify-self: start; margin: 2rem 0 0 2rem; }
  .book-section { grid-template-columns: 1fr; }
  .book-visual { padding: 0 1rem 3rem; }
  .book-halo { width: min(78vw, 500px); }
  .next-book { grid-template-columns: 1fr; gap: 3rem; min-height: auto; }
  .next-number { margin-top: 3rem; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 560px) {
  .section { padding: 6rem 1.25rem; }
  .section-mark { left: 1.25rem; top: 3rem; }
  .hero h1 { font-size: clamp(3.6rem, 20vw, 6rem); }
  .hero-portrait { min-height: 470px; }
  .portrait-caption { left: 1.25rem; bottom: 1.25rem; }
  .book-section { padding-top: 5rem; }
  .book-visual img { width: 84%; box-shadow: 1.2rem 1.5rem 0 rgba(3,13,49,.85), 0 25px 55px rgba(0,0,0,.35); }
  .next-number { font-size: 55vw; }
  blockquote { padding-left: 2.5rem; }
  .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
