:root {
  --brv-red: #e31b23;
  --brv-charcoal: #1a1a1a;
  --brv-text: #212121;
  --brv-soft: #f8f9fa;
  --brv-white: #ffffff;
  --brv-border: rgba(26, 26, 26, 0.12);
  --brv-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --brv-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --brv-radius: 1.1rem;
  --brv-radius-sm: 0.7rem;
}

html {
  background: var(--brv-white);
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", sans-serif;
}

body.brv-body {
  margin: 0;
  color: var(--brv-text);
  background:
    radial-gradient(circle at top right, rgba(227, 27, 35, 0.08), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
  min-height: 100vh;
}

a {
  color: var(--brv-red);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #9f1117;
}

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

.is-max-desktop-widescreen {
  max-width: 1220px;
}

.brv-page-shell {
  min-height: 100vh;
}

.brv-main {
  padding-top: 6rem;
}

.brv-section {
  padding: 4.75rem 1.5rem;
}

.brv-section--hero {
  padding-top: 2rem;
}

.brv-section--soft {
  background: var(--brv-soft);
}

.brv-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 1.1rem 0;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

html.is-scrolled .brv-header {
  padding: 0.5rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.brv-navbar {
  display: block;
  background: transparent;
}

.brv-navbar .navbar-brand,
.brv-navbar-menu,
.brv-navbar-links {
  width: 100%;
}

.brv-navbar .navbar-brand {
  justify-content: center;
}

.brv-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-left: 0;
}

.brv-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 3.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--brv-charcoal);
  color: var(--brv-white);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.brv-brand__mark--footer {
  background: var(--brv-red);
}

.brv-brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brv-brand__meta strong {
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  color: var(--brv-charcoal);
}

.brv-brand__meta small {
  color: rgba(33, 33, 33, 0.6);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brv-navbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  max-width: 100%;
}

.brv-navbar-link,
.brv-navbar-dropdown__item {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brv-charcoal);
}

.brv-navbar-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.7rem;
  height: 2px;
  background: var(--brv-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.brv-navbar-link:hover::after,
.brv-navbar-link.is-current::after {
  transform: scaleX(1);
}

.brv-navbar-dropdown {
  border-top: 2px solid var(--brv-red);
}

.brv-breadcrumbs {
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 1.5rem;
}

.brv-breadcrumbs a {
  color: rgba(33, 33, 33, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brv-breadcrumbs li.is-active a {
  color: var(--brv-charcoal);
}

.brv-home-hero {
  padding-top: 3rem;
}

.brv-home-hero__copy {
  position: relative;
  padding: 4rem 0 2rem;
}

.brv-home-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -2rem;
  width: 10rem;
  background: linear-gradient(180deg, rgba(227, 27, 35, 0.16), transparent);
  border-radius: var(--brv-radius);
  transform: skewX(-12deg);
}

.brv-home-hero__title,
.brv-page-title,
.brv-content-article__header h1,
.brv-category-shell__header h1 {
  position: relative;
  margin: 0;
  color: var(--brv-charcoal);
  font-size: clamp(2.2rem, 6vw, 5.35rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.brv-page-title,
.brv-content-article__header h1,
.brv-category-shell__header h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  text-transform: none;
  line-height: 1;
}

.brv-home-hero__lead,
.brv-page-intro {
  max-width: 48rem;
  margin-top: 1.4rem;
  font-size: 1.03rem;
  line-height: 1.8;
  color: rgba(33, 33, 33, 0.78);
}

.brv-home-hero__visual {
  position: relative;
  min-height: 25rem;
  border-radius: calc(var(--brv-radius) + 0.35rem);
  overflow: hidden;
  box-shadow: var(--brv-shadow);
  background:
    linear-gradient(145deg, rgba(26, 26, 26, 0.2), rgba(26, 26, 26, 0)),
    linear-gradient(180deg, rgba(227, 27, 35, 0.15), rgba(255, 255, 255, 0));
}

.brv-home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4)),
    url("/assets/images/homepage-original.png") center/cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.brv-home-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brv-eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--brv-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brv-surface {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--brv-border);
  border-radius: var(--brv-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--brv-shadow-soft);
}

.brv-stream-shell__media,
.brv-featured-figure,
.brv-figure,
.brv-news-card__media {
  overflow: hidden;
  border-radius: calc(var(--brv-radius-sm) + 0.15rem);
  background: var(--brv-soft);
}

.brv-stream-shell__media {
  margin-bottom: 1.6rem;
}

.brv-news-card {
  height: 100%;
  border-radius: var(--brv-radius);
  overflow: hidden;
  background: var(--brv-white);
  box-shadow: var(--brv-shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brv-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brv-shadow);
}

.brv-news-card__media {
  display: block;
  aspect-ratio: 16 / 10;
}

.brv-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brv-news-card__body {
  padding: 1.4rem;
}

.brv-news-card__eyebrow {
  margin-bottom: 0.7rem;
  color: var(--brv-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brv-news-card__title,
.brv-category-card__title,
.brv-mini-card__title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--brv-charcoal);
}

.brv-news-card__title a,
.brv-category-card__title a,
.brv-mini-card__title a {
  color: inherit;
}

.brv-rich-flow > * + * {
  margin-top: 1.25rem;
}

.brv-copy,
.brv-category-card__body .brv-copy {
  margin: 0;
  color: rgba(33, 33, 33, 0.82);
  font-size: 1rem;
  line-height: 1.78;
}

.brv-content-heading {
  margin: 2rem 0 0.75rem;
  color: var(--brv-charcoal);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brv-content-heading--1 {
  font-size: 2.4rem;
}

.brv-content-heading--2 {
  font-size: 1.8rem;
}

.brv-content-heading--3,
.brv-content-heading--4 {
  font-size: 1.3rem;
}

.brv-list {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(33, 33, 33, 0.88);
}

.brv-list li + li {
  margin-top: 0.5rem;
}

.brv-list a {
  color: var(--brv-charcoal);
  text-decoration: underline;
  text-decoration-color: rgba(227, 27, 35, 0.45);
  text-underline-offset: 0.18rem;
}

.brv-table-wrap {
  border-radius: var(--brv-radius-sm);
  border: 1px solid var(--brv-border);
}

.brv-table thead th {
  color: var(--brv-charcoal);
  border-color: var(--brv-border);
}

.brv-table td,
.brv-table th {
  vertical-align: top;
}

.brv-quote {
  margin: 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--brv-red);
  background: rgba(227, 27, 35, 0.05);
  font-size: 1.06rem;
  line-height: 1.7;
}

.brv-code {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--brv-radius-sm);
  background: #111;
  color: #f7f7f7;
  overflow: auto;
}

.brv-gallery__figure img,
.brv-figure img,
.brv-stream-shell__media img,
.brv-featured-figure img {
  width: 100%;
  height: auto;
}

.brv-figure figcaption,
.brv-gallery__figure figcaption {
  padding: 0.7rem 0.2rem 0;
  font-size: 0.86rem;
  color: rgba(33, 33, 33, 0.66);
}

.brv-mini-card {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--brv-red);
  background: var(--brv-soft);
  border-radius: 0 0.8rem 0.8rem 0;
}

.brv-mini-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(33, 33, 33, 0.58);
}

.brv-rule {
  margin: 1.7rem 0;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(227, 27, 35, 0.75), rgba(26, 26, 26, 0));
}

.brv-link-panel {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--brv-border);
}

.brv-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.brv-link-cloud__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.05);
  color: var(--brv-charcoal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brv-link-cloud__item:hover {
  transform: translateY(-1px);
  background: rgba(227, 27, 35, 0.1);
}

.brv-embed--rich-html .genesis-preserved-html > * + * {
  margin-top: 1rem;
}

.brv-embed--rich-html .genesis-preserved-html p,
.brv-embed--rich-html .genesis-preserved-html li,
.brv-embed--rich-html .genesis-preserved-html td,
.brv-embed--rich-html .genesis-preserved-html th {
  color: rgba(33, 33, 33, 0.84);
  font-size: 1rem;
  line-height: 1.72;
}

.brv-embed--rich-html .genesis-preserved-html h2,
.brv-embed--rich-html .genesis-preserved-html h3,
.brv-embed--rich-html .genesis-preserved-html h4,
.brv-embed--rich-html .genesis-preserved-html h5,
.brv-embed--rich-html .genesis-preserved-html h6 {
  margin: 1.5rem 0 0.65rem;
  color: var(--brv-charcoal);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brv-embed--rich-html .genesis-preserved-html ul,
.brv-embed--rich-html .genesis-preserved-html ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.brv-embed--rich-html .genesis-preserved-html li + li {
  margin-top: 0.35rem;
}

.brv-embed--rich-html .genesis-preserved-html a {
  color: var(--brv-charcoal);
  text-decoration: underline;
  text-decoration-color: rgba(227, 27, 35, 0.4);
  text-underline-offset: 0.16rem;
}

.brv-embed--rich-html .genesis-preserved-html table {
  width: 100%;
  border-collapse: collapse;
}

.brv-embed--rich-html .genesis-preserved-html img {
  max-width: 100%;
  border-radius: calc(var(--brv-radius-sm) + 0.1rem);
}

.brv-embed--rich-html .genesis-preserved-html.sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.brv-embed--rich-html .genesis-preserved-html .jmapcolumn {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--brv-border);
  border-radius: var(--brv-radius-sm);
  background: var(--brv-soft);
}

.brv-embed--rich-html .genesis-preserved-html .jmap_filetree,
.brv-embed--rich-html .genesis-preserved-html .jmap_filetree ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.brv-embed--rich-html .genesis-preserved-html .jmap_filetree ul {
  margin-top: 0.65rem;
  padding-left: 1rem;
  border-left: 1px solid var(--brv-border);
}

.brv-embed--rich-html .genesis-preserved-html .jmap_filetree li + li {
  margin-top: 0.45rem;
}

.brv-embed--rich-html .genesis-preserved-html .folder {
  display: block;
  color: var(--brv-charcoal);
  font-weight: 750;
}

.brv-embed--rich-html .genesis-preserved-html .jmapcolumn > .jmap_filetree > li > .folder {
  margin-bottom: 0.8rem;
  color: var(--brv-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brv-embed--rich-html .genesis-preserved-html .folder + ul {
  margin-top: 0.5rem;
}

.brv-sidebar-shell {
  position: sticky;
  top: 6.9rem;
}

.brv-sidebar {
  max-height: calc(100vh - 8rem);
  padding: 1.2rem;
  border-radius: var(--brv-radius);
  border: 1px solid var(--brv-border);
  background: var(--brv-charcoal);
  overflow: auto;
  box-shadow: var(--brv-shadow-soft);
}

.brv-archive-list {
  display: grid;
  gap: 0.55rem;
}

.brv-sidebar__list .brv-archive-list__item,
.brv-footer__archive .brv-archive-list__item {
  padding: 0.55rem 0.7rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
}

.brv-sidebar__list .brv-archive-list__item:hover,
.brv-footer__archive .brv-archive-list__item:hover {
  background: rgba(227, 27, 35, 0.18);
}

.brv-sidebar__list .brv-archive-list__label,
.brv-footer__archive .brv-archive-list__label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  line-height: 1.35;
}

.brv-content-toc {
  padding: 1.2rem 1.3rem;
}

.brv-content-toc ul {
  margin: 0;
  padding-left: 1rem;
}

.brv-content-toc li + li {
  margin-top: 0.45rem;
}

.brv-content-toc li.is-sub {
  margin-left: 0.8rem;
}

.brv-content-toc a {
  color: var(--brv-charcoal);
  font-size: 0.92rem;
  line-height: 1.5;
}

.brv-sticky-shell {
  position: sticky;
  top: 7rem;
}

.brv-featured-figure--float {
  float: right;
  width: min(32%, 18rem);
  margin: 0 0 1rem 1.5rem;
}

.brv-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(33, 33, 33, 0.64);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brv-category-shell__header {
  margin-bottom: 2rem;
}

.brv-category-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--brv-radius-sm);
  border: 1px solid var(--brv-border);
  background: var(--brv-white);
  box-shadow: var(--brv-shadow-soft);
}

.brv-category-card__image,
.brv-category-card--horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brv-category-card__body {
  padding: 1.2rem;
}

.brv-category-card__link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brv-category-card--minimal {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--brv-red);
}

.brv-category-card--horizontal .brv-category-card__body {
  padding: 1rem 1rem 1rem 1.1rem;
}

.brv-thin-shell {
  max-width: 42rem;
  margin: 0 auto;
}

.brv-footer {
  position: relative;
  margin-top: 4rem;
  padding: 4.75rem 1.5rem 2rem;
  background: var(--brv-charcoal);
  color: rgba(255, 255, 255, 0.86);
}

.brv-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    url("/assets/images/screen.png") center/cover no-repeat;
  opacity: 0.07;
  mix-blend-mode: screen;
  pointer-events: none;
}

.brv-footer > .container {
  position: relative;
  z-index: 1;
}

.brv-footer__top {
  align-items: flex-start;
}

.brv-footer__domain {
  margin: 1rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.brv-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.brv-footer__group {
  display: grid;
  gap: 0.85rem;
}

.brv-footer__link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brv-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brv-footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 1023px) {
  .brv-main {
    padding-top: 5.4rem;
  }

  .brv-navbar-menu {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--brv-shadow);
  }

  .brv-sidebar-shell,
  .brv-sticky-shell {
    position: static;
  }

  .brv-sidebar {
    max-height: none;
  }

  .brv-featured-figure--float {
    float: none;
    width: 100%;
    margin: 0 0 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .brv-section {
    padding: 3.4rem 1rem;
  }

  .brv-home-hero__copy {
    padding-top: 2rem;
  }

  .brv-home-hero__copy::before {
    width: 6rem;
    left: -1rem;
  }

  .brv-home-hero__visual {
    min-height: 18rem;
  }

  .brv-surface {
    padding: 1.35rem;
  }

  .brv-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brv-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .brv-header,
  .brv-footer,
  .brv-sidebar-shell,
  .brv-link-panel,
  .brv-content-toc {
    display: none !important;
  }

  .brv-main {
    padding-top: 0;
  }

  .brv-surface {
    box-shadow: none;
    border: 0;
    padding: 0;
  }
}
