/* =========================================================
   KATERINA NOIR — midnight boudoir edition
   Near-black plum, neon magenta, champagne gold.
   Cormorant Garamond (cinematic serif) + Jost (geometric body)
   ========================================================= */

:root {
  --bg:      #0C0712;   /* near-black plum */
  --bg-2:    #140C1D;   /* raised surface */
  --card:    #1A1026;   /* card surface */
  --pink:    #FF2E9A;   /* neon magenta */
  --pink-2:  #FF6AB8;   /* lighter pink */
  --gold:    #E7BC7B;   /* champagne gold */
  --text:    #F6EEF4;   /* warm off-white */
  --muted:   #A08CA8;   /* mauve grey */
  --line:    #2C1E3C;   /* hairline */
  --wa:      #25D366;
  --vb:      #7360F2;

  --serif: 'Cormorant Garamond', serif;
  --sans:  'Jost', sans-serif;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --rail-w: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pink); color: #fff; }

/* subtle scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

.wrap { max-width: 1150px; margin: 0 auto; padding: 0 34px; }
.section { padding: 120px 0; }
.page { margin-left: var(--rail-w); }

/* ---------- Section headings ---------- */
.section__head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 60px; }
.section__head--center { justify-content: center; text-align: center; }
.section__num {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.section__num::after { content: ' /'; color: var(--muted); }
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 400;
  padding: 17px 42px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  border: 1px solid var(--pink);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { background: var(--pink); box-shadow: 0 0 34px rgba(255, 46, 154, 0.5); }
.btn--fill { background: var(--pink); border-color: var(--pink); }
.btn--fill:hover { background: transparent; color: #fff; box-shadow: 0 0 34px rgba(255, 46, 154, 0.4); }

/* ---------- Side rail ---------- */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-right: 1px solid var(--line);
  background: rgba(12, 7, 18, 0.85);
  backdrop-filter: blur(12px);
}
.rail__logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}
.rail__logo:hover { color: var(--pink); }
.rail__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.rail__nav a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  transition: color 0.35s var(--ease);
}
.rail__nav a:hover { color: var(--pink); }
.rail__social { display: flex; flex-direction: column; gap: 12px; }
.rail__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rail__dot svg { width: 17px; height: 17px; }
.rail__dot--wa { background: var(--wa); }
.rail__dot--vb { background: var(--vb); }
.rail__dot:hover { transform: scale(1.12); box-shadow: 0 0 18px rgba(255,255,255,0.25); }

/* ---------- Floating top strip ---------- */
.strip {
  position: fixed;
  top: 0; right: 0; left: var(--rail-w);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 14px 30px;
  background: linear-gradient(180deg, rgba(12,7,18,0.85), transparent);
}
.strip__phone {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.strip__phone:hover { color: var(--pink); }
.strip__note {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}
.lang { display: flex; gap: 2px; }
.lang__btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 4px 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { color: var(--pink); border-bottom-color: var(--pink); }

/* ---------- Mobile burger + nav ---------- */
.burger {
  display: none;
  position: fixed;
  top: 16px; left: 16px;
  z-index: 110;
  width: 44px; height: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span { width: 18px; height: 1.5px; background: var(--text); transition: all 0.35s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobnav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(12, 7, 18, 0.96);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 38px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobnav.is-open { opacity: 1; visibility: visible; }
.mobnav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.mobnav a:hover { color: var(--pink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* mobile browsers: exclude URL bar */
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpeg') center 55% / cover no-repeat;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift { to { transform: scale(1.13) translateY(-1.5%); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 90% at 78% 30%, transparent 30%, rgba(12,7,18,0.55) 100%),
    linear-gradient(180deg, rgba(12,7,18,0.5) 0%, rgba(12,7,18,0.18) 35%, rgba(12,7,18,0.92) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 9vh 7%;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero__spark { color: var(--pink); letter-spacing: 0; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 13vw, 10.5rem);
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 38px;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--pink) 10%, var(--pink-2) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.about__visual { position: relative; }
.about__frame {
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
}
.about__photo {
  aspect-ratio: 3 / 4;
  background: url('../images/about.jpg') center top / cover no-repeat;
  filter: saturate(0.95);
}
.about__body p { color: var(--muted); margin-bottom: 22px; max-width: 60ch; }
.chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.chips li {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px 16px;
  transition: border-color 0.35s var(--ease);
}
.chips li:hover { border-color: var(--pink); }
.chips span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 2px;
}
.chips b { font-weight: 400; font-size: 0.95rem; color: var(--text); }

/* ---------- Stats ---------- */
.stats { padding: 40px 0 120px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  position: relative;
  text-align: center;
  padding: 44px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}
.stat:hover { transform: translateY(-5px); border-color: rgba(255, 46, 154, 0.4); }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--pink);
  text-shadow: 0 0 30px rgba(255, 46, 154, 0.45);
}
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 26px; margin-bottom: 44px; }
.filter {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.35s var(--ease);
}
.filter:hover { color: var(--text); }
.filter.is-active { color: var(--pink); border-bottom-color: var(--pink); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 14px;
}
.tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
}
.tile--tall { grid-row: span 2; }
/* bottom video: centered on its own row, portrait */
.tile--wide { grid-column: 2 / 3; grid-row: span 2; }
.tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center 25%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.9);
}
.tile:hover .tile__img { transform: scale(1.07); filter: saturate(1.05); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(12, 7, 18, 0.88));
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.45s var(--ease);
}
.tile:hover figcaption { opacity: 1; transform: translateY(0); }
.tile figcaption i {
  font-style: normal;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.tile figcaption span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
}
.tile.is-hidden { display: none; }
.tile__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  background: rgba(255, 46, 154, 0.9);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 34px rgba(255, 46, 154, 0.55);
  pointer-events: none;
  transition: transform 0.35s var(--ease);
}
.tile--video:hover .tile__play { transform: translate(-50%, -50%) scale(1.12); }

/* ---------- Contact ---------- */
.touch {
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(255, 46, 154, 0.16), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.touch__wrap { text-align: center; }
.touch__text { color: var(--muted); max-width: 52ch; margin: -20px auto 46px; }
.touch__cta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  text-decoration: none;
  color: #fff;
  border: 1px solid var(--line);
  background: var(--card);
  transition: all 0.4s var(--ease);
  text-align: left;
}
.cta svg { width: 30px; height: 30px; flex: 0 0 auto; }
.cta span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); line-height: 1.7; }
.cta b { font-weight: 400; font-size: 1.02rem; letter-spacing: 0.06em; color: var(--text); text-transform: none; }
.cta--wa svg { color: var(--wa); }
.cta--vb svg { color: var(--vb); }
.cta--wa:hover { border-color: var(--wa); box-shadow: 0 0 30px rgba(37, 211, 102, 0.25); transform: translateY(-3px); }
.cta--vb:hover { border-color: var(--vb); box-shadow: 0 0 30px rgba(115, 96, 242, 0.3); transform: translateY(-3px); }
.touch__ig {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 188, 123, 0.4);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.touch__ig:hover { color: var(--pink); border-color: var(--pink); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  border-top: 1px solid var(--line);
}
.footer__logo { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.footer__copy { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 4, 12, 0.88);
  backdrop-filter: blur(22px);
}
.agegate.is-hidden { display: none; }
.agegate__box {
  position: relative;
  width: 100%; max-width: 520px;
  text-align: center;
  padding: 60px 48px;
  background: var(--card);
  border: 1px solid var(--line);
}
.agegate__box::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}
.agegate__logo {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 22px;
}
.agegate__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  margin-bottom: 16px;
}
.agegate__text { color: var(--muted); font-size: 0.94rem; max-width: 44ch; margin: 0 auto 34px; }
.agegate__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.agegate__actions .btn { width: 100%; max-width: 320px; }
.agegate__leave {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.agegate__leave:hover { color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background: rgba(8, 4, 12, 0.95);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  display: block;
  max-width: 92vw; max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(255, 46, 154, 0.25);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__video {
  display: none;
  width: min(520px, 90vw);
  max-height: 86vh;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #000;
  box-shadow: 0 0 80px rgba(255, 46, 154, 0.25);
}
.lightbox.is-video .lightbox__img { display: none; }
.lightbox.is-video .lightbox__video { display: block; }
.lightbox__close {
  position: absolute;
  top: 20px; right: 30px;
  background: none; border: none;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 200;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.lightbox__close:hover { color: var(--pink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RTL (Hebrew) ---------- */
[dir="rtl"] .hero__content { padding: 0 7% 9vh 0; }
[dir="rtl"] .rail { left: auto; right: 0; border-right: none; border-left: 1px solid var(--line); }
[dir="rtl"] .page { margin-left: 0; margin-right: var(--rail-w); }
[dir="rtl"] .strip { left: 0; right: var(--rail-w); justify-content: flex-start; }
[dir="rtl"] .burger { left: auto; right: 16px; }
[dir="rtl"] .hero__eyebrow,
[dir="rtl"] .btn, [dir="rtl"] .filter, [dir="rtl"] .stat__label,
[dir="rtl"] .chips span, [dir="rtl"] .tile figcaption i,
[dir="rtl"] .strip__note, [dir="rtl"] .cta span,
[dir="rtl"] .rail__nav a, [dir="rtl"] .mobnav a,
[dir="rtl"] .agegate__leave { letter-spacing: normal; text-transform: none; }
[dir="rtl"] .strip__phone, [dir="rtl"] .cta b { direction: ltr; }

/* ---------- Mobile floating contact buttons ---------- */
.mfab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 105;
  flex-direction: column;
  gap: 12px;
}
.mfab__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}
.mfab__btn svg { width: 26px; height: 26px; }
.mfab__btn--wa { background: #25D366; }
.mfab__btn--vb { background: #7360F2; }
[dir="rtl"] .mfab { right: auto; left: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .rail { display: none; }
  .mfab { display: flex; }
  .page { margin-left: 0; }
  [dir="rtl"] .page { margin-right: 0; }
  .strip {
    left: 0;
    padding: 10px 16px 10px 72px;
    background: rgba(12, 7, 18, 0.88);
    backdrop-filter: blur(10px);
  }
  [dir="rtl"] .strip { right: 0; padding: 10px 72px 10px 16px; }
  .burger { display: flex; }
  .mobnav { display: flex; }
  .strip__phone { padding: 8px 0; } /* bigger tap target */
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__frame { inset: 18px -14px -14px 18px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .tile--wide { grid-column: 1 / -1; grid-row: span 2; }
  .hero { min-height: 540px; }
}
@media (max-width: 580px) {
  .section { padding: 84px 0; }
  .wrap { padding: 0 20px; }
  .strip { gap: 10px; padding: 10px 14px 10px 66px; }
  .strip__note { display: none; }
  .strip__phone { font-size: 0.82rem; }
  .lang__btn { font-size: 0.6rem; padding: 3px 4px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .tile--tall { grid-row: span 2; } /* portraits keep their tall shape */
  .tile--wide { grid-column: 1 / -1; grid-row: span 2; }
  .chips { grid-template-columns: 1fr 1fr; }
  .touch__cta { flex-direction: column; align-items: stretch; }
  .cta { justify-content: center; }
  .footer { flex-direction: column; gap: 10px; text-align: center; }
  .hero__content { padding-left: 20px; padding-bottom: 14vh; }
  [dir="rtl"] .hero__content { padding-right: 20px; }
  .hero__title { font-size: 17vw; }
  .lightbox { padding: 14px; }
  .lightbox__img { max-width: 96vw; max-height: 84vh; }
  .lightbox__close { top: 8px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
