:root {
  --wf-ink: #251326;
  --wf-muted: #6f5967;
  --wf-paper: #fff7fb;
  --wf-panel: #ffffff;
  --wf-accent: #c04177;
  --wf-accent-dark: #7d2449;
  --wf-line: rgba(37, 19, 38, 0.16);
  --wf-soft: #f4e6ed;
  --wf-sky: #dfe9ee;
}

body {
  background: linear-gradient(180deg, #fff7fb 0%, #f8edf4 48%, #fffaf7 100%);
  color: var(--wf-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  min-height: 112px;
  padding: 22px clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--wf-line);
  background: rgba(255, 250, 253, 0.96);
  box-shadow: 0 18px 48px rgba(69, 35, 63, 0.08);
}

.site-header .brand {
  width: min(360px, 44vw);
  min-width: 230px;
}

.website-factory-brand-logo {
  display: block;
  width: min(340px, 100%);
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--wf-ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--wf-accent);
}

.home-template,
.content-page,
.category-archive,
.article-list,
main {
  background: transparent;
}

.hero,
.home-hero,
.article-hero,
.content-header,
.category-header {
  position: relative;
  border-bottom: 1px solid var(--wf-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(192, 65, 119, 0.16), transparent 34%),
    linear-gradient(135deg, #fffdf9 0%, #f8e7ef 54%, #e9f0ef 100%);
}

.article-hero,
.content-header,
.category-header {
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 76px);
}

.article-hero h1,
.content-header h1,
.category-header h1,
.hero h1,
.home-hero h1 {
  max-width: 980px;
  color: var(--wf-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.article-hero p,
.content-header p,
.category-header p,
.hero p,
.home-hero p {
  max-width: 760px;
  color: var(--wf-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.65;
}

.article-shell,
.prose,
.content-body,
.legal-body {
  max-width: 920px;
  margin-inline: auto;
}

.article-shell,
.content-body,
.legal-body {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wf-line);
  box-shadow: 0 28px 70px rgba(69, 35, 63, 0.08);
}

.article-shell,
.content-body {
  padding: clamp(28px, 5vw, 64px);
}

.prose {
  color: #312330;
  font-size: 1.08rem;
  line-height: 1.82;
}

.prose h2,
.prose h3,
.content-body h2,
.content-body h3 {
  color: var(--wf-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.prose a,
.content-body a {
  color: var(--wf-accent-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.article-grid,
.related-grid,
.category-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.article-card,
.related-card,
.category-card,
.card {
  overflow: hidden;
  border: 1px solid var(--wf-line);
  border-radius: 0;
  background: var(--wf-panel);
  box-shadow: 0 18px 48px rgba(69, 35, 63, 0.08);
}

.article-card img,
.related-card img,
.category-card img,
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card h2,
.article-card h3,
.related-card h3,
.category-card h2,
.card h3 {
  margin: 18px 18px 8px;
  color: var(--wf-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.article-card p,
.related-card p,
.category-card p,
.card p {
  margin: 0 18px 22px;
  color: var(--wf-muted);
}

.badge,
.kicker,
.eyebrow,
.category-label {
  color: var(--wf-accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button,
.btn,
a[class*="button"] {
  border: 1px solid var(--wf-accent-dark);
  background: var(--wf-accent-dark);
  color: #fffaf7;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(42px, 6vw, 82px) clamp(24px, 6vw, 76px);
  border-top: 1px solid var(--wf-line);
  background: #251326;
  color: #fff7fb;
}

.site-footer a,
.site-footer p,
.site-footer strong {
  color: #fff7fb;
}

.footer-nav {
  gap: 16px 26px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
  }
  .site-header .brand {
    width: min(300px, 78vw);
  }
  .site-header nav {
    width: 100%;
    gap: 12px 18px;
  }
  .article-hero h1,
  .content-header h1,
  .category-header h1,
  .hero h1,
  .home-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.6rem);
  }
}
