:root {
  color: #161815;
  background: #dcddd8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #161815;
  --muted: #5b625d;
  --paper: #dcddd8;
  --panel: #eeede7;
  --line: #b9bdb6;
  --accent: #263f37;
  --accent-soft: #cfd6cf;
  --warm-panel: #e0ded5;
  --soft-panel: #d3d8d2;
  --quiet-white: #f5f3ec;
}

html[lang="zh-CN"] {
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2 {
  font-family:
    "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-weight: 520;
}

html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .nav-action,
html[lang="zh-CN"] .language-link,
html[lang="zh-CN"] .signup button {
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: clamp(150px, 12vw, 220px);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

main {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(232, 232, 226, 0.72), rgba(220, 221, 216, 0.98)),
    var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5.2vw, 108px);
  width: 100%;
  padding: 22px clamp(22px, 5vw, 72px);
  background: rgba(220, 221, 216, 0.985);
  border-bottom: 1px solid rgba(137, 145, 137, 0.36);
  box-shadow: 0 10px 34px rgba(22, 24, 21, 0.045);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: clamp(260px, 17vw, 330px);
}

.brand-mark img {
  width: 100%;
  height: auto;
}

html[lang="zh-CN"] .brand-mark {
  width: clamp(330px, 22vw, 430px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(18px, 1.5vw, 32px);
  color: var(--muted);
  font-size: clamp(16px, 0.95vw, 19px);
  font-weight: 500;
  line-height: 1.2;
}

.nav-links a,
.nav-action,
.language-link {
  white-space: nowrap;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav-links a:hover,
.nav-action:hover,
.language-link:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

.nav-action {
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent);
  font-size: clamp(16px, 0.95vw, 19px);
  font-weight: 650;
}

.language-link {
  color: var(--muted);
  font-size: clamp(16px, 0.95vw, 19px);
  font-weight: 650;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(38, 63, 55, 0.34);
  border-radius: 50%;
  background: rgba(238, 237, 231, 0.82);
  color: var(--accent);
  box-shadow: 0 16px 38px rgba(22, 24, 21, 0.11);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.back-to-top span {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(38, 63, 55, 0.62);
  background: rgba(245, 243, 236, 0.94);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 82px);
  padding: clamp(28px, 4vw, 54px) clamp(22px, 5vw, 72px) 24px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.mission,
.section-heading h2,
.article-index-row a,
.guide-row h3,
.reading-path-grid strong,
.related-reading-grid strong,
.topic-title {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .mission,
html[lang="zh-CN"] .section-heading h2,
html[lang="zh-CN"] .article-index-row a,
html[lang="zh-CN"] .guide-row h3,
html[lang="zh-CN"] .reading-path-grid strong,
html[lang="zh-CN"] .related-reading-grid strong,
html[lang="zh-CN"] .topic-title {
  line-break: loose;
  word-break: auto-phrase;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.mission {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.18;
  color: #26302c;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.signup {
  max-width: 500px;
  padding-top: 4px;
}

.signup label {
  display: block;
  margin-bottom: 10px;
  color: #2d3833;
  font-size: 14px;
  font-weight: 700;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup input {
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--quiet-white);
  color: var(--ink);
  outline: none;
}

.signup input:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.signup button {
  min-width: 96px;
  padding: 15px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.signup-trap,
.signup-frame {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-media {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 500px;
  border-radius: 2px;
  background: #d6d4ce;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-media::before {
  background:
    linear-gradient(110deg, transparent 20%, rgba(246, 229, 205, 0.14) 43%, transparent 62%),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.13) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 84%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 76%, rgba(255, 255, 255, 0.1) 0 1px, transparent 2px);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translateX(-26%);
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(22, 24, 21, 0.035), transparent 42%, rgba(22, 24, 21, 0.16)),
    radial-gradient(circle at 82% 46%, transparent 0 26%, rgba(22, 24, 21, 0.1) 68%, rgba(22, 24, 21, 0.26) 100%);
}

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-portrait-frame {
  position: absolute;
  inset: 0;
  object-position: center center;
  opacity: 0;
  transform: scale(1.02);
  animation: heroPortraitSequence 18s ease-in-out infinite;
}

.hero-portrait-frame-1 {
  opacity: 1;
}

.hero-portrait-frame-2 {
  animation-delay: -12s;
}

.hero-portrait-frame-3 {
  animation-delay: -6s;
}

.hero-motion-image {
  transform: scale(1.04);
  transform-origin: 58% 54%;
  animation: heroImageDrift 16s ease-in-out infinite alternate;
}

.home-page .hero-media:hover .hero-motion-image,
.home-page .hero-media:hover video {
  transform: scale(1.025);
}

@keyframes heroPortraitSequence {
  0%,
  28% {
    opacity: 1;
    transform: scale(1.04);
  }

  34%,
  94% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.085) translate3d(-1.8%, -1.1%, 0);
  }
}

@keyframes heroLightSweep {
  0% {
    opacity: 0.22;
    transform: translateX(-34%);
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.24;
    transform: translateX(28%);
  }
}

.section-strip,
.guide-list {
  padding: clamp(74px, 7vw, 118px) clamp(22px, 5vw, 72px) 60px;
  scroll-margin-top: clamp(150px, 12vw, 220px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading h2,
.learning-panel h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 46px);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.topic-card {
  display: grid;
  grid-template-rows: 176px auto auto;
  width: 100%;
  min-width: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(245, 243, 236, 0.72);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 220ms ease,
    background 180ms ease,
    box-shadow 220ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  border-color: rgba(36, 79, 70, 0.42);
  background: var(--quiet-white);
  box-shadow: none;
  transform: translateY(-2px);
}

.topic-card:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(36, 79, 70, 0.2);
  outline-offset: 4px;
}

.topic-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.topic-card:hover img,
.topic-card:focus-visible img {
  transform: scale(1.035);
}

.topic-title {
  display: block;
  padding: 17px 16px 6px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.topic-label {
  display: block;
  padding: 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.learning-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: 28px;
  margin: 10px clamp(22px, 5vw, 72px) 28px;
  padding: clamp(30px, 5vw, 58px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(224, 222, 213, 0.44);
}

.learning-panel > p {
  max-width: 720px;
  margin: 0;
  color: #4f5a55;
  font-size: 18px;
  line-height: 1.65;
}

.learning-panel .text-link {
  align-self: start;
  margin-top: 18px;
}

.section-heading.compact {
  grid-template-columns: 190px 1fr 110px;
  align-items: center;
  gap: 26px;
  max-width: none;
  margin-bottom: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.guide-list .section-heading h2 {
  font-size: clamp(26px, 2.6vw, 42px);
  color: var(--ink);
  line-height: 1.16;
}

.guide-list .eyebrow,
.guide-meta {
  margin: 0;
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}

.guide-meta {
  justify-self: end;
}

.guides {
  border-top: 0;
}

.guide-row {
  display: grid;
  grid-template-columns: 190px 1fr 110px;
  gap: 26px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.guide-row:hover h3,
.guide-row:focus-visible h3 {
  color: var(--accent);
}

.guide-row span,
.guide-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.guide-row p {
  justify-self: end;
}

.guide-row h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 1.16;
}

html[lang="zh-CN"] .guide-row h3 {
  font-family:
    "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-weight: 520;
}

.article-hub-hero {
  padding: clamp(72px, 10vw, 126px) clamp(22px, 5vw, 72px) clamp(36px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-hub-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.98;
}

.article-hub-hero .mission {
  max-width: 760px;
}

.reading-paths {
  padding: 12px clamp(22px, 5vw, 72px) 54px;
  border-bottom: 1px solid rgba(137, 145, 137, 0.34);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  max-width: 1420px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1.04;
}

.reading-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1420px;
  margin: 0 auto;
}

.reading-path-grid a {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 230px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid rgba(32, 40, 36, 0.16);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(238, 237, 231, 0.76), rgba(224, 222, 213, 0.5)),
    rgba(238, 237, 231, 0.64);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.reading-path-grid a:hover,
.reading-path-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(36, 79, 70, 0.42);
  background: rgba(245, 243, 236, 0.74);
}

.reading-path-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.reading-path-grid strong {
  max-width: 260px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1.08;
}

.reading-path-grid p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.58;
}

.article-hub {
  display: grid;
  grid-template-columns: minmax(150px, 190px) 1fr;
  gap: clamp(24px, 3.2vw, 48px);
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 72px) 90px;
}

.article-categories {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 6px;
}

.article-categories a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 7px 0;
  color: #3f4a45;
  font-size: 15px;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
}

.article-categories a span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.article-categories a.is-active {
  color: var(--ink);
  border-bottom-color: rgba(36, 79, 70, 0.34);
}

.article-categories a:hover,
.article-categories a:focus-visible {
  color: var(--accent);
  border-bottom-color: rgba(36, 79, 70, 0.38);
}

.article-index {
  display: grid;
}

.article-index-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 5px 24px;
  align-items: end;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.article-index-row:first-child {
  border-top: 1px solid var(--line);
}

.article-index-feature {
  background: transparent;
}

.article-index-row div {
  display: grid;
  gap: 8px;
}

.article-index-row span,
.article-index-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.article-index-row p {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  padding-top: 0.18em;
  text-align: right;
}

.article-index-row a {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}

.article-index-row a:hover,
.article-index-row a:focus-visible {
  color: var(--accent);
}

html[lang="zh-CN"] .article-hub-hero h1,
html[lang="zh-CN"] .section-heading h2,
html[lang="zh-CN"] .reading-path-grid strong,
html[lang="zh-CN"] .article-index-row a,
html[lang="zh-CN"] .article-callout h3,
html[lang="zh-CN"] .next-article strong,
html[lang="zh-CN"] .ig-hero h1,
html[lang="zh-CN"] .ig-newsletter h2 {
  font-family:
    "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}

.ig-hero {
  max-width: 1180px;
  padding: clamp(66px, 10vw, 132px) clamp(22px, 5vw, 72px) clamp(28px, 5vw, 56px);
}

.ig-hero h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.98;
}

.ig-hero p:not(.eyebrow) {
  max-width: 700px;
  color: #26302c;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.24;
}

.ig-link-stack {
  display: grid;
  gap: 10px;
  max-width: 980px;
  padding: 0 clamp(22px, 5vw, 72px) 54px;
}

.ig-link-stack a {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 94px;
  padding: 22px 24px;
  border: 1px solid rgba(32, 40, 36, 0.16);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.64);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ig-link-stack a:hover,
.ig-link-stack a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 79, 70, 0.42);
  background: rgba(245, 243, 236, 0.78);
}

.ig-link-stack span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ig-link-stack strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.2;
}

.ig-primary-link strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
}

.ig-newsletter {
  max-width: 980px;
  margin: 0 clamp(22px, 5vw, 72px) 86px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(36, 79, 70, 0.24);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(238, 237, 231, 0.86), rgba(224, 222, 213, 0.68)),
    var(--panel);
}

.ig-newsletter h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 1.06;
}

.ig-newsletter > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px) 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 760;
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quietScaleIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .home-page .site-header {
    animation: softRise 520ms ease both;
  }

  .home-page .hero-copy > * {
    animation: softRise 720ms ease both;
  }

  .home-page .hero-copy > :nth-child(1) {
    animation-delay: 90ms;
  }

  .home-page .hero-copy > :nth-child(2) {
    animation-delay: 170ms;
  }

  .home-page .hero-copy > :nth-child(3) {
    animation-delay: 250ms;
  }

  .home-page .hero-copy > :nth-child(4) {
    animation-delay: 330ms;
  }

  .home-page .hero-copy > :nth-child(5) {
    animation-delay: 410ms;
  }

  .home-page .hero-media {
    animation: quietScaleIn 820ms ease 260ms both;
  }

  .home-page .hero-media::before {
    animation: heroLightSweep 9s ease-in-out 700ms infinite alternate;
  }

  .motion-visual img {
    animation: motionVisualDrift 12s ease-in-out infinite;
  }

  .motion-visual::before {
    animation: motionLightSweep 8s ease-in-out infinite alternate;
  }

  .animations-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms ease,
      transform 700ms ease;
  }

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

  .animations-ready .topic-card {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 620ms ease,
      transform 620ms ease,
      border-color 180ms ease,
      background 180ms ease,
      box-shadow 220ms ease;
  }

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

  .animations-ready .reveal.is-visible .topic-card:nth-child(2) {
    transition-delay: 80ms;
  }

  .animations-ready .reveal.is-visible .topic-card:nth-child(3) {
    transition-delay: 160ms;
  }

  .animations-ready .reveal.is-visible .topic-card:nth-child(4) {
    transition-delay: 240ms;
  }

  .animations-ready .reveal.is-visible .topic-card:hover,
  .animations-ready .reveal.is-visible .topic-card:focus-visible {
    transition-delay: 0ms;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait-frame {
    animation: none;
  }

  .hero-portrait-frame-1 {
    opacity: 1;
  }

  .hero-portrait-frame-2,
  .hero-portrait-frame-3 {
    opacity: 0;
  }

  .back-to-top {
    transition: opacity 120ms ease;
    transform: none;
  }
}

.topic-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(44px, 7vw, 86px) clamp(22px, 4vw, 56px) 58px;
}

.topic-page-copy {
  max-width: 650px;
}

.article-meta {
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.5;
}

.topic-page img {
  width: 100%;
  min-height: 440px;
  max-height: 620px;
  object-fit: cover;
  border-radius: 2px;
  background: #d6d8d2;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 760;
  border-bottom: 1px solid rgba(36, 79, 70, 0.36);
}

.placeholder-content {
  padding: 40px clamp(22px, 5vw, 72px) 82px;
  border-top: 1px solid var(--line);
}

.article-content {
  padding: 44px clamp(22px, 4vw, 56px) 90px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(220, 221, 216, 0.92), rgba(211, 216, 210, 0.62));
}

.article-body {
  max-width: 920px;
  margin-inline: auto;
}

.article-body h2 {
  max-width: 860px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 500;
  line-height: 1.1;
}

.article-body > p {
  max-width: 820px;
  color: #3f4a45;
  font-size: 18.5px;
  line-height: 1.62;
}

.article-callout {
  max-width: 860px;
  margin: 34px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(36, 79, 70, 0.24);
  border-radius: 2px;
  background: rgba(224, 222, 213, 0.72);
}

.article-callout h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 1.12;
}

.article-callout p {
  margin-bottom: 0;
  color: #3f4a45;
  font-size: 18px;
  line-height: 1.62;
}

.article-callout ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 22px;
  color: #3f4a45;
  font-size: 18px;
  line-height: 1.6;
}

.article-callout ol + p {
  margin: 22px 0 0;
  line-height: 1.6;
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 34px 0;
}

.ingredient-list.article-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.ingredient-list a,
.ingredient-list article {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.72);
  color: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ingredient-list a:hover,
.ingredient-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 79, 70, 0.34);
  box-shadow: none;
}

.ingredient-list h3 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}

.ingredient-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.ingredient-list .card-note-wide {
  grid-column: 1 / -1;
  background: rgba(224, 222, 213, 0.72);
}

.article-close {
  color: var(--ink) !important;
  font-weight: 700;
}

.article-sources {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-sources a {
  color: #44524c;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.article-sources a:hover,
.article-sources a:focus-visible {
  color: var(--accent);
}

.article-end {
  display: grid;
  gap: 26px;
  max-width: 860px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-author-note {
  margin: 0;
  color: #3f4a45;
  font-size: 16px;
  line-height: 1.6;
}

.next-article {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(137, 145, 137, 0.42);
  border-bottom: 1px solid rgba(137, 145, 137, 0.42);
}

.next-article span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-article strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.14;
}

.next-article:hover strong,
.next-article:focus-visible strong {
  color: var(--accent);
}

.article-newsletter {
  max-width: 640px;
  padding: 24px;
  border: 1px solid rgba(36, 79, 70, 0.24);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.62);
}

.article-newsletter h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.8vw, 44px);
}

.article-newsletter > p {
  max-width: 560px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.article-end-compact {
  max-width: 900px;
}

.article-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-action-grid a {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(36, 79, 70, 0.22);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.62);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.article-action-grid a:hover,
.article-action-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 79, 70, 0.44);
  background: rgba(245, 243, 236, 0.74);
}

.article-action-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-action-grid strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.2;
}

.product-source {
  display: grid;
  gap: 3px;
}

.product-source p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.article-visual,
.ingredient-visual-strip figure {
  margin: 34px 0;
  border: 1px solid rgba(32, 40, 36, 0.12);
  border-radius: 2px;
  overflow: hidden;
  background: var(--panel);
}

.article-visual img,
.ingredient-visual-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-visual {
  max-width: 900px;
}

.article-visual-wide img {
  aspect-ratio: 16 / 7;
}

.motion-topic {
  align-items: stretch;
}

.motion-visual {
  position: relative;
  min-height: clamp(440px, 45vw, 680px);
  margin: 0;
  overflow: hidden;
  background: #2f352f;
  border: 1px solid rgba(137, 145, 137, 0.32);
}

.motion-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  filter: saturate(0.9) contrast(1.04);
}

.motion-visual::before,
.motion-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.motion-visual::before {
  background:
    linear-gradient(105deg, transparent 24%, rgba(246, 242, 229, 0.18) 46%, transparent 64%),
    radial-gradient(circle at 24% 76%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 31% 68%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 37% 82%, rgba(255, 255, 255, 0.1) 0 1px, transparent 2px);
  mix-blend-mode: screen;
  opacity: 0.74;
  transform: translateX(-18%);
}

.motion-visual::after {
  background:
    linear-gradient(180deg, rgba(22, 24, 21, 0.1), transparent 36%, rgba(22, 24, 21, 0.24)),
    radial-gradient(circle at 78% 38%, transparent 0 22%, rgba(22, 24, 21, 0.18) 58%, rgba(22, 24, 21, 0.42) 100%);
}

.product-sources {
  max-width: 860px;
}

@keyframes motionVisualDrift {
  0% {
    transform: scale(1.025) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.055) translate3d(-1.1%, -0.8%, 0);
  }

  100% {
    transform: scale(1.025) translate3d(0, 0, 0);
  }
}

@keyframes motionLightSweep {
  0% {
    transform: translateX(-34%);
    opacity: 0.18;
  }

  45% {
    opacity: 0.62;
  }

  100% {
    transform: translateX(34%);
    opacity: 0.18;
  }
}

.article-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 34px 0;
}

.article-visual-pair .article-visual {
  margin: 0;
}

.article-visual-pair img {
  aspect-ratio: 4 / 3;
}

.article-visual figcaption,
.ingredient-visual-strip figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ingredient-library {
  padding: 44px clamp(22px, 5vw, 72px) 94px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(224, 222, 213, 0.66), rgba(220, 221, 216, 0.94)),
    var(--paper);
}

.ingredient-library-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.ingredient-library-intro h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.06;
}

.ingredient-library-intro p {
  max-width: 780px;
  color: #3f4a45;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.65;
}

.ingredient-detail-list {
  display: grid;
  gap: 18px;
  max-width: 1120px;
}

.ingredient-jump-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 1120px;
  margin: 0 0 26px;
}

.ingredient-jump-list a {
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(36, 79, 70, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(238, 237, 231, 0.92), rgba(224, 222, 213, 0.68));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ingredient-jump-list a:hover,
.ingredient-jump-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 79, 70, 0.44);
  background: rgba(245, 243, 236, 0.94);
  box-shadow: 0 14px 30px rgba(22, 24, 21, 0.06);
}

.ingredient-jump-list span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  line-height: 1.2;
}

.ingredient-jump-list small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ingredient-visual-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 0 26px;
}

.ingredient-visual-strip figure {
  margin: 0;
}

.ingredient-visual-strip img {
  aspect-ratio: 16 / 9;
}

.ingredient-detail {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(22px, 3.4vw, 36px);
  scroll-margin-top: 96px;
  border: 1px solid rgba(32, 40, 36, 0.12);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.76);
}

.ingredient-detail-heading h2 {
  max-width: 340px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.08;
}

.ingredient-detail-body {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.ingredient-detail-body p {
  margin: 0;
  color: #3f4a45;
  font-size: 16px;
  line-height: 1.66;
}

.ingredient-detail-body strong {
  color: var(--ink);
  font-weight: 760;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(36, 79, 70, 0.22);
  border-radius: 2px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.source-links a:hover,
.source-links a:focus-visible {
  border-color: rgba(36, 79, 70, 0.46);
  background: rgba(224, 222, 213, 0.58);
}

.ingredient-note {
  max-width: 900px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.logo-lab-hero {
  padding: clamp(48px, 7vw, 92px) clamp(22px, 5vw, 72px) 34px;
  border-bottom: 1px solid var(--line);
}

.logo-lab-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.96;
}

.logo-lab-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #3f4a45;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
}

.logo-concept-grid {
  display: grid;
  gap: 22px;
  padding: 34px clamp(22px, 5vw, 72px);
}

.logo-concept-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(32, 40, 36, 0.13);
  border-radius: 8px;
  background: rgba(243, 242, 237, 0.78);
}

.logo-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(32, 40, 36, 0.1);
  border-radius: 8px;
  background: #e3e5e2;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-concept-card h2,
.logo-recommendation h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
}

.logo-concept-card p:not(.eyebrow),
.logo-recommendation p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.logo-recommendation {
  max-width: 980px;
  margin: 0 clamp(22px, 5vw, 72px) 90px;
  padding: clamp(24px, 4vw, 38px) 0 0;
  border-top: 1px solid var(--line);
}

.builder-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding: clamp(46px, 7vw, 88px) clamp(22px, 5vw, 72px) 34px;
}

.builder-hero h1 {
  margin-bottom: 0;
}

.builder-hero .mission {
  max-width: 660px;
  margin-bottom: 0;
}

.routine-builder {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: 18px clamp(22px, 5vw, 72px) 86px;
}

.builder-form {
  display: grid;
  gap: 18px;
}

.builder-form fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 24px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.78);
}

.builder-form legend {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  color: var(--accent);
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 780;
  line-height: 1.15;
}

.builder-form legend span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 620;
}

.builder-form label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #3f4a45;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.35;
  cursor: pointer;
}

.builder-form input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.builder-submit {
  justify-self: start;
  min-width: 220px;
  padding: 15px 24px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
}

.builder-form-status {
  min-height: 24px;
  margin: -6px 0 0;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.45;
}

.builder-result {
  position: sticky;
  top: 92px;
  min-height: 520px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(36, 79, 70, 0.24);
  border-radius: 2px;
  background: var(--quiet-white);
  box-shadow: none;
}

.builder-result.is-waiting {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(36, 79, 70, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(245, 243, 236, 0.92), rgba(224, 222, 213, 0.82));
}

.builder-waiting {
  display: grid;
  justify-items: center;
  max-width: 520px;
  text-align: center;
}

.builder-waiting h2 {
  max-width: 520px;
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.builder-waiting > p:not(.eyebrow) {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.builder-orbit {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border: 1px solid rgba(36, 79, 70, 0.22);
  border-radius: 50%;
}

.builder-orbit::before,
.builder-orbit::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(36, 79, 70, 0.16);
  border-radius: 50%;
  content: "";
}

.builder-orbit::after {
  inset: 38px;
}

.builder-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  transform-origin: 0 0;
  animation: orbitPulse 4.8s linear infinite;
}

.builder-orbit span:nth-child(1) {
  transform: rotate(0deg) translateX(64px);
}

.builder-orbit span:nth-child(2) {
  animation-delay: -1.6s;
  opacity: 0.62;
}

.builder-orbit span:nth-child(3) {
  animation-delay: -3.2s;
  opacity: 0.38;
}

@keyframes orbitPulse {
  from {
    transform: rotate(0deg) translateX(64px);
  }

  to {
    transform: rotate(360deg) translateX(64px);
  }
}

.builder-result h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.06;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-grid article,
.treatment-plan,
.routine-notes {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.72);
}

.result-grid h3,
.treatment-plan h3,
.routine-notes h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.result-grid ol,
.routine-notes ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #3f4a45;
  line-height: 1.45;
}

.treatment-plan,
.routine-notes {
  margin-top: 14px;
}

.treatment-plan p {
  margin: 0;
  color: #3f4a45;
  line-height: 1.58;
}

.ingredient-inline {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.ingredient-inline:hover {
  color: var(--ink);
}

.builder-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.placeholder-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.72);
}

.placeholder-grid h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.placeholder-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.manifesto-hero {
  max-width: 1060px;
  padding: clamp(54px, 8vw, 112px) clamp(22px, 5vw, 72px) 40px;
}

.manifesto-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 5.8vw, 86px);
  line-height: 1.02;
}

.about-story {
  padding: 20px clamp(22px, 5vw, 72px) 92px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  padding: 42px 0 48px;
  border-top: 1px solid var(--line);
}

.about-intro h2,
.about-split h2,
.about-close h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 660;
  line-height: 1.06;
  letter-spacing: 0;
}

.about-intro p:not(.eyebrow),
.about-split p:not(.eyebrow),
.about-close p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: #3f4a45;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.62;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 56px;
}

.about-points article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.about-points span {
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
}

.about-points h3 {
  max-width: 320px;
  margin-bottom: 14px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.12;
}

.about-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 92px);
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-split div:last-child {
  display: grid;
  gap: 18px;
}

.about-close {
  max-width: 980px;
  padding: 58px 0 0;
}

.about-close h2 {
  margin-bottom: 22px;
}

.about-close .text-link {
  margin-top: 28px;
}

@media (max-width: 1420px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px clamp(16px, 2.2vw, 28px);
    padding-left: clamp(22px, 4vw, 48px);
    padding-right: clamp(22px, 4vw, 48px);
  }

  .brand-mark {
    width: clamp(250px, 22vw, 310px);
  }

  html[lang="zh-CN"] .brand-mark {
    width: clamp(310px, 27vw, 395px);
  }

  .nav-links {
    gap: 10px 14px;
    font-size: 15px;
  }

  .nav-action,
  .language-link {
    font-size: 15px;
  }

  .nav-action {
    padding: 11px 17px;
  }
}

@media (max-width: 1360px) and (min-width: 981px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    row-gap: 18px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    justify-content: flex-start;
    gap: 10px 22px;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 24px;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
    background: var(--paper);
    backdrop-filter: none;
  }

  .brand-mark {
    width: min(460px, 78vw);
  }

  html[lang="zh-CN"] .brand-mark {
    width: min(580px, 88vw);
  }

  .nav-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 15px;
    line-height: 1.2;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-media {
    min-height: 420px;
  }

  .section-strip,
  .guide-list {
    scroll-margin-top: 24px;
  }

  .section-heading,
  .section-heading.compact,
  .learning-panel,
  .topic-page,
  .builder-hero,
  .routine-builder,
  .about-intro,
  .about-split,
  .logo-concept-card,
  .article-hub,
  .ingredient-detail {
    grid-template-columns: 1fr;
  }

  .article-categories {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .builder-result {
    position: static;
  }

  .topic-grid,
  .placeholder-grid,
  .about-points,
  .ingredient-list,
  .ingredient-jump-list,
  .ingredient-visual-strip,
  .reading-path-grid,
  .related-reading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hub-hero h1,
  .methodology-hero h1 {
    font-size: clamp(40px, 8vw, 68px);
    line-height: 1.03;
  }

  .section-heading h2,
  .article-discovery .section-heading h2,
  .methodology-intro h2,
  .methodology-note h2 {
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1.08;
  }

  .reading-path-grid strong,
  .related-reading-grid strong {
    max-width: none;
    font-size: clamp(23px, 4.4vw, 30px);
    line-height: 1.16;
  }

  .ig-link-stack a {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-mark {
    width: min(380px, 86vw);
  }

  html[lang="zh-CN"] .brand-mark {
    width: min(460px, 92vw);
  }

  .nav-action {
    padding: 9px 12px;
  }

  .hero,
  .section-strip,
  .guide-list,
  .topic-page,
  .placeholder-content,
  .article-content,
  .manifesto-hero,
  .about-story,
  .logo-lab-hero,
  .logo-concept-grid,
  .article-hub-hero,
  .reading-paths,
  .article-hub,
  .ingredient-library,
  .builder-hero,
  .routine-builder,
  .ig-hero,
  .ig-link-stack {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topic-grid,
  .guide-row,
  .article-index-row,
  .placeholder-grid,
  .about-points,
  .ingredient-list,
  .ingredient-list.article-card-grid-two,
  .ingredient-jump-list,
  .article-visual-pair,
  .ingredient-visual-strip,
  .result-grid,
  .reading-path-grid {
    grid-template-columns: 1fr;
  }

  .reading-path-grid a {
    min-height: 0;
  }

  .ig-newsletter {
    margin-right: 18px;
    margin-left: 18px;
  }

  .next-article {
    grid-template-columns: 1fr;
  }

  .article-action-grid {
    grid-template-columns: 1fr;
  }

  .article-visual-wide img,
  .ingredient-visual-strip img {
    aspect-ratio: 4 / 3;
  }

  .article-index-row span,
  .article-index-row a,
  .article-index-row p {
    grid-column: 1;
    grid-row: auto;
  }

  .article-index-row p {
    justify-self: start;
    text-align: left;
  }

  .logo-preview {
    min-height: 170px;
  }

  .hero {
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .mission {
    font-size: 22px;
    line-height: 1.28;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-media {
    min-height: 240px;
  }

  .signup-row {
    grid-template-columns: 1fr auto;
  }

  .signup input,
  .signup button {
    padding: 13px 12px;
  }

  .topic-card {
    grid-template-rows: 205px auto auto;
  }

  .topic-card img {
    height: 205px;
  }

  .learning-panel {
    margin-left: 18px;
    margin-right: 18px;
    padding: 28px 0;
    background: transparent;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

  .topic-page {
    padding-top: 34px;
  }

  .topic-page img {
    min-height: 300px;
  }

  .manifesto-hero {
    padding-top: 42px;
  }

  .manifesto-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .about-story {
    padding-top: 24px;
  }

  .about-points article {
    min-height: 0;
  }

  .about-intro,
  .about-split {
    padding: 34px 0;
  }

  .article-hub-hero h1,
  .ig-hero h1,
  .methodology-hero h1,
  .logo-lab-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .section-heading h2,
  .article-discovery .section-heading h2,
  .related-reading-heading h2,
  .methodology-intro h2,
  .methodology-note h2,
  .ingredient-library-intro h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .guide-list .section-heading h2,
  .guide-row h3,
  .article-index-row a,
  .reading-path-grid strong,
  .related-reading-grid strong,
  .ingredient-detail-heading h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .topic-title {
    font-size: 16px;
    line-height: 1.25;
  }
}

/* August 2026 refinement: discovery, trust, and conversion. */
:where(a, button, input):focus-visible {
  outline: 3px solid rgba(38, 63, 55, 0.58);
  outline-offset: 4px;
}

.site-header {
  transition:
    padding 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header .brand-mark {
  transition: width 180ms ease;
}

@media (min-width: 981px) {
  .site-header.is-compact {
    padding-top: 13px;
    padding-bottom: 13px;
    background: rgba(220, 221, 216, 0.96);
    box-shadow: 0 8px 28px rgba(22, 24, 21, 0.075);
  }

  .site-header.is-compact .brand-mark {
    width: clamp(220px, 15vw, 285px);
  }

  .site-header.is-compact .nav-action {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.signup-promise {
  max-width: 560px;
  margin: 0 0 12px;
  color: #3f4a45;
  font-size: 15px;
  line-height: 1.55;
}

.article-hub-hero {
  padding-top: clamp(42px, 6vw, 74px);
  padding-bottom: clamp(28px, 4vw, 46px);
}

.article-hub-hero h1 {
  max-width: 920px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
}

.article-discovery {
  padding: clamp(28px, 4vw, 44px) clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(137, 145, 137, 0.34);
  background: rgba(238, 237, 231, 0.42);
}

.article-discovery .section-heading {
  margin-bottom: 22px;
}

.article-discovery .section-heading h2 {
  font-size: clamp(30px, 3.4vw, 52px);
}

.article-tools {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.4fr) auto;
  gap: 16px 26px;
  align-items: end;
  max-width: 1420px;
  margin: 0 auto;
}

.article-search {
  display: grid;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid rgba(38, 63, 55, 0.34);
  border-radius: 2px;
  background: rgba(245, 243, 236, 0.84);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.article-search input::placeholder {
  color: #69716c;
}

.article-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-filter-group button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(38, 63, 55, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #3f4a45;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.article-filter-group button:hover,
.article-filter-group button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--quiet-white);
}

.article-result-count {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.article-empty-state {
  margin: 0;
  padding: 34px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.article-hub {
  padding-top: clamp(32px, 4vw, 50px);
}

.article-credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: -8px 0 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(137, 145, 137, 0.42);
  border-bottom: 1px solid rgba(137, 145, 137, 0.42);
  color: #4b5751;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.article-credibility span:not(:last-of-type)::after {
  content: "·";
  margin-left: 18px;
  color: #7a837d;
}

.article-credibility a,
.article-author-note a,
.site-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.key-takeaways {
  border-color: rgba(38, 63, 55, 0.38);
  background: rgba(238, 237, 231, 0.86);
}

.key-takeaways .eyebrow {
  margin-bottom: 10px;
}

.key-takeaways h3 {
  margin-top: 0;
}

.key-takeaways ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: #34413b;
  font-size: 17px;
  line-height: 1.58;
}

.ingredient-library-intro .key-takeaways {
  margin-top: 28px;
}

.related-reading {
  display: grid;
  gap: 18px;
  margin: 8px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(137, 145, 137, 0.42);
  border-bottom: 1px solid rgba(137, 145, 137, 0.42);
}

.related-reading-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.related-reading-heading .eyebrow {
  margin-bottom: 8px;
}

.related-reading-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.related-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-reading-grid a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(38, 63, 55, 0.22);
  border-radius: 2px;
  background: rgba(238, 237, 231, 0.64);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.related-reading-grid a:hover,
.related-reading-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(38, 63, 55, 0.5);
  background: rgba(245, 243, 236, 0.82);
}

.related-reading-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.related-reading-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.15;
}

.related-reading-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.methodology-hero {
  max-width: 1220px;
  padding: clamp(62px, 9vw, 118px) clamp(22px, 5vw, 72px) clamp(44px, 6vw, 74px);
}

.methodology-hero h1 {
  max-width: 1040px;
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 500;
  line-height: 0.98;
}

.methodology-hero .mission {
  max-width: 780px;
}

.methodology-content {
  display: grid;
  gap: 54px;
  padding: clamp(44px, 6vw, 74px) clamp(22px, 5vw, 72px) 90px;
  border-top: 1px solid var(--line);
  background: rgba(211, 216, 210, 0.48);
}

.methodology-intro,
.methodology-grid,
.methodology-note {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.methodology-intro h2,
.methodology-note h2 {
  max-width: 880px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.04;
}

.methodology-intro > p:last-child,
.methodology-note > p {
  max-width: 800px;
  color: #3f4a45;
  font-size: 18px;
  line-height: 1.62;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.methodology-grid article {
  min-height: 280px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(38, 63, 55, 0.2);
  background: rgba(238, 237, 231, 0.72);
}

.methodology-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.1em;
}

.methodology-grid h3 {
  max-width: 480px;
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.12;
}

.methodology-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.methodology-note {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(38, 63, 55, 0.24);
  background: rgba(224, 222, 213, 0.74);
}

@media (max-width: 980px) {
  .article-tools {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .article-result-count {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .article-discovery,
  .methodology-hero,
  .methodology-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-filter-group {
    gap: 7px;
  }

  .article-filter-group button {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .article-credibility {
    display: grid;
    gap: 7px;
  }

  .article-credibility span:not(:last-of-type)::after {
    content: none;
  }

  .related-reading-heading {
    display: grid;
  }

  .related-reading-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .related-reading-grid a,
  .methodology-grid article {
    min-height: 0;
  }
}
