@font-face {
  font-family: "Fraunces";
  src: url("typography/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("typography/Fraunces/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("typography/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f5efe2;
  --panel: rgba(255, 252, 247, 0.88);
  --panel-strong: #fffaf3;
  --ink: #2d241d;
  --muted: #705f52;
  --gold: #bf8328;
  --gold-soft: #f3d18f;
  --rose: #d69a93;
  --blue: #9eb4c9;
  --green: #b6c2a1;
  --shadow: 0 18px 60px rgba(84, 61, 35, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 232, 170, 0.65), transparent 30%),
    radial-gradient(circle at top right, rgba(248, 208, 183, 0.42), transparent 22%),
    linear-gradient(180deg, #fff9f0 0%, #f4ebdc 45%, #f0e3d2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 24%);
  opacity: 0.4;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 18px auto 36px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(129, 93, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(73, 52, 24, 0.08);
}

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

.brand strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff7ec;
  background: linear-gradient(145deg, #6b3b16, #c98d2d);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #5a4333;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #2d241d;
  background: rgba(186, 133, 56, 0.12);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: #2d241d;
  background: rgba(186, 133, 56, 0.16);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(129, 93, 35, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff7ee;
  color: var(--ink);
  font-weight: 700;
}

.hero,
.panel {
  position: relative;
  border: 1px solid rgba(122, 91, 51, 0.1);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 40px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.48), transparent 22%),
    linear-gradient(135deg, rgba(255, 248, 240, 0.95), rgba(245, 225, 198, 0.78));
}

.hero-copy h1,
.section-heading h2,
.connect-panel h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lead,
.about-card p,
.pillar-card p,
.post-body p,
.tool-card p,
.connect-copy,
.sidebar-card p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.connect-actions,
.tool-actions,
.post-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible,
.mini-btn:hover,
.mini-btn:focus-visible,
.pill:hover,
.pill:focus-visible,
.dialog-close:hover,
.dialog-close:focus-visible,
.post-open:hover,
.post-open:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #fff9f1;
  background: linear-gradient(135deg, #8f531d, #cc942f);
  box-shadow: 0 14px 30px rgba(153, 94, 23, 0.24);
}

.btn-secondary,
.mini-btn,
.pill,
.post-open,
.dialog-close {
  border-color: rgba(122, 91, 51, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

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

.stats div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid rgba(122, 91, 51, 0.1);
}

.stats dt {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: #4a3421;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 248, 230, 0.98), transparent 24%),
    linear-gradient(180deg, rgba(252, 244, 224, 0.95), rgba(201, 168, 127, 0.9));
}

.halo {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.8;
}

.halo-1 {
  width: 280px;
  height: 280px;
  right: -48px;
  top: -52px;
  background: radial-gradient(circle, rgba(255, 233, 161, 0.9), rgba(255, 233, 161, 0));
}

.halo-2 {
  width: 220px;
  height: 220px;
  left: -40px;
  bottom: -26px;
  background: radial-gradient(circle, rgba(255, 210, 196, 0.65), rgba(255, 210, 196, 0));
}

.hero-card {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(65, 42, 20, 0.2);
}

.hero-card-main {
  inset: 26px 26px auto;
  background: rgba(255, 248, 236, 0.35);
}

.hero-card-art {
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f4e8cf'/%3E%3Cstop offset='100%25' stop-color='%23c6893f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='900' height='700' fill='url(%23g)'/%3E%3Ccircle cx='670' cy='120' r='120' fill='%23fff6dd' fill-opacity='.55'/%3E%3Ccircle cx='220' cy='160' r='220' fill='%23fffef7' fill-opacity='.12'/%3E%3Cpath d='M0 520 C 140 430, 290 410, 410 470 S 665 580, 900 460 L 900 700 L 0 700 Z' fill='%23583c21' fill-opacity='.22'/%3E%3Cpath d='M260 345 C 255 285, 290 245, 355 218 C 428 188, 497 193, 551 221 C 612 252, 635 311, 631 366 C 596 342, 543 327, 479 324 C 395 320, 313 321, 260 345 Z' fill='%232a211b' fill-opacity='.74'/%3E%3Cpath d='M236 336 C 198 400, 181 479, 188 564 C 253 592, 331 607, 418 598 C 408 538, 401 488, 412 421 C 398 388, 322 351, 236 336 Z' fill='%23f5bb48' fill-opacity='.95'/%3E%3Cpath d='M612 335 C 645 392, 665 472, 660 562 C 610 589, 535 602, 453 598 C 463 543, 470 492, 457 423 C 474 385, 546 352, 612 335 Z' fill='%23f0a93a' fill-opacity='.88'/%3E%3C/svg%3E") center/cover;
}

.hero-card-copy {
  padding: 16px 18px 18px;
  background: rgba(45, 36, 29, 0.58);
  color: #fff7eb;
}

.hero-card-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6d8a2;
}

.hero-quote {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

.hero-card-floating {
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 16px 18px;
  background: rgba(255, 252, 247, 0.82);
}

.hero-card-floating strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
}

.hero-card-floating span {
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

.panel {
  margin-top: 22px;
  padding: 34px;
  border-radius: 34px;
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.connect-panel h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading.centered h2 {
  margin-inline: auto;
}

.intro-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 235, 189, 0.55), transparent 20%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.9), rgba(248, 239, 225, 0.92));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 16px;
}

.about-card {
  min-height: 170px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(129, 93, 35, 0.08);
}

.about-card h3,
.pillar-card h3,
.post-body h3,
.tool-card h3,
.sidebar-card h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
}

.about-card h3 {
  font-size: 1.5rem;
}

.about-card-wide {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.82), rgba(255, 239, 220, 0.96)),
    linear-gradient(135deg, rgba(214, 154, 147, 0.12), rgba(183, 196, 161, 0.12));
}

.post-meta,
.tool-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.search-field span {
  font-weight: 800;
  color: #5a4333;
}

.search-field input,
.newsletter-form input,
.connect-form input,
.connect-form textarea {
  width: 100%;
  border: 1px solid rgba(129, 93, 35, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 12px 14px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.mini-btn,
.post-open,
.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 91, 51, 0.18);
  color: var(--ink);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
}

.pill.is-active,
.mini-btn.is-active {
  background: linear-gradient(135deg, rgba(143, 83, 29, 0.18), rgba(201, 141, 45, 0.26));
  border-color: rgba(143, 83, 29, 0.35);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 360px;
  gap: 18px;
  align-items: start;
}

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

.post-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(129, 93, 35, 0.08);
  box-shadow: 0 12px 28px rgba(78, 52, 24, 0.08);
}

.post-thumb {
  min-height: 180px;
  background: rgba(255, 255, 255, 0.2);
}

.post-thumb img,
.dialog-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
}

.post-body {
  padding: 18px 18px 20px;
}

.post-meta {
  color: #9a6b31;
}

.post-body h3 {
  font-size: 1.25rem;
}

.post-time {
  color: #7a6250;
  font-size: 0.92rem;
  font-weight: 700;
}

.post-open {
  min-height: 36px;
}

.post-link {
  display: inline-flex;
  align-items: center;
}

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

.sidebar-card {
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 238, 225, 0.92));
  border: 1px solid rgba(129, 93, 35, 0.08);
}

.sidebar-card h3 {
  font-size: 1.55rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(174, 191, 208, 0.2);
  color: #4a5562;
  font-size: 0.9rem;
  font-weight: 700;
}

.newsletter-form,
.form-note {
  min-height: 1.4em;
  margin: 6px 0 0;
  color: #6e5c4e;
  font-size: 0.92rem;
}

.reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.reading-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(129, 93, 35, 0.08);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reading-open {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-weight: 700;
}

.reading-remove {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(122, 91, 51, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
}

.tools-panel {
  background:
    radial-gradient(circle at top right, rgba(222, 199, 163, 0.45), transparent 20%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.96), rgba(245, 232, 214, 0.9));
}

.tools-preview-panel {
  overflow: hidden;
}

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

.tools-preview-copy {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(129, 93, 35, 0.08);
}

.tools-preview-copy p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.8;
}

.tools-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tools-preview-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

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

.tools-page .article-hero {
  align-items: center;
}

.tools-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
}

.tools-hero-figure {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 248, 227, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(210, 164, 92, 0.95), rgba(116, 74, 28, 0.94));
}

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

.tools-page .article-hero {
  align-items: center;
}

.tools-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
}

.tools-hero-figure {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 248, 227, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(210, 164, 92, 0.95), rgba(116, 74, 28, 0.94));
}

.tool-card {
  min-height: 188px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(129, 93, 35, 0.08);
}

.tool-card-large {
  grid-row: span 2;
  min-height: 392px;
  background:
    radial-gradient(circle at top right, rgba(255, 239, 199, 0.9), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 221, 195, 0.85));
}

.tool-card h3 {
  font-size: 1.5rem;
}

.tool-card-large h3 {
  font-size: 2.1rem;
}

.tool-label {
  color: var(--gold);
}

.timer-display,
.counter-value {
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(129, 93, 35, 0.1);
  color: #4a3421;
  font-family: "Fraunces", Georgia, serif;
}

.timer-display {
  min-height: 122px;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
}

.counter-value {
  min-height: 96px;
  font-size: 3.4rem;
}

.timer-presets,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(129, 93, 35, 0.14);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.tool-inline-btn {
  margin-top: 12px;
}

.connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 460px);
  align-items: start;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(255, 248, 230, 0.92), rgba(226, 195, 145, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.connect-copy {
  max-width: 60ch;
  margin-bottom: 0;
}

.post-dialog {
  width: min(760px, calc(100% - 24px));
  border: none;
  border-radius: 30px;
  padding: 0;
  background: rgba(255, 250, 243, 0.98);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(43, 28, 13, 0.32);
}

.post-dialog::backdrop {
  background: rgba(26, 18, 11, 0.52);
  backdrop-filter: blur(4px);
}

.post-dialog article {
  padding: 28px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.dialog-thumb {
  min-height: 260px;
  border-radius: 24px;
  margin-bottom: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.dialog-meta {
  color: #9a6b31;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dialog-title {
  margin: 10px 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.dialog-body {
  color: var(--muted);
  line-height: 1.8;
}

.article-page {
  display: grid;
  gap: 22px;
}

.article-hero {
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 251, 238, 0.9), transparent 24%),
    linear-gradient(135deg, rgba(255, 244, 226, 0.98), rgba(238, 212, 172, 0.82));
  box-shadow: var(--shadow);
  border: 1px solid rgba(122, 91, 51, 0.1);
}

.blog-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
  align-items: center;
}

.archive-hero-figure {
  min-height: 320px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 248, 227, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(243, 214, 154, 0.95), rgba(188, 128, 54, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.article-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.article-title {
  margin: 0;
  max-width: 14ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
}

.article-lead {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.06rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #6b5a4b;
  font-size: 0.92rem;
  font-weight: 700;
}

.article-figure {
  min-height: 280px;
  margin-top: 26px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(129, 93, 35, 0.08);
  box-shadow: var(--shadow);
}

.article-card h2,
.article-card h3 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
}

.article-card p,
.article-card li {
  color: var(--muted);
  line-height: 1.85;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

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

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

.archive-card {
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: 24px;
  border: 1px solid rgba(129, 93, 35, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(78, 52, 24, 0.08);
}

.archive-card img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.archive-copy {
  padding: 18px;
}

.archive-copy span {
  display: block;
  margin-bottom: 10px;
  color: #9a6b31;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-copy strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.08;
}

.archive-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

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

.related-link {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(129, 93, 35, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.related-link strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
}

@media (max-width: 1080px) {
  .hero,
  .content-layout,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: 440px;
  }

  .about-grid,
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-archive-hero {
    grid-template-columns: 1fr;
  }

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

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .tools-preview-layout,
  .tools-hero,
  .tools-grid-full {
    grid-template-columns: 1fr;
  }

  .tools-preview-cards {
    grid-template-columns: 1fr 1fr;
  }

  .post-card.featured {
    grid-column: span 2;
  }

  .tool-card-large {
    grid-row: auto;
    min-height: 240px;
  }

  .connect-form {
    width: 100%;
  }

  .connect-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1000px);
    margin-top: 10px;
  }

  .site-header {
    border-radius: 24px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px solid rgba(129, 93, 35, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .panel {
    padding: 22px;
    border-radius: 26px;
  }

  .stats,
  .about-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .tools-preview-cards,
  .tools-grid-full {
    grid-template-columns: 1fr;
  }

  .archive-card img {
    height: 260px;
  }

  .tools-grid-full {
    gap: 16px;
  }

  .post-card.featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .content-layout {
    gap: 14px;
  }

  .connect-actions {
    margin-top: 18px;
  }
}
