:root {
  --bg: #f5efe5;
  --bg-strong: #e7ddd1;
  --surface: rgba(255, 251, 246, 0.82);
  --surface-strong: #fffaf4;
  --ink: #1f1a17;
  --muted: #655b53;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #d35f39;
  --accent-deep: #8f2e24;
  --accent-soft: #f7c9b7;
  --cool: #23717a;
  --cool-soft: #b9d8dc;
  --gold: #9e7a35;
  --shadow: 0 18px 48px rgba(41, 27, 20, 0.1);
  --radius: 24px;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 95, 57, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(35, 113, 122, 0.14), transparent 26%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(251, 247, 240, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
}

.brand-mark {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button {
  padding: 0.95rem 1.4rem;
  background: var(--accent);
  color: #fffaf7;
  box-shadow: 0 16px 30px rgba(143, 46, 36, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(143, 46, 36, 0.3);
}

.button-secondary {
  padding: 0.92rem 1.36rem;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 26, 23, 0.24);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid,
.split-grid,
.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.hero-card,
.panel,
.article-card,
.stat-card,
.promo-card,
.resource-card,
.product-card,
.cta-card,
.quote-card,
.checklist,
.story-card,
.sidebar-card {
  background: var(--surface);
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy h1,
.page-hero h1,
.article-hero h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy p,
.page-hero p,
.article-hero p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  min-height: 100%;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(35, 113, 122, 0.12), transparent 32%),
    radial-gradient(circle at 80% 25%, rgba(211, 95, 57, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-card > * {
  position: relative;
}

.hero-card .stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.stat-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-header h2,
.section-header h3,
.panel h2,
.panel h3,
.resource-card h2,
.resource-card h3,
.product-card h3,
.article-card h3,
.promo-card h3 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
}

.section-header p,
.product-card p,
.article-card p,
.promo-card p,
.panel p,
.resource-card p,
.sidebar-card p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.article-card,
.product-card,
.promo-card,
.resource-card,
.sidebar-card,
.story-card {
  padding: 1.4rem;
}

.article-card .meta,
.article-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.kicker {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(35, 113, 122, 0.1);
  color: var(--cool);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-list,
.check-list,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.tag-list li,
.mini-list li {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 26, 23, 0.08);
  font-size: 0.88rem;
}

.checklist {
  padding: 1.4rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "01";
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(211, 95, 57, 0.15);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
}

.check-list li:nth-child(2)::before {
  content: "02";
}

.check-list li:nth-child(3)::before {
  content: "03";
}

.check-list li:nth-child(4)::before {
  content: "04";
}

.page-hero,
.article-hero {
  padding: 3.6rem 0 1.6rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  align-items: start;
}

.article-body,
.page-body {
  padding: 1.8rem;
}

.article-body h2,
.article-body h3,
.page-body h2,
.page-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
}

.article-body ul,
.page-body ul,
.page-body ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-body p,
.page-body p,
.page-body li {
  color: var(--muted);
}

.pull-quote {
  margin: 1.6rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  font-family: "Fraunces", serif;
  color: var(--ink);
  font-size: 1.18rem;
}

.note-box,
.cta-card {
  padding: 1.3rem;
  margin-top: 1.6rem;
}

.note-box {
  background: rgba(35, 113, 122, 0.08);
  border: 1px solid rgba(35, 113, 122, 0.14);
  border-radius: 20px;
}

.product-hero-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.metric {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.55rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.calendar-table th,
.calendar-table td {
  padding: 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.calendar-table th {
  background: rgba(35, 113, 122, 0.12);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cool);
}

.calendar-table td {
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
}

.social-post {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.social-post pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: var(--ink);
}

.footer {
  padding: 2.8rem 0 4rem;
}

.footer-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(28, 24, 22, 0.92);
  color: rgba(255, 250, 244, 0.88);
}

.footer-card a {
  color: #fff7ef;
}

.footer-card p {
  margin: 0.35rem 0 0;
  color: rgba(255, 250, 244, 0.72);
}

.muted-link {
  text-decoration: none;
  color: var(--muted);
}

.muted-link:hover,
.muted-link:focus-visible {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .two-up,
  .article-layout,
  .resource-grid,
  .metric-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header .shell {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-card .stat-row {
    grid-template-columns: 1fr;
  }

  .calendar-table {
    display: block;
    overflow-x: auto;
  }
}
