:root {
  --paper: #f3efe7;
  --paper-deep: #e7dfd2;
  --ink: #1f211f;
  --muted: #686a64;
  --line: rgba(31, 33, 31, 0.16);
  --accent: #2f4a43;
  --accent-soft: #dfe7e2;
  --white: #fbfaf7;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 7%, rgba(47,74,67,.08), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: .65rem .9rem;
  border-radius: .2rem;
}

.skip-link:focus { transform: none; }

.site-header {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: .02em;
}

.wordmark-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: .63rem;
  letter-spacing: .1em;
}

nav {
  display: flex;
  gap: 1.45rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .04em;
}

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

.hero,
.section,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.hero {
  padding: clamp(6rem, 12vw, 11rem) 0 clamp(5rem, 9vw, 8rem);
  max-width: 1050px;
  margin-left: max(1.5rem, calc((100% - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  letter-spacing: -.055em;
}

.hero-copy {
  max-width: 720px;
  color: #444741;
  font-family: var(--serif);
  font-size: clamp(1.13rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: .85rem 1.05rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-size: .78rem;
  letter-spacing: .04em;
}

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

.button-secondary { background: transparent; }

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1.8rem;
}

.section-heading h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.prose {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #41443f;
}

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

.principles div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.principles dt {
  font-family: var(--serif);
  font-size: 1.12rem;
}

.principles dd {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.catalog-section { padding-bottom: 8rem; }

.author-group + .author-group { margin-top: 7rem; }

.author-heading {
  margin-bottom: 2.2rem;
  padding-bottom: 1.3rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.author-heading h3 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: -.025em;
}

.author-years {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.book-card {
  display: grid;
  grid-template-columns: minmax(150px, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.3rem, 3vw, 2.5rem);
  align-items: end;
}

.book-cover {
  aspect-ratio: 2 / 3;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 20px 45px rgba(31,33,31,.10);
  border: 1px solid rgba(255,255,255,.2);
  font-family: var(--serif);
}

.book-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover strong {
  font-size: clamp(1.45rem, 2.7vw, 2.55rem);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.04em;
}

.cover-kicker,
.cover-imprint {
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cover-asura {
  background: #2e4a43;
  color: #f4efe4;
}

.cover-restaurant {
  background: #a64935;
  color: #fff6e7;
}

.cover-gate {
  background: #d8c8ad;
  color: #2c2c28;
}

.cover-andthen {
  background: #31333b;
  color: #eee7dc;
}

.book-meta h4 {
  margin-bottom: .5rem;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  letter-spacing: -.025em;
}

.book-meta > p {
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .86rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.1rem 0;
}

.badges a,
.badges span {
  border: 1px solid var(--line);
  padding: .25rem .45rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.badges a {
  text-decoration: none;
}

.badges .badge-muted {
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.availability { font-style: italic; }

.badges-print { margin-top: -.4rem; }

.badges .badge-label {
  border-color: transparent;
  padding-left: 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.catalog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: -1rem 0 5rem;
}

.catalog-jump a {
  border: 1px solid var(--line);
  padding: .4rem .75rem;
  font-size: .78rem;
  text-decoration: none;
  color: var(--muted);
}

.catalog-jump a:hover,
.catalog-jump a:focus-visible { color: var(--ink); border-color: var(--ink); }

.author-group { scroll-margin-top: 5rem; }

.book-grid { row-gap: clamp(3rem, 6vw, 5.5rem); }

.catalog-note {
  max-width: 770px;
  margin: 6rem 0 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.person-card {
  min-height: 285px;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--paper);
}

.person-avatar-frame {
  width: 5.75rem;
  height: 5.75rem;
  margin-bottom: 3.4rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.person-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.person-avatar-frame-kaede .person-avatar {
  width: 130%;
  height: 130%;
  transform: translate(-21%, -8%);
}

.person-card h3 {
  margin-bottom: .85rem;
  font-size: 2rem;
}

.person-card > p:last-child {
  max-width: 510px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section { padding-bottom: 7.5rem; }

.contact-card {
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: clamp(3rem, 7vw, 7rem);
  background: var(--accent);
  color: #f2eee6;
}

.contact-card .eyebrow { color: #cbd8d2; }

.contact-card h2 {
  margin: 0;
  max-width: 550px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -.04em;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-intro {
  max-width: 470px;
  margin: auto 0 0;
  padding-top: 3rem;
  color: #dbe3df;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.contact-form-wrap {
  align-self: end;
}

.contact-form {
  display: grid;
  gap: 1.35rem;
}

.form-field {
  display: grid;
  gap: .48rem;
}

.form-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: #f2eee6;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-field label span {
  color: #aebfb7;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(242, 238, 230, .34);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, .025);
  color: #f7f3eb;
  font: inherit;
  line-height: 1.5;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.form-field input {
  min-height: 3rem;
  padding: .72rem .8rem;
}

.form-field textarea {
  min-height: 10.5rem;
  padding: .8rem;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(242, 238, 230, .55);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #f2eee6;
  background: rgba(255, 255, 255, .05);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.2rem;
}

.contact-submit {
  flex: 0 0 auto;
  min-width: 9.4rem;
  padding: .86rem 1.05rem;
  border: 1px solid #f2eee6;
  border-radius: 0;
  background: #f2eee6;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: transparent;
  color: #f2eee6;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .58;
}

.form-status {
  margin: 0;
  color: #dbe3df;
  font-size: .74rem;
  line-height: 1.4;
}

.form-status.is-success { color: #eef5f1; }
.form-status.is-error { color: #f2d6cf; }

.contact-note {
  margin: 1rem 0 0;
  color: #aebfb7;
  font-size: .68rem;
  line-height: 1.5;
}

footer {
  padding: 2rem 0 3.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

footer p { margin: 0; }

@media (max-width: 860px) {
  .site-header {
    padding: 1.1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav { gap: 1rem; }

  .hero {
    margin-inline: auto;
    width: min(calc(100% - 3rem), var(--max));
  }

  .section-heading,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: -1.5rem;
  }

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

  .book-card {
    grid-template-columns: minmax(145px, .65fr) minmax(0, 1.35fr);
  }

  .contact-heading { min-height: auto; }

  .contact-intro {
    margin-top: 2rem;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  h1 { font-size: clamp(3rem, 16vw, 5rem); }

  .section { padding: 5rem 0; }

  .principles div { grid-template-columns: 1fr; gap: .35rem; }

  .author-heading { align-items: flex-start; flex-direction: column; }

  .book-card { grid-template-columns: 1fr; }

  .book-cover { max-width: 270px; }

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

  .contact-card { padding: 1.5rem; }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-submit { width: 100%; }

  footer { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .form-field input,
  .form-field textarea,
  .contact-submit {
    transition: none;
  }
}
