:root {
  --bg: #f4efe7;
  --paper: rgba(255, 251, 245, 0.84);
  --paper-strong: #fffaf4;
  --ink: #1d2330;
  --muted: #5d6675;
  --accent: #a33a2b;
  --accent-soft: #dfc5b2;
  --forest: #24322b;
  --forest-soft: #dae3d8;
  --line: rgba(29, 35, 48, 0.12);
  --shadow: 0 24px 60px rgba(28, 24, 19, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(163, 58, 43, 0.12), transparent 26rem),
    radial-gradient(circle at 85% 10%, rgba(36, 50, 43, 0.12), transparent 30rem),
    linear-gradient(180deg, #f6f1ea 0%, #efe6da 100%);
}

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

a {
  color: inherit;
}

p,
li {
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.3rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h4 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.page-shell {
  width: min(100% - 32px, 1360px);
  margin: 20px auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 36px;
  overflow: clip;
  background: var(--paper);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 3vw, 36px);
  background: rgba(255, 250, 244, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand img {
  width: 56px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  padding: 10px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 4vw, 52px);
}

.section + .section {
  border-top: 1px solid rgba(29, 35, 48, 0.08);
}

.section-dark {
  color: #f6efe8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(180deg, #1e2924 0%, #141c18 100%);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark a,
.section-dark .eyebrow {
  color: #fff7ef;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 247, 239, 0.76);
}

.section-tinted {
  background:
    radial-gradient(circle at 10% 10%, rgba(163, 58, 43, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(255, 249, 243, 0.7) 0%, rgba(248, 240, 231, 0.95) 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-text,
.section-heading p {
  max-width: 64ch;
  font-size: 1.05rem;
}

.hero-actions,
.book-actions,
.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fff7ef;
  background: var(--accent);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.72);
}

.section-dark .button-secondary {
  border-color: rgba(255, 247, 239, 0.2);
  background: rgba(255, 247, 239, 0.08);
}

.hero-note,
.feature-card,
.book-card,
.info-panel,
.event-photo-card,
.contact-card,
.media-item,
.media-feature {
  border: 1px solid rgba(29, 35, 48, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.76);
  box-shadow: 0 16px 38px rgba(25, 22, 16, 0.08);
}

.hero-note {
  margin-top: 28px;
  padding: 20px 22px;
}

.hero-note span,
.feature-label,
.book-meta,
.essay-intro,
.essay-signoff,
.payment-note {
  color: var(--accent);
}

.hero-note span,
.feature-label,
.book-meta {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(223, 197, 178, 0.48), transparent 16rem),
    linear-gradient(180deg, rgba(255, 249, 243, 0.92) 0%, rgba(245, 236, 226, 0.96) 100%);
}

.book-cover {
  border-radius: 18px;
  box-shadow: 0 26px 50px rgba(34, 27, 20, 0.18);
}

.hero-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.hero-shelf-book {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
  border: 1px solid rgba(29, 35, 48, 0.08);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.76);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-shelf-book:hover,
.hero-shelf-book:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(163, 58, 43, 0.28);
  box-shadow: 0 16px 28px rgba(34, 27, 20, 0.1);
}

.hero-shelf-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 247, 239, 0.92) 0%, rgba(239, 227, 214, 0.9) 100%);
}

.hero-shelf-image .book-cover {
  width: min(100%, 220px);
}

.hero-shelf-meta {
  display: grid;
  gap: 4px;
}

.hero-shelf-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-shelf-meta h3 {
  font-size: 2rem;
}

.hero-shelf-meta p:last-child {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.book-grid {
  display: grid;
  gap: 28px;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  scroll-margin-top: 112px;
}

.book-card-visual {
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(223, 197, 178, 0.36) 0%, rgba(255, 251, 245, 0.36) 100%);
}

.book-card-visual img {
  max-height: 580px;
  object-fit: contain;
}

.book-card-copy {
  display: grid;
  gap: 16px;
}

.essay-block {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.kana {
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.about-grid,
.events-layout,
.media-feature,
.contact-grid {
  display: grid;
  gap: 28px;
}

.about-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 12px;
}

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

.info-panel {
  padding: 24px;
}

.purchase-panel-wide {
  grid-column: 1 / -1;
}

.detail-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.link-cloud a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(163, 58, 43, 0.08);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.events-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  align-items: start;
}

.event-photo-card {
  overflow: hidden;
}

.event-photo-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.event-photo-card figcaption {
  padding: 16px 18px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 22px 24px 22px 28px;
  border-left: 3px solid rgba(163, 58, 43, 0.4);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 252, 247, 0.74);
}

.timeline h3 {
  margin-bottom: 8px;
}

.timeline a {
  color: var(--accent);
  font-weight: 700;
}

.media-feature {
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  margin-bottom: 24px;
}

.media-feature img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

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

.media-item {
  overflow: hidden;
}

.media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-item p {
  margin: 0;
  padding: 16px;
}

.contact-section {
  position: relative;
}

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

.contact-card {
  padding: 26px;
  background: rgba(255, 247, 239, 0.07);
  border-color: rgba(255, 247, 239, 0.14);
}

.contact-link {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 28px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .book-card,
  .about-grid,
  .events-layout,
  .media-feature,
  .contact-grid,
  .purchase-grid {
    grid-template-columns: 1fr;
  }

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

  .book-card-visual img {
    max-height: 460px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 1360px);
    margin: 8px auto;
    border-radius: 24px;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

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

  .hero-shelf {
    grid-template-columns: 1fr;
  }

  .hero-shelf-image {
    min-height: 280px;
  }

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