:root {
  --rw-bg: #131313;
  --rw-deep: #020202;
  --rw-surface: #1f2020;
  --rw-surface-high: #353535;
  --rw-teal: #688282;
  --rw-teal-soft: #96abab;
  --rw-text: #f7f3ea;
  --rw-muted: #a8a8a8;
  --rw-line: rgba(150, 171, 171, 0.22);
  --rw-warm: #c9c6be;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--rw-bg);
  color: var(--rw-text);
  font-family: "Quattrocento Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--rw-teal-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--rw-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.footer-brand {
  font-family: "Ubuntu", Arial, sans-serif;
  letter-spacing: 0;
}

img,
iframe,
audio {
  max-width: 100%;
}

.site-header {
  background: rgba(19, 19, 19, 0.96);
  border-bottom: 1px solid var(--rw-line);
}

.site-navbar.bg-white {
  background: rgba(19, 19, 19, 0.94) !important;
}

.site-nav-container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}

.navbar-brand {
  color: var(--rw-text);
  font-size: 1rem;
  font-weight: 700;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--rw-teal-soft);
}

.navbar-toggler {
  border-color: var(--rw-line);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

.navbar-nav .nav-link {
  color: var(--rw-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--rw-teal-soft);
}

.dropdown-menu {
  background: var(--rw-surface);
  border: 1px solid var(--rw-line);
  border-radius: 8px;
}

.dropdown-item {
  color: var(--rw-text);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(104, 130, 130, 0.25);
  color: var(--rw-text);
}

.audio-strip {
  background: linear-gradient(90deg, rgba(104, 130, 130, 0.32), rgba(53, 53, 53, 0.72));
  border-top: 1px solid rgba(150, 171, 171, 0.18);
}

.audio-strip-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.audio-copy {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 260px;
}

.audio-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(2, 2, 2, 0.42);
  color: var(--rw-teal-soft);
}

.audio-kicker,
.eyebrow {
  margin: 0;
  color: var(--rw-teal-soft);
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.audio-title {
  margin: 2px 0 0;
  color: var(--rw-text);
  font-size: 0.92rem;
}

.site-audio {
  width: min(520px, 100%);
  height: 38px;
}

.home-hero,
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--rw-deep);
}

.page-hero.compact {
  min-height: 300px;
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--rw-line);
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 2, 2, 0.3), rgba(19, 19, 19, 0.94));
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.home-hero h1,
.page-hero h1 {
  color: var(--rw-text);
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  font-weight: 500;
  line-height: 1.13;
  margin: 0.6rem auto 1rem;
  max-width: 920px;
}

.page-hero h1 {
  margin-left: 0;
  margin-right: 0;
}

.lead {
  color: var(--rw-warm);
  font-size: 1.08rem;
}

.home-statement,
.content-section,
.article-shell,
.thin-section {
  background: var(--rw-bg);
}

.portrait-panel,
.site-figure,
.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rw-line);
  border-radius: 8px;
  background: var(--rw-surface);
}

.portrait-panel {
  aspect-ratio: 1;
}

.portrait-panel img,
.gallery-item img,
.site-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-panel img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.share-panel,
.thin-panel,
.article-toc,
.content-card,
.feature-card {
  border: 1px solid var(--rw-line);
  border-radius: 8px;
  background: var(--rw-surface);
}

.share-panel {
  margin-top: 24px;
  padding: 18px;
}

.share-panel p {
  margin: 0 0 8px;
  color: var(--rw-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.share-panel a + a {
  margin-left: 16px;
}

.site-prose {
  color: var(--rw-muted);
}

.site-prose h1,
.site-prose h2,
.site-prose h3 {
  color: var(--rw-text);
  margin-top: 1.8em;
}

.site-prose p {
  margin-bottom: 1.15rem;
}

.statement-article {
  border-left: 3px solid var(--rw-teal);
  padding-left: clamp(22px, 4vw, 42px);
}

.home-card-band,
.site-footer {
  background: var(--rw-deep) !important;
}

.feature-card,
.content-card {
  min-height: 220px;
  color: var(--rw-text);
}

.feature-card .card-body,
.content-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: transparent;
}

.feature-card h2,
.content-card h2,
.content-card h3 {
  font-size: 1.2rem;
}

.feature-card p,
.content-card p {
  color: var(--rw-muted);
}

.feature-icon {
  color: var(--rw-teal-soft);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.breadcrumb-wrap .breadcrumb {
  background: rgba(247, 243, 234, 0.08) !important;
  border: 1px solid var(--rw-line);
}

.breadcrumb-item,
.breadcrumb-item.active {
  color: var(--rw-muted);
}

.breadcrumb-item a {
  color: var(--rw-teal-soft);
}

.media-embed-stack {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.site-embed {
  overflow: hidden;
  border: 1px solid var(--rw-line);
  border-radius: 8px;
  background: var(--rw-surface-high);
}

.gallery-grid {
  margin-top: 24px;
}

.gallery-item {
  height: 100%;
}

.gallery-item img {
  aspect-ratio: 1;
  height: 100%;
  object-fit: cover;
}

.table {
  --bs-table-bg: var(--rw-surface);
  --bs-table-color: var(--rw-text);
  --bs-table-border-color: var(--rw-line);
}

.article-dates,
.footer-note,
.footer-links,
.footer-heading {
  color: var(--rw-muted);
}

.article-main-image {
  max-width: min(33%, 320px);
  border-radius: 8px;
  border: 1px solid var(--rw-line);
}

.article-toc {
  padding: 16px;
}

.article-toc ul,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li + li,
.footer-links li + li {
  margin-top: 8px;
}

.toc-sticky {
  top: 150px;
}

.footer-brand {
  margin: 0 0 10px;
  color: var(--rw-text);
  font-size: 1.15rem;
}

.footer-heading {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--rw-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--rw-teal-soft);
}

.thin-panel {
  padding: 28px;
}

.btn-outline-light {
  border-color: var(--rw-teal-soft);
  color: var(--rw-text);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: var(--rw-teal);
  border-color: var(--rw-teal);
}

@media (max-width: 767.98px) {
  .audio-strip-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .site-audio {
    width: 100%;
  }

  .statement-article {
    border-left: 0;
    padding-left: 0;
  }

  .article-main-image {
    max-width: 100%;
    float: none !important;
    margin-left: 0 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .audio-strip,
  .share-panel,
  .article-toc {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
