:root {
  --color-bg: #fbf5ea;
  --color-bg-soft: #f5eadb;
  --color-paper: #fffdf8;
  --color-ink: #23201c;
  --color-muted: #756f67;
  --color-border: #e5d8c6;
  --color-red: #9f2f24;
  --color-red-dark: #762016;
  --color-gold: #c29a54;
  --color-green: #62735b;
  --color-black: #12100e;
  --shadow-card: 0 18px 45px rgba(38, 28, 18, 0.1);
  --shadow-hover: 0 24px 60px rgba(38, 28, 18, 0.16);
  --radius: 8px;
  --container: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

a:hover {
  color: var(--color-red);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-red);
}

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

.section {
  padding: 88px 0;
}

.section--warm {
  background: var(--color-bg-soft);
}

.section--deep {
  color: #fff;
  background: var(--color-black);
}

.section--cta {
  padding-top: 64px;
  background: var(--color-paper);
}

.section__heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section__heading--compact {
  margin-bottom: 24px;
}

.section__heading h2,
.origin-band h2,
.split-proof h2,
.cta-panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section__heading p:not(.eyebrow),
.origin-band p,
.split-proof p,
.cta-panel p {
  margin: 0;
  color: var(--color-muted);
}

.section--deep p,
.section--deep .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--color-red);
}

.button--primary:hover {
  color: #fff;
  background: var(--color-red-dark);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button--ghost:hover {
  color: #fff;
  border-color: #fff;
}

.button--ghost-dark {
  color: var(--color-red);
  border-color: var(--color-red);
  background: transparent;
}

.button--light {
  color: var(--color-ink);
  background: #fff;
  border-color: var(--color-border);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-red);
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 234, 0.88);
  border-bottom: 1px solid rgba(229, 216, 198, 0.78);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 30px rgba(38, 28, 18, 0.08);
}

.site-header__inner {
  width: min(calc(100% - 32px), 1240px);
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--color-red);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(194, 154, 84, 0.38);
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand__text strong {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__text em {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: #3a332d;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a:hover {
  color: var(--color-red);
  background: rgba(159, 47, 36, 0.08);
}

.subnav {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 8px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.subnav a {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-ink);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
}

.icon-button:hover {
  color: var(--color-red);
  background: rgba(159, 47, 36, 0.08);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header__menu {
  display: none;
}

.site-header__menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #17120f var(--hero-image) center/cover no-repeat;
}

.home-hero__shade,
.article-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 10, 0.78) 0%, rgba(15, 12, 10, 0.38) 48%, rgba(15, 12, 10, 0.58) 100%),
    linear-gradient(0deg, rgba(15, 12, 10, 0.7), rgba(15, 12, 10, 0.06) 48%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 132px 0 120px;
}

.home-hero h1 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.15;
}

.home-hero h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(44px, 8vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 19px);
}

.home-hero .eyebrow {
  color: #f0d69f;
}

.home-hero__facts {
  position: absolute;
  right: max(16px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-hero__facts span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  font-size: 13px;
}

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

.product-card,
.article-card,
.list-card,
.sidebar-block,
.cta-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.product-card,
.article-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.article-card:hover,
.list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-card__media,
.article-card__media,
.list-card__media {
  display: block;
  overflow: hidden;
  background: #e9dcc9;
}

.product-card__media {
  aspect-ratio: 4 / 3;
}

.article-card__media {
  aspect-ratio: 16 / 10;
}

.list-card__media {
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.product-card img,
.article-card img,
.list-card img,
.side-product-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover img,
.article-card:hover img,
.list-card:hover img {
  transform: scale(1.04);
}

.product-card__body,
.article-card__body {
  padding: 20px;
}

.product-card__body > p:first-child,
.article-card__body > p:first-child {
  margin: 0 0 8px;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 700;
}

.product-card h3,
.article-card h3,
.list-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.3;
}

.product-card h3,
.article-card h3 {
  font-size: 22px;
}

.product-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-red);
}

.product-card span {
  display: inline-flex;
  margin: 14px 0 10px;
  padding: 4px 8px;
  color: var(--color-gold);
  border: 1px solid rgba(194, 154, 84, 0.4);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.product-card__body > p:last-child,
.article-card__body > p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.origin-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

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

.origin-steps div {
  min-height: 160px;
  padding: 22px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.origin-steps span {
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.origin-steps strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
}

.origin-steps p {
  color: var(--color-muted);
  font-size: 14px;
}

.split-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
}

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

.proof-grid div {
  min-height: 132px;
  display: grid;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.proof-grid strong {
  color: #f0d69f;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
}

.proof-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.cta-panel {
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(159, 47, 36, 0.1), rgba(98, 115, 91, 0.1)),
    var(--color-paper);
}

.page-hero {
  padding: 96px 0 58px;
}

.page-hero--light {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

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

.list-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empty-state {
  padding: clamp(28px, 5vw, 44px);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.empty-state h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 30px;
}

.empty-state p {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--color-muted);
}

.list-card--top {
  border-color: rgba(159, 47, 36, 0.36);
}

.list-card__body {
  padding: 24px;
}

.list-card h2 {
  margin-top: 10px;
  font-size: clamp(23px, 3vw, 32px);
}

.list-card p {
  margin: 12px 0 14px;
  color: var(--color-muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 650;
}

.post-meta a,
.post-meta strong {
  color: var(--color-red);
}

.post-meta--light,
.post-meta--light a {
  color: rgba(255, 255, 255, 0.8);
}

.article-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #17120f var(--article-image) center/cover no-repeat;
}

.article-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 130px 0 78px;
}

.article-hero h1 {
  margin: 16px 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.14;
}

.article-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.product-hero {
  position: relative;
  padding: 112px 0 78px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(251, 245, 234, 0.97) 0%, rgba(251, 245, 234, 0.86) 48%, rgba(245, 234, 219, 0.5) 100%),
    var(--color-bg);
}

.product-hero__image {
  position: absolute;
  inset: 0 0 0 52%;
  background: var(--product-image) center/cover no-repeat;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.product-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 245, 234, 0.14), rgba(18, 16, 14, 0.26));
}

.product-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  gap: 34px;
  align-items: end;
  min-height: 520px;
}

.product-hero__copy {
  max-width: 720px;
}

.product-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.1;
}

.product-hero__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 18px;
}

.product-hero__panel {
  padding: 24px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.product-hero__panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.product-hero__panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.product-hero__panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-hero__panel dt {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.product-hero__panel dd {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.product-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-proof-strip div {
  padding: 22px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.product-proof-strip strong {
  display: block;
  color: var(--color-red);
  font-family: var(--font-serif);
  font-size: 24px;
}

.product-proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
}

.content-layout--article {
  grid-template-columns: minmax(0, 760px) 310px;
  justify-content: space-between;
}

.article-prose {
  min-width: 0;
  color: #312b25;
  font-size: 18px;
  line-height: 1.9;
}

.article-prose--page {
  max-width: 880px;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  margin: 1.9em 0 0.65em;
  font-family: var(--font-serif);
  line-height: 1.32;
}

.article-prose h2 {
  font-size: 32px;
}

.article-prose h3 {
  font-size: 25px;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote,
.article-prose table {
  margin: 0 0 1.15em;
}

.article-prose a {
  color: var(--color-red);
  border-bottom: 1px solid rgba(159, 47, 36, 0.35);
}

.article-prose img {
  margin: 24px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.article-prose blockquote {
  padding: 18px 22px;
  color: #4a4037;
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
}

.article-prose th,
.article-prose td {
  padding: 12px;
  border: 1px solid var(--color-border);
}

.article-prose th {
  background: var(--color-bg-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.tag-list span,
.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 4px;
}

.tag-list span {
  color: var(--color-muted);
  padding-left: 0;
}

.tag-list a {
  color: var(--color-red);
  background: rgba(159, 47, 36, 0.08);
}

.sidebar-stack {
  display: grid;
  gap: 16px;
}

.sidebar-block {
  padding: 20px;
}

.sidebar-block h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 21px;
}

.sidebar-block ul,
.sidebar-block ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-block__list li,
.side-rank-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-block__list li:last-child,
.side-rank-list li:last-child {
  border-bottom: 0;
}

.sidebar-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.sidebar-search input,
.comment-form input,
.comment-form textarea,
.search-form input {
  width: 100%;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: 0;
}

.sidebar-search input {
  height: 42px;
  padding: 0 12px;
}

.sidebar-search button,
.search-form button {
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--color-red);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.side-product-list {
  display: grid;
  gap: 10px;
}

.side-product-list a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.side-product-list img {
  width: 58px;
  height: 58px;
  border-radius: 6px;
}

.side-product-list span,
.side-rank-list a {
  font-weight: 650;
  line-height: 1.45;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
}

.page-numbers {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-paper);
  font-weight: 700;
}

.page-numbers.current {
  color: #fff;
  background: var(--color-red);
  border-color: var(--color-red);
}

.comments-section {
  padding-top: 48px;
  background: var(--color-bg-soft);
}

.comments-wrap {
  max-width: 880px;
}

.comment {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.comment__avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-border);
}

.comment__body,
.comment-form {
  padding: 18px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.comment__body header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--color-muted);
  font-size: 13px;
}

.comment__body header strong {
  color: var(--color-ink);
  font-size: 15px;
}

.comment__body header a:last-child {
  color: var(--color-red);
}

.comment__content {
  margin-top: 10px;
}

.comment .comment {
  margin-top: 14px;
  margin-bottom: 0;
}

.comment-form {
  margin-top: 22px;
}

.comment-form h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 24px;
}

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

.comment-form p {
  margin: 0 0 14px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.comment-form input {
  height: 44px;
  padding: 0 12px;
}

.comment-form textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.verify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

.verify-row input {
  max-width: 180px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.search-open .search-modal {
  opacity: 1;
  pointer-events: auto;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.72);
  backdrop-filter: blur(8px);
}

.search-modal__panel {
  position: relative;
  width: min(calc(100% - 32px), 720px);
  margin: 92px auto 0;
}

.search-modal__close {
  position: absolute;
  right: 6px;
  top: 6px;
  z-index: 1;
}

.search-form {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.search-form svg {
  width: 22px;
  height: 22px;
  margin-left: 8px;
  fill: none;
  stroke: var(--color-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-form input {
  height: 48px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
  font-size: 18px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--color-black);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 34px;
  padding: 64px 0 42px;
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text em {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__brand p {
  max-width: 360px;
  margin: 18px 0;
}

.shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-links a {
  padding: 8px 11px;
  color: #f5d99a;
  border: 1px solid rgba(245, 217, 154, 0.24);
  border-radius: 4px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a:hover {
  color: #f5d99a;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.site-footer__bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--color-red);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

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

.back-to-top:hover {
  background: var(--color-red-dark);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  min-height: 420px;
  display: grid;
  align-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .site-header__menu {
    display: inline-grid;
    justify-self: end;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: block;
    max-height: calc(100vh - 74px);
    padding: 12px 16px 24px;
    overflow: auto;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 4px;
    width: min(100%, 640px);
    margin: 0 auto;
  }

  .primary-nav a {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
  }

  .subnav {
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 4px 0 4px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .content-layout,
  .content-layout--article,
  .origin-band,
  .split-proof {
    grid-template-columns: 1fr;
  }

  .content-layout__side {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 64px 0;
  }

  .home-hero {
    min-height: 720px;
    align-items: end;
    background-position: center;
  }

  .home-hero__content {
    padding: 112px 0 118px;
  }

  .home-hero__facts {
    left: 16px;
    right: 16px;
    justify-content: flex-start;
  }

  .product-grid,
  .article-grid,
  .origin-steps,
  .proof-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .list-card {
    grid-template-columns: 1fr;
  }

  .list-card__media {
    min-height: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .article-hero {
    min-height: 520px;
  }

  .article-hero__content {
    padding: 116px 0 64px;
  }

  .article-prose {
    font-size: 17px;
  }

  .product-hero {
    padding: 90px 0 56px;
  }

  .product-hero__image {
    inset: 0;
    opacity: 0.18;
    clip-path: none;
  }

  .product-hero__grid,
  .product-proof-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container,
  .site-header__inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header__inner {
    min-height: 66px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 19px;
  }

  .brand__text em {
    max-width: 9.5em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__menu {
    grid-column: 3;
  }

  .site-header__actions {
    display: none;
  }

  .primary-nav {
    top: 66px;
    max-height: calc(100vh - 66px);
  }

  .home-hero {
    min-height: 680px;
  }

  .home-hero__content {
    padding: 90px 0 126px;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .button-row .button {
    width: 100%;
  }

  .page-hero {
    padding: 78px 0 44px;
  }

  .search-modal__panel {
    margin-top: 72px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form svg {
    display: none;
  }

  .search-form input {
    border-color: var(--color-border);
    background: #fff;
  }
}
