/* =========================================================
   JMG 2025 Static Migration
   Preservation-first static stylesheet from the source Joomla template.
========================================================= */

:root {
  --hero-top-pad: 8rem;
  --hero-gap: 5rem;
  --shell-max: 1100px;
  --gold: #e2af00;
  --gold-hover: #ffd84d;
  --panel: rgba(0, 0, 0, 0.85);
  --panel-dark: rgba(0, 0, 0, 0.78);
  --panel-interior: rgba(0, 0, 0, 0.5);
}

body {
  background: #000;
  color: #fff;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.site-bg {
  background: url("../images/hero/theater.jpg") center center / cover no-repeat fixed;
}

.interior {
  background: var(--panel);
  padding: 2rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(226, 175, 0, 0.55);
  outline-offset: 3px;
}

.skip-link {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: 1rem;
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 2000;
}

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

.section-title {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  background: var(--panel);
}

.hero.hero--with-header {
  position: relative;
  min-height: 100vh;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: var(--hero-top-pad);
  padding-bottom: 3rem;
}

.hero.interior-hero {
  min-height: 100vh;
  justify-content: flex-start;
}

.hero-header-wrap {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(1140px, 94vw);
  text-align: center;
}

.header-graphic {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  margin-top: var(--hero-gap);
  text-align: center;
}

.hero-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mute-btn-wrap {
  margin-top: 1rem;
  text-align: center;
}

.mute-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mute-btn:hover {
  background: rgba(30, 74, 215, 0.8);
  transform: scale(1.05);
}

.quotes-section {
  background: transparent;
}

.quotes-stage {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.5rem) 1.25rem;
  border-radius: 0.85rem;
  overflow: hidden;
  min-height: 380px;
}

.quote-line {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 1.5rem;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.quote-line.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.quotes-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  position: relative;
  z-index: 3;
}

.btn-quotes {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 2rem;
  padding: 0.45rem 0.95rem;
}

.btn-quotes:hover {
  background: rgba(226, 175, 0, 0.18);
  border-color: rgba(226, 175, 0, 0.55);
  color: #fff;
}

.quotes-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  z-index: 3;
}

.quotes-hint i {
  margin-right: 0.35rem;
}

.quotes-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.quotes-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: rgba(226, 175, 0, 0.9);
}

.story-section {
  background: rgba(0, 0, 0, 0.18);
}

.story-kicker {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.story-text p,
.about-text,
.shop-content p,
.interior-content p,
.blog-item p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.bio-media {
  float: right;
  width: min(320px, 42%);
  margin: 0 0 1rem 1.5rem;
  text-align: center;
}

.bio-photo {
  width: 100%;
  border-radius: 0.45rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.bio-signature {
  width: min(280px, 100%);
  margin-top: 1rem;
  opacity: 0.9;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.6));
}

.hope-section {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hope-facts {
  max-width: 780px;
  margin: 0 auto;
}

.hope-fact {
  margin: 1.25rem auto;
}

.hope-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}

.hope-value {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.hope-figure {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.6rem;
  padding: 1.25rem;
  height: 100%;
}

.hope-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 0.35rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

.hope-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.book-section {
  background: #04070d;
  padding: 4rem 0;
}

.book-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
}

.book-cover {
  max-width: 240px;
  width: 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.book-title {
  font-size: clamp(1.7rem, 2.6vw, 2rem);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.book-text {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.btn-jmg {
  background-color: #0a1633;
  color: #fff;
  border: none;
  padding: 0.9rem 2.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-jmg:hover {
  background-color: #1e4ad7;
  color: #fff;
  transform: translateY(-2px);
}

.shop-section {
  background: rgba(0, 0, 0, 0.72);
  padding: 4rem 0;
}

.shop-content {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.35rem;
  padding: 2rem;
}

.shop-content h2,
.shop-content h3,
.shop-content h4 {
  margin-bottom: 1rem;
}

.shop-table {
  width: 100%;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.86);
}

.shop-table td {
  vertical-align: top;
  padding: 0.5rem 0.75rem;
}

.shop-table img,
.shop-feature-img {
  max-width: 100%;
  height: auto;
}

.fragrance-table td:first-child {
  width: 2rem;
}

.shop-highlight {
  color: #ffff00;
  background-color: #000;
}

.shop-product-callout {
  font-size: 14pt;
}

.shop-float-img {
  width: 240px;
  max-width: 45%;
  height: auto;
  float: right;
  margin-left: 5px;
  margin-right: 5px;
}

.about-section {
  background: #000;
  padding: 4rem 0;
}

.about-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

.about-photo {
  max-width: 230px;
  border-radius: 0.35rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.about-link {
  display: inline-block;
  margin-top: 1.1rem;
  border-bottom: 1px solid rgba(226, 175, 0, 0.4);
}

.main-section {
  background: #000;
  padding: 4rem 0;
}

.main-section article,
.main-section .item-page,
.main-section .com-content-blog__item,
.blog-item {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 0.35rem;
  padding: 1.75rem;
  margin: 2rem 0;
}

.blog-item img,
#main-content img,
.main-section img,
.interior-content img {
  max-width: 100% !important;
  height: auto !important;
}

.avPlayerWrapper {
  width: 75%;
  max-width: none;
  margin: 0 auto;
}

.news-media-link {
  display: block;
  width: 75%;
  margin: 0 auto;
}

.news-media-frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.news-media-frame img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.news-media-caption {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

.avPlayerBlock {
  aspect-ratio: 4 / 3;
}

.avPlayerBlock iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

.page-header h1,
.page-header h2,
.page-header h3 {
  margin-bottom: 1.25rem;
}

.legacy-float-left {
  float: left;
  margin-left: 5px;
  margin-right: 1.35rem;
  margin-bottom: 0.85rem;
}

.legacy-float-right {
  width: 136px;
  height: 177px;
  float: right;
  margin-left: 5px;
  margin-right: 5px;
}

.footer-section {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.85);
}

.footer-center {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
  :root {
    --hero-top-pad: 6.5rem;
    --hero-gap: 3.8rem;
  }

  .hope-img {
    height: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-top-pad: 5.2rem;
    --hero-gap: 2.8rem;
  }

  .hero.hero--with-header {
    min-height: auto;
  }

  .book-card {
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .book-cover {
    margin: 0 auto 1.25rem;
    max-width: 180px;
  }

  .about-section {
    text-align: center;
  }

  .about-photo {
    margin: 0 auto 1.5rem;
    max-width: 200px;
  }

  .quotes-stage {
    min-height: 320px;
  }

  .quote-line {
    padding: 0 1rem;
  }

  .bio-media {
    float: none;
    width: 100%;
    margin: 0 0 1.25rem 0;
  }

  .shop-content {
    padding: 1.25rem;
  }

  .avPlayerWrapper {
    width: 100%;
  }

  .news-media-link {
    width: 100%;
  }

  .shop-float-img,
  .legacy-float-left,
  .legacy-float-right {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 auto 1rem;
  }
}

@media (max-width: 576px) {
  .hope-img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .quotes-stage {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .quote-line,
  .book-card,
  .mute-btn,
  .btn-jmg {
    transition: none !important;
  }
}
