:root {
  --paper: #f8f4ec;
  --paper-strong: #fffaf0;
  --ink: #24342a;
  --muted: #647369;
  --moss: #56745d;
  --leaf: #7e9f73;
  --petal: #d58f7d;
  --gold: #c59f55;
  --line: rgba(36, 52, 42, 0.14);
  --shadow: 0 22px 60px rgba(36, 52, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(213, 143, 125, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--paper-strong), var(--paper));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(248, 244, 236, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 14rem;
}

.brand-mark {
  display: grid;
  width: 3.05rem;
  height: 3.05rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff7e8, #efe2c9);
  color: var(--petal);
  box-shadow: 0 8px 24px rgba(36, 52, 42, 0.09);
}

.brand-mark svg {
  width: 2.35rem;
  height: 2.35rem;
}

.brand-mark circle {
  fill: rgba(255, 250, 240, 0.72);
  stroke: rgba(86, 116, 93, 0.35);
  stroke-width: 1.5;
}

.brand-mark path {
  fill: none;
  stroke: var(--moss);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.main-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
}

.main-nav a:hover {
  background: rgba(86, 116, 93, 0.12);
  color: var(--ink);
}

.hero,
.content-band,
.split-band,
.newsletter,
.section-intro {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5.8rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.split-band > div > p,
.newsletter p,
.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  padding: 0.75rem 1.15rem;
}

.button.primary {
  background: var(--ink);
  color: #fffaf0;
}

.button.secondary {
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
}

.hero-visual {
  margin: 0;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.botanical-card {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 250, 240, 0.92), rgba(230, 218, 194, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 3.25rem, rgba(36, 52, 42, 0.05) 3.25rem 3.3rem);
  box-shadow: var(--shadow);
}

.botanical-card::before,
.botanical-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(86, 116, 93, 0.24);
  border-radius: 50%;
}

.botanical-card::before {
  width: 20rem;
  height: 20rem;
  right: -6rem;
  top: -4rem;
}

.botanical-card::after {
  width: 16rem;
  height: 16rem;
  left: -7rem;
  bottom: -5rem;
}

.sun {
  position: absolute;
  top: 2.1rem;
  left: 2.1rem;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: rgba(197, 159, 85, 0.25);
}

.stem {
  position: absolute;
  left: 48%;
  bottom: 5.8rem;
  width: 0.35rem;
  height: 17rem;
  border-radius: 999px;
  background: var(--moss);
  transform: rotate(7deg);
}

.leaf {
  position: absolute;
  width: 9rem;
  height: 4.7rem;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--leaf), #a7b989);
  transform-origin: bottom right;
}

.leaf-a {
  right: 28%;
  bottom: 17.5rem;
  transform: rotate(18deg);
}

.leaf-b {
  left: 18%;
  bottom: 12.2rem;
  transform: rotate(198deg);
}

.leaf-c {
  right: 18%;
  bottom: 9.1rem;
  width: 7.5rem;
  height: 4rem;
  transform: rotate(28deg);
}

.book {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  width: 14rem;
  height: 5rem;
  border: 1px solid rgba(36, 52, 42, 0.2);
  border-radius: 8px 8px 18px 18px;
  background:
    linear-gradient(90deg, rgba(36, 52, 42, 0.16), transparent 48%, rgba(36, 52, 42, 0.16) 52%, transparent),
    #fff7e8;
  transform: translateX(-50%);
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.9rem;
}

.section-intro {
  border-block: 1px solid var(--line);
  padding: 1.2rem 0;
}

.section-intro p {
  max-width: 58rem;
  margin-bottom: 0;
}

.content-band,
.split-band,
.newsletter {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.book-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
  padding: 1.25rem;
}

.card-cover,
.product-icon {
  display: grid;
  min-height: 9rem;
  place-items: center;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(86, 116, 93, 0.15), rgba(213, 143, 125, 0.16)),
    #fff7e8;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
}

.image-cover {
  width: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.card p,
.post-card p {
  color: var(--muted);
}

.card-meta {
  color: var(--moss);
  font-size: 0.83rem;
  font-weight: 800;
  margin: 1rem 0 0.35rem;
  text-transform: uppercase;
}

.card .button {
  align-self: flex-start;
  margin-top: auto;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.share-button {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.4rem 0.7rem;
}

.share-button:hover,
.share-button.is-liked {
  border-color: rgba(213, 143, 125, 0.55);
  color: var(--ink);
}

.split-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  border-block: 1px solid var(--line);
}

.affiliate-note {
  border-left: 3px solid var(--gold);
  margin-top: 1.4rem;
  padding-left: 1rem;
}

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

.product-icon {
  min-height: 7rem;
  font-size: 2.2rem;
}

.post-list {
  display: grid;
  gap: 0.9rem;
}

.post-card {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.62);
  padding: 1rem;
}

.post-share {
  grid-column: 2 / -1;
}

.post-thumb {
  display: grid;
  width: 7rem;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e8;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-date {
  display: inline-block;
  color: var(--moss);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.post-card h3,
.post-card p {
  margin-bottom: 0;
}

.blog-hero-image {
  width: min(760px, 100%);
  margin: -0.75rem 0 2rem;
}

.blog-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 22rem;
  border-radius: 8px;
  object-fit: cover;
}

.blog-hero-image figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.blog-article {
  display: block;
  max-width: 52rem;
}

.blog-article img {
  max-width: 100%;
  height: auto;
}

.content-band > img,
.content-band article > img {
  display: block;
  width: min(760px, 100%);
  max-height: 22rem;
  border-radius: 8px;
  object-fit: cover;
}

.blog-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 1.6rem;
}

.affiliate-book-ad {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(197, 159, 85, 0.4);
  border-radius: 8px;
  background: #fff7e8;
  margin: 2rem 0;
  padding: 1rem;
}

.affiliate-book-media img {
  display: block;
  width: 100%;
  height: 9rem;
  border-radius: 6px;
  object-fit: contain;
}

.affiliate-book-ad img {
  max-width: 6.5rem;
  max-height: 9rem;
}

.affiliate-book-ad h2 {
  margin-top: 0;
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter > div {
  max-width: 42rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .site-header,
  .newsletter {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

  .botanical-card {
    min-height: 24rem;
  }

  .book-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .post-card > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .post-thumb {
    width: 5.5rem;
  }

  .affiliate-book-ad {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .affiliate-book-media img {
    height: 7.5rem;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .main-nav a {
    padding-inline: 0.65rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
