/* Blog archive, category pages and posts. Base, buttons, nav and footer match the other pages. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0;
}
:root {
      --brown:        #421515;
      --brown-80:     rgba(66,21,21,0.8);
      --orange:       #ff5a30;
      --orange-dark:  #e52f00;
      --cream:        #f7efdc;
      --page-bg:      #fbf7ee;
      --small-text:   #662020;
      --btn-text:     #5e1300;
      --border:       rgba(66,21,21,0.15);
      --radius-card:  35px;
      --t: 0.25s ease;
      --pad-x: clamp(20px, 6.25vw, 90px);
}
html { scroll-behavior: smooth;
}
body {
      font-family: 'Golos Text', sans-serif;
      background: var(--page-bg);
      color: var(--brown);
      font-size: 18px;
      line-height: 1.55;
      overflow-x: hidden;
}
img { max-width: 100%; display: block;
}
h1, h2, h3, h4, .font-display { font-family: 'Parkinsans', sans-serif; font-weight: 600;
}
h1 { font-size: clamp(44px, 5.55vw, 80px); line-height: 1;    letter-spacing: -0.018em;
}
h2 { font-size: clamp(34px, 4.16vw, 60px); line-height: 1.11; letter-spacing: -0.03em;
}
h3 { font-size: clamp(28px, 3.15vw, 45.5px); line-height: 1.1; letter-spacing: -0.03em;
}
h4 { font-size: 24px; line-height: 1.33;
}
.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 200px;
      height: 48px;
      padding: 11px 24px;
      border-radius: 9999px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Parkinsans', sans-serif;
      font-weight: 600;
      font-size: 16px;
      letter-spacing: -0.011em;
      transition: background var(--t), border-color var(--t);
      white-space: nowrap;
}
.btn--orange { background: var(--orange); color: var(--btn-text);
}
.btn--orange:hover { background: #ef4517;
}
.btn--cream { background: var(--cream);  color: var(--brown);
}
.btn--cream:hover { background: #ede2c7;
}
.btn { transition: background var(--t), border-color var(--t), transform 0.12s ease;
}
.btn:focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 3px;
}
.btn:active { transform: scale(0.98);
}
.reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto;
  }
}
@media (max-width: 600px) {
  body { font-size: 16px;
  }
}
.text-link {
      color: inherit;
      font-weight: 600;
      text-decoration: underline;
      text-decoration-color: var(--orange);
      text-decoration-thickness: 2px;
      text-underline-offset: 3px;
}
.text-link:hover { text-decoration-color: var(--orange-dark);
}
.text-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px;
}
.text-link:active { opacity: 0.7;
}
.nav {
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1600px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px var(--pad-x);
      z-index: 100;
}
.nav__pill {
      background: #fff;
      border-radius: 57px;
      height: 80px;
      display: flex;
      align-items: center;
      gap: 49px;
      padding: 0 40px;
      box-shadow: 0 2px 14px rgba(66,21,21,0.05);
}
.nav__logo img { width: 171px; height: 28px;
}
.nav__links { display: flex; align-items: center; gap: 7px;
}
.nav__item { position: relative;
}
.nav__link {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 15px;
      border-radius: 30px;
      background: none;
      border: none;
      cursor: pointer;
      font-family: 'Parkinsans', sans-serif;
      font-weight: 500;
      font-size: 17px;
      color: var(--brown);
      text-decoration: none;
      transition: background var(--t);
      white-space: nowrap;
}
.nav__link:hover { background: var(--cream);
}
.nav__link img { width: 14px; height: 14px; transition: transform var(--t);
}
.nav__item:hover .nav__link img, .nav__item:focus-within .nav__link img { transform: rotate(180deg);
}
.nav__submenu {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      min-width: 200px;
      background: #fff;
      border-radius: 16px;
      padding: 8px 0;
      box-shadow: 0 12px 30px rgba(66,21,21,0.14);
      opacity: 0;
      visibility: hidden;
      transform: translateY(6px);
      transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item:hover .nav__submenu, .nav__item:focus-within .nav__submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
}
.nav__submenu a {
      display: block;
      padding: 10px 20px;
      font-family: 'Parkinsans', sans-serif;
      font-size: 17px;
      color: var(--brown);
      text-decoration: none;
      transition: background var(--t);
}
.nav__submenu a:hover { background: var(--cream);
}
.nav__burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 48px;
      height: 48px;
      padding: 12px;
      border: none;
      border-radius: 12px;
      background: transparent;
      cursor: pointer;
}
.nav__burger span {
      display: block;
      height: 2px;
      width: 100%;
      background: var(--brown);
      border-radius: 2px;
      transition: transform var(--t), opacity var(--t);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0;
}
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg);
}
.nav__mobile {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--cream);
      z-index: 99;
      padding: 130px var(--pad-x) 40px;
      flex-direction: column;
      gap: 8px;
      overflow-y: auto;
}
.nav__mobile.is-open { display: flex;
}
.nav__mobile a {
      font-family: 'Parkinsans', sans-serif;
      font-weight: 500;
      font-size: 26px;
      color: var(--brown);
      text-decoration: none;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
}
.nav__mobile .btn { margin-top: 24px;
}
.footer { background: #fff;
}
.footer__inner {
      max-width: 1600px;
      margin: 0 auto;
      padding: 90px var(--pad-x) 30px;
      display: flex;
      flex-direction: column;
      gap: 32px;
}
.footer__row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 40px;
      padding-bottom: 70px;
      flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 40px;
}
.footer__brand .logo img { width: 187px; height: 31px;
}
.footer__tagline {
      font-family: 'Parkinsans', sans-serif;
      font-weight: 600;
      font-size: 24px;
      line-height: 1.33;
}
.footer__right { display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap;
}
.footer__col { width: 180px; display: flex; flex-direction: column; gap: 12px;
}
.footer__col h4 { font-size: 18px; line-height: 1.78;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.footer__col a {
      color: var(--brown);
      opacity: 0.8;
      text-decoration: none;
      font-size: 16px;
      line-height: 1.45;
      transition: opacity var(--t);
}
.footer__col a:hover { opacity: 1;
}
.footer__social { display: block; margin-top: 2px;
}
.footer__social img { width: 24px; height: 24px;
}
.footer__bottom {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 20px;
      padding-top: 30px;
      border-top: 0.5px solid var(--border);
      font-size: 15px;
      flex-wrap: wrap;
}
.footer__bottom p { opacity: 0.5;
}
.footer__bottom a { color: var(--brown);
}
@media (prefers-reduced-motion: reduce) {
  .nav__pill, .nav__cta { animation: none;
  }
}
@media (max-width: 1300px) {
  .nav__links { display: none;
  }
  .nav__burger { display: flex;
  }
  .nav__pill { gap: 20px; height: 68px; padding: 0 24px;
  }
  .nav__cta { display: none;
  }
}
@media (max-width: 900px) {
  .footer__row { flex-direction: column;
  }
}
@media (max-width: 600px) {
  .footer__row { padding-bottom: 40px;
  }
  .footer__inner { padding-top: 60px;
  }
  .footer__bottom { justify-content: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════
   Blog: archive (/blog), category pages and single posts
   ══════════════════════════════════════════════════════════════ */
.blog, .post { padding-bottom: clamp(80px, 9vw, 130px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--small-text);
}
.crumbs a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(66,21,21,0.3);
  text-underline-offset: 3px;
}
.crumbs a:hover { text-decoration-color: var(--orange); }
.crumbs a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.crumbs a:active { opacity: 0.7; }
.crumbs__sep { opacity: 0.5; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(102,32,32,0.8);
}
.post-meta--light { color: rgba(247,239,220,0.72); }

/* ── Archive header ── */
.blog-head { padding: 170px var(--pad-x) clamp(40px, 5vw, 64px); }
.blog-head__inner { max-width: 1260px; margin: 0 auto; }
.blog-head .crumbs { margin-bottom: 18px; }
.blog-head h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
  text-wrap: balance;
}
.blog-head__intro {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 20px;
  line-height: 1.6;
  color: var(--small-text);
}

.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.blog-cats__link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--brown);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-cats__link:hover { transform: translateY(-2px); border-color: rgba(66,21,21,0.45); }
.blog-cats__link:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.blog-cats__link:active { transform: scale(0.97); }
.blog-cats__link.is-current { background: var(--brown); border-color: var(--brown); color: var(--cream); }

/* ── Listing: lead story + card grid ── */
.blog-list {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.post-lead__link {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,90,48,0.22) 0%, rgba(255,90,48,0) 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(247,239,220,0.07) 0%, rgba(247,239,220,0) 60%),
    var(--brown);
  color: var(--cream);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(66,21,21,0.12), 0 28px 60px -28px rgba(66,21,21,0.55);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.post-lead__link:hover { transform: translateY(-3px); }
.post-lead__link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.post-lead__link:active { transform: scale(0.995); }
.post-lead__cat { font-weight: 600; font-size: 15px; color: var(--orange); }
.post-lead__title {
  margin-top: 14px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-wrap: balance;
}
.post-lead__excerpt {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(247,239,220,0.86);
}
.post-lead .post-meta { margin-top: 24px; }
.post-lead__cta {
  display: inline-block;
  margin-top: 28px;
  font-family: 'Parkinsans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.post-lead__media { display: flex; justify-content: center; }
.post-lead__albert {
  width: min(100%, 380px);
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.28));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.post-lead__link:hover .post-lead__albert { transform: rotate(0deg) translateY(-6px); }
.post-lead__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: #fff;
  color: var(--brown);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(66,21,21,0.06), 0 14px 34px -22px rgba(66,21,21,0.32);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.post-card__link:hover { transform: translateY(-4px); }
.post-card__link:hover .post-card__title {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.post-card__link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.post-card__link:active { transform: translateY(-1px) scale(0.99); }
.post-card__img {
  width: calc(100% + 60px);
  max-width: none;
  margin: -30px -30px 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-card__cat { font-weight: 600; font-size: 14px; color: var(--orange-dark); }
.post-card__title {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.post-card__excerpt {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(66,21,21,0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .post-meta { margin-top: auto; padding-top: 22px; font-size: 14px; }

/* ── Single post ── */
.post-head { padding: 170px var(--pad-x) 0; }
.post-head__inner { max-width: 1060px; margin: 0 auto; }
.post-head h1 {
  margin-top: 18px;
  max-width: 22ch;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.post-head .post-meta { margin-top: 22px; }

.post-hero { max-width: 1060px; margin: 40px auto 0; padding: 0 var(--pad-x); box-sizing: content-box; }
.post-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; }

.post-body {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px var(--pad-x) 0;
  box-sizing: content-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.post-toc { display: none; }
.post-toc__title { font-family: 'Parkinsans', sans-serif; font-weight: 600; font-size: 15px; color: var(--small-text); }
.post-toc__list { list-style: none; margin-top: 12px; border-left: 2px solid var(--border); }
.post-toc__list a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(66,21,21,0.68);
  text-decoration: none;
}
.post-toc__list a:hover { color: var(--brown); }
.post-toc__list a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.post-toc__list a:active { opacity: 0.7; }
.post-toc__list a[aria-current] { color: var(--brown); font-weight: 600; border-left-color: var(--orange); }

.prose { min-width: 0; font-size: 18px; line-height: 1.75; color: var(--brown); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  scroll-margin-top: 120px;
}
.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 120px;
}
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--orange); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--orange-dark); }
.prose a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.prose a:active { opacity: 0.7; }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--orange); font-style: italic; }
.prose__table, .prose > table { display: block; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.prose__table:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose__table table { display: table; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th { font-family: 'Parkinsans', sans-serif; font-weight: 600; background: var(--cream); }
.prose tbody tr:last-child > * { border-bottom: 0; }

.post-more { max-width: 1260px; margin: clamp(72px, 8vw, 110px) auto 0; padding: 0 var(--pad-x); box-sizing: content-box; }
.post-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.post-more h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }

@media (min-width: 1100px) {
  .post-head__inner { padding-left: 284px; }
  .post-body { grid-template-columns: 220px minmax(0, 720px); gap: 64px; }
  .post-toc:not([hidden]) { display: block; position: sticky; top: 120px; align-self: start; }
  .post-body > .prose { grid-column: 2; }
}

@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-lead__link { grid-template-columns: 1fr; }
  .post-lead__media { order: -1; justify-content: flex-start; }
  .post-lead__albert { width: 200px; }
}

@media (max-width: 640px) {
  .blog-head, .post-head { padding-top: 130px; }
  .blog-head__intro { font-size: 18px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card__link { padding: 26px 24px 22px; }
  .post-card__img { width: calc(100% + 48px); margin: -26px -24px 20px; }
  .post-lead__albert { width: 150px; }
  .prose { font-size: 17px; }
  .post-more__head { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-cats__link, .post-lead__link, .post-lead__albert, .post-card__link { transition: none; }
}
