@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Parisienne&display=swap');

:root {
  --bg: #f4ede3;
  --bg-deep: #1b1714;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: rgba(255, 249, 240, 0.92);
  --surface-dark: rgba(36, 29, 24, 0.76);
  --text: #211c18;
  --muted: #68584a;
  --line: rgba(100, 72, 46, 0.18);
  --accent: #9f6b32;
  --accent-strong: #7f5222;
  --shadow: 0 24px 70px rgba(28, 20, 14, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --site-width: min(1180px, calc(100vw - 32px));
  --content-width: min(860px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 17px/1.8 "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 236, 213, 0.9), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(182, 131, 81, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(18, 15, 13, 0.2), rgba(18, 15, 13, 0.6)),
    url("parallax_background.webp") center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.08), rgba(255, 249, 241, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 90px
    );
  opacity: 0.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 245, 231, 0.1);
  background: rgba(17, 14, 12, 0.72);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: var(--site-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 246, 237, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 244, 232, 0.12);
  color: #fff7ee;
  transform: translateY(-1px);
}

.page-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 64px;
  margin-top: 28px;
  border: 1px solid rgba(255, 241, 227, 0.18);
  border-radius: 40px;
  background:
    linear-gradient(140deg, rgba(255, 250, 243, 0.92), rgba(240, 222, 205, 0.66)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 107, 50, 0.24), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 6.3rem);
  max-width: 8ch;
}

.signature-title {
  font-family: "Parisienne", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.6rem, 9vw, 6.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.hero p,
.section-card p,
.prose p,
.intro-copy {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
}

.intro-copy {
  margin-top: 18px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.68), rgba(255, 255, 255, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-portrait img,
.book-cover {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(33, 26, 20, 0.22);
}

.hero-note,
.section-kicker {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.section-card,
.feature-panel,
.prose,
.form-panel,
.media-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-card,
.feature-panel,
.form-panel,
.media-panel {
  padding: 34px;
}

.section-card::before,
.feature-panel::before,
.prose::before,
.form-panel::before,
.media-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.book-highlight {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.book-cover-wrap {
  position: relative;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(84, 59, 38, 0.16), rgba(255, 250, 242, 0.35));
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
a.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff7f0;
  font: 700 0.92rem/1 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
a.button:hover,
button:hover,
.button:focus-visible,
a.button:focus-visible,
button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(127, 82, 34, 0.24);
}

.button-secondary {
  border-color: rgba(127, 82, 34, 0.22);
  background: rgba(255, 248, 239, 0.52);
  color: var(--accent-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  box-shadow: none;
  background: rgba(255, 244, 229, 0.88);
}

.section-block {
  width: var(--content-width);
  margin: 24px auto 0;
}

.section-block-wide {
  width: var(--site-width);
  margin: 24px auto 0;
}

.prose {
  width: var(--content-width);
  margin: 28px auto 0;
  padding: 40px;
  background: var(--surface-strong);
}

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

.page-hero {
  width: var(--content-width);
  margin: 28px auto 0;
  padding: 38px 40px;
  border-radius: 30px;
  background: var(--surface-dark);
  color: #f8ede3;
  box-shadow: var(--shadow);
}

.page-hero p {
  color: rgba(248, 237, 227, 0.78);
}

.form-panel {
  width: min(760px, calc(100vw - 32px));
  margin: 28px auto 0;
  background: var(--surface-strong);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-form label {
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(110, 84, 59, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(159, 107, 50, 0.55);
  box-shadow: 0 0 0 4px rgba(159, 107, 50, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.contact-direct {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(246, 239, 231, 0.72);
  text-align: center;
}

.media-layout {
  width: var(--content-width);
  margin: 28px auto 0;
  display: grid;
  gap: 20px;
}

.media-panel iframe,
iframe {
  width: 100%;
  border: none;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 14px 28px rgba(31, 24, 19, 0.08);
}

.site-footer {
  width: var(--site-width);
  margin: 40px auto 0;
  padding: 24px 0 32px;
  color: rgba(255, 245, 235, 0.7);
  text-align: center;
  font-size: 0.92rem;
}

.center {
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .book-highlight,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 28px;
  }

  .hero-portrait {
    justify-self: start;
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    margin-left: 0;
    justify-content: center;
  }

  .page-shell {
    padding-top: 18px;
  }

  .hero,
  .section-card,
  .feature-panel,
  .form-panel,
  .media-panel,
  .prose,
  .page-hero {
    padding: 26px 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .signature-title {
    font-size: clamp(3.8rem, 15vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .hero-actions,
  .actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  a.button,
  button {
    width: 100%;
  }
}
