:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --bg-soft-2: #0c0c0c;
  --bg-panel: #080808;
  --ink: #e9e6df;
  --ink-strong: #f5f2ec;
  --ink-mute: #a8a294;
  --ink-faint: #8e887c;
  --ink-ghost: #6f6a5f;
  --ink-ghost-2: #5d584e;
  --gold: #c9a961;
  --gold-line: rgba(201, 169, 97, 0.28);
  --hair: rgba(233, 230, 223, 0.1);
  --hair-strong: rgba(233, 230, 223, 0.28);
  --wa-green: #1faa59;
  --wa-green-hover: #25c264;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter Tight', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0a0a0a;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 6px 0;
  font-family: var(--mono);
  font-size: 12px;
}
.skip-link:focus { left: 0; }

.page {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% -10%, #1a1a1a 0%, #050505 60%);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px 6px;
}
.site-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
}
.site-tag {
  text-align: center;
  margin: 0 20px 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero-title {
  margin: 0;
  max-width: 820px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 5.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  text-wrap: pretty;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  margin: 0;
  max-width: 620px;
  text-align: center;
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-mute);
  text-wrap: pretty;
}

.video-frame {
  width: 100%;
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  background: var(--bg-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.video-frame video,
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: repeating-linear-gradient(135deg, #0e0e0e 0 12px, #111 12px 24px);
}
.play-btn {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.play-btn:hover,
.play-btn:focus-visible {
  transform: scale(1.06);
  border-color: var(--gold);
  outline: none;
}
.play-icon {
  width: 0;
  height: 0;
  border-left: 18px solid var(--gold);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.video-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  text-align: center;
  padding: 0 20px;
}

.video-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-toggle-visual {
  opacity: 0;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(2px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.video-frame.is-paused .video-toggle-visual {
  opacity: 1;
}
.video-frame.is-cover .video-toggle-visual {
  display: none;
}
.video-toggle:hover .video-toggle-visual,
.video-toggle:focus-visible .video-toggle-visual {
  transform: scale(1.06);
}

.video-cover {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(3px);
}
.video-frame.is-cover .video-cover {
  display: flex;
}
.video-cover-icon {
  position: relative;
  width: 92px;
  height: 92px;
  border: 2px solid var(--gold);
  background: rgba(201, 169, 97, 0.14);
  box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.55);
  animation: video-cover-pulse 1.8s ease-out infinite;
  transition: transform 0.25s var(--ease);
}
.video-cover-icon::before,
.video-cover-icon::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  animation: video-cover-ring 1.8s ease-out infinite;
}
.video-cover-icon::after {
  animation-delay: 0.6s;
}
.video-cover-icon .play-icon {
  border-left-width: 24px;
  border-top-width: 15px;
  border-bottom-width: 15px;
  margin-left: 7px;
}
.video-toggle:hover .video-cover-icon,
.video-toggle:focus-visible .video-cover-icon {
  transform: scale(1.08);
}
.video-cover-label {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #050505;
  background: var(--gold);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
  animation: video-cover-bounce 1.4s ease-in-out infinite;
}

@keyframes video-cover-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.55); }
  70% { box-shadow: 0 0 0 22px rgba(201, 169, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
}
@keyframes video-cover-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes video-cover-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .video-cover-icon,
  .video-cover-icon::before,
  .video-cover-icon::after,
  .video-cover-label {
    animation: none;
  }
}

.gate-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  animation: jr-pulse 2.2s ease-in-out infinite;
}

.cta-group {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: jr-rise 0.6s var(--ease) both;
}
.cta-hint {
  margin: -6px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.btn {
  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: clamp(14px, 2.6vw, 16px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary {
  padding: 22px 24px;
  min-height: 64px;
  background: linear-gradient(180deg, #e8e3d8, #c9c3b4);
  color: #0a0a0a;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232, 227, 216, 0.18);
  outline: none;
}
.btn-ghost {
  padding: 18px 24px;
  min-height: 56px;
  border: 1px solid rgba(233, 230, 223, 0.28);
  background: transparent;
  color: #c8c3b8;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(233, 230, 223, 0.7);
  color: #fff;
  outline: none;
}

.btn-whatsapp {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  min-height: 62px;
  border-radius: 4px;
  background: var(--wa-green);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: jr-rise 0.5s var(--ease) both;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
  outline: none;
}
.wa-icon {
  width: 18px;
  height: 18px;
  flex: none;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16.001 3C9.373 3 4 8.373 4 15c0 2.36.687 4.56 1.874 6.41L4 29l7.78-1.84A11.94 11.94 0 0 0 16 27c6.628 0 12-5.373 12-12S22.629 3 16.001 3zm0 21.8c-1.94 0-3.75-.55-5.29-1.5l-.38-.23-4.62 1.09 1.12-4.5-.25-.4A9.77 9.77 0 0 1 5.2 15c0-5.96 4.84-10.8 10.8-10.8S26.8 9.04 26.8 15 21.96 24.8 16 24.8zm5.9-8.09c-.32-.16-1.9-.94-2.2-1.05-.3-.11-.51-.16-.73.16-.22.32-.84 1.05-1.03 1.27-.19.22-.38.24-.7.08-.32-.16-1.34-.5-2.55-1.59-.94-.84-1.58-1.87-1.76-2.19-.19-.32-.02-.49.14-.65.14-.14.32-.38.48-.57.16-.19.21-.32.32-.54.11-.22.05-.4-.03-.57-.08-.16-.73-1.77-1-2.42-.26-.63-.53-.55-.73-.56h-.62c-.22 0-.57.08-.87.4-.3.32-1.14 1.11-1.14 2.72s1.17 3.16 1.33 3.38c.16.22 2.3 3.5 5.58 4.9.78.34 1.39.54 1.86.69.78.25 1.5.21 2.06.13.63-.09 1.9-.78 2.17-1.53.27-.75.27-1.4.19-1.53-.08-.13-.29-.21-.61-.37z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16.001 3C9.373 3 4 8.373 4 15c0 2.36.687 4.56 1.874 6.41L4 29l7.78-1.84A11.94 11.94 0 0 0 16 27c6.628 0 12-5.373 12-12S22.629 3 16.001 3zm0 21.8c-1.94 0-3.75-.55-5.29-1.5l-.38-.23-4.62 1.09 1.12-4.5-.25-.4A9.77 9.77 0 0 1 5.2 15c0-5.96 4.84-10.8 10.8-10.8S26.8 9.04 26.8 15 21.96 24.8 16 24.8zm5.9-8.09c-.32-.16-1.9-.94-2.2-1.05-.3-.11-.51-.16-.73.16-.22.32-.84 1.05-1.03 1.27-.19.22-.38.24-.7.08-.32-.16-1.34-.5-2.55-1.59-.94-.84-1.58-1.87-1.76-2.19-.19-.32-.02-.49.14-.65.14-.14.32-.38.48-.57.16-.19.21-.32.32-.54.11-.22.05-.4-.03-.57-.08-.16-.73-1.77-1-2.42-.26-.63-.53-.55-.73-.56h-.62c-.22 0-.57.08-.87.4-.3.32-1.14 1.11-1.14 2.72s1.17 3.16 1.33 3.38c.16.22 2.3 3.5 5.58 4.9.78.34 1.39.54 1.86.69.78.25 1.5.21 2.06.13.63-.09 1.9-.78 2.17-1.53.27-.75.27-1.4.19-1.53-.08-.13-.29-.21-.61-.37z'/></svg>") center/contain no-repeat;
}

/* ---------- Marquee ---------- */
.marquee-section {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 22px 0;
  overflow: hidden;
  background: #080808;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: jr-marquee 32s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  font-family: var(--serif);
  font-size: clamp(20px, 3.4vw, 30px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-ghost-2);
  white-space: nowrap;
}

/* ---------- Stats ---------- */
.stats {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.stat {
  border-left: 1px solid var(--gold-line);
  padding: 4px 0 4px 20px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}
.stat p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ---------- Gallery ---------- */
.gallery {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(233, 230, 223, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-dots {
  display: none;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 30px 20px 44px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-ghost-2);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(3, 3, 3, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: jr-fade 0.25s ease both;
}
.modal-overlay[hidden] { display: none; }
.modal {
  width: 100%;
  max-width: 460px;
  margin: auto;
  background: var(--bg-soft-2);
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: jr-rise 0.35s var(--ease) both;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 4vw, 27px);
  line-height: 1.25;
  color: var(--ink-strong);
}
.modal-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(233, 230, 223, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-mute);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal-close:hover,
.modal-close:focus-visible {
  color: #fff;
  border-color: rgba(233, 230, 223, 0.6);
  outline: none;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.track-fields {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.track-fields.is-active { display: flex; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input,
.field select {
  padding: 14px 15px;
  min-height: 52px;
  border: 1px solid rgba(233, 230, 223, 0.18);
  border-radius: 4px;
  background: var(--bg-panel);
  color: #f0ede6;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}

.modal .btn-primary {
  margin-top: 4px;
  padding: 18px;
  min-height: 58px;
  font-size: 16px;
}
.modal .btn-primary:hover,
.modal .btn-primary:focus-visible {
  background: #fff;
  transform: none;
  box-shadow: none;
}
.modal-hint {
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost-2);
}

/* ---------- Closing overlay ---------- */
.closing-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: jr-fade 0.3s ease both;
}
.closing-overlay[hidden] { display: none; }
.closing-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.closing-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 50%;
}
.closing-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.2;
  color: var(--ink-strong);
}
.closing-inner > p {
  margin: 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.closing-inner .video-frame { width: 100%; }
.btn-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-link:hover,
.btn-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  outline: none;
}

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

/* ---------- Keyframes ---------- */
@keyframes jr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes jr-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes jr-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes jr-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .gate-label,
  .cta-group,
  .btn-whatsapp {
    animation: none !important;
  }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Gallery carousel (mobile) ---------- */
@media (max-width: 700px) {
  .gallery { padding: 0 0 56px; }
  .gallery-track {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    gap: 12px;
    padding: 0 20px;
    margin: 0 -1px;
    scrollbar-width: none;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 auto;
    width: 78%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .gallery-item:hover img { transform: none; }
  .gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
  }
  .gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--hair-strong);
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  }
  .gallery-dot.is-active {
    background: var(--gold);
    transform: scale(1.35);
  }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 480px) {
  .site-header { padding: 22px 20px 4px; }
  .site-logo { width: 84px; height: 84px; }
  .site-tag { font-size: 10px; letter-spacing: 0.28em; margin-bottom: 24px; }
  .hero { gap: 20px; padding-bottom: 44px; }
  .hero-title { letter-spacing: -0.005em; }
  .video-caption { font-size: 10px; letter-spacing: 0.16em; }
  .btn-primary { padding: 19px 20px; min-height: 58px; }
  .btn-ghost { padding: 16px 20px; min-height: 52px; }
  .marquee-group { gap: 34px; padding-right: 34px; }
  .stats { padding: 44px 20px; gap: 22px; grid-template-columns: 1fr; }
  .stat { padding: 4px 0 4px 16px; }
  .stat-num { font-size: 34px; }
  .modal { padding: 22px; gap: 14px; }
  .closing-logo { width: 68px; height: 68px; }
}

@media (min-width: 1080px) {
  .hero-title { font-size: 52px; }
}
