:root {
  --bg: #efe8dd;
  --panel: rgba(248, 243, 235, 0.9);
  --panel-strong: rgba(255, 250, 244, 0.84);
  --text: #2f261d;
  --muted: #5c4b39;
  --soft: #8a7156;
  --line: rgba(139, 117, 93, 0.18);
  --accent: #2f261d;
  --accent-hover: #463726;
  --button-text: #f7f1e8;
  --shadow: 0 25px 80px rgba(77, 58, 35, 0.12);
  --card-shadow: 0 16px 35px rgba(64, 48, 29, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.7rem;
  --radius-md: 1.4rem;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.ambient {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.48;
}

.ambient-one {
  top: 0;
  left: -8%;
  width: 28rem;
  height: 22rem;
  background: rgba(230, 207, 176, 0.9);
}

.ambient-two {
  right: -8%;
  bottom: 2rem;
  width: 24rem;
  height: 20rem;
  background: rgba(205, 192, 174, 0.8);
}

.site-main {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 1rem;
}

.hero-grid,
.content-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.content-grid {
  margin-top: 1.5rem;
  grid-template-columns: 0.92fr 1.08fr;
}

.hero-image-card,
.hero-copy-card,
.section-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 117, 93, 0.16);
  background: var(--panel-strong);
  box-shadow: var(--card-shadow);
}

.hero-image-card {
  position: relative;
  min-height: 18rem;
  background: #dfd2be;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.image-chip,
.image-caption,
.icon-pill,
.ghost-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.image-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.image-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 22rem;
  border-radius: 1rem;
  background: rgba(255, 250, 242, 0.86);
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 20px rgba(47, 38, 29, 0.1);
  color: #4e3d2d;
  line-height: 1.55;
}

.hero-copy-card,
.section-card {
  padding: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #685742;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

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

.intro-copy,
.section-copy,
.section-note,
.link-card p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-copy {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.primary-button,
.ghost-button {
  border-radius: var(--radius-pill);
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.primary-button {
  width: 100%;
  background: var(--accent);
  color: var(--button-text);
}

.primary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.ghost-button {
  border: 1px solid rgba(139, 117, 93, 0.2);
  background: #f2e7d6;
  color: #4c3b2c;
}

.ghost-button:hover {
  background: #eadcc7;
  transform: translateY(-1px);
}

.section-head,
.amazon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.embed-frame-wrap {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 117, 93, 0.15);
  background: #f6eee2;
  padding: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.embed-frame-wrap iframe {
  width: 100%;
  height: 36rem;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
}

.section-note,
.section-copy {
  margin: 1rem 0 0;
  font-size: 0.98rem;
}

code {
  border-radius: 0.5rem;
  background: rgba(47, 38, 29, 0.07);
  padding: 0.15rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.icon-pill {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 117, 93, 0.18);
  background: #efe3d2;
  color: #4f4030;
  font-size: 1.1rem;
}

.link-stack {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.link-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.45rem;
  border: 1px solid rgba(139, 117, 93, 0.18);
  background: #fff7ee;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 14px 28px rgba(64, 48, 29, 0.08);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  background: #f3eadc;
}

.link-card .card-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.link-card h3 {
  padding-right: 3rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.link-card p {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
}

.link-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 117, 93, 0.15);
  background: #f4ecdf;
  color: #5f503d;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: transform 220ms ease;
}

.link-card:hover .link-arrow {
  transform: translate(2px, -2px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-main {
    width: min(100% - 1rem, 48rem);
    padding-top: 0.75rem;
  }

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

@media (max-width: 640px) {
  .hero-panel {
    border-radius: 1.5rem;
    padding: 0.8rem;
  }

  .hero-copy-card,
  .section-card {
    padding: 1.15rem;
  }

  .image-chip,
  .image-caption {
    left: 0.75rem;
  }

  .image-chip {
    top: 0.75rem;
  }

  .image-caption {
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    font-size: 0.92rem;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
    text-align: center;
  }

  .section-head,
  .amazon-head {
    flex-direction: column;
    align-items: stretch;
  }

  .embed-frame-wrap iframe {
    height: 32rem;
  }
}
