/* ================================
   CSS CUSTOM PROPERTIES
================================ */

:root {
  /* Colors */
  --color-primary: #7A1E2C;
  --color-primary-text: #7A1E2C;   /* ← add this line */
  --color-primary-light: #A49E96;
  --color-background: #0F0F0F;
  --color-background-dark: #000000;
  --color-text: #D6C4AC;
  --color-text-muted: #A49E96;
  --color-indigo: #3A3E7B;
  --color-surface: #141414;
  --color-surface-dark: #050505;
  --color-menu-bg: #0C0C0C;

  /* Typography */
  --font-primary: 'Literata', serif;
  --font-heading: 'Cormorant Garamond', serif;

  /* Spacing */
  --spacing-xxs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Layout */
  --max-width: 1200px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 6px 18px rgba(122, 30, 44, 0.32);

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ================================
   RESET & BASE
================================ */

html,
body {
  max-width: 100%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-primary);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
}

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

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

a:hover {
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 var(--spacing-sm);
  line-height: 1.8;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--spacing-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  text-wrap: balance;
}

p, .hero__tagline, .featured__deck, .section__subtitle, .body-text, li {
  text-wrap: pretty;
}

/* Heading hierarchy */

h1 {
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: 0;
}

h4 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

/* Global interaction motion */

a,
button,
.audio-toggle {
  transition:
    transform var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal);
}

a:hover,
a:focus,
button:hover,
button:focus,
.audio-toggle:hover,
.audio-toggle:focus {
  transform: translateY(-2px);
}

/* Visually hidden utility */
.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;
}

/* ================================
   HERO VIDEO
================================ */

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.55);
}

/* ================================
   LAYOUT
================================ */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #1A1A1A 0, var(--color-surface-dark) 55%);
  color: var(--color-text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

main {
  flex: 1;
}

/* ================================
   HEADER & NAVIGATION
================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-background);
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid rgba(122, 30, 44, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* [logo+brand] | [nav] */
.container.header__content {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 2rem;
}

.header__logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
  max-width: 300px;
  min-width: 0;
}

.header__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(122, 30, 44, 0.4);
}

.header__brand-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-primary-text);
  text-shadow: 0 0 .4px rgba(255, 255, 255, .4);
            
  white-space: nowrap;
  line-height: 1.8;
  text-align: left;
  position: relative;
  transition: color var(--transition-normal);
}

.header__brand-name:hover,
.header__brand-name:focus {
  color: var(--color-text);
}

.header__brand-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-text);
  transition: width var(--transition-normal);
}

.header__brand-name:hover::after,
.header__brand-name:focus::after {
  width: 100%;
}

/* Nav */
.nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.nav__link {
  color: var(--color-text);
  font-size: 1rem;
  position: relative;
  text-decoration: none;
  transition: color var(--transition-normal);
  padding: var(--spacing-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-primary);
  outline: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}

.nav__link.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

/* Desktop default: hide toggle / mobile menu */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ================================
   HERO SECTION
================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  color: var(--color-text);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-sm);
  isolation: isolate;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-primary-text);
  text-shadow: 0 0 .4px rgba(255, 240, 230, 0.4);
            
  letter-spacing: -0.02em;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

/* Indigo accent for span text in title and subtag */
.hero__title span,
.hero__subtag span {
  color: var(--color-indigo);
}

.hero__tagline {
  color: var(--color-text-muted);
  max-width: 820px;
  letter-spacing: -0.02em;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  margin-left: auto;
  margin-right: auto;
  white-space: pre-line;
}

.hero__subtag {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-primary);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 2.2em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal hero variant */
.hero.hero--legal {
  background: var(--color-background);
  min-height: auto;
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  text-align: left;
}

/* ================================
   BUTTON
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  padding: 0.8em 2.3em;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: var(--color-background);
  font: 1rem var(--font-primary);
  letter-spacing: -0.02em;
  font-weight: 400;
  box-shadow: 0 0 6px rgba(58, 62, 123, 0.45);
  transition:
    background var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    outline-color var(--transition-normal);
  cursor: pointer;
  width: auto;
  max-width: fit-content;
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.btn:hover,
.btn:focus {
  background: var(--color-primary);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn--secondary {
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.btn--secondary:hover,
.btn--secondary:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(214, 196, 172, 0.25);
}

.btn.btn--primary {
  box-shadow: 0 4px 12px rgba(122, 30, 44, 0.35);
}

.btn.btn--primary:hover,
.btn.btn--primary:focus {
  box-shadow: 0 6px 18px rgba(122, 30, 44, 0.5);
}

/* ================================
   FEATURED SECTION
================================ */

.featured {
  margin-top: var(--spacing-xl);
  position: relative;
  z-index: 10;
  text-align: center;
  background: radial-gradient(
    circle at bottom,
    rgba(26, 26, 26, 0.05) 0%,
    rgba(5, 5, 5, 0.25) 55%
  );
  backdrop-filter: blur(4px);
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-xxl);
}

.featured__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--color-primary-text);
  text-shadow: 0 0 .4px rgba(255, 240, 230, 0.4);
            
  margin-top: 2rem;
  margin-bottom: var(--spacing-xs);
}

.featured__deck {
  color: var(--color-text-muted);
  max-width: 780px;
  margin: 0 auto var(--spacing-md);
  letter-spacing: -0.02em;
  line-height: 1.8;
}

/* ================================
   MEDIA GRID / CARDS
================================ */

.media-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--spacing-md);
  max-width: 100%;
}

.media-card {
  background: linear-gradient(to bottom right, var(--color-surface), var(--color-surface-dark));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-background);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

.media-card.is-primary {
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(214, 196, 172, 0.12);
}

.media-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.media-item {
  background: linear-gradient(to bottom right, var(--color-surface), var(--color-surface-dark));
  border-radius: 14px;
  border: 1px solid rgba(214, 196, 172, 0.12);
  padding: var(--spacing-md);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(214, 196, 172, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.media-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0;
  color: var(--color-primary-text);
  text-shadow: 0 0 .4px rgba(255, 240, 230, 0.4);
             
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-sm);
}

.media-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
  letter-spacing: 0;
  padding: var(--spacing-sm);
}

.ratio-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.ratio-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-md);
}


/* YouTube facade thumbnails */
.ratio-embed .yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  border-radius: var(--radius-md);
}

/* Optional: subtle dark overlay for readability */
.ratio-embed .yt-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.08)
  );
}

.ratio-embed .yt-facade__play {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 48px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.ratio-embed .yt-facade__play svg {
  width: 68px;
  height: 48px;
  display: block;
}


.audio-preview {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-top: var(--spacing-md);
}

.audio-preview .tier-price {
  text-align: center;
  margin-bottom: 0.75rem;
}

.audio-preview .audio-toggle {
  display: inline-block;
}

.audio-toggle {
  background: none;
  border: 1px solid rgba(214, 196, 172, 0.4);
  color: var(--color-text-muted);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.audio-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.audio-toggle.is-playing {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ================================
   GENERIC SECTION STYLES
================================ */

.section {
  padding: var(--spacing-md) var(--spacing-sm);
  background: radial-gradient(circle at top, var(--color-primary) 0, var(--color-surface-dark) 55%);
}

/* section2 kept for backwards compatibility — prefer .section--bottom in new markup */
.section2,
.section--bottom {
  padding: var(--spacing-xl) var(--spacing-sm);
  background: radial-gradient(circle at bottom, var(--color-primary) 0, var(--color-surface-dark) 55%);
}

.section--dark {
  background: radial-gradient(circle at top, #090909 0, #000 55%);
  box-shadow: inset 0 0 60px rgba(122, 30, 44, 0.08);
  text-align: center;
}

.section--alt {
  background: linear-gradient(to bottom, #080808, var(--color-background) 50%, var(--color-surface-dark) 100%);
  position: relative;
  overflow: hidden;
}

.section--reading {
  padding-top: var(--spacing-xxl);
  padding-bottom: var(--spacing-xxl);
  max-width: 46rem;
  margin-inline: auto;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section.section--alt .section__inner {
  position: relative;
  z-index: 1;
}

.section.section--dark .section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header {
  margin-bottom: var(--spacing-lg);
  max-width: 40rem;
}

.section__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  opacity: 0.7;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: 0;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.section__title span {
  color: var(--color-primary);
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
  letter-spacing: -0.02em;
  padding-top: var(--spacing-lg);
}

.section__subtitle2 {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Marketa hero: video container */
.section--dark .video-container {
  display: flex;
  justify-content: center;
}

.section--dark .media-image {
  max-width: 100%;
  height: auto;
}

/* Section divider */
.section-divider-wrapper {
  position: relative;
  z-index: 50;
  padding: 1.25rem 0;
  background: none;
}

.section-divider {
  width: min(640px, 80vw);
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(214, 196, 172, 0.9),
    transparent
  );
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

/* Shared headings */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--color-primary-text);
  text-shadow: 0 0 .4px rgba(255, 240, 230, 0.4);
             
  margin-bottom: var(--spacing-md);
}

.heading-xl__accent {
  color: var(--color-indigo);
}

.subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
}

/* Body text */
.body-text {
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.section__subtitle span,
.body-text span {
  opacity: 0.75;
  font-size: 1em;
}

/* ================================
   FOOTER
================================ */

footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(214, 196, 172, 0.25);
  background: var(--color-background-dark);
  padding: 0.75rem 0;
  text-align: center;
  margin-top: var(--spacing-sm);
}

.footer__content {
  flex-direction: column;
  text-align: center;
  gap: var(--spacing-md);
}

.social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: filter var(--transition-normal);
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs);
  border-radius: var(--radius-full);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  position: relative;
}

.social a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.social a:hover::after,
.social a:focus::after {
  width: 80%;
}

.social a:hover img,
.social a:focus img {
  filter: brightness(1.2) saturate(1.2);
  transform: translateY(-2px);
}

.copy {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-align: center;
}



.foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs);
  border-radius: var(--radius-full);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  position: relative;
}

.foot a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.foot a:hover::after,
.foot a:focus::after {
  width: 80%;
}

.foot a:hover img,
.foot a:focus img {
  filter: brightness(1.2) saturate(1.2);
  transform: translateY(-2px);
}










/* ================================
   FORMS
================================ */

.form__field {
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
}

.form__field label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form__field input,
.form__field textarea {
  width: 100%;
  max-width: 500px;
  padding: 0.75rem;
  border: 1px solid var(--color-text-muted);
  border-radius: 0 24px 24px 24px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 1rem;
  box-sizing: border-box;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.8;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(122, 30, 44, 0.12);
  box-shadow: 0 0 12px rgba(122, 30, 44, 0.4);
}

.field-required {
  color: var(--color-primary);
  font-size: 0.85em;
}

/* ================================
   TIER CARDS
================================ */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.tier-card {
  background: linear-gradient(to bottom right, var(--color-surface), var(--color-surface-dark));
  border: 1px solid rgba(214, 196, 172, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border-color: rgba(214, 196, 172, 0.25);
}

.tier-card--highlight {
  border-color: rgba(122, 30, 44, 0.3);
  box-shadow: 0 4px 20px rgba(122, 30, 44, 0.2);
}

.tier-card--highlight:hover {
  border-color: rgba(122, 30, 44, 0.5);
  box-shadow: 0 8px 28px rgba(122, 30, 44, 0.35);
}

.tier-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.tier-price {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.tier-price strong {
  font-size: 1.3em;
  display: block;
  margin-bottom: 0.2rem;
  text-align: center;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.tier-card li {
  margin-bottom: var(--spacing-sm);
  padding-left: 1.5rem;
  position: relative;
}

.tier-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  opacity: 0.6;
}

/* ================================
   PILL LIST
================================ */

.pill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm) var(--spacing-md);
  max-width: 500px;
  margin: var(--spacing-md) auto;
  list-style: none;
  padding: 0;
}

.pill-list li {
  background: rgba(122, 30, 44, 0.15);
  border: 1px solid rgba(122, 30, 44, 0.3);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
  transition:
    background var(--transition-normal),
    border-color var(--transition-normal),
    transform var(--transition-normal);
}

.pill-list li:hover {
  background: rgba(122, 30, 44, 0.25);
  border-color: rgba(122, 30, 44, 0.5);
  transform: translateY(-2px);
}

/* ================================
   LOYALTY TAB
================================ */

.loyalty-tab-row {
  display: flex;
  justify-content: center;
  margin: var(--spacing-md) auto;
  max-width: 500px;
}

.loyalty-tab {
  flex: 1 0 100%;
  background: rgba(122, 30, 44, 0.15);
  border: 1px solid rgba(122, 30, 44, 0.3);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ================================
   DETAILS / ACCORDION
================================ */

.details {
  border: 1px solid rgba(214, 196, 172, 0.15);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  background: rgba(122, 30, 44, 0.05);
}

.details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

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

.details summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  color: var(--color-primary);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.details[open] summary::after {
  transform: rotate(180deg);
}

/* ================================
   SUBSCRIPTION
================================ */

.subscription-section {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.subscription-section .media-container {
  margin-bottom: var(--spacing-md);
}

.subscription-section .media-item {
  background: linear-gradient(to bottom right, var(--color-surface), var(--color-surface-dark));
  border: 1px solid rgba(214, 196, 172, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
}

.subscription-tagline {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: var(--spacing-sm) 0 var(--spacing-md);
  text-align: center;
}

.substack-newsletter-widget {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.substack-embed {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  box-sizing: border-box;
}

/* ================================
   BUNDLE VIDEO
================================ */

.bundle-video {
  max-width: 544px;
  margin: 0 auto;
}

.bundle-video__media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ================================
   COOKIE CONSENT
================================ */

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
}

.cookie-consent__panel {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  width: min(92vw, 760px);
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(214, 196, 172, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem;
  pointer-events: auto;
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1), opacity 2s ease;
  opacity: 0;
}

.cookie-consent.is-visible .cookie-consent__panel {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-consent__text {
  margin: 0 0 0.9rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: var(--color-text);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ================================
   LEGAL PAGE
================================ */

.hero.hero--legal .hero__content,
.legal-content {
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
  align-items: stretch;
  text-align: left;
}

.legal-section {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.legal-section h2,
.legal-section h3,
.legal-section p,
.legal-section ul,
.legal-section ol {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.legal-section ul,
.legal-section ol {
  list-style: disc;
  padding-left: 1.5rem;
}

.legal-section p,
.legal-section li {
  overflow-wrap: break-word;
  word-break: normal;
}

.hero.hero--legal .hero__title,
.hero.hero--legal .hero__tagline,
.hero.hero--legal .hero__subtag,
.hero.hero--legal .legal-last-updated {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ================================
   ANIMATIONS
================================ */

.fade-in {
  opacity: 1;
  transform: translateY(42px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.1s; }
.fade-delay-4 { transition-delay: 0.3s; }

/* Utility */
.br-mobile { display: none; }

/* ================================
   MEDIA QUERIES
================================ */

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

  .media-container {
    grid-template-columns: 1fr;
  }

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





/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 0.25rem 0;
  }








  .header__logo-container {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header__brand-name {
    font-size: 1.3rem;
    text-align: center;
    white-space: normal;        /* CHANGE: was nowrap */
    overflow-wrap: anywhere;    /* ADD */
    line-height: 1.3;       
    
  }


.pill-list {
    grid-template-columns: 1fr;
  }


.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}


  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text);
  }

  .desktop-nav-links {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-menu-bg);
    z-index: 2000;
    transform: translateX(-100%);
    opacity: 1;
    pointer-events: none;
    transition:
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-menu a {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
  .mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
  .mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
  .mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
  .mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }

  .form__field {
    padding: 0 var(--spacing-sm);
  }

  .form__field input,
  .form__field textarea {
    max-width: 100%;
  }

  .br-mobile { display: block; }

  .cookie-consent__panel {
    padding: 1.1rem 1.2rem 1.2rem;
  }

  .cookie-consent__actions {
    justify-content: flex-end;
  }
}

/* Small mobile */
@media (max-width: 600px) {
  .hero__video {
    height: 100vh;
    transform: translate(-50%, -50%);
    filter: brightness(0.6);
  }

  .hero {
    min-height: 70vh;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
  }
}

/* Extra small */
@media (max-width: 480px) {
  .hero {
    min-height: 75vh;
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .section,
  .section2,
  .section--bottom {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .btn-row {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .cookie-consent__panel {
    bottom: 0.75rem;
    width: min(94vw, 760px);
    padding: 0.9rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__actions .btn {
    width: 100%;
    max-width: none;
  }
}

/* Hover-capable devices */
@media (hover: hover) {
  .media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  }
}

/* Large screens */
@media (min-width: 768px) {
  .cookie-consent__panel {
    padding: 1.1rem 1.2rem 1.2rem;
  }

  .cookie-consent__actions {
    justify-content: flex-end;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .fade-in,
  .fade-in.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
