:root {
  color-scheme: light;
  --ink: #26211f;
  --muted: #665d56;
  --paper: #fbf6ec;
  --paper-deep: #efe5d4;
  --paper-pale: #fffdf8;
  --rose: #7d4650;
  --moss: #4f604f;
  --ochre: #b9824f;
  --line: rgba(38, 33, 31, 0.16);
  --shadow: rgba(38, 33, 31, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(36px, 7vw, 94px);
  min-height: 84svh;
  padding: 34px clamp(20px, 5vw, 72px) clamp(58px, 8vw, 86px);
  align-items: center;
}

.site-mark {
  position: absolute;
  top: 34px;
  left: clamp(20px, 5vw, 72px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.hero-copy {
  max-width: 760px;
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ochre);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(4rem, 8.2vw, 7.6rem);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.tagline {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--rose);
  font-size: clamp(1.16rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.hero-line {
  max-width: 650px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  line-height: 1.2;
}

.hero-art {
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 28px 80px var(--shadow);
}

.hero-art img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) sepia(0.08) contrast(1.02);
}

.section {
  padding: clamp(64px, 10vw, 126px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.about-section,
.contact-section {
  background: var(--paper-pale);
}

.portal-section {
  background: var(--paper-deep);
}

.books-section {
  background: var(--paper);
}

.prose,
.contact-note {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.prose p {
  margin: 0 0 1.24em;
}

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

.portal-panel {
  max-width: 860px;
  text-align: center;
}

.portal-panel .eyebrow {
  max-width: 720px;
  margin-inline: auto;
}

.portal-panel p:not(.eyebrow):not(.tagline) {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  background: var(--line);
}

.book-card {
  min-height: 470px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper-pale);
}

.book-card:nth-child(2) {
  background: #f3ebdd;
}

.book-label,
.price {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 16px 0 18px;
  color: var(--moss);
}

.book-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-note {
  max-width: 440px;
  margin: 24px 0 0;
}

.contact-card {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.contact-card p {
  margin: 0 0 22px;
}

.contact-card .contact-note {
  margin-top: 20px;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .two-column,
  .contact-layout,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 108px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-art {
    min-height: 380px;
  }

  .book-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3.4rem, 15vw, 5.2rem);
  }

  .email-link {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
