/* ============================================
   DORIKHAN — Luxury Editorial CSS
   Style: VOGUE / ELLE / COSMOPOLITAN
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-black:    #0a0a0a;
  --color-dark:     #111111;
  --color-charcoal: #1e1e1e;
  --color-white:    #fafaf8;
  --color-cream:    #f5f0ea;
  --color-sand:     #e8ddd0;
  --color-gold:     #c9a96e;
  --color-gold-lt:  #e0c898;
  --color-muted:    #888880;
  --color-divider:  rgba(201,169,110,0.3);

  --font-serif:     'Cormorant Garamond', 'Georgia', serif;
  --font-display:   'Playfair Display', 'Georgia', serif;
  --font-sans:      'Montserrat', 'Helvetica Neue', sans-serif;

  --max-w:          1280px;
  --section-pad:    120px;
  --section-pad-m:  64px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ---- CONTACT DIALOG ---- */
.contact-dialog {
  --contact-accent: #8a6b3d;
  margin: auto;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  padding: 0;
  overflow: visible;
  border: 1px solid var(--color-divider);
  background: var(--color-cream);
  color: var(--color-dark);
  box-shadow: 0 32px 100px rgba(0,0,0,0.4);
  text-align: center;
}
.contact-dialog[open] { animation: contactEnter 0.3s ease-out; }
.contact-dialog__paper {
  padding: 58px 48px 30px;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
}
.contact-dialog__paperclip {
  position: absolute;
  left: 46px;
  top: -20px;
  width: 34px;
  height: 78px;
  transform: rotate(-12deg);
  filter: drop-shadow(2px 3px 2px rgba(62,43,17,0.22));
  pointer-events: none;
}
.contact-dialog::backdrop {
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--contact-accent);
  font: 300 30px var(--font-serif);
  cursor: pointer;
}
.contact-dialog__eyebrow {
  color: var(--contact-accent);
  font-size: 9px;
  letter-spacing: 0.3em;
  margin-bottom: 22px;
}
.contact-dialog__title {
  font: 300 clamp(44px, 8vw, 60px)/1.03 var(--font-serif);
}
.contact-dialog__title em { color: var(--contact-accent); font-weight: 300; }
.contact-dialog__description {
  margin: 22px 0 32px;
  color: #6e675e;
  font: 300 18px/1.5 var(--font-serif);
}
.contact-dialog__options { border-top: 1px solid var(--color-divider); }
.contact-option {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--color-divider);
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.contact-option:hover { background: rgba(201,169,110,0.08); color: var(--contact-accent); }
.contact-option__name { flex: 1; font: 400 30px/1.2 var(--font-serif); }
.contact-option__arrow {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: var(--contact-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-dialog :focus-visible { outline: 2px solid var(--contact-accent); outline-offset: 3px; }
.contact-dialog .contact-dialog__close:focus-visible {
  outline: none;
  color: var(--color-dark);
  text-shadow: 0 0 6px rgba(138,107,61,0.45);
}
.contact-dialog__signature {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #6e675e;
  white-space: nowrap;
}
.contact-dialog__brand { font: 400 12px/1 var(--font-serif); letter-spacing: 0; color: inherit; }
.contact-dialog__signature > span { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
@supports (text-box-trim: trim-both) {
  .contact-dialog__signature { align-items: flex-end; }
  .contact-dialog__signature > .contact-dialog__dot { align-self: center; }
}
.contact-dialog__dot { color: var(--contact-accent); }
@keyframes contactEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .contact-dialog__paper { padding: 48px 24px 26px; }
  .contact-option { padding: 19px 6px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] { animation: none; }
  .contact-option { transition: none; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

.btn--outline {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  background: transparent;
}
.btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn--dark:hover {
  background: var(--color-charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn--outline-dark {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}
.btn--outline-dark:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
  height: 98px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,169,110,0.15);
}

.nav__logo {
  font: 600 32px/1 var(--font-serif);
  letter-spacing: -1.5px;
  color: #fff;
  flex-shrink: 0;
}
.nav__logo span {
  display: block;
  font: 400 10px/1.6 'Manrope', Arial, sans-serif;
  letter-spacing: 2.6px;
  text-align: center;
  margin-top: 7px;
}
@media (max-width: 650px) {
  .nav__logo { font-size: 27px; }
  .nav__logo span { font-size: 8px; letter-spacing: 2px; margin-top: 4px; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}

section[hidden], .nav__links li[hidden], .hero__actions a[hidden] {
  display: none !important;
}

@media (min-width: 769px) {
  .nav__logo { position: absolute; left: 64px; }
  .nav__links { width: 100%; justify-content: center; }
  .nav__links li:last-child { position: absolute; right: 4.5%; }
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: #fff;
}
.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: var(--color-gold-lt);
  border: 1px solid rgba(201,169,110,0.5);
  padding: 8px 20px;
}
.nav__link--cta:hover {
  color: var(--color-gold-lt);
  border-color: var(--color-gold);
  background: rgba(201,169,110,0.08);
}
.nav__link--cta::after { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 64px 80px;
  max-width: 900px;
  animation: fadeUp 1.2s 0.4s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 36px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(110px, 15.2vw, 245px);
  font-weight: 400;
  line-height: 0.76;
  color: #fff;
  letter-spacing: -0.065em;
  margin-bottom: 20px;
}
.hero__title span {
  display: block;
  padding-left: 8vw;
  font-style: italic;
}
@media (max-width: 650px) {
  .hero__title {
    font-size: 27vw;
    line-height: 0.8;
    letter-spacing: -0.06em;
  }
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  right: 48px;
  bottom: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  from { top: -100%; }
  to   { top: 200%; }
}

.hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ============================================
   CHAPTER HEADERS
   ============================================ */
.chapter-header {
  padding: 100px 64px;
  text-align: center;
  background: var(--color-white);
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.chapter-header--dark {
  background: var(--color-dark);
  border-color: rgba(255,255,255,0.08);
}

.chapter-header--cream {
  background: var(--color-cream);
}

.chapter-header__inner {
  max-width: 720px;
  margin: 0 auto;
}

.chapter-header__label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 32px;
}

.chapter-header--dark .chapter-header__label {
  color: var(--color-gold-lt);
}

.chapter-header__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: 28px;
}

.chapter-header--dark .chapter-header__title {
  color: var(--color-white);
}

.chapter-header__desc {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.6;
}

.chapter-header--dark .chapter-header__desc {
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PRODUCT SECTIONS
   ============================================ */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  overflow: hidden;
}

.product--right .product__media {
  order: 2;
}
.product--right .product__content {
  order: 1;
}

.product__media {
  position: relative;
  overflow: hidden;
  background: var(--color-sand);
}

.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product__media:hover .product__img {
  transform: scale(1.04);
}

#course-1001-nights .product__media--video {
  height: auto;
  min-height: 0;
  aspect-ratio: 1080 / 1450;
  background: var(--color-dark);
}
.product__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.product__video-toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(10,10,10,0.25);
  cursor: pointer;
}
.product__video-toggle[hidden] { display: none; }
.product__video-toggle:hover { background: rgba(10,10,10,0.5); }
.product__video-toggle:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }
.product__video-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.product__video-toggle .video-icon--pause,
.product__video-toggle.is-playing .video-icon--play { display: none; }
.product__video-toggle.is-playing .video-icon--pause { display: block; }

.product__content {
  padding: 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
}

.product__category {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.product__status {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  max-width: calc(100% - 48px);
  padding: 12px 16px;
  margin: 0;
  border-left: 2px solid var(--color-gold);
  background: rgba(20, 19, 17, 0.68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #f6f1e7;
  pointer-events: none;
}

.product__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.product__artist {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 28px;
}

.product__divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin-bottom: 20px;
}

.product__level {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.product__details {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

#course-beautiful-liar .product__details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#course-1001-nights .product__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product__details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product__detail-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1;
}

.product__detail-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.product__includes {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

#course-1001-nights .product__includes { margin-bottom: 4px; }
.product__style {
  margin-bottom: 32px;
  font: italic 400 18px/1.6 var(--font-serif);
  color: var(--color-muted);
}

.product__pricing {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.product__pricing--single {
  align-items: center;
}

.product__pricing--tiers { flex-direction: column; gap: 24px; }
.product__price-item--feedback { border-top: 1px solid var(--color-sand); padding-top: 24px; }
.product__price-description {
  max-width: 32ch;
  margin: 6px 0 10px;
  font: italic 400 18px/1.45 var(--font-serif);
  color: var(--color-muted);
}

.product__price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product__price-item--featured .product__price-amount {
  font-size: 40px;
}

.product__price-period {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.product__price-amount {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

/* ============================================
   OFFLINE PRODUCT
   ============================================ */
.offline-product__hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}

.offline-product__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.offline-product__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.6) 60%,
    rgba(0,0,0,0.8) 100%
  );
}

.offline-product__hero-content {
  position: absolute;
  bottom: 64px;
  left: 64px;
  right: 64px;
}

.offline-product__eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-gold-lt);
  margin-bottom: 16px;
}

.offline-product__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
}

.offline-product__address {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.55);
}

.offline-product__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-dark);
}

.offline-product__info {
  padding: 72px 64px;
  color: var(--color-white);
}

.offline-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 48px;
}

.offline-info-card {
  padding: 28px 24px;
  background: var(--color-dark);
  text-align: center;
}

.offline-info-card__label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.offline-info-card__value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.offline-info-card__sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}

.offline-schedule {
  margin-bottom: 40px;
}

.offline-schedule__block {
  padding: 16px 0;
}

.offline-schedule__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 6px;
}

.offline-schedule__time {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-gold-lt);
}

.offline-schedule__note {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.offline-schedule__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}

.offline-includes {
  margin-bottom: 40px;
}

.offline-includes__title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.offline-includes__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offline-includes__list li {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding-left: 20px;
  position: relative;
}

.offline-includes__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 12px;
}

/* OFFLINE GALLERY */
.offline-gallery {
  padding: 72px 48px;
  background: var(--color-charcoal);
}

.offline-gallery__title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.offline-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.offline-gallery__item {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.offline-gallery__item:hover {
  opacity: 0.85;
}

.offline-gallery__large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 0;
}

.offline-gallery__large-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.offline-gallery__large-img:hover {
  opacity: 0.85;
}

/* ============================================
   PRIVATE PRODUCT
   ============================================ */
.private-product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 800px;
  background: var(--color-cream);
}

.private-product__media {
  position: relative;
  overflow: hidden;
}

.private-product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s ease;
}

.private-product:hover .private-product__img {
  transform: scale(1.03);
}

.private-product__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0) 70%, rgba(245,240,234,0.3) 100%);
}

.private-product__content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-cream);
}


.private-product__category {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.private-product__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 28px;
}

.private-product__divider {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin-bottom: 32px;
}

.private-product__format {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-sand);
  border: 1px solid var(--color-sand);
  margin-bottom: 36px;
}

.private-format-item {
  padding: 20px 16px;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.private-format-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1;
}

.private-format-label {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.private-product__for-whom-title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.private-product__intro {
  font: italic 400 20px/1.55 var(--font-serif);
  color: var(--color-muted);
  margin-bottom: 32px;
}

.private-session-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0 0 40px;
}
.private-session-facts > div {
  border-top: 1px solid var(--color-sand);
  padding-top: 16px;
}
.private-session-facts dt {
  font: 400 28px/1.2 var(--font-serif);
  color: var(--color-dark);
  margin-bottom: 8px;
}
.private-session-facts dd {
  margin: 0;
  font: 400 11px/1.6 var(--font-sans);
  color: var(--color-muted);
}
.private-session-program {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.private-session-program li {
  position: relative;
  padding: 10px 0 10px 18px;
  font: 400 19px/1.5 var(--font-serif);
  color: var(--color-charcoal);
}
.private-session-program li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.private-product__for-whom {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.private-product__territory {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 1px solid var(--color-gold);
}

.private-territory-item {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-charcoal);
  line-height: 1.5;
}

.private-product__reel {
  background: var(--color-sand);
  padding: 24px;
  margin-bottom: 32px;
}

.private-reel-title {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.private-reel-desc {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.6;
}

.private-product__price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--color-sand);
  border-bottom: 1px solid var(--color-sand);
}

.private-product__price {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.private-product__price-period {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

.private-product__proof {
  margin-bottom: 36px;
}

.private-proof-placeholder {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.private-proof-maybe {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.page-content {
  position: relative;
  z-index: 1;
  background: var(--color-white);
}

.footer-reveal-space {
  height: 430px;
  pointer-events: none;
}

.footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 4.5% 22px;
  font: 16px/1.6 'Manrope', Arial, sans-serif;
}

@media (max-height: 500px) {
  .footer-reveal-space { display: none; }
  .footer { position: relative; }
}

.footer__chapter {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-divider);
  padding-top: 19px;
  font-size: 12px;
  letter-spacing: 1.6px;
}

.footer__chapter span:first-child { color: var(--color-gold); }
.footer__chapter span:last-child { color: rgba(250,250,248,.55); }

.footer__links {
  display: flex;
  gap: 48px;
  margin: 45px 0 65px;
  font-size: 16px;
}

.footer__links a {
  color: rgba(250,250,248,.82);
  transition: color .25s;
}

.footer__link-arrow {
  width: 14px;
  height: 14px;
  margin-left: 3px;
  vertical-align: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__links a:hover { color: var(--color-white); }

.footer__wordmark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 400 15.8vw/.9 var(--font-serif);
  letter-spacing: -.055em;
}

.footer__wordmark span {
  font: 50px var(--font-serif);
  color: var(--color-gold);
  transition: color .25s;
}
.footer__wordmark:hover span { color: var(--color-gold-lt); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-divider);
  padding-top: 22px;
  margin-top: 40px;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(250,250,248,.55);
}

@media (min-width: 1600px) {
  .footer {
    padding-left: max(4.5%, calc((100vw - 1600px)/2));
    padding-right: max(4.5%, calc((100vw - 1600px)/2));
  }
}

@media (max-width: 650px) {
  .footer { padding: 40px 5% 20px; }
  .footer__chapter { font-size: 9px; letter-spacing: .8px; gap: 15px; padding-top: 15px; }
  .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 35px 0 45px; }
  .footer__wordmark { font-size: 19vw; }
  .footer__wordmark span { font-size: 30px; }
  .footer__bottom { font-size: 8px; letter-spacing: 0; gap: 16px; margin-top: 25px; }
}
/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 1024px) {
  .product {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product--right .product__media { order: 0; }
  .product--right .product__content { order: 1; }

  .product__media {
    height: 55vw;
    min-height: 300px;
  }

  .product__content {
    padding: 48px 40px;
  }

  .offline-product__body {
    grid-template-columns: 1fr;
  }

  .offline-product__info {
    padding: 56px 40px;
  }

  .offline-gallery {
    padding: 48px 40px;
  }

  .private-product {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .private-product__media {
    height: 60vw;
    min-height: 320px;
  }

  .private-product__content {
    padding: 56px 40px;
  }

  .chapter-header {
    padding: 80px 40px;
  }

  .offline-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero__img {
    object-position: center top;
  }

  .nav {
    padding: 0 5% 0 24px;
    height: 85px;
  }

  .nav__links {
    position: absolute;
    top: 0;
    right: 0;
    width: min(280px, 100vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 40px;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
  }

  .nav__links.nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 13px;
    letter-spacing: 0.2em;
  }

  .nav__burger {
    display: flex;
    z-index: 101;
  }

  .nav__burger.nav__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav__burger.nav__burger--open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__burger.nav__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero__content {
    padding: 0 24px 72px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    right: 24px;
    bottom: 48px;
  }

  .chapter-header {
    padding: 64px 24px;
  }

  .product__content {
    padding: 40px 24px;
  }

  .product__details {
    gap: 20px;
  }

  .offline-product__hero {
    height: 75vw;
    min-height: 300px;
  }

  .offline-product__hero-content {
    left: 24px;
    right: 24px;
    bottom: 36px;
  }

  .offline-product__info {
    padding: 48px 24px;
  }

  .offline-gallery {
    padding: 40px 24px;
  }

  .offline-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offline-gallery__large {
    grid-template-columns: 1fr;
  }

  .offline-gallery__large-img {
    height: 60vw;
  }

  .offline-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .private-product__media {
    height: 75vw;
  }

  .private-product__content {
    padding: 48px 24px;
  }

  .private-product__format {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 480px) {
  .chapter-header__title {
    font-size: 42px;
  }

  #online .chapter-header__title {
    font-size: clamp(28px, 7.3vw, 32px);
  }

  .product__title {
    font-size: 32px;
  }

  .offline-product__title {
    font-size: 36px;
  }

  .private-product__title {
    font-size: 30px;
  }

  .offline-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product__pricing {
    flex-direction: column;
    gap: 16px;
  }
}
/* ---- REVIEWS ---- */
.reviews { background: var(--color-dark); color: var(--color-cream); padding: 100px max(24px, 6.25vw) 64px; }
.reviews__heading { text-align: center; margin-bottom: 48px; }
.reviews__eyebrow { color: var(--color-gold); font-size: 11px; letter-spacing: .28em; margin-bottom: 24px; }
.reviews__heading h2 { font: 400 clamp(42px, 6vw, 76px)/1.05 var(--font-serif); }
.reviews__intro { font: italic 400 22px/1.5 var(--font-serif); color: #b9b5ad; margin-top: 22px; }
.reviews__track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--color-gold) #252421; padding: 4px 2px 24px; }
.review-card { flex: 0 0 calc((100% - 56px)/3); min-width: 0; scroll-snap-align: start; }
.review-card__frame { display: flex; align-items: center; justify-content: center; height: 370px; padding: 14px; border: 1px solid #706047; background: #1b1a18; box-shadow: inset 0 0 0 5px #111; transition: border-color .2s; }
.review-card:hover .review-card__frame { border-color: var(--color-gold-lt); }
.review-card__frame img { width: 100%; height: 100%; object-fit: contain; }
.review-card__caption { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .15em; padding-top: 18px; color: #d6cbb9; }
.reviews__navigation { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; font-size: 9px; letter-spacing: .18em; color: var(--color-gold); }
.reviews__navigation button, .review-viewer button { background: transparent; color: inherit; border: 1px solid var(--color-divider); min-width: 44px; min-height: 44px; padding: 8px 12px; cursor: pointer; font: inherit; }
.reviews__navigation button { font-size: 22px; margin-left: 8px; }
.review-card:focus-visible, .reviews button:focus-visible, .review-viewer button:focus-visible { outline: 2px solid var(--color-gold-lt); outline-offset: 3px; }
.review-viewer { margin: auto; width: min(960px, calc(100% - 32px)); height: calc(100dvh - 32px); max-height: none; max-width: none; padding: 0; border: 1px solid var(--color-divider); color: var(--color-cream); background: #161513; overflow: hidden; }
.review-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.review-viewer::backdrop { background: rgb(0 0 0 / .88); backdrop-filter: blur(8px); }
.review-viewer__bar, .review-viewer__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.review-viewer__bar h2 { font: 400 26px var(--font-serif); }
.review-viewer__bar button { font-size: 24px; }
.review-viewer__image { overflow: auto; overscroll-behavior: contain; padding: 12px; }
.review-viewer__image img { width: 100%; height: 100%; object-fit: contain; margin: auto; }
.review-viewer__image.is-zoomed img { width: max(100%, 780px); max-width: none; height: auto; object-fit: initial; }
.review-viewer__controls { font-size: 12px; border-top: 1px solid var(--color-divider); }
@media (max-width: 767px) {
  .reviews { padding-top: 64px; padding-bottom: 40px; }
  .reviews__heading { margin-bottom: 32px; }
  .reviews__track { gap: 18px; }
  .review-card { flex-basis: 86%; }
  .review-card__frame { height: 340px; padding: 10px; }
  .review-viewer { width: 100%; height: 100dvh; border: 0; }
  .review-viewer__bar, .review-viewer__controls { padding: 10px; gap: 6px; }
  .review-viewer__controls { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* ---- ATMOSPHERE / EDITORIAL PHOTO GALLERY ---- */
.atmosphere { background: var(--color-charcoal); color: var(--color-cream); padding: 96px max(24px, 6.25vw) 48px; }
.atmosphere__heading { display: block; text-align: center; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--color-divider); }
.atmosphere__heading h2 { font: 400 clamp(44px, 5.6vw, 76px)/1.02 var(--font-serif); }
.atmosphere__gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.atmosphere__photo { position: relative; display: block; min-width: 0; padding: 6px; border: 1px solid #6c5b42; background: #171613; overflow: hidden; }
.atmosphere__photo:first-child { grid-column: span 2; grid-row: span 2; }
.atmosphere__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2832 / 4240; image-orientation: from-image; }
.atmosphere__photo-caption { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: center; justify-content: space-between; padding: 32px 14px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .65)); color: #fafaf8; font-size: 9px; letter-spacing: .15em; }
.atmosphere__photo-caption > span:last-child { display: flex; align-items: center; gap: 8px; }
.atmosphere__photo-caption svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.atmosphere__photo:hover { border-color: var(--color-gold-lt); }
.atmosphere__photo:focus-visible { outline: 2px solid var(--color-gold-lt); outline-offset: 4px; }
.atmosphere__footnote { margin-top: 24px; color: #b7ac99; font-size: 9px; letter-spacing: .16em; }
@media (max-width: 767px) {
  .atmosphere { padding-top: 64px; padding-bottom: 32px; }
  .atmosphere__heading { display: block; margin-bottom: 24px; padding-bottom: 24px; }
  .atmosphere__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .atmosphere__photo:first-child { grid-column: span 2; grid-row: auto; }
  .atmosphere__photo { padding: 4px; }
  .atmosphere__photo-caption { left: 4px; right: 4px; bottom: 4px; padding: 24px 8px 8px; font-size: 8px; letter-spacing: .06em; }
  .atmosphere__photo-caption svg { width: 12px; height: 12px; }
  .atmosphere__footnote { font-size: 8px; line-height: 1.8; }
}

/* Immersive photo viewer: full viewport, uncropped image, floating controls. */
.review-viewer--photos[open] { display: block; position: fixed; inset: 0; margin: 0; width: 100vw; height: 100dvh; max-height: none; border: 0; background: #0a0a0a; }
.review-viewer--photos .review-viewer__image { position: absolute; inset: 0; padding: 0; overflow: hidden; }
.review-viewer--photos .review-viewer__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.review-viewer--photos .review-viewer__bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: max(18px, env(safe-area-inset-top)) 24px 32px; background: linear-gradient(rgb(0 0 0 / .65), transparent); pointer-events: none; }
.review-viewer--photos .review-viewer__bar h2 { font-size: clamp(20px, 3vw, 28px); text-shadow: 0 1px 8px #000; }
.review-viewer--photos button { pointer-events: auto; border-radius: 50%; width: 48px; height: 48px; color: var(--color-cream); background: rgb(15 14 12 / .65); border: 1px solid rgb(224 200 152 / .45); backdrop-filter: blur(10px); }
.review-viewer--photos button:hover { background: #40382b; }
.review-viewer--photos .review-viewer__controls { position: absolute; z-index: 2; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: 220px; padding: 8px; border: 0; background: rgb(15 14 12 / .6); border-radius: 40px; backdrop-filter: blur(10px); }
.review-viewer--photos [data-review-zoom] { display: none; }
.review-viewer--photos [data-review-counter] { letter-spacing: .2em; color: var(--color-gold-lt); }

/* Reviews: one horizontal row with four cards on desktop. */
.reviews__track { display: flex; columns: auto; flex-wrap: nowrap; align-items: flex-start; gap: 20px; overflow-x: auto; padding: 8px 2px 22px; scroll-snap-type: x mandatory; }
.review-card { display: block; flex: 0 0 calc((100% - 60px) / 4); width: auto; margin: 0; padding: 0; transform: none; scroll-snap-align: start; scroll-snap-stop: always; }
.review-card__frame { display: block; height: auto; padding: 0; border: 0; border-radius: 16px; background: transparent; box-shadow: none; overflow: hidden; }
.review-card__frame img { width: 100%; height: auto; border-radius: 16px; }
.review-card__caption { padding: 8px 6px 0; font-size: 8px; }
.review-viewer--reviews .review-viewer__controls { width: min(340px, calc(100% - 20px)); }
.review-viewer--reviews [data-review-zoom] { display: block; width: auto; border-radius: 24px; font-size: 11px; }
.review-viewer--reviews .review-viewer__image { padding: 80px 8px 100px; }
.review-viewer--reviews .review-viewer__image.is-zoomed { overflow: auto; }
.review-viewer--reviews .review-viewer__image.is-zoomed img { width: max(100%, 780px); max-width: none; height: auto; object-fit: initial; }
@media (max-width: 768px) {
  .reviews__track { gap: 16px; }
  .review-card { flex-basis: 82%; }
}


.review-card__arrow { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Compact language selector remains visible beside the mobile menu. */
.language-switch { position: absolute; right: 4.5%; z-index: 102; width: 68px; min-height: 44px; padding: 8px 6px; color: #fafaf8; background: rgba(10,10,10,.45); border: 1px solid rgba(201,169,110,.4); border-radius: 0; font: 500 11px var(--font-sans); cursor: pointer; }
.language-switch option { color: #fafaf8; background: #1e1e1e; }
.language-switch:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
@media (min-width: 769px) {
  .nav__links li:last-child { right: calc(4.5% + 84px); }
  .nav__links { padding-right: 170px; gap: 24px; }
}
@media (max-width: 768px) {
  .language-switch { right: calc(5% + 46px); width: 60px; font-size: 10px; }
}
html:not([lang="ru"]) .product__detail-label { letter-spacing: .08em; overflow-wrap: anywhere; }
html:not([lang="ru"]) .product__status { max-width: calc(100% - 48px); }
html[lang="kk"] .chapter-header__label { letter-spacing: .16em; }
html[lang="kk"] .private-product__title, html[lang="en"] .private-product__title { overflow-wrap: break-word; }
@media (max-width: 480px) {
  html:not([lang="ru"]) #course-beautiful-liar .product__details,
  html:not([lang="ru"]) #course-1001-nights .product__details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

/* Approximate equivalents: NBK 2026-11-08, 1 RUB = 5.46 KZT, 1 KGS = 5.11 KZT.
   Rounded upward to multiples of five; actual payment rates may differ. */
.price-primary { white-space: nowrap; }
.price-equivalents {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--color-muted);
  vertical-align: middle;
}

#course-oriental-foundation .product__media--video,
#course-la-la-la .product__media--video {
  height: auto;
  min-height: 0;
  aspect-ratio: 1080 / 1450;
  background: var(--color-dark);
}
