:root {
  --bs-bg: #F6F1E8;
  --bs-surface: #FFF9F1;
  --bs-surface-soft: #F0E4D4;
  --bs-line: #D8C8B3;
  --bs-ink: #2B2118;
  --bs-muted: #7B6554;
  --bs-accent: #B6492D;
  --bs-accent-deep: #8F371F;
  --bs-gold: #C89A4B;
  --bs-gold-soft: #E8D7B9;
  --bs-shadow: 0 28px 60px rgba(80, 45, 25, 0.12);
  --bs-radius-xl: 32px;
  --bs-radius-lg: 24px;
  --bs-radius-md: 18px;
  --bs-radius-sm: 12px;
  --bs-shell: 1200px;
  --bs-reading: 800px;
  --bs-space-xl: 4rem;
  --bs-space-lg: 2rem;
  --bs-space-md: 1.5rem;
  --bs-space-fixed: 44px;
}

html {
  background: var(--bs-bg);
}

body.bs-body {
  margin: 0;
  min-height: 100vh;
  color: var(--bs-ink);
  background:
    radial-gradient(circle at top left, rgba(200, 154, 75, 0.18), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(182, 73, 45, 0.12), transparent 18%),
    linear-gradient(180deg, #FCF7EF 0%, #F6F1E8 42%, #F1E6D7 100%);
  font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
}

body.bs-body,
body.bs-body .title,
body.bs-body .content {
  color: var(--bs-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.bs-heading,
.bs-brand__title,
.bs-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--bs-ink);
  letter-spacing: -0.03em;
}

a {
  color: var(--bs-accent);
}

a:hover,
a:focus {
  color: var(--bs-accent-deep);
}

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

.is-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bs-aura {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
}

.bs-aura--one {
  top: -80px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: rgba(200, 154, 75, 0.28);
}

.bs-aura--two {
  right: -120px;
  bottom: 60px;
  width: 280px;
  height: 280px;
  background: rgba(182, 73, 45, 0.18);
}

.bs-header,
.bs-main,
.bs-footer {
  position: relative;
  z-index: 1;
}

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

.bs-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 1rem;
}

.bs-header__utility,
.bs-header__masthead,
.bs-panel,
.bs-link-card,
.bs-card,
.bs-footer,
.bs-hero__visual {
  border: 1px solid rgba(216, 200, 179, 0.92);
  box-shadow: var(--bs-shadow);
}

.bs-header__utility,
.bs-header__masthead {
  background: rgba(255, 249, 241, 0.9);
  backdrop-filter: blur(16px);
}

.bs-header__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: 22px 22px 0 0;
  border-bottom: 0;
}

.bs-header__utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bs-header__utility-links a,
.bs-header__domain {
  color: var(--bs-muted);
}

.bs-header__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 1.35rem 1.3rem;
  border-radius: 0 0 26px 26px;
}

.bs-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.bs-brand__eyebrow,
.bs-panel__eyebrow,
.bs-footer__eyebrow,
.bs-hero__eyebrow {
  margin-bottom: 0.35rem;
  color: var(--bs-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bs-brand__title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.bs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.bs-nav__link {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--bs-ink);
  background: transparent;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.bs-nav__link:hover,
.bs-nav__link:focus,
.bs-nav__link.is-active {
  background: rgba(182, 73, 45, 0.1);
  color: var(--bs-accent);
  transform: translateY(-1px);
}

.bs-main {
  padding-bottom: 5rem;
}

.bs-hero--home {
  padding-top: 2rem;
}

.bs-hero__eyebrow {
  display: inline-block;
}

.bs-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(3.5rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.bs-hero__lead {
  max-width: 26rem;
  color: var(--bs-muted);
  font-size: 1.15rem;
}

.bs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.bs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bs-accent), var(--bs-accent-deep));
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-button:hover,
.bs-button:focus {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(182, 73, 45, 0.24);
}

.bs-button--ghost {
  background: transparent;
  color: var(--bs-accent);
  border: 1px solid rgba(182, 73, 45, 0.3);
  box-shadow: none;
}

.bs-button--ghost:hover,
.bs-button--ghost:focus {
  color: var(--bs-accent);
}

.bs-button--full {
  width: 100%;
}

.bs-hero__visual {
  overflow: hidden;
  border-radius: var(--bs-radius-xl);
  background: var(--bs-surface);
}

.bs-hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bs-section {
  padding-top: var(--bs-space-xl);
}

.bs-panel {
  margin-bottom: var(--bs-space-lg);
  padding: var(--bs-space-lg);
  border-radius: var(--bs-radius-xl);
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.98), rgba(246, 237, 225, 0.92));
}

.bs-panel--feature {
  padding: var(--bs-space-fixed);
}

.bs-panel--sidebar {
  padding: 1.4rem;
  border-radius: var(--bs-radius-lg);
}

.bs-panel--accent {
  background: linear-gradient(180deg, rgba(200, 154, 75, 0.2), rgba(255, 249, 241, 0.95));
}

.bs-panel--image {
  padding: 0;
  overflow: hidden;
}

.bs-panel__intro {
  margin-bottom: 1.5rem;
}

.bs-panel__media,
.bs-editorial-grid__image,
.bs-image-callout__image {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.bs-panel__media {
  aspect-ratio: 3 / 4;
}

.bs-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bs-space-lg);
  margin-bottom: var(--bs-space-lg);
}

.bs-editorial-grid__image {
  aspect-ratio: 4 / 5;
}

.bs-editorial-grid__copy,
.bs-image-callout__body {
  padding: 1.5rem 1.75rem 1.9rem;
}

.bs-heading--1,
.bs-panel--article h1,
.bs-panel--content h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.bs-heading--2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.bs-heading--3,
.bs-card h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.bs-lead,
.bs-copy,
.bs-richtext p,
.bs-card p {
  color: var(--bs-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.bs-richtext {
  max-width: var(--bs-reading);
}

.bs-richtext h2,
.bs-richtext h3,
.bs-richtext h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.bs-figure {
  margin: 1.5rem 0;
}

.bs-figure img {
  border-radius: 18px;
}

.bs-figure figcaption {
  margin-top: 0.6rem;
  color: var(--bs-muted);
  font-size: 0.9rem;
}

.bs-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(216, 200, 179, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.bs-table {
  margin-bottom: 0;
  background: transparent;
}

.bs-table th {
  color: var(--bs-accent);
  border-color: rgba(216, 200, 179, 0.8);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bs-table td {
  vertical-align: top;
  color: var(--bs-ink);
  border-color: rgba(216, 200, 179, 0.6);
}

.bs-inline-image img {
  max-width: 100px;
  border-radius: 10px;
}

.bs-inline-stack {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.3rem;
}

.bs-list {
  margin: 1.2rem 0 1.4rem 1.1rem;
  color: var(--bs-muted);
}

.bs-list li {
  margin-bottom: 0.45rem;
}

.bs-quote {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--bs-gold);
  background: rgba(200, 154, 75, 0.12);
  color: var(--bs-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.4;
}

.bs-code {
  padding: 1rem 1.2rem;
  overflow-x: auto;
  border-radius: 16px;
  background: #F0E4D4;
  color: var(--bs-ink);
}

.bs-separator {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(216, 200, 179, 0.92);
}

.bs-fallback {
  color: var(--bs-muted);
}

.bs-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--bs-ink);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.bs-link-card:hover,
.bs-link-card:focus {
  color: var(--bs-accent);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
}

.bs-link-card--compact {
  padding: 1rem 1.05rem;
}

.bs-link-card__arrow {
  color: var(--bs-gold);
  font-weight: 700;
}

.bs-sidebar {
  position: sticky;
  top: 8rem;
}

.bs-search {
  display: grid;
  gap: 0.8rem;
}

.bs-search input,
.bs-search button {
  width: 100%;
  border-radius: 999px;
  font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
}

.bs-search input {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(216, 200, 179, 0.92);
  background: rgba(255, 255, 255, 0.9);
  color: var(--bs-ink);
}

.bs-search input:focus {
  outline: none;
  border-color: var(--bs-gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 75, 0.16);
}

.bs-search button {
  padding: 0.85rem 1rem;
  border: 0;
  background: var(--bs-accent);
  color: #FFFFFF;
  font-weight: 700;
}

.bs-sidebar__stack,
.bs-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bs-sidebar__item,
.bs-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(182, 73, 45, 0.08);
  color: var(--bs-ink);
  text-decoration: none;
}

.bs-sidebar__item:hover,
.bs-sidebar__item:focus,
.bs-tag:hover,
.bs-tag:focus {
  background: rgba(182, 73, 45, 0.14);
  color: var(--bs-accent);
}

.bs-sidebar__list {
  margin: 0;
  padding-left: 1rem;
}

.bs-sidebar__list li {
  margin-bottom: 0.55rem;
}

.bs-sidebar__meta {
  margin-bottom: 1rem;
  color: var(--bs-muted);
}

.bs-breadcrumbs {
  padding-top: 2rem;
}

.bs-breadcrumbs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--bs-muted);
  font-size: 0.9rem;
}

.bs-breadcrumbs__current {
  color: var(--bs-ink);
}

.bs-article__header {
  margin-bottom: 2rem;
}

.bs-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--bs-muted);
  font-size: 0.95rem;
}

.bs-article__hero {
  margin: 0 0 2rem;
}

.bs-article__hero img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bs-panel--toc {
  padding: 1.4rem;
  border-radius: 22px;
}

.bs-toc {
  margin: 0;
  padding-left: 1rem;
}

.bs-toc__item {
  margin-bottom: 0.55rem;
}

.bs-toc__item--3,
.bs-toc__item--4 {
  margin-left: 0.8rem;
}

.bs-card {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.bs-card__media img,
.bs-card--horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-card__body,
.bs-card--minimal,
.bs-card--horizontal .column:last-child {
  padding: 1.35rem;
}

.bs-inline-link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.bs-footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, #2B2118, #1C140F);
}

.bs-footer,
.bs-footer a,
.bs-footer__brand,
.bs-footer__note,
.bs-footer__eyebrow {
  color: #F6F1E8;
}

.bs-footer__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.bs-footer__note {
  color: rgba(246, 241, 232, 0.72);
}

.bs-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-footer__list li {
  margin-bottom: 0.55rem;
}

@media (max-width: 1023px) {
  .bs-header__masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .bs-nav {
    justify-content: flex-start;
  }

  .bs-sidebar {
    position: static;
  }

  .bs-editorial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bs-shell {
    width: min(calc(100% - 1.25rem), var(--bs-shell));
  }

  .bs-header {
    padding-top: 0.6rem;
  }

  .bs-header__utility,
  .bs-header__masthead,
  .bs-panel,
  .bs-panel--feature {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .bs-hero__title {
    font-size: 3.2rem;
  }

  .bs-footer {
    border-radius: 24px 24px 0 0;
  }
}
