:root {
  --cream: #f4f1ea;
  --ink: #2b2926;
  --rust: #7a6a58;
  --line: #c9bba8;
  --white: #f7f4ee;
  --accent: var(--rust);
  --shadow: 0 14px 34px rgba(43, 41, 38, 0.14);
  --serif: "EB Garamond", "Times New Roman", Times, serif;
  --display: "Cormorant Garamond", "EB Garamond", "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 48vh;
  height: clamp(280px, 52vh, 560px);
  background-color: #050403;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center 28%;
}

.hero--home {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  background-image: none;
  background-color: #050403;
}

.hero-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.1) 18%, transparent 36%),
    radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.26) 100%);
}

.hero--short {
  min-height: 180px;
  height: clamp(180px, 28vh, 280px);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.55rem 1.75rem 0;
  color: var(--white);
  overflow: visible;
}

.logo {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.2rem;
  height: 1px;
  background: var(--white);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.nav a {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.96;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.nav a.nav-long {
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.nav a.nav-long:hover,
.nav a.nav-long[aria-current="page"] {
  text-decoration: none;
  box-shadow: inset 0 -1px 0 currentColor;
}

.nav-overlay {
  display: none;
}

.page {
  padding: 2.7rem 1.5rem 5.5rem;
}

.page--home {
  padding-top: 2.4rem;
}

.wrap {
  max-width: 38.5rem;
  margin: 0 auto;
  text-align: center;
}

.wrap--wide {
  max-width: 40rem;
}

.kicker {
  margin: 0 0 1.15rem;
  color: var(--rust);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.headline {
  margin: 0 0 1.7rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 1.95rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.15rem auto 1.85rem;
}

.rule--short {
  width: 4.6rem;
}

.rule--long {
  width: min(46rem, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.question {
  margin: 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.4;
}

.podcast {
  padding-top: 0.15rem;
}

.cta {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cta:hover {
  color: var(--rust);
}

.inner-title {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 500;
}

.page--inner .wrap {
  text-align: left;
}

.page--inner .kicker {
  text-align: left;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-form {
  max-width: 28rem;
  margin: 1.5rem auto 0;
  display: grid;
  gap: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--rust);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  padding: 0.7rem 1.4rem;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--rust);
}

.contact-block {
  max-width: 28rem;
  margin: 0 auto;
}

.contact-block .contact-form {
  margin-left: 0;
  margin-right: 0;
}

.site-header--page {
  position: relative;
  color: var(--ink);
  padding-bottom: 1.55rem;
  border-bottom: 1px solid var(--line);
}

.site-header--page .menu-toggle span,
.site-header--page .menu-toggle span::before,
.site-header--page .menu-toggle span::after {
  background: var(--ink);
}

.kicker--center {
  text-align: center;
}

.page--inner .kicker--center {
  text-align: center;
}

.kicker--wrap {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.accent {
  width: 3.875rem;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.9rem;
}

.accent--start {
  margin: 0.6rem 0 1.9rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose a:hover {
  color: var(--rust);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 40.625rem;
  margin: 0 auto;
  align-items: start;
}

.about-grid > *,
.book-layout > * {
  min-width: 0;
}

.about-copy {
  max-width: none;
}

.about-portrait-wrap {
  margin: 0.25rem 0 0;
  width: min(17rem, 72vw);
  justify-self: center;
}

.about-portrait {
  display: block;
  width: 100%;
  height: auto;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  max-width: 73.75rem;
  margin: 0 auto;
  align-items: start;
}

.book-cover-wrap {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.book-cover {
  width: 100%;
  max-width: 26.25rem;
  height: auto;
  box-shadow: var(--shadow);
}

.book-copy {
  max-width: 47.5rem;
}

.book-quote {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.36;
}

.fiction-list {
  max-width: 53.75rem;
  margin: 0 auto;
}

.fiction-entry {
  padding: 0 0 2.25rem;
  margin: 0 0 2.375rem;
  border-bottom: 1px solid var(--line);
}

.fiction-entry:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.fiction-title {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
}

.fiction-publication {
  margin: 0 0 1.1rem;
  font-style: italic;
  line-height: 1.4;
}

.fiction-review {
  margin: 0 0 0.6rem;
  font-style: italic;
  line-height: 1.5;
}

.fiction-source {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--rust);
}

.statement {
  max-width: 57.5rem;
  margin: 0 auto;
}

.statement-heading {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.statement-intro {
  margin: 0 0 1.9rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--rust);
  font-style: italic;
}

.media-intro {
  max-width: 40rem;
  margin: -1.4rem auto 2.5rem;
  text-align: center;
  color: var(--rust);
  font-style: italic;
}

.media-list {
  max-width: 40rem;
  margin: 0 auto;
}

.media-entry {
  padding: 0 0 1.55rem;
  margin: 0 0 1.65rem;
  border-bottom: 1px solid var(--line);
}

.media-entry:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.media-outlet {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--rust);
}

.media-headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
}

.media-headline a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.media-headline a:hover,
.media-extra a:hover {
  color: var(--rust);
}

.media-extra,
.media-note {
  margin: 0.5rem 0 0;
  font-size: 1.02rem;
}

.media-extra a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 1.25rem 1.15rem 0;
  }

  .site-header--page {
    padding-bottom: 1.25rem;
    background: var(--cream);
  }

  .logo,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0c0a08;
    padding: 4.75rem 0 2.5rem;
    border: 0;
    box-shadow: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 1rem 1.35rem;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    white-space: normal;
  }

  .nav a.nav-long {
    text-align: left;
    letter-spacing: 0.14em;
    line-height: 1.45;
  }

  .nav a.nav-long:hover,
  .nav a.nav-long[aria-current="page"] {
    text-decoration: underline;
    box-shadow: none;
  }

  .site-header--page .nav {
    color: var(--white);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header--page {
    background: #0c0a08;
    color: var(--white);
    border-bottom-color: rgba(247, 244, 238, 0.12);
  }

  body.menu-open .site-header--page .menu-toggle span,
  body.menu-open .site-header--page .menu-toggle span::before,
  body.menu-open .site-header--page .menu-toggle span::after {
    background: var(--white);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: #0c0a08;
  }

  .page {
    padding: 2.2rem 1.25rem 4.2rem;
  }
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    gap: 2.25rem;
    max-width: 46rem;
  }

  .about-portrait-wrap {
    width: 18.5rem;
    margin: 0.15rem 0 0;
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .site-header {
    padding: 2.1rem 3rem 0;
  }

  .site-header--page {
    padding-bottom: 1.75rem;
  }

  .hero:not(.hero--home) {
    height: clamp(380px, 54vh, 620px);
  }

  .page--home {
    padding-top: 2.7rem;
  }

  .wrap {
    max-width: 40.5rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 3.5rem;
    max-width: 54rem;
  }

  .about-portrait-wrap {
    width: 21rem;
    margin: 0.15rem 0 0;
    justify-self: end;
  }

  .book-layout {
    grid-template-columns: minmax(17.5rem, 26.875rem) minmax(0, 1fr);
    gap: 4.625rem;
  }
}

@media (min-width: 1024px) {
  .hero--home {
    height: 100vh;
    height: 100dvh;
  }

  .hero--home .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
  }
}

@media (min-width: 1400px) {
  .site-header {
    padding: 2.4rem 3.6rem 0;
  }

  .site-header--page {
    padding-bottom: 1.9rem;
  }
}
