:root {
  --ink: #2f2a25;
  --muted: #74695f;
  --bg: #fffaf4;
  --page: #f7f0e8;
  --panel: #ffffff;
  --line: #eadfd3;
  --sage: #9aac91;
  --rose: #d8aaa3;
  --honey: #c8a04a;
  --cream: #f5eadf;
  --shadow: 0 18px 50px rgba(47, 42, 37, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header,
main,
.site-footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.language-button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

main {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, .98fr);
  background:
    radial-gradient(circle at 72% 28%, rgba(216, 170, 163, .24) 0 18%, transparent 38%),
    linear-gradient(125deg, #ffffff 0%, #fff6ec 100%);
}

.hero-copy {
  max-width: 520px;
  align-self: center;
  padding: 54px 28px 48px 42px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}

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

h1,
h2,
.brand,
.pin-art h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 78px);
  line-height: .92;
}

.hero-text {
  max-width: 420px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hero-still {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(160deg, transparent 0 44%, rgba(154, 172, 145, .18) 44% 100%),
    linear-gradient(28deg, #fffaf4, #fbebe8);
}

.scene-card {
  position: absolute;
  inset: 28px 24px;
  border: 1px solid rgba(234, 223, 211, .72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(245, 234, 223, .92));
  box-shadow: var(--shadow);
}

.jar,
.bottle,
.plate,
.vitamins,
.leaf {
  position: absolute;
}

.bottle {
  width: 78px;
  height: 176px;
  top: 88px;
  right: 74px;
  border-radius: 32px 32px 10px 10px;
  background: linear-gradient(90deg, #c7d0c0, var(--sage));
  box-shadow: inset 14px 0 18px rgba(255, 255, 255, .28);
}

.bottle::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 28px;
  top: -26px;
  left: 20px;
  border-radius: 8px 8px 3px 3px;
  background: var(--honey);
}

.jar {
  width: 124px;
  height: 86px;
  right: 146px;
  bottom: 74px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 28px 28px;
  background: var(--panel);
}

.jar::before {
  content: "";
  position: absolute;
  inset: -18px 18px auto;
  height: 22px;
  border-radius: 8px 8px 3px 3px;
  background: var(--rose);
}

.plate {
  width: 155px;
  height: 116px;
  left: 46px;
  bottom: 58px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, var(--panel) 0 38%, var(--cream) 39% 100%);
  transform: rotate(-8deg);
}

.vitamins {
  width: 88px;
  height: 88px;
  left: 92px;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 32%, var(--honey) 0 9px, transparent 10px),
    radial-gradient(circle at 62% 62%, var(--rose) 0 8px, transparent 9px),
    radial-gradient(circle at 70% 28%, var(--sage) 0 7px, transparent 8px),
    var(--panel);
}

.leaf {
  width: 116px;
  height: 42px;
  left: 178px;
  bottom: 152px;
  border-radius: 100% 0 100% 0;
  background: var(--sage);
  transform: rotate(-18deg);
}

.content-section {
  padding: 28px 24px 32px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.section-heading p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.topic-grid,
.pin-grid {
  display: grid;
  gap: 14px;
}

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

.pin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.topic-card,
.pin-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.topic-card:hover,
.pin-card:hover,
.article-row:hover {
  border-color: rgba(154, 172, 145, .78);
  transform: translateY(-2px);
}

.topic-card {
  min-height: 145px;
  padding: 18px;
}

.topic-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--sage);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.topic-card h3 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

.topic-card p,
.pin-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.pin-card {
  min-height: 220px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), #ffffff), var(--cream);
}

.pin-art {
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  border: 1px solid rgba(234, 223, 211, .72);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(216, 170, 163, .44), transparent 48%),
    linear-gradient(25deg, rgba(154, 172, 145, .38), rgba(200, 160, 74, .28));
}

.pin-art-alt {
  background:
    linear-gradient(145deg, rgba(200, 160, 74, .36), transparent 50%),
    linear-gradient(25deg, rgba(216, 170, 163, .38), rgba(255, 255, 255, .36));
}

.pin-art-green {
  background:
    linear-gradient(145deg, rgba(154, 172, 145, .42), transparent 46%),
    linear-gradient(25deg, rgba(245, 234, 223, .92), rgba(200, 160, 74, .26));
}

.pin-art-soft {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .64), transparent 48%),
    linear-gradient(25deg, rgba(216, 170, 163, .42), rgba(154, 172, 145, .24));
}

.pin-art h3 {
  max-width: 150px;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.02;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.page-hero {
  padding: 54px 42px 38px;
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 170, 163, .24) 0 14%, transparent 34%),
    linear-gradient(125deg, #ffffff 0%, #fff6ec 100%);
}

.page-hero h1,
.article-page h1 {
  max-width: 720px;
}

.page-hero p:not(.eyebrow),
.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-row {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-row span,
.back-link {
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
}

.article-row h2 {
  margin: 10px 0 8px;
  font-size: 26px;
}

.article-row p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.article-page {
  max-width: 760px;
  padding: 54px 42px 48px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
}

.lead {
  margin-bottom: 32px;
}

.article-body {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.article-body h2 {
  font-size: 28px;
}

.article-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 980px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    margin-top: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .main-nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
  }

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

  .hero-copy {
    padding: 40px 22px 30px;
  }

  .hero-text,
  .page-hero p:not(.eyebrow),
  .lead {
    font-size: 16px;
  }

  .hero-still {
    min-height: 320px;
  }

  .content-section,
  .page-hero,
  .article-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading p {
    max-width: 100%;
    text-align: left;
  }

  .article-row {
    padding: 18px;
  }

  .article-row h2 {
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 16px, 980px);
  }

  .brand {
    font-size: 23px;
  }

  .main-nav {
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
    line-height: .96;
  }

  h2 {
    font-size: 27px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .scene-card {
    inset: 22px 16px;
  }

  .bottle {
    right: 44px;
  }

  .jar {
    right: 96px;
  }

  .leaf {
    left: 138px;
  }

  .pin-card {
    min-height: 0;
  }

  .article-page {
    padding-top: 38px;
  }

  .article-body p {
    font-size: 16px;
  }
}
