:root {
  color-scheme: light;
  --ink: #262522;
  --muted: #77756f;
  --paper: #fff;
  --soft: #f3f2ef;
  --line: #deddd8;
  --orange: #e87934;
  --orange-dark: #b94f14;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  min-height: 78px;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.wordmark {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--orange); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
}

.main-nav a {
  padding: 28px 0 24px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

.main-nav a:hover, .main-nav a.active {
  border-color: var(--orange);
  color: var(--ink);
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.language-switch button {
  min-width: 34px;
  padding: 5px 7px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--orange);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 485px;
  padding: 80px 12% 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  background: var(--soft);
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 31%;
  height: 100%;
  background: var(--orange);
  content: "";
}

.hero-copy, .hero-aside, .hero-caption { position: relative; z-index: 1; }

.hero-copy { max-width: 650px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: .96;
}

h1 span { color: var(--orange-dark); }

.hero-intro {
  max-width: 440px;
  margin: 26px 0 22px;
  color: #5b5954;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}

.hero-aside {
  width: min(250px, 30%);
  margin: 22px 0 0 auto;
  color: #fff;
}

.date-block { display: grid; gap: 7px; }
.date { font-size: clamp(20px, 2.5vw, 28px); font-weight: 750; letter-spacing: -.03em; }
.date-label { max-width: 190px; color: rgba(255,255,255,.86); font-size: 12px; line-height: 1.45; }
.date-rule { width: 44px; height: 1px; margin: 25px 0; background: rgba(255,255,255,.6); }
.hero-caption { position: absolute; right: 7.2%; bottom: 20px; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.content-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 94px 7.2%;
}

.biography-section {
  display: grid;
  grid-template-columns: minmax(190px, .75fr) minmax(0, 1.4fr);
  gap: 9%;
}

.section-heading h2, .page-heading h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.055em;
  line-height: 1.08;
}

.biography-copy { max-width: 690px; }
.biography-copy > p { margin: 0 0 20px; color: #55534e; font-size: 15px; }

.facts {
  margin-top: 37px;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(90px, .55fr) 1.5fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.fact-label { color: var(--muted); }
.facts strong { font-weight: 650; }

.feature-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--soft);
}

.feature-card {
  position: relative;
  min-height: 195px;
  padding: 32px 10%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease;
}

.feature-card + .feature-card { border-left: 1px solid var(--line); }
.feature-card:hover { background: #eae8e3; }
.feature-number { grid-column: 1; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.feature-title { grid-column: 1; margin-top: 7px; font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.feature-description { grid-column: 1; color: var(--muted); font-size: 12px; }
.feature-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--orange-dark); font-size: 24px; }

.page-main { min-height: calc(100vh - 190px); }
.page-heading {
  padding: 72px 7.2% 55px;
  background: var(--soft);
}
.page-heading-inner { max-width: 1140px; margin: 0 auto; }
.page-heading h1 { max-width: 800px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-intro { max-width: 620px; margin: 17px 0 0; color: #5b5954; }

.gallery-content, .books-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 7.2% 80px;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.page-size-control { display: flex; align-items: center; gap: 10px; }
.page-size-control select {
  padding: 8px 27px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.gallery-grid {
  columns: 4 220px;
  column-gap: 16px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0;
  margin-bottom: 16px;
  break-inside: avoid;
  vertical-align: top;
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-empty {
  padding: 35px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.gallery-pagination button, .amazon-link {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.gallery-pagination button:hover, .amazon-link:hover { border-color: var(--orange); }
.gallery-pagination button:disabled { cursor: not-allowed; opacity: .45; }
.gallery-page-number { color: var(--muted); font-size: 12px; }
.download-note { margin: 25px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.books-list { display: grid; gap: 14px; }
.book-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 25px 27px;
  border: 1px solid var(--line);
}
.book-card h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.book-author { margin: 4px 0 8px; color: var(--orange-dark); font-size: 12px; font-weight: 650; }
.book-description { max-width: 670px; margin: 0; color: var(--muted); font-size: 13px; }
.affiliate-note { margin: 24px 0 0; color: var(--muted); font-size: 11px; }

.media-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 7.2% 80px;
}

.media-section + .media-section { margin-top: 56px; }
.media-section h2 { margin: 0 0 20px; font-size: 25px; letter-spacing: -.04em; }
.media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

.media-card {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
}

.media-card h3 {
  min-height: 2.7em;
  margin: 8px 0 5px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 17px;
  letter-spacing: -.025em;
  line-height: 1.35;
}
.media-card p {
  min-height: 4.5em;
  margin: 0 0 15px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.media-type { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.media-card audio, .media-card video { width: 100%; margin-top: auto; display: block; }
.media-card video { aspect-ratio: 4 / 3; max-height: 360px; background: #1c1c1c; object-fit: contain; }

.site-footer {
  min-height: 93px;
  padding: 22px 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
}

.site-footer p { max-width: 500px; margin: 0; color: var(--muted); font-size: 11px; text-align: right; }

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 0 5%; flex-wrap: wrap; gap: 8px 18px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .main-nav a { padding: 7px 0 10px; }
  .hero { min-height: 440px; padding: 70px 7% 85px; align-items: flex-start; }
  .hero::after { top: auto; bottom: 0; width: 100%; height: 118px; }
  .hero-aside { position: absolute; right: 7%; bottom: 15px; left: 7%; width: auto; margin: 0; display: flex; justify-content: space-between; gap: 20px; }
  .date-block { max-width: 47%; }
  .date-rule { display: none; }
  .date { font-size: 20px; }
  .date-label { font-size: 10px; }
  .hero-caption { display: none; }
  .content-section { padding: 65px 7%; }
  .biography-section { grid-template-columns: 1fr; gap: 30px; }
  .feature-card { min-height: 170px; padding: 25px 8%; }
  .gallery-content, .books-content { padding: 35px 5% 60px; }
  .gallery-grid { columns: 2 150px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .media-content { padding: 35px 5% 60px; }
  .media-list { grid-template-columns: 1fr; gap: 12px; }
  .book-card { grid-template-columns: 1fr; gap: 15px; padding: 21px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 22px 5%; }
  .site-footer p { text-align: left; }
}

@media (max-width: 420px) {
  .feature-links { grid-template-columns: 1fr; }
  .feature-card + .feature-card { border-left: 0; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; }
}
