:root {
  --background: hsl(0 0% 9%);
  --foreground: hsl(0 0% 100%);
  --primary: hsl(0 0% 100%);
  --primary-foreground: hsl(0 0% 9%);
  --secondary: hsl(0 0% 97%);
  --muted: hsl(0 0% 20%);
  --muted-foreground: hsl(0 0% 75%);
  --accent: hsl(0 0% 15%);
  --border: hsl(0 0% 20%);
  --radius: 2px;
  --hero-cta-bg: hsl(0 0% 97.3%);
  --hero-cta-text: hsl(0 0% 9%);
  --gold: #CB9D06;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

.font-body { font-family: 'Open Sans', sans-serif; }
.font-accent { font-family: 'Instrument Serif', serif; }
.font-manrope { font-family: 'Manrope', sans-serif; }
.font-luxurious { font-family: 'Luxurious Script', cursive; }

.split-char {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
  display: inline-block;
  will-change: transform, opacity;
}

/* Hero */
.hero-wrapper {
  position: relative;
  height: calc(100vh + 300vh);
  background: #000;
}
.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide video, .hero-slide .video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  background:
    repeating-linear-gradient(45deg, #1a1a1a 0 24px, #222 24px 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a4a;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero-h1 {
  position: absolute;
  left: 0; right: 0;
  bottom: -26px;
  text-align: center;
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-size: 9.7vw;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-h1 {
    font-size: 40px;
    line-height: 1.1;
    white-space: normal;
    bottom: 48px;
    padding: 0 16px;
  }
}

.hero-subtitle {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  padding-top: calc(80px + 60px);
  text-align: center;
  color: #fff;
  font-family: 'Luxurious Script', cursive;
  font-size: 3vw;
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero-subtitle { font-size: 12vw; padding-top: 120px; }
}

/* Navbar */
.nav-root {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  transition: background 300ms ease, padding 300ms ease, box-shadow 300ms ease;
  color: #fff;
}
@media (min-width: 768px) {
  .nav-root { padding: 16px 40px; }
}
.nav-root.scrolled {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  padding: 8px 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 30px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .nav-root.scrolled { padding: 8px 40px; }
}

.nav-left, .nav-right { display: flex; align-items: center; gap: 24px; }
.nav-center { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms ease;
}
.nav-link:hover { color: var(--gold); }

.nav-logo {
  height: 48px;
  width: auto;
  transition: height 300ms ease;
  color: #fff;
}
.nav-center a { color: #fff; display: inline-flex; align-items: center; }
.nav-root.scrolled .nav-logo { height: 32px; }
@media (max-width: 767px) {
  .nav-logo { height: 32px; }
  .nav-root.scrolled .nav-logo { height: 24px; }
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
}
.lang-switch button {
  background: transparent;
  color: #fff;
  border: 0;
  padding: 5px 10px;
  cursor: pointer;
  font: inherit;
  transition: background 200ms ease;
}
.lang-switch button.active {
  background: var(--gold);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  color: #111;
  min-width: 240px;
  padding: 8px 0;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3), 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 40;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #111;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.dropdown a:hover {
  background: var(--gold);
  color: #fff;
}

/* Floating nav */
.float-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 767px) { .float-nav { display: none; } }
.float-btn {
  height: 48px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 14px 0 14px;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  overflow: hidden;
  transition: background 250ms ease, padding 250ms ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.float-btn:hover { background: var(--gold); }
.float-btn .label {
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 300ms ease, margin-left 300ms ease, opacity 250ms ease;
  opacity: 0;
}
.float-btn:hover .label {
  max-width: 200px;
  margin-left: 10px;
  opacity: 1;
}
.float-btn .icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }

/* Gallery */
.gallery-wrap { background: #fff; padding: 32px 0; display: flex; justify-content: center; }
@media (min-width: 768px) { .gallery-wrap { padding: 64px 0; } }
.gallery-inner { width: 90%; }
@media (min-width: 768px) { .gallery-inner { width: 65%; } }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  padding: 4px;
  position: relative;
  opacity: 0;
}
.gallery-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
}
.gallery-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background:
    repeating-linear-gradient(45deg, #f1ece4 0 24px, #ebe5dc 24px 48px);
  transition: transform 6s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b6a98e;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.gallery-card:hover .bg { transform: scale(1.2); }
.gallery-label {
  text-align: left;
  color: #000;
  font-size: 14px;
  margin-top: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 999px) {
  .gallery-item.wide { grid-column: span 2; }
}

/* About */
.about-wrap {
  background: #fff;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .about-wrap { padding: 128px 18% ; }
}
.about-title {
  font-family: 'Luxurious Script', cursive;
  font-size: 32px;
  text-align: center;
  color: #000;
  margin-bottom: 20px;
}
.about-body {
  font-family: 'Instrument Serif', serif;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  color: #000;
  margin: 0;
  transform-origin: 50% 0;
}
@media (min-width: 768px) {
  .about-body { font-size: 40px; line-height: 56px; }
}
.about-word { display: inline-block; will-change: opacity, filter; margin-right: 0.18em; }
.about-btn {
  margin-top: 32px;
  padding: 12px 32px;
  background: #000;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 300ms ease;
}
.about-btn:hover { background: var(--gold); }

/* Marquee */
.marquee {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
@media (min-width: 768px) { .marquee { margin-top: 140px; } }
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Partnering */
.partnering {
  position: relative;
  padding: 80px 0 120px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.partnering::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, #0e0e0e 0 32px, #161616 32px 64px);
  opacity: 0.6;
  z-index: 0;
}
.partnering-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.partnering-title {
  font-family: 'Instrument Serif', serif;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin: 0 0 48px;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .partnering-title { font-size: 40px; }
}
.partnering-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 90%;
}
@media (min-width: 768px) {
  .partnering-grid { grid-template-columns: repeat(4, 1fr); width: 64%; }
}
.partner-card {
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  opacity: 0;
}
@media (min-width: 768px) {
  .partner-card { padding: 32px 24px; gap: 16px; }
}
.partner-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
@media (min-width: 768px) { .partner-icon { width: 48px; height: 48px; } }
.partner-label {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
@media (min-width: 768px) { .partner-label { font-size: 14px; } }

/* Footer */
.footer { background: #fff; color: #111; }
.footer-top {
  padding: 48px 24px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer-top { padding: 80px 40px 64px; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-top { padding: 80px 64px 64px; }
}
.footer-contact-label {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-email {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-email:hover { color: var(--gold); }
.footer-phone { font-size: 18px; font-weight: 600; color: #000; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-content: start;
}
.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.4);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-offices {
  padding: 40px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-offices { padding: 48px 40px; grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .footer-offices { padding: 48px 64px; }
}
.office-region {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.4);
  margin-bottom: 8px;
  font-weight: 600;
}
.office-name { font-size: 13px; font-weight: 600; color: #000; margin-bottom: 8px; }
.office-addr { font-size: 12px; color: rgba(0,0,0,0.6); line-height: 1.6; margin-bottom: 10px; }
.office-meta { font-size: 12px; color: rgba(0,0,0,0.6); display: flex; align-items: center; gap: 6px; }

.footer-bottom {
  background: #000;
  color: rgba(255,255,255,0.4);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
@media (min-width: 768px) { .footer-bottom { padding: 16px 40px; } }
@media (min-width: 1024px) { .footer-bottom { padding: 16px 64px; } }
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: 16px;
  transition: color 200ms ease;
}
.footer-bottom a:hover { color: #fff; }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 1023px) {
  .nav-center .nav-link.has-dropdown { display: none; }
  .nav-left .nav-link span.region-text { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 45;
  padding: 80px 24px 24px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay h3 {
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  margin: 24px 0 12px;
  cursor: pointer;
}
.mobile-overlay a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 8px 0;
  font-size: 15px;
  transition: color 200ms ease;
}
.mobile-overlay a:hover { color: var(--gold); }

/* Slide content positioning */
.hero-content {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* The scroll progress dot indicator */
.hero-progress {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-progress span {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  display: block;
  transition: background 300ms ease;
}
.hero-progress span.active { background: #fff; }
