.theme-garden {
  --surface: #faf7eb;
  --paper: #fffdf7;
  --ink: #2a382b;
  --soft: #4d5845;
  --line: #d5d9c8;
  --accent: #35613e;
  --hero: #faf7eb;
  --hero-ink: #233c2a;
  --hero-muted: #495844;
  --mark: #467452;
  --tones: #e7eddb;
  --radius: 16px;
  --heading: Georgia, 'Times New Roman', serif;
}
.theme-garden .site-header { background: var(--surface); }
.theme-garden .masthead {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  min-height: 4.75rem;
}
.theme-garden .brand { grid-column: 2; }
.theme-garden .search-link { justify-self: end; border-radius: 2rem; }
.theme-garden .brand-mark i {
  width: 6px;
  height: 11px;
  border-radius: 8px 1px 8px 1px;
  transform: rotate(-20deg) translate(2px, 2px);
  background: #fffcef;
}
.theme-garden .brand-mark i:nth-child(1) { transform: rotate(-47deg) translate(4px, 3px); }
.theme-garden .brand-mark i:nth-child(3) { transform: rotate(21deg) translate(-4px, 3px); }
.theme-garden .primary-nav { justify-content: center; }
.theme-garden .hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.13fr) minmax(0, 0.5fr);
  align-items: center;
  gap: clamp(0.95rem, 3vw, 2.2rem);
  min-height: 0;
  color: var(--hero-ink);
  overflow: visible;
}
.theme-garden .hero-copy {
  grid-column: 2;
  grid-row: 1;
  padding: 1.55rem 0;
  text-align: center;
}
.theme-garden .hero h1 {
  margin-inline: auto;
  font-weight: 550;
  max-width: 11.6ch;
  font-size: clamp(2.5rem, 5.35vw, 4.7rem);
  line-height: 1.02;
}
.theme-garden .hero .eyebrow { color: var(--accent); margin-bottom: 0.92rem; }
.theme-garden .hero-intro { margin-inline: auto; }
.theme-garden .hero .button { border-radius: 2rem; padding-inline: 1.2rem; }
.theme-garden .hero-media {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  aspect-ratio: 0.88;
  border-radius: 0.75rem 0.75rem 6.3rem 0.75rem;
  overflow: hidden;
}
.theme-garden .hero-media img { object-position: center; }
.theme-garden .hero-secondary {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  aspect-ratio: 0.68;
  border-radius: 11rem 11rem 0.65rem 0.65rem;
  background: var(--tones);
  overflow: hidden;
}
.theme-garden .hero-secondary img { position: absolute; width: 100%; height: 100%; object-fit: cover; }

.theme-garden .topic-section { padding-block-start: clamp(2.35rem, 5vw, 4.1rem); }
.theme-garden .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-garden .tone-0 { --tone: #ebeddc; --stripe: #58784c; }
.theme-garden .tone-1 { --tone: #f3e7ce; --stripe: #936732; }
.theme-garden .tone-2 { --tone: #e5eee2; --stripe: #4a7654; }
.theme-garden .tone-3 { --tone: #f3e6db; --stripe: #995a50; }
.theme-garden .tone-4 { --tone: #ecede0; --stripe: #636c47; }
.theme-garden .topic-card {
  min-height: 0;
  padding: 1.15rem;
  border-radius: 0.85rem 0.85rem 2.1rem 0.85rem;
}
.theme-garden .topic-card h3 {
  font: 700 1.26rem/1.17 var(--heading);
  letter-spacing: -0.022em;
}
.theme-garden .topic-card:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 2fr) auto;
  align-items: center;
  border-radius: 0.85rem;
  border-left: 4px solid var(--stripe);
}
.theme-garden .topic-card:last-child .topic-count { margin: 0; }
.theme-garden .guide-grid { column-gap: 1.45rem; row-gap: 0.85rem; }
.theme-garden .guide-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1rem 0;
}
.theme-garden .guide-card h3 {
  font-family: var(--heading);
  font-size: 1.33rem;
  line-height: 1.18;
}
.theme-garden .page-heading { border-radius: var(--radius) var(--radius) 4.4rem var(--radius); }
.theme-garden .reading-layout .article-heading { border-top: 0; padding: 0; }
.theme-garden .reading-layout .related { border-radius: var(--radius) var(--radius) 2.3rem var(--radius); }
.theme-garden .article-callout { border-inline-start-width: 3px; }

@media (max-width: 940px) {
  .theme-garden .hero { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 0.85rem; }
  .theme-garden .hero-copy { grid-column: 1 / -1; padding: 0.35rem 0 1rem; }
  .theme-garden .hero h1 { max-width: 18ch; }
  .theme-garden .hero-media { grid-column: 1; grid-row: 2; aspect-ratio: 1.7; border-bottom-right-radius: 3.9rem; }
  .theme-garden .hero-secondary {
    grid-column: 2;
    grid-row: 2;
    height: 100%;
    aspect-ratio: auto;
    border-top-left-radius: clamp(2.9rem, 10vw, 7rem);
    border-top-right-radius: clamp(2.9rem, 10vw, 7rem);
  }
  .theme-garden .hero-secondary img { object-position: center 54%; }
  .theme-garden .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .theme-garden .masthead { display: flex; min-height: 4rem; }
}
@media (max-width: 520px) {
  .theme-garden .hero { gap: 0.6rem; }
  .theme-garden .hero h1 { font-size: clamp(2.15rem, 10vw, 3.25rem); max-width: 12ch; }
  .theme-garden .hero-media { border-bottom-right-radius: 2.7rem; }
  .theme-garden .topic-grid, .theme-garden .guide-grid { grid-template-columns: 1fr; }
  .theme-garden .topic-card, .theme-garden .topic-card:last-child { display: flex; align-items: flex-start; }
}
@media (max-width: 360px) {
  .theme-garden .brand { font-size: 1.04rem; }
  .theme-garden .masthead { gap: 0.45rem; }
}
