/* ==========================================================================
   LyfestyleX - travel page (Gate 01 of the E-12 / e1212.com umbrella)
   Layout + palette after a navy-and-gold civic reference (white ground,
   two-tone serif headings).
   Imagery after xullu.com (bright, full-bleed, rounded, generous space).
   Built for an older, less tech-comfortable, bilingual global audience:
   nothing hidden behind a menu, nothing under 15px, every target >= 48px.
   Self-contained: no external requests of any kind.
   ========================================================================== */
:root {
  --navy:       #1F2E4D;   /* primary text, headline line 1 */
  --navy-deep:  #16223A;
  --navy-soft:  #4A5B7C;   /* secondary text - 6.4:1 on white */
  --gold:       #B0872F;   /* LARGE display text only - 3.3:1 */
  --gold-text:  #8A6A24;   /* small text + button fills - 5.0:1 */
  --gold-hi:    #D6A845;   /* bright accent, used on dark only */
  --gold-tint:  #F6EEDC;
  --paper:      #FFFFFF;
  --paper-2:    #F7F5F0;
  --line:       #E3DED2;
  --focus:      #1F6FEB;
  --ok:         #2F6B3A;
  --font-display: "Georgia Pro", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(31, 46, 77, 0.07), 0 10px 30px rgba(31, 46, 77, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 148px; }
body {
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-text); }

/* One visible focus style everywhere. Never removed. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================== TYPE ============================== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }
h1 { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4vw, 46px); color: var(--navy); }
h3 { font-size: 21px; line-height: 1.3; }
/* LRA's signature: heading stacks navy over gold */
.h2-gold { display: block; color: var(--gold); }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--navy-soft); max-width: 62ch; }
.eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px;
}

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 30px;
  font-family: var(--font-body); font-size: 18px; font-weight: 700;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-gold { background: var(--gold-text); color: #fff; }
.btn-gold:hover { background: #6E5320; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { min-height: 64px; font-size: 20px; padding: 16px 40px; }
.btn-sm { min-height: 48px; font-size: 16px; padding: 10px 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ============================== NAV ============================== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
.wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 27px; letter-spacing: 0.01em; color: var(--navy);
  text-decoration: none; white-space: nowrap;
}
/* the emphasised X */
.wordmark .x {
  color: var(--gold); font-size: 1.24em; line-height: 0;
  position: relative; top: 0.05em; margin-left: 0.02em;
}
/* right side of the bar: the Traverex line sits above the buttons */
.nav-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
/* left side on a gate page: the way back to the umbrella sits above the
   wordmark, so nobody is ever stranded inside a gate */
.nav-stack-left { align-items: flex-start; }
.backlink {
  display: inline-flex; align-items: center; min-height: 30px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-soft); text-decoration: none; white-space: nowrap;
}
.backlink:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.powered {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy-soft); white-space: nowrap;
}
.linkbtn {
  min-height: 48px; padding: 8px 16px; font-size: 16px; font-weight: 600;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--navy); cursor: pointer; font-family: var(--font-body);
}
.linkbtn:hover { border-color: var(--navy); }

/* Row 2: the four big labelled tabs. Never a hamburger, never a dropdown. */
.tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 0 24px 14px; max-width: 1180px; margin: 0 auto;
}
.tab {
  flex: 1 1 auto; min-width: 130px;
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 10px 18px;
  font-size: 17px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none;
  color: var(--navy); background: var(--paper);
  border: 2px solid var(--line); border-radius: 999px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.tab:hover { border-color: var(--navy); }
.tab[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================== HERO ============================== */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
/* scrim so white type stays legible on a bright daylight photo */
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,20,36,0.62) 0%, rgba(12,20,36,0.40) 42%, rgba(12,20,36,0.78) 100%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding: 72px 0; text-align: center; }
/* the exclusivity line sits above the headline, gold on the dark scrim */
.hero .eyebrow { color: var(--gold-hi); display: block; margin-bottom: 16px; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 .gold { color: var(--gold-hi); display: block; }
.hero .lead { color: #EFEAE0; margin: 22px auto 0; text-align: center; }
.hero .cta-row { justify-content: center; margin-top: 34px; }
/* the quieter customer path */
.cust-link {
  display: inline-block; margin-top: 22px;
  color: #F0E6CF; font-size: 17px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
  min-height: 48px; padding: 12px 4px;
}
.cust-link:hover { color: #fff; }

/* ============================== SECTIONS ============================== */
section { padding: 84px 0; }
.band { background: var(--paper-2); }
.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-head .lead { margin-top: 16px; }

/* ---- Xullu-style icon tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  background: var(--gold-tint); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
}
.tile svg { width: 52px; height: 52px; margin: 0 auto 16px; display: block; color: var(--navy); }
.tile h3 { color: var(--navy); margin-bottom: 8px; font-size: 20px; }
.tile p { font-size: 16.5px; color: var(--navy-soft); line-height: 1.5; }

/* ---- card grid: wraps, never scrolls sideways, no arrows ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(31,46,77,.12), 0 18px 44px rgba(31,46,77,.10); }
.card-img { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,0.94); box-shadow: 0 4px 14px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
}
.card-play::after {
  content: ""; margin-left: 4px;
  border-left: 19px solid var(--navy);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.card-body { padding: 20px 22px 24px; }
.pill {
  display: inline-block; margin-bottom: 10px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.pill-members { background: var(--navy); color: #fff; }
.pill-free { background: var(--gold-tint); color: var(--gold-text); }
.pill-soon { background: var(--paper-2); color: var(--navy-soft); border: 1px solid var(--line); }
/* a card whose content does not exist yet reads as promised, not broken */
.card.is-soon { cursor: default; }
.card.is-soon:hover { transform: none; box-shadow: var(--shadow); }
.card.is-soon .card-img { filter: saturate(0.45); opacity: 0.7; }
.card.is-soon .card-play { display: none; }
.card h3 { color: var(--navy); }

/* ---- membership list ---- */
.benefits { list-style: none; display: grid; gap: 20px; margin-bottom: 34px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; font-size: 18.5px; }
.benefits .n {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-tint); color: var(--gold-text);
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- help / faq ---- */
.faq { display: grid; gap: 14px; max-width: 860px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.qa summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-size: 19px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 28px; color: var(--gold-text); line-height: 1; }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 24px 22px; color: var(--navy-soft); font-size: 17.5px; }

/* ---- video ---- */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 940px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-deep); box-shadow: var(--shadow);
}
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }
/* stands in for the intro video until one exists */
.video-soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 30px; text-align: center;
}
.video-soon .badge-soon {
  display: inline-block;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 17px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); color: #EBD9AE; border: 1px solid rgba(235, 217, 174, 0.4);
}
.video-soon p { color: #C2CCDC; font-size: 17.5px; max-width: 46ch; }

/* ============================== FOOTER ============================== */
footer { background: var(--navy-deep); color: #D8DEE9; padding: 56px 0 44px; font-size: 16px; }
footer .wordmark { color: #fff; font-size: 24px; }
footer .wordmark .x { color: var(--gold-hi); }
.foot-top {
  display: flex; justify-content: space-between; gap: 26px;
  flex-wrap: wrap; align-items: flex-start; margin-bottom: 30px;
}
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: #D8DEE9; text-decoration: underline; text-underline-offset: 4px; min-height: 48px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: #fff; }
.disclosure { color: #9FAABC; font-size: 15px; line-height: 1.65; max-width: 90ch; }
.disclosure a { color: #B9C4D4; }
.credit { color: #7F8B9E; font-size: 14.5px; margin-top: 14px; }

/* ============================== MODALS ============================== */
.modal-wrap {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(12, 20, 36, 0.62);
}
.modal-wrap.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 470px;
  background: var(--paper); border-radius: var(--radius);
  padding: 34px 30px 30px; box-shadow: 0 24px 70px rgba(0,0,0,.35);
  max-height: 92vh; overflow-y: auto;
}
.modal h3 { font-size: 27px; margin-bottom: 6px; }
.close-x {
  position: absolute; top: 12px; right: 12px;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: none; font-size: 30px; line-height: 1; color: var(--navy-soft); cursor: pointer;
}
.close-x:hover { background: var(--paper-2); color: var(--navy); }
.field { margin-top: 18px; }
.field label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.field input {
  width: 100%; min-height: 54px; padding: 12px 15px;
  font-size: 18px; font-family: var(--font-body); color: var(--navy);
  background: var(--paper); border: 2px solid var(--line); border-radius: 10px;
}
.field input:focus { border-color: var(--navy); outline: none; }
.field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.msg { margin-top: 14px; font-size: 16.5px; min-height: 24px; color: var(--navy-soft); }
.msg.err { color: #B3261E; }
.msg.ok { color: var(--ok); }
.modal .btn { width: 100%; margin-top: 20px; }
.switch-mode { margin-top: 16px; font-size: 16.5px; color: var(--navy-soft); text-align: center; }
.switch-mode a { cursor: pointer; font-weight: 600; }

.vplayer {
  position: fixed; inset: 0; z-index: 110; display: none;
  align-items: center; justify-content: center; padding: 22px;
  background: rgba(8, 13, 24, 0.94);
}
.vplayer.open { display: flex; }
.vplayer video, .vplayer .frame { width: min(1080px, 100%); aspect-ratio: 16/9; border-radius: 10px; background: #000; }
.vplayer .frame iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
.close-v {
  position: absolute; top: 18px; right: 18px;
  min-height: 52px; padding: 12px 24px; font-size: 17px; font-weight: 700;
  background: #fff; color: var(--navy); border: 0; border-radius: 999px; cursor: pointer;
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--navy-deep); color: #fff; padding: 16px 26px;
  border-radius: 999px; font-size: 17px; font-weight: 600;
  box-shadow: 0 12px 34px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 120;
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 190px; }
  body { font-size: 18px; }
  section { padding: 56px 0; }
  .nav-in { padding: 12px 18px; flex-wrap: wrap; }
  .wordmark { font-size: 24px; }
  .tabs { padding: 0 18px 12px; }
  /* four tabs wrap to a 2 x 2 block - still all visible, still no menu */
  .tab { flex: 1 1 calc(50% - 5px); min-width: 0; font-size: 16px; }
  .wrap { padding: 0 18px; }
  .grid { grid-template-columns: 1fr; }
  .hero-in { padding: 56px 0; }
  .hero .cta-row .btn { width: 100%; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}