:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #f8f6f0;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #c9a96e !important;
  outline-offset: 3px;
}

.eb-form-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font: 11px/1.45 Inter, sans-serif;
}

.eb-form-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

.eb-form-consent a {
  color: #e2c98f;
}

.eb-form-status {
  min-height: 1.5rem;
  color: #fff;
  font: 600 12px/1.4 Inter, sans-serif;
}

.semantic-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  background: #f8f6f0;
  color: #24211d;
  font: 18px/1.75 "Cormorant Garamond", Georgia, serif;
}

.semantic-content h1,
.semantic-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
}

.semantic-content h1 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(2.7rem, 8vw, 6rem);
}

.semantic-content h2 {
  margin: 0.3rem 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.semantic-content article {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(36, 33, 29, 0.2);
}

.semantic-content .eyebrow {
  color: #8b0000;
  font: 700 0.72rem/1.3 Inter, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.semantic-content .lead {
  font-size: 1.35em;
  font-style: italic;
}

.semantic-content blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid #c9a96e;
  font: italic 1.6em/1.35 "Playfair Display", Georgia, serif;
}

.semantic-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.8rem;
  margin: 3rem 0;
}

.semantic-toc a,
.semantic-cta a {
  color: #5d170f;
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.semantic-cta {
  padding: clamp(2rem, 6vw, 4rem);
  background: #17130f;
  color: #fff;
}

.semantic-cta a {
  display: inline-block;
  margin: 0.5rem 1rem 0.5rem 0;
  padding: 0.8rem 1rem;
  background: #c9a96e;
  color: #111;
  text-decoration: none;
}

@media (max-width: 600px) {
  .eb-language-switcher {
    top: max(0.65rem, env(safe-area-inset-top)) !important;
    left: 0.7rem !important;
  }

  .eb-sound-control {
    top: max(0.65rem, env(safe-area-inset-top)) !important;
    right: 0.7rem !important;
  }

  .eb-collector-badge {
    top: 3.15rem !important;
    left: 0.7rem !important;
  }

  .eb-page-nav {
    bottom: max(1rem, env(safe-area-inset-bottom)) !important;
    z-index: 100 !important;
  }

  .eb-page-dots {
    right: 0.45rem !important;
  }

  .semantic-content {
    font-size: 17px;
  }

  [data-loc="client/src/pages/Home.tsx:761"] {
    align-items: flex-start !important;
    padding: 5rem 1.5rem 6.5rem !important;
  }

  [data-loc="client/src/pages/Home.tsx:762"] {
    display: block !important;
    max-width: none !important;
  }

  [data-loc="client/src/pages/Home.tsx:764"] {
    display: none !important;
  }

  [data-loc="client/src/pages/Home.tsx:780"] {
    width: 100% !important;
    max-width: none !important;
  }

  [data-loc="client/src/pages/Home.tsx:786"] {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
