:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: #fffdf8;
  --text: #1e1b18;
  --muted: #645b52;
  --line: rgba(60, 42, 24, 0.14);
  --accent: #9f2f21;
  --accent-soft: #ead7c4;
  --accent-gold: #d49738;
  --accent-ink: #154a6a;
  --shadow: 0 24px 70px rgba(54, 38, 22, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(159, 47, 33, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(21, 74, 106, 0.14), transparent 26%),
    radial-gradient(circle at 50% 24%, rgba(212, 151, 56, 0.12), transparent 22%),
    linear-gradient(180deg, #f3e6d7 0%, var(--bg) 38%, #f7f2ea 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.nav-link {
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.nav-link-current {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.nav-link-accent {
  color: var(--accent);
}

.hero,
.book-hero {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.hero {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  margin-top: 1rem;
}

.hero-copy,
.profile-card,
.page-intro,
.content-card,
.info-card,
.book-copy,
.book-cover-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-intro,
.book-copy {
  padding: clamp(2rem, 3vw, 3.5rem);
}

.hero-copy {
  background:
    radial-gradient(circle at top right, rgba(212, 151, 56, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 250, 241, 0.95), rgba(248, 239, 226, 0.92));
}

.profile-card,
.content-card,
.info-card,
.book-cover-panel {
  padding: 1.6rem;
}

.profile-card {
  background:
    radial-gradient(circle at top left, rgba(21, 74, 106, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(243, 235, 225, 0.92));
}

.eyebrow,
.card-kicker,
.profile-label,
.book-cover-label {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.page-title-compact {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.lead,
p,
li {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.text-highlight {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #fff9f4;
  background: linear-gradient(135deg, #6b1e14 0%, var(--accent) 100%);
  box-shadow: 0 18px 34px rgba(123, 31, 20, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  color: var(--text);
}

.profile-card h2 {
  font-size: 2rem;
}

.profile-card-photo {
  display: grid;
  gap: 1rem;
}

.profile-image {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow: 0 16px 34px rgba(30, 20, 12, 0.16);
}

.profile-details {
  display: grid;
  gap: 0.35rem;
}

.compact-list,
.detail-list {
  margin: 0;
  padding-left: 1.2rem;
}

.section-grid,
.content-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(159, 47, 33, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(247, 239, 229, 0.92));
}

.feature-panel-contact {
  max-width: 360px;
  margin-left: auto;
  width: 100%;
}

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

.contact-list li + li {
  margin-top: 0.65rem;
}

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

.section-grid-single {
  grid-template-columns: 1fr;
}

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

.info-card-highlight {
  background:
    linear-gradient(140deg, rgba(159, 47, 33, 0.12), rgba(255, 255, 255, 0.72)),
    var(--surface);
}

.info-card {
  background:
    radial-gradient(circle at top left, rgba(212, 151, 56, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 236, 226, 0.92));
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
}

.page-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.book-hero {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.25fr);
}

.book-cover-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-height: 100%;
  box-shadow: none;
}

.book-cover {
  width: min(100%, 320px);
  aspect-ratio: 3 / 4.2;
  padding: 1.8rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 247, 238, 0.98), rgba(246, 228, 208, 0.96));
  box-shadow: 0 20px 50px rgba(18, 8, 5, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-cover-wrap {
  width: min(100%, 520px);
  display: grid;
  align-items: center;
}

.book-cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(18, 8, 5, 0.28);
}

.book-cover h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.book-cover p {
  color: #513f36;
}

.book-meta {
  margin: 1.2rem 0 1.6rem;
}

.content-card-wide {
  grid-column: 1 / -1;
}

.award-figure {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.award-image {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(18, 8, 5, 0.16);
}

.award-figure figcaption {
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}

.site-footer {
  padding: 2rem 0 0;
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .hero,
  .book-hero,
  .feature-strip,
  .section-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero-copy,
  .page-intro,
  .book-copy,
  .profile-card,
  .content-card,
  .info-card,
  .book-cover-panel {
    padding: 1.3rem;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .site-nav {
    gap: 0.5rem;
  }

  .nav-link,
  .button {
    width: 100%;
  }
}
