:root {
  --bg: #f8f7f2;
  --paper: #ffffff;
  --ink: #1f2528;
  --muted: #5d6564;
  --line: #d9ddd3;
  --sage: #637867;
  --sage-dark: #334b3d;
  --claret: #9c1d22;
  --amber: #c28b36;
  --shadow: 0 22px 50px rgba(31, 37, 40, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: 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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 52px);
  background: rgba(248, 247, 242, 0.92);
  border-bottom: 1px solid rgba(217, 221, 211, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logotype {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-toggle,
.dialog-close {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only),
.dialog-close span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  min-height: calc(88svh - 72px);
  padding-top: clamp(30px, 5vw, 62px);
  padding-bottom: clamp(44px, 6vw, 70px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sage-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  font-weight: 500;
}

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 10vw, 8.1rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.hero-lede {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-feature {
  position: relative;
  min-height: clamp(340px, 42vw, 500px);
}

.cover {
  position: absolute;
  width: min(62%, 330px);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.cover-large {
  top: 0;
  right: 28%;
  transform: rotate(-3deg);
}

.cover-small {
  right: 0;
  bottom: 0;
  transform: rotate(4deg);
}

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

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
}

.about-intro {
  display: grid;
  align-content: start;
  gap: clamp(22px, 4vw, 34px);
}

.headshot {
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 8px;
}

.headshot {
  object-fit: cover;
  object-position: center;
}

.about-content {
  max-width: 760px;
}

.about-content h2 {
  margin-bottom: clamp(26px, 3vw, 38px);
}

.about-content p:not(.section-kicker),
.prose {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.12rem;
}

.book-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(31, 37, 40, 0.08);
}

.book-panel.alternate {
  background: #fbfbf9;
}

.book-media {
  display: flex;
  justify-content: center;
}

.book-cover {
  width: min(100%, 280px);
  border-radius: 5px;
  box-shadow: 0 16px 38px rgba(31, 37, 40, 0.22);
}

.book-subtitle {
  color: var(--claret);
  font-size: 1.18rem;
  font-style: italic;
}

.book-copy p:not(.eyebrow, .book-subtitle) {
  color: var(--muted);
  font-size: 1.05rem;
}

.buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.buy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 0;
  margin-right: 36px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.buy-links a:hover,
.buy-links a:focus-visible {
  color: var(--claret);
  border-color: currentColor;
}

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

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.media-item,
.stage-feature,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-item {
  padding: clamp(20px, 3vw, 30px);
}

.media-item.wide {
  grid-column: 1 / -1;
}

.media-item p:not(.eyebrow) {
  color: var(--muted);
}

.media-item video {
  width: 100%;
  margin-top: 20px;
  background: #111;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
}

.media-item audio {
  width: 100%;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--claret);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 740;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.as-button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.stage-feature {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 42px);
}

.stage-feature img {
  width: min(100%, 250px);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(31, 37, 40, 0.16);
}

.stage-feature p:not(.eyebrow),
.muted {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-intro p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: #fcfcfb;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  outline: 3px solid rgba(99, 120, 103, 0.2);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.poetry-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(820px, calc(100svh - 40px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.poetry-dialog::backdrop {
  background: rgba(31, 37, 40, 0.48);
}

.dialog-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 4vw, 34px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.dialog-close {
  position: relative;
  display: block;
  flex: 0 0 auto;
  cursor: pointer;
}

.dialog-close span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.dialog-close span:nth-child(3) {
  opacity: 0;
}

.dialog-close span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.poem {
  padding: clamp(22px, 4vw, 40px);
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(31, 37, 40, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0ms linear 180ms;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0ms;
  }

  .nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav a {
    min-height: 48px;
    padding: 12px 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .split,
  .about-layout,
  .book-panel,
  .stage-feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-feature {
    min-height: 520px;
    order: -1;
  }

  .cover-large {
    right: auto;
    left: 8%;
  }

  .book-panel.alternate .book-media {
    order: 0;
  }

  .stage-feature img {
    width: min(100%, 220px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand-logotype {
    max-width: 210px;
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    gap: 28px;
    margin-top: 20px;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero-copy {
    margin-top: 20px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 3.55rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-feature {
    min-height: 315px;
  }

  .cover {
    width: min(56%, 210px);
  }

  .cover-large {
    left: 7%;
  }

  .cover-small {
    right: 5%;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 28px, var(--max));
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
