:root {
  --black: #050505;
  --white: #ffffff;
  --soft: #f4f4f2;
  --body: #555555;
  --line: #d9d9d5;
  --muted: #8b8b86;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 999;
  transform: translateY(-150%); background: var(--white); color: var(--black);
  padding: 10px 14px; border: 2px solid var(--black); font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 0 var(--pad);
  border-bottom: 1px solid #222;
  background: var(--black); color: var(--white);
  position: relative; z-index: 10;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark img {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
}
.site-nav { display: flex; gap: clamp(16px, 3vw, 34px); align-items: center; }
.site-nav a { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }

.hero { background: var(--black); color: var(--white); }
.hero-copy { min-height: min(800px, calc(100svh - 74px)); padding: clamp(80px, 11vw, 150px) 0 64px; display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.inverse { color: #bdbdb8; }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(4rem, 13vw, 11rem); line-height: .78; letter-spacing: -.085em;
}
.hero h1 span { display: block; }
.hero h1 span:first-child { font-size: .56em; letter-spacing: -.06em; margin-bottom: .1em; }
.hero-bottom { margin-top: 80px; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: end; }
.hero-line { margin: 0; max-width: 760px; font-size: clamp(1.55rem, 3.2vw, 3rem); line-height: 1.08; font-weight: 750; letter-spacing: -.035em; }
.hero-subline { margin: 0; color: #c6c6c1; font-size: 15px; max-width: 360px; }

.intro-strip { border-bottom: 1px solid var(--line); background: var(--soft); }
.intro-grid { padding: 30px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; }
.intro-grid p { margin: 0; }
.label { font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.intro-grid p:last-child { max-width: 760px; color: #333; }

.section { padding: clamp(78px, 10vw, 140px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading h2, .about-copy h2, .asterrow-band h2 {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(2.7rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.07em;
}
.section-heading h2 { max-width: 870px; }
.text-link { white-space: nowrap; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 6vw, 80px); }
.book-card { display: grid; grid-template-columns: minmax(170px, .75fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; border-top: 5px solid var(--black); padding-top: 28px; }
.book-cover-wrap { background: var(--soft); aspect-ratio: 2 / 3; overflow: hidden; }
.book-cover { width: 100%; height: 100%; object-fit: cover; }
.book-cover-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 20px; background: var(--black); color: var(--white); text-align: center; font-family: var(--display); font-weight: 900; font-size: 1.6rem; line-height: .95; letter-spacing: -.04em; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 16px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.book-card h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.6rem); line-height: .92; letter-spacing: -.055em; }
.book-card h3 a { text-decoration: none; }
.book-card h3 a:hover { text-decoration: underline; }
.book-tagline { margin: 0 0 14px; font-weight: 750; font-size: 17px; line-height: 1.3; }
.book-description { margin: 0 0 20px; color: var(--body); font-size: 14px; }
.book-link, .post-link { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.about-section { background: var(--soft); padding: clamp(78px, 10vw, 140px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 9vw, 130px); align-items: center; }
.portrait { position: relative; min-height: 620px; background: var(--black); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.portrait-monogram { padding: 36px; font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 7vw, 7rem); line-height: .78; letter-spacing: -.08em; }
.portrait-monogram span { display: block; }
.portrait-note { position: absolute; top: 22px; right: 22px; margin: 0; writing-mode: vertical-rl; font-size: 9px; font-weight: 900; letter-spacing: .18em; color: #aaa; }

/* Real headshot: fills the panel. */
.portrait.has-photo { background-size: cover; background-position: center; }

/* Interim placeholder card: fitted whole so its wording is never cropped.
   Panel colour matches the artwork so the fit letterboxing is invisible. */
.portrait.has-placeholder {
  background-color: #010101;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.portrait.has-photo .portrait-monogram,
.portrait.has-placeholder .portrait-monogram,
.portrait.has-placeholder .portrait-note { display: none; }

.about-copy h2 { margin-bottom: 34px; }
.about-copy #bio-copy p { max-width: 700px; margin: 0 0 18px; color: #303030; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--black); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .15s ease; }
.button-dark { background: var(--black); color: var(--white); }
.button-outline { background: transparent; }
.button-light { background: var(--white); color: var(--black); border-color: var(--white); }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.social-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.social-links a { font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

.latest-section { background: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { border-top: 1px solid var(--black); padding-top: 18px; }
.post-image { aspect-ratio: 16 / 10; background: var(--soft); margin-bottom: 20px; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-image.type-card { display: grid; place-items: end start; padding: 22px; background: var(--black); color: var(--white); font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: .9; letter-spacing: -.05em; }
.post-kicker { margin: 0 0 10px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.65rem, 2.8vw, 2.8rem); line-height: .97; letter-spacing: -.045em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-excerpt { margin: 0 0 16px; color: var(--body); font-size: 14px; }
.post-link { display: inline-block; margin: 0 0 14px; }
.post-date { margin: 0; font-size: 10px; font-weight: 800; color: var(--muted); }

.asterrow-band { background: var(--black); color: var(--white); padding: clamp(82px, 11vw, 150px) 0; }
.asterrow-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 9vw, 130px); align-items: end; }
.asterrow-band h2 { font-size: clamp(4rem, 10vw, 9rem); }
.asterrow-copy p { color: #c7c7c2; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; margin: 0 0 30px; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: end; }
.footer-grid p { margin: 0; font-size: 11px; color: #666; }
.footer-grid strong { color: var(--black); }
.footer-right { text-align: right; }

.loading-card { grid-column: 1 / -1; min-height: 180px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.loading-card span { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--black); border-radius: 50%; animation: spin .8s linear infinite; }
.loading-card p { margin: 0; font-size: 13px; }
.error-card { grid-column: 1 / -1; padding: 32px; background: var(--soft); border-left: 5px solid var(--black); }
.error-card p { margin: 0 0 12px; color: var(--body); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-bottom, .intro-grid, .about-grid, .asterrow-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: minmax(150px, .55fr) 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .portrait { min-height: 520px; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 700px) {
  /* Every nav item survives on small screens; the row wraps instead. */
  .site-header { min-height: 64px; gap: 10px 16px; flex-wrap: wrap; padding-block: 12px; }
  .wordmark img { height: 48px; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .hero-copy { min-height: 680px; padding-top: 80px; }
  .hero h1 { font-size: clamp(4.3rem, 23vw, 7.4rem); }
  .hero-bottom { margin-top: 56px; }
  .intro-grid { gap: 12px; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover-wrap { width: min(72vw, 320px); }
  .post-grid { grid-template-columns: 1fr; }
  .portrait { min-height: 460px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
}

@media (max-width: 420px) {
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 10px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
