@font-face { font-family: "Albert Sans"; src: url(assets/type/albert-sans.woff2) format("woff2"); font-weight: 200 700; font-display: swap; }

:root {
  /* Midnight navy and champagne gold, after the live site's #08111F and
     #D9AC43, with a steel sapphire for the quiet dots and muted text. */
  --ink: #08111f;          /* page: the live site's own background, so the hero runs into it */
  --ink-2: #0d1b2e;        /* raised surfaces */
  --ink-3: #12233a;        /* panels, sticky heads */
  --ivory: #f4eee3;        /* headings */
  --cream: #fbefd6;
  --champagne: #d4b062;    /* gold accent */
  --gold-light: #e6cc92;
  --bronze: #a48552;
  --umber: #5d7294;        /* steel: separators, inactive labels */
  --steel: #3e5a80;
  --text-2: #c8cfda;
  --text-3: #8693a8;
  --hair: rgba(212, 176, 98, 0.16);
  --button: #d6b264;
  --button-hover: #e8cc8f;
  --button-ink: #0a1526;

  /* one family throughout, the same one the member app uses */
  --display: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 5vw, 96px);
  --header: clamp(76px, 10svh, 96px);
}

/* The new header, mobile menu and hero sit on top of the live pages, whose
   own stylesheets (Bootstrap, style.css, luxury-club-style.css) stay as they
   are. Every class here starts with lx- so neither side touches the other.
   The live sheets also style bare elements (body font, p, h1, span, img,
   button); each lx- rule below sets those properties itself, which outranks
   an element rule, and the three roots reset what is inherited. */

.lx-header, .lx-menu, .lx-hero {
  box-sizing: border-box;
  font: 400 16px/1.5 var(--sans);
  letter-spacing: normal;
  text-align: left;
  color: var(--ivory);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.lx-header *, .lx-menu *, .lx-hero * { box-sizing: border-box; }
:is(.lx-header, .lx-menu, .lx-hero) :focus-visible { outline: 1px solid var(--champagne); outline-offset: 5px; }
body.lx-menu-open { overflow: hidden; }
/* No page scrollbar: the live template draws a 6px gold one down the right
   edge. The page still scrolls by wheel, trackpad, touch and keyboard. */
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
[hidden] { display: none !important; }

.lx-skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--button); color: var(--button-ink);
  font: 400 14px/1.2 var(--sans);
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.lx-skip:focus { transform: none; }

/* ---------------- Header ---------------- */

.lx-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: transform 0.7s var(--ease-out), background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s, -webkit-backdrop-filter 0.5s;
}
.lx-header.is-scrolled {
  background: rgba(7, 17, 31, 0.72);
  border-color: var(--hair);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}
.lx-header.is-hidden { transform: translateY(-101%); }
/* pages that open on a live photo banner: a soft shade keeps the links legible on bright skies */
.lx-header--photo { background: linear-gradient(to bottom, rgba(8, 17, 31, 0.62), rgba(8, 17, 31, 0)) border-box no-repeat; }

.lx-header__inner {
  height: var(--header);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: height 0.5s var(--ease-out);
}
.lx-header.is-scrolled .lx-header__inner { height: 68px; }

.lx-brand { justify-self: start; display: inline-flex; align-items: center; gap: 14px; }
.lx-brand__mark { display: block; max-width: none; height: 40px; width: auto; transition: transform 0.8s var(--ease-out); }
.lx-brand:hover .lx-brand__mark { transform: rotate(-5deg); }
.lx-brand__word {
  font: 500 12px/1.25 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lx-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 44px); font-size: 13px; letter-spacing: 0.04em; color: #d5dae3; }
.lx-nav a { position: relative; padding: 6px 0; transition: color 0.3s; }
.lx-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.lx-nav a:hover, .lx-nav a[aria-current="page"] { color: var(--cream); }
.lx-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lx-nav a[aria-current="page"]::after { transform: scaleX(1); opacity: 0.45; }

.lx-access {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 13px; letter-spacing: 0.04em;
  border: 1px solid rgba(212, 176, 98, 0.3);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.4);
  transition: border-color 0.3s, background-color 0.3s;
}
.lx-access::before { content: ""; width: 4px; height: 4px; background: var(--champagne); transition: transform 0.5s var(--ease); }
.lx-access:hover { border-color: var(--champagne); background: rgba(212, 176, 98, 0.08); }
.lx-access:hover::before { transform: rotate(45deg) scale(1.4); }

.lx-burger { display: none; position: relative; padding: 0; margin: 0; background: none; color: inherit; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(212, 176, 98, 0.3); }
.lx-burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out), left 0.6s var(--ease-out); }
.lx-burger span:first-child { top: 17px; }
.lx-burger span:last-child { top: 24px; left: 17px; }
.lx-burger[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.lx-burger[aria-expanded="true"] span:last-child { top: 20.5px; left: 13px; transform: rotate(-45deg); }

.lx-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(90% 60% at 100% 0%, rgba(212, 176, 98, 0.12), transparent 70%), var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s 0.8s;
}
.lx-menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1), visibility 0s; }
.lx-menu__links { display: flex; flex-direction: column; }
.lx-menu__links a, .lx-menu__foot { opacity: 0; transform: translateY(22px); transition: opacity 0.6s, transform 0.8s var(--ease-out); }
.lx-menu.is-open .lx-menu__links a, .lx-menu.is-open .lx-menu__foot { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i) * 0.07s); }
.lx-menu__links a { padding: 14px 0; border-bottom: 1px solid var(--hair); font: 300 clamp(28px, 7.6vw, 40px)/1.1 var(--display); letter-spacing: -0.03em; }
.lx-menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.lx-menu__phone { width: 100%; margin-top: 8px; font-size: 12px; letter-spacing: 0.14em; color: var(--text-3); }

/* ---------------- Hero ---------------- */

.lx-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 23rem);
  grid-template-rows: 1fr auto;
  column-gap: clamp(32px, 6vw, 120px);
  padding: var(--header) var(--gutter) clamp(40px, 8svh, 92px);
  overflow: hidden;
  /* the last layer settles the glow into the live page colour, so the hero's
     lower edge and the first live section meet without a seam */
  background:
    linear-gradient(to bottom, transparent 58%, var(--lx-blend) 100%),
    radial-gradient(70% 60% at 70% 34%, rgba(212, 176, 98, 0.06), transparent 70%),
    radial-gradient(120% 90% at 72% 36%, #142847 0%, #0b1a30 44%, var(--ink) 82%);
  --lx-fade: clamp(40px, 8svh, 92px);
  --lx-blend: var(--ink);
}
/* the home page's sector ticker sits right under the hero: settle into its colour instead */
.lx-hero:has(+ .after-banner) { --lx-blend: #0e1f3a; }

/* the points thin out over the bottom padding instead of stopping at a line */
.lx-hero__art {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--lx-fade)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--lx-fade)), transparent);
}

/* the vehicles are composed into this box (read by js/hero.js) */
.lx-hero__stage { position: absolute; left: 30%; right: 1%; top: calc(var(--header) + 4%); bottom: 33%; pointer-events: none; }

.lx-hero__copy { grid-column: 1; grid-row: 2; align-self: end; }
.lx-hero__meta { grid-column: 2; grid-row: 2; align-self: end; padding-bottom: 6px; }

.lx-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
  margin: 0 0 clamp(18px, 2.6svh, 30px); padding: 0; list-style: none;
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--umber);
}
.lx-eyebrow::before { content: ""; flex: none; width: 5px; height: 5px; margin-right: 14px; background: var(--champagne); }
.lx-eyebrow li { position: relative; transition: color 0.8s var(--ease); }
.lx-eyebrow li + li::before { content: "·"; margin: 0 12px; color: var(--umber); }
.lx-hero[data-eyebrow-sync][data-scene="0"] .lx-eyebrow li:nth-child(1),
.lx-hero[data-eyebrow-sync][data-scene="1"] .lx-eyebrow li:nth-child(2),
.lx-hero[data-eyebrow-sync][data-scene="2"] .lx-eyebrow li:nth-child(3),
.lx-hero[data-eyebrow-sync][data-scene="3"] .lx-eyebrow li:nth-child(4),
.lx-hero:not([data-eyebrow-sync]) .lx-eyebrow li:first-child { color: var(--champagne); }

.lx-title {
  margin: 0;
  font: 300 clamp(46px, 6.3vw, 128px)/0.96 var(--display);
  letter-spacing: -0.05em;
  color: var(--ivory);
}
.lx-title .lx-line { display: block; overflow: hidden; padding: 0 0.1em 0.08em 0; margin-bottom: -0.08em; }
.lx-title .lx-line > span { display: inline-block; white-space: nowrap; transform-origin: 0 100%; }
.lx-title em {
  font-style: normal;
  padding-right: 0.04em;
  background: linear-gradient(100deg, var(--bronze) 0%, var(--champagne) 30%, var(--cream) 45%, var(--champagne) 60%, var(--bronze) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lx-sheen 9s ease-in-out infinite;
}

.lx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

.lx-cta {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 50px; padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: var(--button); color: var(--button-ink);
  font-size: 14px; letter-spacing: 0.01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 0.3s, transform 0.6s var(--ease-out);
}
.lx-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.7) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform 1s var(--ease-out);
}
.lx-cta:hover { background: var(--button-hover); }
.lx-cta:hover::before { transform: translateX(130%); }
.lx-cta span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--button-ink); color: var(--button); font-size: 14px;
  transition: transform 0.5s var(--ease);
}
.lx-cta:hover span { transform: translateX(3px) rotate(-45deg); }

.lx-link { font-size: 14px; color: #e9e3d6; border-bottom: 1px solid rgba(212, 176, 98, 0.4); padding-bottom: 3px; transition: color 0.3s, border-color 0.3s; }
.lx-link:hover { color: var(--cream); border-color: var(--champagne); }

.lx-hero__lede { margin: 0 0 26px; font-family: var(--sans); font-weight: 400; text-align: left; letter-spacing: normal; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.lx-hero__meta .lx-hero__lede:last-child { margin-bottom: 0; }

/* ---------------- Opening ----------------
   The dither field paints every [data-form] element first: points gather into
   the header, headline, buttons and controls, then the live elements fade in
   exactly where they landed (js/hero.js adds .is-formed). */

.js [data-form] { opacity: 0; transition: opacity 1.1s var(--ease); }
.is-formed [data-form],
.return-visit [data-header][data-form], .return-visit [data-header] [data-form] { opacity: 1; }

@keyframes lx-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes lx-name-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------- Responsive ---------------- */

@media (max-width: 1100px) and (min-width: 821px) {
  .lx-hero { grid-template-columns: minmax(0, 1fr) minmax(240px, 19rem); }
  .lx-hero__stage { left: 20%; bottom: 36%; }
}

@media (max-width: 1100px) {
  .lx-header__inner { grid-template-columns: 1fr auto auto; }
  .lx-nav { display: none; }
  .lx-burger { display: block; }
}

@media (max-width: 820px) {
  :root { --header: 72px; }
  .lx-hero {
    display: flex; flex-direction: column; align-items: stretch;
    padding: var(--header) var(--gutter) 32px;
    --lx-fade: 32px;
  }
  /* never taller than about half the screen (phones held sideways), and inside its edges so the jet's tail isn't cut */
  .lx-hero__stage { position: relative; inset: auto; flex: none; height: clamp(190px, min(58vw, 46svh), 380px); margin: 32px calc(var(--gutter) / -2) 0; }
  .lx-hero__copy, .lx-hero__meta { align-self: stretch; }
  .lx-hero__copy { margin-top: auto; padding-top: 16px; }
  .lx-title { font-size: clamp(42px, 12.4vw, 82px); }
  .lx-hero__meta { margin-top: 22px; }
  .lx-brand__word { font-size: 11px; }
}

@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .lx-header .lx-access { display: none; }
  .lx-header__inner { grid-template-columns: 1fr auto; }   /* the burger sits on the gutter, not a gap away from it */
  .lx-eyebrow { font-size: 10.5px; letter-spacing: 0.18em; }
  .lx-eyebrow li + li::before { margin: 0 8px; }
}

/* phones: the live template's fade-in-on-scroll animations (AOS) are switched
   off, so every section is simply there; the same override the live page
   already uses for reduced motion */
@media (max-width: 820px) {
  html body [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* phones: "Built For Individuals" keeps its photo as an image under the text
   (the live page shows it there below 768 px), so the same photo is no longer
   also stretched behind the text as a background */
@media (max-width: 767px) {
  .for-individuals { background-image: none !important; }
}

/* Membership, "Luxury Lifestyle Privileges": each small photo keeps its own
   shape (the live flex row squeezed it into a thin strip as tall as the text) */
.golden-boxs .golden-box-item img { flex: none; align-self: flex-start; height: auto; }

/* the icon boxes beside text (home "Four Ways to Invest" and "Why Us", partner
   grid) keep their size instead of being squeezed narrow on phones */
.invest-box .invest-box-wrap .icon-invest, .why-us .why-club-box .icon-why-us, .partner-hub-detail .partner-hub-detail-wrap .parter-grid-icon { flex: none; }

/* short landscape screens (phones held sideways): give the two-column hero the room it needs */
@media (min-width: 821px) and (max-height: 560px) {
  .lx-hero { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.lx-header, .lx-menu, .lx-hero), :is(.lx-header, .lx-menu, .lx-hero) *, :is(.lx-header, .lx-menu, .lx-hero) *::before, :is(.lx-header, .lx-menu, .lx-hero) *::after {
    animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
}

.lx-nowrap { white-space: nowrap; }

/* phones: the eyebrow shows only the category on screen */
@media (max-width: 520px) {
  [data-eyebrow-sync] .lx-eyebrow li { display: none; }
  [data-eyebrow-sync] .lx-eyebrow li + li::before { content: none; }
  .lx-hero[data-eyebrow-sync][data-scene="0"] .lx-eyebrow li:nth-child(1),
  .lx-hero[data-eyebrow-sync][data-scene="1"] .lx-eyebrow li:nth-child(2),
  .lx-hero[data-eyebrow-sync][data-scene="2"] .lx-eyebrow li:nth-child(3),
  .lx-hero[data-eyebrow-sync][data-scene="3"] .lx-eyebrow li:nth-child(4) { display: block; }
  .lx-eyebrow li.swap { animation: lx-name-in 0.9s var(--ease-out); }   /* only on scene changes, never during the opening */
}

