/* LIFESTYLE SERVICES — bespoke editorial theme (deliberately breaks
   from the page-hero/page-sec/val-card conventions used elsewhere).
   Sets its own typeface too: EB Garamond throughout, rather than the
   sitewide Montserrat + Inter, to match the editorial tone.
   Brand colors are unchanged · gold #fdb813 · dark #162229 */

/* The global html/body use overflow-x:hidden, which forces overflow-y to
   compute to auto — making them scroll containers that break the FAQ's
   position:sticky left column. clip prevents horizontal scroll WITHOUT
   creating a scroll container. Scoped here since this stylesheet only
   loads on the Lifestyle page. */
html,
body {
  overflow-x: clip;
}

/* ── TYPEFACE ─────────────────────────────────────────────────────
   The page content runs entirely on EB Garamond — headings, buttons,
   labels, not just body copy. styles.css/shared.css/typography.css set
   Montserrat and Inter on plenty of specific selectors that out-specify
   anything inherited, so this overrides the lot in one place.

   Deliberately scoped to .lx-page (the <main>) rather than <body>: the
   navbar, footer, search overlay and FAB are site chrome and stay on
   the sitewide fonts, so they match every other page. ── */
.lx-page,
.lx-page *:not(svg):not(svg *) {
  font-family: "EB Garamond", serif !important;
}

.lx-page {
  background: #fbf9f6;
  color: #162229;
  overflow-x: clip;
}

/* EB Garamond runs smaller and lighter than Inter at the same px value,
   so nudge body copy up to keep it readable */
.lx-page p,
.lx-page li {
  font-size: 1.05em;
}

.lx-page b,
.lx-page strong {
  font-weight: 700;
}

.lx-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(253, 184, 19, 0.08), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(22, 34, 41, 0.04), transparent 50%);
}

.lx-section {
  width: 100%;
  padding: 120px 40px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-section.lx-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* The FAQ section pins its left column with position:sticky, which any
   transformed ancestor breaks. Opt this section out of the transform-
   based reveal (keeping the opacity fade) so the sticky works. */
.lx-faq,
.lx-faq.lx-revealed {
  transform: none;
}

.lx-inner {
  max-width: 1360px;
  margin: 0 auto;
}

/* Hero */
.lx-hero {
  padding-top: 168px;
  padding-bottom: 90px;
}

.lx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.lx-eyebrow {
  font-family: "EB Garamond", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lx-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* Display type is set light and large — a Garamond at 400 carries a
   headline the way a grotesk at 800 never does, and the extra size is
   what makes the page read as editorial rather than as a product page */
.lx-h1 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #162229;
  margin-bottom: 28px;
}

.lx-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lx-subhead {
  font-size: 22px;
  line-height: 1.5;
  color: #536670;
  max-width: 520px;
  margin-bottom: 44px;
}

.lx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #162229;
  color: #fff;
  border: 1px solid #162229;
  padding: 17px 34px;
  font-family: "EB Garamond", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #162229;
  box-shadow: 0 18px 40px rgba(253, 184, 19, 0.3);
}

.lx-btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #162229;
}

.lx-btn.gold:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* crossfade hero image stack */
.lx-hero-imgbox {
  position: relative;
  aspect-ratio: 4 / 3.4;
  width: 100%;
  max-height: 460px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 33px 70px rgba(22, 34, 41, 0.12);
}

.lx-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 8, 3, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 184, 19, 0.3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: "EB Garamond", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lx-hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  flex-shrink: 0;
}

.lx-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(14px) scale(1.03);
  transition:
    opacity 1.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.lx-slide.is-active {
  opacity: 1;
  filter: blur(0) scale(1);
  z-index: 2;
}

.lx-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PHILOSOPHY (charcoal interlude, textured, image + statement)
   The one dark section in the run. Breaking the ivory here is what
   gives the page its rhythm — the gold is saved for the closing band
   so it still lands as an arrival rather than a repeat. */
.lx-philosophy {
  position: relative;
  background:
    linear-gradient(135deg, rgba(22, 34, 41, 0.94) 0%, rgba(15, 24, 29, 0.97) 100%),
    url("../../bgImage.png") center / cover no-repeat, #162229;
  color: #fff;
  padding: 150px 40px;
  overflow: hidden;
}

.lx-philosophy-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.lx-philosophy h2 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.25;
  color: #fff;
}

.lx-philosophy-tag {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.lx-philosophy-text {
  position: relative;
}

.lx-philosophy-text::before {
  content: "\201C";
  position: absolute;
  top: -64px;
  left: -8px;
  font-family: "EB Garamond", serif;
  font-size: 140px;
  line-height: 1;
  color: rgba(253, 184, 19, 0.18);
  pointer-events: none;
  z-index: 0;
}

.lx-philosophy-text p {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 44px;
}

.lx-philosophy-img {
  aspect-ratio: 21 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lx-philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SECTION HEADER (shared) */
.lx-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 90px;
}

.lx-head h2 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #162229;
  margin-bottom: 24px;
}

.lx-head p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #536670;
}

/* SIGNATURE DESKS (glass tab panel + viewer) */
.lx-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: stretch;
}

.lx-tab-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 34, 41, 0.08);
  border-radius: 4px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 49px rgba(22, 34, 41, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.lx-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(22, 34, 41, 0.08);
  text-align: left;
  padding: 18px 22px;
  font-family: "EB Garamond", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #536670;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 4px 4px 0;
}

.lx-tab-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(22, 34, 41, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lx-tab-ico svg {
  width: 15px;
  height: 15px;
  color: #7d8d95;
  transition: color 0.3s;
}

.lx-tab.is-active .lx-tab-ico,
.lx-tab:hover .lx-tab-ico {
  background: var(--gold);
}

.lx-tab.is-active .lx-tab-ico svg,
.lx-tab:hover .lx-tab-ico svg {
  color: #162229;
}

.lx-tab:hover {
  color: #162229;
  background: rgba(253, 184, 19, 0.06);
}

.lx-tab.is-active {
  color: #162229;
  border-left-color: var(--gold);
  background: rgba(253, 184, 19, 0.1);
}

.lx-viewer {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lx-viewer-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 49px rgba(22, 34, 41, 0.08);
}

.lx-viewer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.lx-viewer-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(10, 8, 3, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "EB Garamond", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 16px;
  border-radius: 999px;
}

.lx-viewer-text {
  font-size: 17px;
  line-height: 1.75;
  color: #2b3a42;
  min-height: 90px;
  transition: opacity 0.3s ease;
}

/* INFRASTRUCTURE MATRIX (icon cards) */
.lx-matrix-sec {
  position: relative;
}

.lx-matrix-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(253, 184, 19, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 35%, transparent 85%);
}

.lx-matrix-sec .lx-inner {
  position: relative;
  z-index: 1;
}

.lx-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lx-matrix-card {
  position: relative;
  border: 1px solid rgba(22, 34, 41, 0.08);
  border-radius: 4px;
  padding: 36px 30px;
  background: #fff;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-matrix-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-matrix-card:hover {
  border-color: rgba(253, 184, 19, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 17px 42px rgba(22, 34, 41, 0.04);
}

.lx-matrix-card:hover::before {
  transform: scaleX(1);
}

.lx-matrix-card[data-num]::after {
  content: attr(data-num);
  position: absolute;
  bottom: 8px;
  right: 20px;
  font-family: "EB Garamond", serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: rgba(253, 184, 19, 0.1);
  pointer-events: none;
  z-index: 0;
  transition: color 0.4s;
}

.lx-matrix-card:hover[data-num]::after {
  color: rgba(253, 184, 19, 0.22);
}

.lx-matrix-card > * {
  position: relative;
  z-index: 1;
}

.lx-matrix-ico {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.3s;
}

.lx-matrix-card:hover .lx-matrix-ico {
  background: #162229;
  transform: scale(1.08);
}

.lx-matrix-ico svg {
  width: 21px;
  height: 21px;
  color: #162229;
  transition: color 0.3s;
}

.lx-matrix-card:hover .lx-matrix-ico svg {
  color: var(--gold);
}

.lx-matrix-card h3 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #162229;
  margin-bottom: 14px;
}

.lx-matrix-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #536670;
}

/* GALLERY (alt shade) */
.lx-gallery {
  background: #f5f1eb;
  border-top: 1px solid rgba(22, 34, 41, 0.05);
  border-bottom: 1px solid rgba(22, 34, 41, 0.05);
}

.lx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lx-gallery-item:nth-child(2),
.lx-gallery-item:nth-child(4) {
  margin-top: 40px;
}

.lx-gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(22, 34, 41, 0.04);
}

.lx-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 8, 3, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lx-gallery-item:hover::after {
  opacity: 1;
}

.lx-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-gallery-item:hover img {
  transform: scale(1.05);
}

.lx-gallery-label {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 13px;
  color: #162229;
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 21px rgba(22, 34, 41, 0.08);
}

/* FAQ (dark accordion) */
.lx-faq {
  position: relative;
  background: linear-gradient(135deg, #162229 0%, #0f181d 100%);
  color: #fff;
  /* clip (not hidden) so it still contains the ::before glow WITHOUT
     creating a scroll container that would break the sticky left column */
  overflow: clip;
}

.lx-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 4% 96%, rgba(253, 184, 19, 0.1) 0%, transparent 62%);
}

.lx-faq-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

/* Pin the heading/intro while the FAQ list on the right scrolls past;
   it releases naturally once the last FAQ is reached and the section
   scrolls away. */
.lx-faq-left {
  position: sticky;
  top: calc(var(--nav-h, 88px) + 40px);
  align-self: start;
}

.lx-faq-left h2 {
  font-family: "EB Garamond", serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.lx-faq-sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 440px;
}

.lx-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}

.lx-faq-item:first-child {
  padding-top: 0;
}

.lx-faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  cursor: pointer;
  padding: 4px 0;
}

.lx-faq-q {
  font-family: "EB Garamond", serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.4;
  transition: color 0.25s;
}

.lx-faq-item:hover .lx-faq-q {
  color: var(--gold);
}

.lx-faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lx-faq-icon::before,
.lx-faq-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s;
}

.lx-faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.lx-faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.lx-faq-item.is-open .lx-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.lx-faq-item.is-open .lx-faq-icon::before {
  background: var(--gold);
}

.lx-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-faq-answer {
  padding-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.lx-faq-answer p {
  margin-bottom: 14px;
}

.lx-faq-answer p:last-child {
  margin-bottom: 0;
}

.lx-faq-answer ul {
  list-style: none;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lx-faq-answer li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
}

.lx-faq-answer li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.lx-faq-note {
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.lx-faq-answer strong {
  color: #fff;
}

/* Signature close */
.lx-close {
  text-align: center;
  padding: 150px 40px;
}

.lx-close h2 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.2;
  color: #162229;
  margin-bottom: 40px;
}

.lx-close h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lx-close-note {
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(22, 34, 41, 0.65);
}

/* Responsive */
@media (max-width: 1200px) {
  .lx-section {
    padding: 84px 40px;
  }

  .lx-hero {
    padding-top: 120px;
  }

  .lx-hero-grid,
  .lx-philosophy-grid,
  .lx-showcase,
  .lx-faq-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Single column below 1200px — don't pin the heading */
  .lx-faq-left {
    position: static;
  }

  .lx-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .lx-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .lx-section {
    padding: 64px 22px;
  }

  .lx-philosophy {
    padding: 72px 22px;
  }

  .lx-close {
    padding: 64px 22px;
  }

  .lx-matrix,
  .lx-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lx-gallery-item:nth-child(2),
  .lx-gallery-item:nth-child(4) {
    margin-top: 0;
  }

  .lx-head {
    margin-bottom: 48px;
  }
}
