:root {
  --bg: #000000;
  --surface: #101010;
  --surface-2: #202020;
  --accent: #6F2822;
  --accent-light: #96372E;
  --text: #f5f5f5;
  --muted: #b0b0b0;
  --border: #333333;
  --radius: 18px;
  --shadow:
    0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 2rem auto;
}

/* HERO */

.hero {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 48px;
  width: auto;
}

.brand-text h1 {
  font-family: 'Michroma';
  font-size: 2.25rem;
  font-weight: 300;
  text-transform: uppercase;
  margin: -8px 0 0 0;
}

.brand-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin: -10px 0 0 0;
}

.hero-title {
  text-align: right;
}





/* TOP NAV */

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.top-nav a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition: 0.2s ease;
}

.top-nav a:hover {
  color: white;
}

/* LAYOUT */

.layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* SIDEBAR */

.sidebar {
  display: flex;
}

.sidebar-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 2rem;
  flex: 1;
}

.sidebar-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.sidebar-nav a {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  transition: 0.2s ease;
}

.sidebar-nav a:hover {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}

/* CONTENT */

.content-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  min-height: 520px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
}

/* BACKGROUND */

.content-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: brightness(1.05) contrast(1.05);
  transform: scale(1.03);
  z-index: 0;
}

/* OVERLAY */

.content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 1.0) 0%,
      rgba(255, 255, 255, 0.45) 75%,
      rgba(255, 255, 255, 0.0) 100%);
  z-index: 1;
  backdrop-filter: blur(2px);
}

/* FOREGROUND */

.intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.intro-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.subtitle {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #555;
}

.intro-copy p {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #333;
}

/* PAGE SECTIONS */

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/* SECTION BUTTON GRID (FLEX FLOW VERSION) */

.section-button-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.section-button-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 160px;
  min-height: 50px;
  padding: 0.7rem 1.05rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #000000;
  border-radius: 0;
  color: #000000;
  font-family: 'Oswald', sans-serif;
  font-size: 0.67rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.section-button-grid a:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 3rem 1rem;
  color: #888;
  font-size: 0.9rem;
  font-family: 'OswaldExtraLight';
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin-top: 2rem;
  color: #666;
}

/* GENERAL DESCRIPTIVE CONTENT STYLES */
.description-section {
  margin:20px 0 15px 0;
}

.description-example-section {
  margin-top:14px;
}

.description-list {
  margin: 0 0 0 20px;
}

.description-minor {
  font-family: Georgia, serif;
  color: #333333;
  font-size: 0.9rem;
  line-height: 1.2rem;
}

.description-major {
  font-size: 1.05rem;
  line-height: 1.4rem;
}

/* VIDEO  */

.video-wrapper {
  width: 100%;
  margin: 2rem 0 1rem 0;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* Responsive 16:9 behavior */
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Caption */
.video-caption {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-top: 0.75rem;
}

/* Optional: tighten spacing in intro when video is present */
.intro-copy .video-wrapper+p {
  margin-top: 1rem;
}

/* MOBILE TUNING */
@media (max-width: 700px) {
  .video-wrapper {
    margin: 1.25rem 0 0.75rem 0;
  }

  .video-caption {
    font-size: 0.85rem;
  }
}

.audio-wrapper {
  width: 100%;
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

/* Makes the native controls scale cleanly */
.audio-wrapper audio {
  width: 100%;
  max-width: 700px;
  height: 42px;
  border-radius: 8px;
  outline: none;
}



/* Mobile tightening */
@media (max-width: 700px) {
  .audio-wrapper {
    margin: 1rem 0;
  }

  .audio-wrapper audio {
    max-width: 100%;
  }
}

.hm {display: none; margin-top:0px;}

/* RESPONSIVE */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    padding: 0.5rem 1.5rem;
  }

  .sidebar-card h2 {
    margin-bottom: 0;
  }

  .sidebar-nav a {
    padding: 0 0 0 10px;
    border-radius: 0;
  }


  .section-button-grid a {
    flex-basis: 130px;
    min-height: 45px;
    padding: 0.6rem 0.7rem;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }
}

@media (max-width: 700px) {
  .hm {display: flex; margin-top:20px;}
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    text-align: left;
  }

  .logo {
    height: 24px;
  }

  .brand-text h1 {
    font-size: 1.25rem;
  }

  .brand-text p {
    font-size: 0.5rem;
  }

  .top-nav {
    display: none;
  }

  .content-card {
    padding: 2rem;
  }

  .layout {
    gap: 1rem;
  }

  .section-button-grid {
    gap: 0.45rem;
  }

  .section-button-grid a {
    flex-basis: 45%;
    min-height: 39px;
    padding: 0.5rem 0.7rem;
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 500px) {
  .hm {display: flex; margin-top:0px;}

  .hero {
    border-radius: 18px 18px 0 0;
  }

  .brand {
    display: none;
  }

  .sidebar-card {
    border-radius: 0 0 18px 18px;
  }

  .section-button-grid {
    gap: 0.35rem;
  }

  .section-button-grid a {
    flex-basis: 100%;
    min-height: 35px;
    padding: 0.45rem 0.6rem;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }

  .layout {
  margin-top: 0;
}
}