@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #f6efe5;
  --paper: #fbf7ef;
  --ink: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --line: rgba(28, 25, 23, 0.12);
  --orange: #e87f54;
  --green: #78b7a3;
  --yellow: #f6d35f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 4%, rgba(232, 127, 84, 0.26), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(120, 183, 163, 0.34), transparent 28%),
    radial-gradient(circle at 52% 100%, rgba(246, 211, 95, 0.36), transparent 32%),
    var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 5px 5px 0 var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.nav-links a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 10px 14px;
}

.nav-links a:hover {
  border-color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  box-shadow: none;
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: stretch;
  padding: 0 0 56px;
}

.hero > div,
.insight-card {
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--paper);
  padding: clamp(28px, 5vw, 50px);
}

.hero > div {
  box-shadow: 12px 12px 0 var(--green);
}

.insight-card {
  box-shadow: 12px 12px 0 var(--orange);
}

.eyebrow {
  margin: 0 0 14px;
  color: #a64b2a;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

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

.insight-card strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  color: var(--ink);
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.insight-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.topic-strip a,
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 24px;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  line-height: 1.75;
}

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

.post-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  text-decoration: none;
  box-shadow: 9px 9px 0 var(--green);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:nth-child(2n) {
  box-shadow: 9px 9px 0 var(--orange);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 var(--yellow);
}

.post-card h2,
.post-card h3 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}

.post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #a64b2a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.read-more {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 34px;
  align-items: start;
}

.article-main {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 34px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--green);
}

.article-main h1 {
  font-size: clamp(38px, 5.5vw, 66px);
}

.article-main h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-main h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.article-main p,
.article-main li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.article-main ul,
.article-main ol {
  padding-left: 22px;
}

.article-main li {
  margin-bottom: 10px;
}

.lead {
  margin-top: 22px;
  font-size: 19px !important;
  color: var(--muted) !important;
}

.toc,
.cta-panel {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.toc {
  position: sticky;
  top: 22px;
}

.toc h2,
.cta-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.toc a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.toc a:hover { color: var(--ink); }

.cta-panel {
  margin-top: 18px;
  background: #fff7d7;
}

.cta-panel p {
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-list div {
  padding: 17px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.footer {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero,
  .article {
    grid-template-columns: 1fr;
  }

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

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 28px;
  }

  .nav-links {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 8px 11px;
  }

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

  .hero > div,
  .insight-card,
  .article-main {
    border-radius: 26px;
    box-shadow: 7px 7px 0 var(--green);
  }
}
