/* Blog hub and article pages */
:root {
  --blog-ink: #2f2320;
  --blog-brown: #402d29;
  --blog-accent: #a97051;
  --blog-accent-dark: #87573f;
  --blog-cream: #f4f0eb;
  --blog-paper: #fffdfb;
  --blog-muted: #706662;
  --blog-line: rgba(64, 45, 41, 0.14);
}

html {
  scroll-behavior: smooth;
}

body.blog-site {
  margin: 0;
  overflow-x: hidden;
  background: var(--blog-cream);
  color: var(--blog-muted);
  font-family: "Inter", Arial, sans-serif;
}

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

.blog-site img {
  max-width: 100%;
}

.blog-container {
  width: min(1460px, calc(100% - 64px));
  margin-inline: auto;
}

.blog-skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: #fff;
  color: var(--blog-ink);
  transform: translateY(-160%);
}

.blog-skip-link:focus {
  transform: translateY(0);
}

/* Header */
.blog-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-header.is-scrolled {
  position: fixed;
  background: rgba(43, 33, 31, 0.96);
  box-shadow: 0 12px 35px rgba(22, 15, 13, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.blog-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 34px;
}

.blog-header__logo {
  display: inline-flex;
  width: 190px;
  flex: none;
  align-items: center;
}

.blog-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.blog-header__nav > a,
.blog-header__dropdown > summary {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.07em;
  list-style: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.blog-header__dropdown > summary::-webkit-details-marker {
  display: none;
}

.blog-header__dropdown > summary::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.blog-header__nav > a:hover,
.blog-header__nav > a:focus-visible,
.blog-header__nav > a[aria-current="page"],
.blog-header__dropdown > summary:hover,
.blog-header__dropdown > summary:focus-visible {
  color: #d8aa88;
}

.blog-header__nav > a:focus-visible,
.blog-header__dropdown > summary:focus-visible,
.blog-header__contact:focus-visible,
.blog-header__menu:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.blog-header__dropdown {
  position: relative;
}

.blog-header__dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -24px;
  display: grid;
  width: 275px;
  padding: 15px 0;
  border-top: 2px solid var(--blog-accent);
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 15, 13, 0.2);
}

.blog-header__dropdown-menu a {
  padding: 9px 24px;
  color: #5d504b;
  font-size: 13px;
  line-height: 1.45;
}

.blog-header__dropdown-menu a:hover,
.blog-header__dropdown-menu a:focus-visible {
  background: var(--blog-cream);
  color: var(--blog-accent-dark);
}

.blog-header__contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.blog-header__contact:hover {
  border-color: #fff;
  background: #fff;
  color: var(--blog-ink);
}

.blog-header__menu {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
}

.blog-header__menu span,
.blog-header__menu span::before,
.blog-header__menu span::after {
  display: block;
  width: 19px;
  height: 1px;
  background: currentColor;
  content: "";
}

.blog-header__menu span {
  position: relative;
}

.blog-header__menu span::before {
  position: absolute;
  top: -6px;
}

.blog-header__menu span::after {
  position: absolute;
  top: 6px;
}

.blog-drawer {
  position: fixed;
  z-index: 1200;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.blog-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.blog-drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 14, 12, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-drawer.is-open .blog-drawer__overlay {
  opacity: 1;
}

.blog-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(410px, 90vw);
  height: 100%;
  padding: 34px 30px;
  overflow-y: auto;
  background: #2b211f;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-drawer.is-open .blog-drawer__panel {
  transform: translateX(0);
}

.blog-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.blog-drawer__top img {
  width: 165px;
}

.blog-drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.blog-drawer__nav {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.blog-drawer__nav > a,
.blog-drawer__nav summary {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  list-style: none;
}

.blog-drawer__services a {
  display: block;
  padding: 8px 0 8px 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.blog-menu-open {
  overflow: hidden;
}

/* Shared hero elements */
.blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.blog-breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--blog-accent);
  content: "/";
}

.blog-breadcrumbs a {
  color: inherit;
}

.blog-breadcrumbs a:hover,
.blog-breadcrumbs a:focus-visible {
  color: #fff;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #d7a37f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.blog-hub-hero,
.article-hero {
  position: relative;
  isolation: isolate;
  padding: 170px 0 94px;
  overflow: hidden;
  background: #2b211f;
  color: #fff;
}

.blog-hub-hero::before,
.article-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
}

.blog-hub-hero::after,
.article-hero::after {
  position: absolute;
  z-index: -1;
  top: -220px;
  left: 14%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 112, 81, 0.22), transparent 68%);
  content: "";
}

.blog-hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 7vw, 120px);
}

.blog-hub-hero h1,
.article-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 5.2vw, 82px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.blog-hub-hero__intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.8;
}

.blog-featured {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.blog-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-featured::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 16, 14, 0.9), rgba(23, 16, 14, 0.02) 70%);
  content: "";
}

.blog-featured:hover img,
.blog-featured:focus-visible img {
  transform: scale(1.045);
}

.blog-featured:focus-visible {
  outline: 3px solid #d7a37f;
  outline-offset: 4px;
}

.blog-featured__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px;
}

.blog-featured__label,
.blog-card__category {
  color: #d7a37f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-featured h2 {
  max-width: 680px;
  margin: 11px 0 9px;
  color: #fff;
  font-size: clamp(27px, 2.3vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}

.blog-featured__meta,
.blog-card__meta,
.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

/* Blog cards */
.blog-hub-grid {
  position: relative;
  padding: 100px 0 112px;
  background: var(--blog-cream);
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.blog-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blog-ink);
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.blog-section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--blog-line);
  background: var(--blog-paper);
  color: var(--blog-muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 22px 55px rgba(56, 38, 33, 0.11);
  transform: translateY(-6px);
}

.blog-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd3cc;
}

.blog-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover .blog-card__image img,
.blog-card__image:focus-visible img {
  transform: scale(1.05);
}

.blog-card__image:focus-visible,
.blog-card__title a:focus-visible,
.blog-card__read:focus-visible {
  outline: 3px solid var(--blog-accent-dark);
  outline-offset: 3px;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 30px 28px;
}

.blog-card__meta {
  margin-top: 8px;
  color: #8a7e78;
}

.blog-card__title {
  margin: 18px 0 12px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.blog-card__title a {
  color: var(--blog-ink);
}

.blog-card__excerpt {
  margin: 0 0 24px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.7;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--blog-accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card__read::after {
  font-size: 16px;
  content: "→";
  transition: transform 0.2s ease;
}

.blog-card__read:hover::after {
  transform: translateX(4px);
}

.blog-contact-strip {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
  background: var(--blog-brown);
  color: #fff;
}

.blog-contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.blog-contact-strip h2 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(35px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.blog-primary-button {
  display: inline-flex;
  min-height: 58px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--blog-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.blog-primary-button:hover,
.blog-primary-button:focus-visible {
  background: transparent;
  color: #fff;
}

.blog-primary-button:focus-visible {
  outline: 3px solid #d7a37f;
  outline-offset: 4px;
}

/* Article hero */
.article-hero {
  padding-bottom: 82px;
}

.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
  align-items: center;
  gap: clamp(50px, 6vw, 105px);
}

.article-hero h1 {
  font-size: clamp(48px, 4.6vw, 72px);
}

.article-hero__lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.article-hero__meta {
  margin-top: 28px;
}

.article-hero__meta time,
.article-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-hero__image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
  pointer-events: none;
}

.blog-reading-progress {
  position: fixed;
  z-index: 1500;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #d49c76;
  pointer-events: none;
}

/* Article body */
.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 820px);
  justify-content: center;
  gap: clamp(48px, 7vw, 105px);
  padding-top: 92px;
  padding-bottom: 110px;
}

.article-toc {
  align-self: start;
}

.article-toc__inner {
  position: sticky;
  top: 115px;
  padding: 23px 0;
  border-top: 1px solid var(--blog-line);
  border-bottom: 1px solid var(--blog-line);
}

.article-toc__title {
  margin: 0 0 16px;
  color: var(--blog-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  list-style: none;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  display: grid;
  grid-template-columns: 22px 1fr;
  color: #766b66;
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.article-toc a::before {
  color: #aa7a5d;
  content: counter(toc, decimal-leading-zero);
  font-size: 9px;
  font-weight: 700;
}

.article-toc a:hover,
.article-toc a:focus-visible,
.article-toc a.is-active {
  color: var(--blog-accent-dark);
}

.article-share {
  width: 100%;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid var(--blog-line);
  background: transparent;
  color: var(--blog-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-share:hover,
.article-share:focus-visible {
  border-color: var(--blog-accent-dark);
  color: var(--blog-accent-dark);
}

.article-share:focus-visible {
  outline: 2px solid var(--blog-accent-dark);
  outline-offset: 3px;
}

.blog-article {
  min-width: 0;
  color: #5f5551;
}

.blog-article > section {
  padding: 0;
}

.blog-article > section + section {
  margin-top: 58px;
}

.blog-article h2 {
  margin: 0 0 22px;
  color: var(--blog-ink);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
  scroll-margin-top: 115px;
}

.blog-article h3 {
  margin: 30px 0 10px;
  color: #473936;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.blog-article p,
.blog-article li {
  font-size: 16px;
  line-height: 1.85;
}

.blog-article p {
  margin: 0 0 20px;
}

.blog-article a:not(.article-cta__button) {
  color: var(--blog-accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 25px;
  padding-left: 23px;
}

.blog-article li + li {
  margin-top: 8px;
}

.article-intro-note {
  margin: 0 0 48px;
  padding: 24px 28px;
  border-left: 3px solid var(--blog-accent);
  background: #eee6de;
  color: #544742;
  font-size: 15px;
  line-height: 1.75;
}

.article-table-wrapper {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--blog-line);
}

.blog-article table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.blog-article caption {
  padding: 15px 18px;
  background: #eee6de;
  color: #4d403b;
  font-size: 12px;
  text-align: left;
}

.blog-article th,
.blog-article td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--blog-line);
  color: #625753;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.blog-article thead th {
  background: var(--blog-brown);
  color: #fff;
  font-weight: 600;
}

.blog-article tbody th {
  color: var(--blog-ink);
  font-weight: 600;
}

.article-ideas {
  display: grid;
  gap: 18px;
  padding: 0 !important;
  list-style: none;
}

.article-ideas > li {
  padding: 22px 25px;
  border: 1px solid var(--blog-line);
  background: rgba(255, 255, 255, 0.58);
}

.article-ideas h3 {
  margin-top: 0;
}

.article-faq {
  padding-top: 52px !important;
  border-top: 1px solid var(--blog-line);
}

.article-faq details {
  border-bottom: 1px solid var(--blog-line);
}

.article-faq summary {
  position: relative;
  padding: 20px 48px 20px 0;
  color: var(--blog-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--blog-accent-dark);
  content: "+";
  font-size: 24px;
  font-weight: 300;
}

.article-faq details[open] summary::after {
  content: "−";
}

.article-faq details p {
  padding: 0 44px 19px 0;
  font-size: 14px;
  line-height: 1.75;
}

.article-cta {
  position: relative;
  margin-top: 65px;
  padding: 42px;
  overflow: hidden;
  background: var(--blog-brown);
  color: rgba(255, 255, 255, 0.74);
}

.article-cta::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.article-cta__eyebrow {
  color: #d7a37f;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 33px;
}

.article-cta p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  font-size: 14px;
  line-height: 1.7;
}

.article-cta__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 23px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--blog-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cta__button:hover,
.article-cta__button:focus-visible {
  background: transparent;
  color: #fff;
}

.article-related {
  padding: 92px 0 105px;
  background: #eae3dc;
}

.article-related .blog-section-heading {
  margin-bottom: 38px;
}

.article-related .blog-card__title {
  font-size: 21px;
}

/* Footer */
.blog-footer {
  padding: 75px 0 58px;
  background: #271d1b;
  color: rgba(255, 255, 255, 0.62);
}

.blog-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 70px;
}

.blog-footer__logo {
  width: 190px;
  margin-bottom: 21px;
}

.blog-footer p,
.blog-footer li,
.blog-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.8;
}

.blog-footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-footer a:hover,
.blog-footer a:focus-visible {
  color: #fff;
}

.blog-footer__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 25px;
}

.blog-footer__bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.blog-back-top {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--blog-brown);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.blog-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .blog-header__nav {
    gap: 22px;
  }

  .blog-hub-hero__grid,
  .article-hero__grid {
    gap: 50px;
  }

  .blog-card-grid {
    gap: 22px;
  }

  .blog-card__body {
    padding: 25px 24px;
  }
}

@media (max-width: 991px) {
  .blog-container {
    width: min(100% - 48px, 720px);
  }

  .blog-header__inner {
    min-height: 78px;
  }

  .blog-header__nav,
  .blog-header__contact {
    display: none;
  }

  .blog-header__menu {
    display: inline-flex;
    margin-left: auto;
  }

  .blog-hub-hero,
  .article-hero {
    padding: 135px 0 72px;
  }

  .blog-hub-hero__grid,
  .article-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    min-height: 400px;
  }

  .blog-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

  .article-hero__image {
    aspect-ratio: 16 / 9;
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
    padding-top: 68px;
  }

  .article-toc__inner {
    position: static;
  }

  .article-toc ol {
    grid-template-columns: 1fr 1fr;
  }

  .article-share {
    width: auto;
  }

  .blog-contact-strip__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .blog-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .blog-container {
    width: calc(100% - 38px);
  }

  .blog-header__logo {
    width: 160px;
  }

  .blog-hub-hero h1,
  .article-hero h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .blog-hub-hero__intro,
  .article-hero__lead {
    font-size: 14px;
  }

  .blog-featured {
    min-height: 350px;
  }

  .blog-featured__content {
    padding: 25px;
  }

  .blog-hub-grid,
  .article-related {
    padding: 72px 0 78px;
  }

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

  .blog-card__title {
    font-size: 22px;
  }

  .blog-contact-strip {
    padding: 60px 0;
  }

  .article-layout {
    gap: 45px;
    padding-top: 55px;
    padding-bottom: 75px;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .blog-article > section + section {
    margin-top: 46px;
  }

  .blog-article h2 {
    font-size: 31px;
  }

  .blog-article h3 {
    font-size: 19px;
  }

  .blog-article p,
  .blog-article li {
    font-size: 15px;
    line-height: 1.78;
  }

  .article-cta {
    padding: 32px 25px;
  }

  .article-cta h2 {
    font-size: 29px;
  }

  .blog-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .blog-footer__brand {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .blog-hub-hero,
  .article-hero {
    padding-top: 120px;
  }

  .blog-featured {
    min-height: 330px;
  }

  .blog-section-heading h2 {
    font-size: 37px;
  }

  .blog-card__body {
    padding: 23px 21px;
  }

  .article-hero__meta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .blog-site *,
  .blog-site *::before,
  .blog-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
