:root {
  --gold: #D4AF37;
  --bg: #050505;
  --surface: #0f0f0f;
  --text-main: #f0f0f0;
  --text-muted: #888888;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-card: 'Fira Sans', sans-serif;
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --border-light: rgba(255, 255, 255, 0.1);
  --nav-h: 92px;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; border: 1px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
* { scrollbar-width: thin; scrollbar-color: var(--gold) var(--bg); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 5%; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s var(--ease-lux);
  will-change: opacity, transform;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

.split-header { opacity: 1; }
.split-header span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 1s var(--ease-lux), opacity 0.8s ease-out;
  will-change: transform, opacity;
}
.split-header.in-view span { opacity: 1; transform: translateY(0); }

.parallax-hero, .intro-visual img, .luxury-card__img-wrapper img, .bento-item img {
  will-change: transform;
}

section { content-visibility: auto; contain-intrinsic-size: 800px; }
section, footer { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Nav */
.nav-fixed {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 1.5rem 0;
  z-index: 999;
  transition: all 0.4s var(--ease-lux);
  background: transparent;
}
.nav-fixed.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.05em;
  z-index: 1002;
}
.nav-pill-wrapper { display: flex; align-items: center; }
.nav-list {
  display: flex; gap: .25rem;
  list-style-type: none;
  padding: 0; margin: 0;
}
.nav-list a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  opacity: 0.6;
  transition: opacity 0.25s, color 0.25s;
}
.nav-list a:hover, .nav-list a.active { opacity: 1; color: var(--gold); }

.nav-flag-img {
  width: 28px; height: 18px;
  object-fit: cover;
  display:inline-block;
  vertical-align:middle;
  border-radius:3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  transition: transform 0.3s var(--ease-lux);
}
.nav-flag a:hover .nav-flag-img { transform: translateY(-2px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 1002;
  width: 30px;
  height: 30px;
}
.hamburger span { width: 100%; height: 2px; background: #fff; transition: all 0.3s var(--ease-lux); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-wrapper { position: absolute; inset: 0; z-index: -1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}
.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: brightness(0.9);
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-bg.visible { opacity: 1; }

.hero-content { text-align: center; z-index: 2; }
.hero-title-mask h1 {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 900;
}
.hero-sub-mask p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 2rem auto 0;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s var(--ease-lux);
  color: rgba(255,255,255,0.9);
}
.hero-sub-mask p.in-view { opacity: 1; transform: translateY(0); }

/* About */
.intro-section { padding: 10rem 0; background: var(--bg); }
.intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.intro-visual-wrapper {
  height: 550px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}
.intro-visual { height: 140%; width: 100%; position: absolute; top: -20%; left: 0; }
.intro-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }

.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 1rem; }

.gold-text {
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.05;
  font-family: var(--font-head);
  font-weight: 900;
}

/* ✅ About title: wraps by words only (no ugly breaks) */
.intro-title {
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  max-width: 18ch;
}

.body-text { color: var(--text-muted); line-height: 1.8; font-size: 1.1rem; margin-bottom: 2rem; }

.btn-luxury {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.4s var(--ease-lux);
  text-decoration: none;
  display: inline-block;
}
.btn-luxury:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }

/* Values */
.values-section { padding: 10rem 0; background: #080808; color: #fff; }
.values-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; position: relative; }
.values-sticky-left { position: sticky; top: 30vh; height: fit-content; display: flex; flex-direction: column; gap: 2rem; }
.values-header h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1; font-family: var(--font-head); font-weight: 900; }

.values-descriptions { position: relative; min-height: 160px; }
.value-desc {
  position: absolute; top: 0; left: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.5s var(--ease-lux);
  pointer-events: none;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #888;
  width: 100%;
}
.value-desc.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.value-desc b { color: var(--gold); }

.values-list-wrap { padding-top: 5rem; }
.values-list { list-style: none; padding: 0; margin: 0; }
.value-item {
  font-size: 3rem;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #222;
  transition: 0.4s var(--ease-lux);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.value-item.active { color: #fff; padding-left: 20px; }
.value-tag { font-size: 0.8rem; font-weight: 600; color: var(--gold); opacity: 0; transition: 0.3s; }
.value-item.active .value-tag { opacity: 1; }

/* Programs */
.programs-section { padding: 10rem 0; background: #fff; color: #000; }
.section-top h2 { font-size: 3.5rem; color: #000; font-weight: 900; text-transform: uppercase; margin-bottom: 5rem; }
.luxury-prog-stack { display: flex; flex-direction: column; gap: 4rem; align-items: center; width: 100%; }
.luxury-card {
  width: 100%;
  max-width: 950px;
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 40px;
  margin-bottom: 4rem;
  transition: 0.4s var(--ease-lux), box-shadow 0.4s;
  border-radius: 20px;
}
.luxury-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.luxury-card__img-wrapper {
  width: 320px;
  height: 350px;
  flex-shrink: 0;
  transform: translateX(-60px);
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.luxury-card__img-wrapper img { width: 100%; height: 100%; object-fit: cover; display:block; transition: transform 0.6s ease; }
.luxury-card:hover img { transform: scale(1.05); }
.luxury-card__content { margin-left: -20px; }
.luxury-card__code { color: var(--gold); margin-bottom: 10px; display: block; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.luxury-card__title { font-size: 2.2rem; font-weight: 900; color: #000; margin-bottom: 15px; font-family: var(--font-head); }
.luxury-card__text { color: #555; margin-bottom: 25px; line-height: 1.7; font-size: 1.05rem; }
.luxury-card__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); text-decoration: none; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.luxury-card__link:hover { color: #000; }
.luxury-card__link .arrow { transition: transform 0.3s; }
.luxury-card__link:hover .arrow { transform: translateX(5px); }

/* Quote */
.quote-section { padding: 10rem 0; background: #050505; color: #fff; }
.quote-section blockquote { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.4; max-width: 1000px; margin: 0 auto; color: #f0f0f0; font-weight: 600; text-align: center; }

/* Work */
.work-section { padding: 10rem 0 8rem; background: #fff; color: #000; position: relative; z-index: 1; }
.work-header { margin-bottom: 4rem; display: flex; justify-content: space-between; align-items: flex-end; }
.work-header h2 { font-size: 3.5rem; line-height: 1; font-family: var(--font-head); font-weight: 900; }
.work-header p { max-width: 420px; color: #555; font-size: 1.1rem; }

.bento-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; height: 650px; margin-bottom: 4rem; }
.bento-item { position: relative; overflow: hidden; border-radius: 12px; background: #000; }
.bento-large { grid-row: 1 / 3; }
.bento-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 1.5rem; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.8s var(--ease-lux), opacity 0.5s; }
.bento-item:hover img { transform: scale(1.05); opacity: 0.6; }
.bento-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; }
.bento-tag { background: rgba(255,255,255,0.2); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: inline-block; }
.bento-content h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 0.5rem; }
.bento-content p { font-size: 1rem; color: #ccc; margin-bottom: 1rem; }
.bento-link { color: var(--gold); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; }
.bento-link:hover { border-color: var(--gold); }

/* Footer */
footer { padding: 6rem 0 2rem; background: #050505; color: #fff; border-top: 1px solid var(--border-light); }
.footer-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; margin-bottom: 5rem; }
.footer-logo { margin-bottom: 1.5rem; font-size: 1.5rem; }
.footer-desc { color: #888; max-width: 350px; line-height: 1.6; margin-bottom: 2rem; }
.socials a { color: #fff; margin-right: 1.5rem; text-decoration: none; font-size: 0.9rem; }
.footer-form-col h3 { font-size: 2rem; margin-bottom: 2rem; font-family: var(--font-head); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.input-row { display: flex; gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; background: #111; border: 1px solid #333; padding: 1rem; color: #fff; font-family: var(--font-body); outline: none; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form button { align-self: flex-start; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.85rem; color: #555; border-top: 1px solid #111; padding-top: 2rem; }
.legal a { color: #555; text-decoration: none; margin-left: 1.5rem; }

/* Modal (kept compatible with your HTML) */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-lux); background: rgba(0,0,0,0.75); backdrop-filter: blur(5px); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-container {
  width: 90%; max-width: 980px;
  background: rgba(6,6,6,0.98);
  border: 1px solid var(--border-light);
  max-height: 85vh;
  transform: translateY(12px);
  transition: 0.45s var(--ease-lux);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.modal-overlay.active .modal-container { transform: translateY(0); }
.modal-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--gold); font-size: 2.4rem; cursor: pointer; opacity: 0.95; z-index: 10; }
.modal-content-scroll { padding: 56px 44px; overflow-y: auto; color: #eaeaea; }
.modal-footer { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-light); text-align: center; }

.modal-program-row { margin-top: 22px; display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.modal-program-row .mini-card { flex: 0 0 220px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.04); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
.modal-program-row .mini-card img { width: 100%; height: 110px; object-fit: cover; border-bottom: 2px solid var(--gold); }
.modal-program-row .mini-card .mini-body { padding: 10px 12px; color: #eee; }

/* ✅ Responsive */
@media (max-width: 1024px) {
  .intro-layout, .values-container { grid-template-columns: 1fr; gap: 3rem; }
  .intro-visual-wrapper { height: 480px; }

  /* ✅ Restore your original Core Values mobile look */
  .values-sticky-left { position: static !important; height: auto; margin-bottom: 2rem; }
  .value-desc { position: relative !important; opacity: 1 !important; transform: none !important; display: block !important; margin-bottom: 1.5rem; pointer-events: auto !important; }
  .values-descriptions { min-height: auto !important; }
  .values-list-wrap { padding-top: 1rem; display: none !important; }

  .bento-grid { display: flex; flex-direction: column; height: auto; gap: 1.5rem; }
  .bento-large, .bento-small { height: 400px; width: 100%; }

  .luxury-card { flex-direction: column; padding: 40px 20px; text-align: center; }
  .luxury-card__img-wrapper { transform: translateY(-60px); margin: 0 auto; width: 90%; height: 300px; }
  .luxury-card__content { margin: -30px 0 0; padding: 0 10px; }

  .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .work-header p { text-align: left; max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --nav-h: 78px; }

  .nav-pill-wrapper {
    position: fixed; top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-lux);
  }
  .nav-pill-wrapper.active { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 2rem; text-align: center; }
  .nav-list a { font-size: 2rem; }
  .hamburger { display: flex; }

  .intro-title { max-width: 16ch; } /* slightly tighter on small screens */

  .modal-content-scroll { padding: 40px 20px; }
  .footer-layout { grid-template-columns: 1fr; gap: 4rem; }
  .input-row { flex-direction: column; }
}
