:root {
  --paper: #f7f3ec;
  --ink: #27231f;
  --muted: #6f675e;
  --line: #d8cec0;
  --accent: #7d6148;
  --accent-soft: #eee5da;
  --white: #fffdf9;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav,
.page,
.hero,
.section,
.grid > *,
.book > *,
.novel-book-card > *,
.adaptation-card-with-cover > *,
.project-layout > *,
.press-entry > * {
  min-width: 0;
}

.nav-toggle {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid rgba(125, 97, 72, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
}

.hero,
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-family: "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 400;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.lead {
  font-size: 1.18rem;
  color: #3d3731;
  max-width: 760px;
}

.romans-page .page > .section:first-child .eyebrow {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.romans-page .page > .section:first-child h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: #3d3731;
  font-size: clamp(1.35rem, 2vw, 2.65rem);
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
  padding-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem;
  min-height: 100%;
}

.book {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.book:first-child {
  border-top: 0;
}

.book img {
  width: 150px;
  box-shadow: 0 8px 24px rgba(39, 35, 31, 0.18);
}

.book-cover-link {
  display: block;
  width: 150px;
}

.book-cover-link img {
  width: 100%;
}

.book-title-link {
  color: var(--ink);
}

.novel-cycle {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

.novel-cycle:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.novel-cycle h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.novel-cycle > p {
  max-width: 780px;
  color: #403830;
  margin-bottom: 1.75rem;
}

.novel-books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  border-top: 1px solid rgba(216, 206, 192, 0.72);
}

.novel-book-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 1.45rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216, 206, 192, 0.72);
  padding: 1.25rem 0;
}

.novel-book-card img {
  width: 126px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.3rem;
  box-shadow: 0 8px 20px rgba(39, 35, 31, 0.12);
}

.novel-book-card h3 {
  margin-bottom: 0.2rem;
}

.novel-book-card p {
  max-width: 720px;
}

.book-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-quick-links span {
  color: var(--muted);
}

.book-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adaptation-card-with-cover {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.adaptation-card-with-cover img {
  width: 92px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.3rem;
  box-shadow: 0 8px 20px rgba(39, 35, 31, 0.12);
}

.adaptations-page > .section:first-child h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
}

.adaptation-card-covers {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1.05rem;
}

.adaptation-card-covers img {
  width: 62px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.25rem;
  box-shadow: 0 8px 20px rgba(39, 35, 31, 0.1);
}

.adaptation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-aside-cover {
  width: 112px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.35rem;
  box-shadow: 0 8px 20px rgba(39, 35, 31, 0.12);
}

.project-aside-covers {
  display: grid;
  gap: 1rem;
  margin: 0.8rem 0 1rem;
  align-items: flex-start;
}

.project-origin-book {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(216, 206, 192, 0.72);
}

.project-origin-book:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.project-origin-book h3 {
  margin: 0.65rem 0 0.1rem;
  font-size: 1rem;
}

.project-origin-book p {
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--muted);
  font-style: italic;
}

.note {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 1rem;
  color: #51483f;
}

.quiet-note {
  border: 1px dashed rgba(125, 97, 72, 0.34);
  background: rgba(255, 253, 249, 0.48);
  color: #74695f;
  padding: 1rem;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.language-switch {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switch .active {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.project-hero {
  padding-bottom: 2rem;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
}

.project-aside {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem;
  align-self: start;
  position: sticky;
  top: 6rem;
}

.project-aside p {
  color: var(--muted);
  margin-top: 0;
}

.project-sections {
  display: grid;
  gap: 1rem;
}

.project-section {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.project-section h2 {
  font-size: 1.35rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.project-meta span {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.58);
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-list-inline {
  margin: 0.3rem 0 1rem;
  padding-left: 1.2rem;
  color: #403830;
}

.project-list-inline li {
  margin: 0.15rem 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.press-card,
.press-feature {
  border: 1px solid var(--line);
  background: var(--white);
}

.press-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.press-image {
  display: block;
  padding: 0.9rem 0.9rem 0;
  background: rgba(238, 229, 218, 0.38);
}

.press-image img {
  width: 100%;
  aspect-ratio: 4 / 3.45;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(216, 206, 192, 0.72);
  filter: saturate(0.88) contrast(0.96);
}

.press-card-body {
  padding: 1rem 1rem 1.15rem;
}

.press-card h3,
.press-feature h3 {
  margin-bottom: 0.3rem;
}

.press-card p,
.press-feature p {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.press-meta {
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.press-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding: 1rem;
  max-width: 920px;
}

.press-feature-image {
  display: block;
  background: rgba(238, 229, 218, 0.38);
}

.press-feature-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid rgba(216, 206, 192, 0.72);
  filter: saturate(0.9) contrast(0.96);
}

.press-feature-copy {
  max-width: 560px;
}

.press-page .section {
  max-width: 1120px;
}

.press-intro {
  max-width: 940px;
}

.press-intro p:not(.eyebrow):not(.lead),
.press-chapter > p,
.section-note,
.press-closing p {
  max-width: 780px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-top: 1.4rem;
}

.press-quote {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
}

.press-quote blockquote {
  margin: 0;
  color: #2b211a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.press-quote figcaption {
  margin-top: 1rem;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.press-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.press-list.compact {
  gap: 0.85rem;
}

.press-list.featured {
  gap: 1.15rem;
}

.press-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.press-entry h3 {
  margin: 0.15rem 0 0.45rem;
}

.press-entry p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.press-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.68rem 0.95rem;
  border: 1px solid rgba(125, 97, 72, 0.34);
  color: #3b3028;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  background: #fffdf9;
}

.press-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.reader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-top: 1.2rem;
}

.reader-grid article {
  background: var(--white);
  padding: 1.1rem;
}

.reader-grid p {
  margin: 0.45rem 0 0;
  color: #403830;
}

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

.biography-article {
  max-width: 860px;
}

.biography-article > h1 {
  max-width: 780px;
}

.biography-block {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.biography-block:first-of-type {
  margin-top: 1.5rem;
}

.biography-block h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.biography-block p {
  max-width: 760px;
  color: #403830;
}

.biography-photo {
  max-width: 520px;
  margin: 0.4rem 0 1.8rem;
}

.biography-photo img {
  display: block;
  width: 100%;
  border: 1px solid rgba(216, 206, 192, 0.72);
  padding: 0.65rem;
  background: #fffdf9;
  filter: saturate(0.94) contrast(0.98);
}

.bibliography-article {
  max-width: 1040px;
}

.bibliography-article > p {
  max-width: 780px;
}

.bibliography-cycle {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.bibliography-cycle:first-of-type {
  margin-top: 2rem;
}

.cycle-heading {
  max-width: 820px;
  margin-bottom: 1.4rem;
}

.cycle-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.cycle-heading > p,
.bibliography-cycle > p {
  max-width: 780px;
  color: #403830;
}

.bibliography-book {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(216, 206, 192, 0.72);
  align-items: start;
}

.bibliography-book img {
  width: 118px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.35rem;
  box-shadow: 0 10px 28px rgba(39, 35, 31, 0.12);
}

.bibliography-book h3 {
  margin-bottom: 0.2rem;
}

.book-meta {
  margin: 0.2rem 0 0.8rem;
  color: var(--accent);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.author-opening {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 2.2rem;
}

.author-opening > div {
  max-width: 760px;
}

.author-opening h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  letter-spacing: -0.02em;
}

.author-opening figure {
  margin: 0;
  width: min(68%, 760px);
  padding: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.author-opening img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.92) contrast(0.96);
}

.author-bio-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.author-bio-panel img {
  width: 100%;
  max-width: 260px;
  max-height: 320px;
  justify-self: start;
  object-fit: cover;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.65rem;
}

.author-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 240px));
  gap: 0.85rem;
  margin-top: 1.15rem;
  max-width: 520px;
}

.author-gallery figure {
  margin: 0;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  padding: 0.55rem;
}

.author-gallery img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94);
}

.author-gallery figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 2rem 1.25rem;
  text-align: center;
}

.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 97, 72, 0.28);
}

.footer a:hover {
  color: var(--accent);
  border-bottom-color: currentColor;
}

@media (max-width: 820px) {
  .nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.82rem 1rem;
  }

  .brand {
    font-size: 1.08rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 0.65rem 0 0.15rem;
    border-top: 1px solid rgba(216, 206, 192, 0.74);
    font-size: 0.98rem;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links > a {
    padding: 0.52rem 0;
  }

  .language-switch {
    padding-top: 0.55rem;
  }

  .hero,
  .split,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero,
  .page {
    padding: 2.35rem 1.1rem;
  }

  .section {
    padding: 2.45rem 0;
  }

  .book {
    grid-template-columns: 95px 1fr;
    gap: 1rem;
  }

  .book img {
    width: 95px;
  }

  .book-cover-link {
    width: 95px;
  }

  .project-layout,
  .press-grid,
  .press-feature,
  .quote-grid,
  .reader-grid,
  .author-opening,
  .novel-books {
    grid-template-columns: 1fr;
  }

  .press-entry {
    grid-template-columns: 1fr;
  }

  .press-link {
    justify-self: flex-start;
  }

  .author-bio-panel {
    grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  }

  .author-bio-panel img {
    max-height: 260px;
  }

  .project-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.62;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.45rem, 8.5vw, 2.05rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .hero,
  .page {
    padding: 2rem 1.05rem;
  }

  .section {
    padding: 2.05rem 0;
  }

  .card,
  .project-section,
  .project-aside,
  .press-entry,
  .reader-grid article {
    padding: 1.05rem;
  }

  .grid {
    gap: 0.9rem;
  }

  .book {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.65rem 0;
  }

  .book img,
  .book-cover-link {
    width: 118px;
  }

  .author-bio-panel,
  .author-gallery {
    grid-template-columns: 1fr;
  }

  .bibliography-book {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 1rem;
  }

  .bibliography-book img {
    width: 82px;
  }

  .adaptation-card-with-cover {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .adaptation-card-with-cover img {
    width: 112px;
  }

  .novel-book-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.45rem 0;
  }

  .novel-book-card img {
    width: 112px;
  }

  .book-quick-links,
  .adaptation-links {
    gap: 0.55rem 0.9rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .adaptation-card-covers,
  .project-aside-covers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .project-aside-cover {
    width: 84px;
  }

  .press-link,
  .book-button {
    width: fit-content;
  }

  .footer {
    padding: 1.65rem 1rem;
    font-size: 0.92rem;
  }
}
