/* =====================================================================
   PalmX — editorial / premium theme
   Cream and slate, a thin display serif, pill labels, full-bleed
   photography. Everything is scoped under body.lux so it never collides
   with styles.css on the other pages.
   ===================================================================== */

:root {
  --cream:   #EDE9E2;
  --paper:   #F7F5F1;
  --white:   #FFFFFF;
  --ink:     #16171A;
  --slate:   #212329;
  --slate-2: #2A2D34;
  --mute:    #6E6C68;
  --mute-lt: #A4A19B;
  --rule:    rgba(22, 23, 26, .14);
  --rule-lt: rgba(255, 255, 255, .16);
  --amber:   #C98A4B;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 32px);
  --ease:   cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body.lux {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.lux img { display: block; max-width: 100%; }
.lux a { color: inherit; }
.lux h1, .lux h2, .lux h3, .lux p { margin: 0; }
.lux ::selection { background: var(--ink); color: var(--cream); }
.lux :focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.x-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- small type primitives ---------- */
.x-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 24px; padding: 0 14px;
  border: 1px solid currentColor; border-radius: 999px;
  font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: none; color: inherit; white-space: nowrap;
}
button.x-pill { cursor: pointer; transition: background .3s, color .3s; }
.x-pill.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.x-dark .x-pill.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.x-link {
  display: inline-block;
  font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.x-link:hover { background-size: 0 1px; background-position: right bottom; }

.x-heading {
  font: 500 clamp(15px, 1.35vw, 19px)/1.35 var(--sans);
  letter-spacing: .01em; text-transform: uppercase;
}
.x-heading em {
  font: italic 400 1.28em/1 var(--serif); text-transform: uppercase; letter-spacing: .02em;
}
.x-body { font-size: 13.5px; line-height: 1.7; color: #3B3A38; max-width: 46ch; }
.x-dark .x-body { color: #B9B7B2; }

.x-label { display: flex; justify-content: center; margin-bottom: clamp(16px, 2vw, 24px); }

/* =====================================================================
   HEADER — one line, blends against whatever is under it
   ===================================================================== */
.x-head {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding-inline: var(--gutter);
  color: #fff; mix-blend-mode: difference;
  pointer-events: none;
}
.x-head > * { pointer-events: auto; }
.x-logo {
  font: 400 23px/1 var(--serif); letter-spacing: .04em; text-decoration: none;
  text-transform: uppercase;
}
.x-menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; color: inherit; cursor: pointer;
  font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.x-burger { position: relative; width: 20px; height: 8px; }
.x-burger::before, .x-burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.x-burger::before { top: 0; }
.x-burger::after  { top: 7px; }
.menu-open .x-burger::before { top: 4px; transform: rotate(45deg) scaleX(.8); }
.menu-open .x-burger::after  { top: 4px; transform: rotate(-45deg) scaleX(.8); }

/* =====================================================================
   MENU OVERLAY
   ===================================================================== */
.x-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--slate); color: #F2EFEA;
  display: grid; place-items: center;
  padding: 90px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  visibility: hidden;
}
.menu-open .x-menu {
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s var(--ease-io);
  visibility: visible;
}
.menu-open { overflow: hidden; }
.x-menu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.x-menu nav a {
  font: 400 clamp(22px, 3.2vw, 34px)/1.25 var(--sans);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  overflow: hidden; display: block;
}
.x-menu nav a span {
  display: block; transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
}
.x-menu nav a:hover span { color: var(--amber); }
.menu-open .x-menu nav a span { transform: none; }
.x-menu nav a:nth-child(1) span { transition-delay: .25s }
.x-menu nav a:nth-child(2) span { transition-delay: .29s }
.x-menu nav a:nth-child(3) span { transition-delay: .33s }
.x-menu nav a:nth-child(4) span { transition-delay: .37s }
.x-menu nav a:nth-child(5) span { transition-delay: .41s }
.x-menu nav a:nth-child(6) span { transition-delay: .45s }
.x-menu nav a:nth-child(7) span { transition-delay: .49s }
.x-menu nav a:nth-child(8) span { transition-delay: .53s }
.x-menu nav a:nth-child(9) span { transition-delay: .57s }
.x-menu-foot {
  margin-top: 42px; display: flex; justify-content: center; gap: 22px;
  font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-lt);
  opacity: 0; transition: opacity .6s .6s;
}
.menu-open .x-menu-foot { opacity: 1; }
.x-menu-foot a { text-decoration: none; }
.x-menu-foot a:hover { color: #fff; }

/* =====================================================================
   HERO — full-bleed photograph, wordmark dissolving in slices
   ===================================================================== */
.x-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #0c0a08; color: #fff;
}
.x-hero-media { position: absolute; inset: -4%; }
.x-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%;
  filter: brightness(1.35) contrast(1.05) saturate(1.05);
  animation: heroDrift 26s ease-in-out infinite alternate;
  transform-origin: 70% 60%;
}
@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(-1.2%, 0, 0); }
  to   { transform: scale(1.0)  translate3d(1.2%, 0, 0); }
}
.x-hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  filter: saturate(1.05) contrast(1.05);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.x-hero::after {                       /* the dusk sky is bright: shade it so white type reads */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 45%, rgba(0,0,0,.18) 20%, rgba(0,0,0,.5) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.15) 35%, rgba(0,0,0,.2) 65%, rgba(0,0,0,.6));
}
.lux .x-hero-tag {
  margin-top: clamp(18px, 2.4vw, 30px);
  font: 500 clamp(10px, .85vw, 12px)/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: #fff; padding: 10px 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  opacity: 0; animation: fadeUp 1.2s var(--ease) 1.3s forwards;
}
.x-hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px var(--gutter) 0;
}
.lux .x-hero-kicker {
  font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: clamp(14px, 2vw, 26px);
  opacity: 0; animation: fadeUp 1.2s var(--ease) .9s forwards;
}
.lux .x-hero-sub {
  margin-top: clamp(14px, 2vw, 24px);
  font: italic 300 clamp(17px, 1.9vw, 25px)/1.3 var(--serif); color: rgba(255,255,255,.85);
  opacity: 0; animation: fadeUp 1.2s var(--ease) 1.1s forwards;
}
.x-hero-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(26px, 5vh, 48px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0; animation: fadeUp 1.2s var(--ease) 1.3s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the wordmark: JS lays sliced copies over the text and tears them apart */
.wm {
  position: relative; display: inline-block;
  font: 300 clamp(64px, 13.5vw, 212px)/.9 var(--serif);
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  color: #fff;
}
.wm-base { visibility: hidden; }
.wm:not(.is-sliced) .wm-base { visibility: visible; }
.wm-slice {
  position: absolute; inset: 0; display: block; text-align: center;
  will-change: transform, opacity;
}

/* tiny countdown line */
.x-count { display: flex; gap: 18px; font-family: var(--sans); }
.x-count .unit { display: flex; align-items: baseline; gap: 5px; }
.x-count .num { font: 400 15px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.x-count .lbl { font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .6; }

/* =====================================================================
   ABOUT — cream copy left, photograph right
   ===================================================================== */
.x-about {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream); min-height: min(100vh, 760px);
}
.x-about-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 80px);
}
.x-about-copy .x-link { align-self: flex-start; margin-top: 10px; }
.x-about-media { position: relative; overflow: hidden; background: #1a1411; }
.x-about-media img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  will-change: transform;
}
.x-caption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8);
}

/* =====================================================================
   TAG MARQUEE
   ===================================================================== */
.x-tags { background: var(--white); padding: 22px 0 0; overflow: hidden; }
.x-tags-row { display: flex; width: max-content; animation: tagScroll 48s linear infinite; }
.x-tags:hover .x-tags-row { animation-play-state: paused; }
.x-tags-set { display: flex; gap: 10px; padding-right: 10px; }
.x-tags .x-pill { height: 26px; font-size: 9.5px; color: var(--ink); }
@keyframes tagScroll { to { transform: translate3d(-50%, 0, 0); } }
.x-tags-rule { height: 1px; background: var(--rule); margin: 22px var(--gutter) 0; }
.x-tags + .x-sec { padding-top: clamp(40px, 5vw, 64px); }

/* =====================================================================
   GENERIC CENTERED SECTION
   ===================================================================== */
.x-sec { padding: clamp(52px, 6.5vw, 92px) 0; }
.x-sec-white { background: var(--white); }
.x-sec-cream { background: var(--cream); }
.x-dark { background: var(--slate); color: #F2EFEA; }
.x-intro { text-align: center; max-width: 760px; margin-inline: auto; }
.x-intro .x-heading { margin-bottom: 18px; }
.x-intro .x-body { margin-inline: auto; max-width: 70ch; }

.x-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(34px, 4.5vw, 56px); border-top: 1px solid var(--rule);
}
.x-step { padding: 26px clamp(14px, 2.4vw, 34px) 0; border-left: 1px solid var(--rule); }
.x-step:first-child { border-left: 0; padding-left: 0; }
.x-step-n { font: 300 clamp(44px, 5vw, 72px)/1 var(--serif); display: block; margin-bottom: 18px; }
.x-step h3 { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.x-step p { font-size: 13.5px; color: var(--mute); max-width: 32ch; }

/* =====================================================================
   TWO-UP — people / brands, monochrome until hovered
   ===================================================================== */
.x-duo { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.x-duo-item { text-decoration: none; display: block; }
.x-duo-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: #111; }
.x-duo-media img, .x-duo-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.55);
  transform: scale(1.02);
  transition: filter 1.1s var(--ease), transform 1.6s var(--ease);
}
.x-duo-item:hover .x-duo-media img, .x-duo-item:hover .x-duo-media video,
.x-duo-item:focus-visible .x-duo-media img, .x-duo-item:focus-visible .x-duo-media video { filter: grayscale(0) contrast(1.02) brightness(1.15); transform: scale(1.06); }
/* the videos are already well exposed: no lift, just the mono → colour swap */
.x-duo-media video { filter: grayscale(1) contrast(1.08); }
.x-duo-item:hover .x-duo-media video,
.x-duo-item:focus-visible .x-duo-media video { filter: grayscale(0) contrast(1); }
.x-duo-cap { text-align: center; padding: 18px var(--gutter) 34px; }
.x-duo-cap strong { display: block; font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.x-duo-cap span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 4px; }

/* =====================================================================
   POWERED BY — logo strip
   ===================================================================== */
.x-logos {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(28px, 6vw, 90px); margin-bottom: clamp(34px, 4.5vw, 54px);
}
.x-logo-item { display: flex; align-items: center; gap: 14px; }
.x-logo-item img { height: 42px; width: auto; filter: grayscale(1) contrast(1.4); mix-blend-mode: multiply; }
.x-logo-item img.is-sbp { height: 58px; }
.x-logo-item span {
  font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #3B3A38; max-width: 18ch;
}
.x-wordlogo { font: 500 clamp(22px, 2.6vw, 34px)/1 var(--serif); letter-spacing: .02em; }
.x-wordlogo small { display: block; font: 500 9px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }

/* =====================================================================
   ONE BALANCE — tabbed centred list
   ===================================================================== */
.x-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.x-list { list-style: none; margin: 0; padding: 0; text-align: center; }
.x-list[hidden] { display: none; }
.x-list li {
  font: 400 clamp(13px, 1.1vw, 15px)/1 var(--sans); letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 0; cursor: default; transition: color .3s;
}
.x-list li small {
  display: block; height: 0; overflow: hidden; opacity: 0;
  font: italic 400 16px/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: var(--mute);
  transition: height .45s var(--ease), opacity .45s, margin .45s var(--ease);
}
.x-list li:hover small { height: 22px; opacity: 1; margin-top: 6px; }
.x-list-foot { display: flex; justify-content: center; margin-top: 28px; }

/* =====================================================================
   SCANNER — dark band, photo + stat mosaic
   ===================================================================== */
.x-scanner-intro { padding-block: clamp(52px, 6.5vw, 88px) clamp(32px, 4vw, 48px); }
.x-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); }
.x-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.x-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter 1s;
  filter: brightness(1.15);
}
.x-tile:hover img { transform: scale(1.06); filter: brightness(1.3); }
.x-tile-label {
  position: absolute; left: 16px; bottom: 14px;
  font: 400 13px/1 var(--sans); color: #fff; letter-spacing: .01em;
}
.x-tile-stat {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(18px, 2.2vw, 30px); background: var(--slate-2);
  border-left: 1px solid var(--rule-lt);
}
.x-tile-stat:nth-child(odd) { background: #26292F; }
.x-tile-stat .k { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-lt); }
.x-tile-stat .v { font: 300 clamp(44px, 5.4vw, 86px)/.95 var(--serif); }
.x-tile-stat .v i { font-style: italic; }
.x-tile-stat p { font-size: 12.5px; color: #B9B7B2; max-width: 28ch; }
.x-scanner-foot { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 32px var(--gutter) 44px; }

/* =====================================================================
   FAQ — the "careers" row list
   ===================================================================== */
.x-rows { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--rule); }
.x-rows details { border-bottom: 1px solid var(--rule); }
.x-rows summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font: 500 14px/1.4 var(--sans);
}
.x-rows summary::-webkit-details-marker { display: none; }
.x-rows summary .tag {
  font: 400 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.x-rows summary .tag::after {
  content: "+"; font: 300 22px/1 var(--sans); color: var(--ink);
  transition: transform .5s var(--ease);
}
.x-rows details[open] summary .tag::after { transform: rotate(45deg); }
.x-rows details p { font-size: 13.5px; color: #4A4946; max-width: 70ch; padding: 0 0 24px; }
.x-rows summary:hover { color: var(--amber); }

/* =====================================================================
   WAITLIST
   ===================================================================== */
.x-join { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.x-join-media { position: relative; min-height: 560px; overflow: hidden; }
.x-join-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 55%; filter: brightness(1.3); }
.x-join-media .x-count {
  position: absolute; left: 0; right: 0; bottom: 30px; justify-content: center; color: #fff; z-index: 1;
}
.x-join-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 40%); }
.x-join-body { padding: clamp(52px, 6.5vw, 92px) clamp(20px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.x-join-body > .x-pill { align-self: flex-start; margin-bottom: 20px; }
.x-join-body .x-heading { margin-bottom: 14px; }
.x-join-body .x-body { margin-bottom: 26px; }

.lux .form-card { max-width: 520px; }
.lux .tabs { position: relative; display: flex; gap: 8px; margin-bottom: 28px; }
.lux .tab {
  height: 26px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px;
  background: none; color: var(--ink); cursor: pointer;
  font: 500 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.lux .tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.lux .tab-ind { display: none; }
.lux .panel[hidden] { display: none; }
.lux .field { position: relative; margin-bottom: 20px; }
.lux .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lux .field label {
  display: block; font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 8px;
}
.lux .field input, .lux .field select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(22,23,26,.35); border-radius: 0;
  background: transparent; padding: 8px 0 10px; color: var(--ink);
  font: 400 15px/1.3 var(--sans); outline: none; appearance: none;
  transition: border-color .3s;
}
.lux .field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%2316171A'/%3E%3C/svg%3E") right 4px center no-repeat; }
.lux .field input::placeholder { color: #A4A19B; }
.lux .field input:focus, .lux .field select:focus { border-bottom-color: var(--ink); }
.lux .field .hint { display: none; }
.lux .field .err { display: none; font-size: 11.5px; color: #A2412B; margin-top: 6px; }
.lux .field.invalid .err { display: block; }
.lux .field.invalid input, .lux .field.invalid select { border-bottom-color: #A2412B; }
.lux .btn-submit {
  margin-top: 10px; width: 100%; height: 50px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--cream); cursor: pointer;
  font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .35s, color .35s;
}
.lux .btn-submit:hover { background: transparent; color: var(--ink); }
.lux .form-foot { font-size: 11.5px; color: var(--mute); margin-top: 14px; }
.lux .form-success { display: none; }
.lux .form-success.show { display: block; }
.lux .form-success .big { font: 300 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); margin-bottom: 10px; }
.lux .refer-box { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.lux .refer-row { display: flex; gap: 10px; margin-top: 14px; }
.lux .refer-row input {
  flex: 1; min-width: 0; border: 0; border-bottom: 1px solid rgba(22,23,26,.35);
  background: transparent; font: 400 13px/1 var(--sans); padding: 8px 0;
}
.lux .js-copy {
  height: 34px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream); cursor: pointer;
  font: 500 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}

/* =====================================================================
   FOOTER — the giant wordmark
   ===================================================================== */
.x-foot { background: var(--slate); color: #D9D6D0; overflow: hidden; padding-top: clamp(28px, 4vw, 56px); }
.x-foot-mark {
  font: 300 clamp(96px, 26vw, 420px)/.8 var(--serif); letter-spacing: .02em; text-transform: uppercase;
  color: #2E3138; text-align: center; white-space: nowrap; user-select: none;
  transform: translateY(8%);
}
.x-foot-body { border-top: 1px solid var(--rule-lt); margin-top: clamp(20px, 3vw, 40px); padding: 30px var(--gutter) 26px; text-align: center; }
.x-foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; }
.x-foot-nav a {
  font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #C9C6C0;
}
.x-foot-nav a:hover { color: #fff; }
.x-socials { display: flex; justify-content: center; gap: 18px; margin: 26px 0; }
.x-socials a { width: 16px; height: 16px; color: #C9C6C0; }
.x-socials a:hover { color: #fff; }
.x-socials svg { width: 100%; height: 100%; }
.x-foot-legal { font-size: 10.5px; color: #8E8B86; line-height: 1.8; }
.x-foot-legal a { color: inherit; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* page hero: the homepage hero, shorter, with a sentence for a title */
.x-phero {
  position: relative; min-height: 78vh; min-height: 78svh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: #0c0a08; color: #fff;
}
.x-phero-media { position: absolute; inset: 0; }
.x-phero-media img, .x-phero-media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
.x-phero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.3) 30%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.78));
}
.x-phero-inner {
  position: relative; z-index: 2; width: 100%;
  padding: 120px var(--gutter) clamp(40px, 6vw, 72px);
  max-width: 1440px; margin-inline: auto;
}
.x-phero .x-pill { margin-bottom: clamp(18px, 2.4vw, 28px); opacity: 0; animation: fadeUp 1s var(--ease) .2s forwards; }
.x-phero h1 {
  font: 300 clamp(44px, 7.4vw, 116px)/.95 var(--serif); letter-spacing: -.005em;
  max-width: 15ch; opacity: 0; animation: fadeUp 1.2s var(--ease) .35s forwards;
}
.x-phero h1 em { font-style: italic; }
.lux .x-phero-sub {
  margin-top: clamp(16px, 2vw, 24px); max-width: 54ch;
  font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; color: rgba(255,255,255,.82);
  opacity: 0; animation: fadeUp 1.2s var(--ease) .5s forwards;
}
.x-phero-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: clamp(22px, 3vw, 34px); opacity: 0; animation: fadeUp 1.2s var(--ease) .65s forwards; }

/* in-page jump row */
.x-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 22px var(--gutter); border-bottom: 1px solid var(--rule); background: var(--white); }
.x-jump a { text-decoration: none; transition: background .3s, color .3s; }
.x-jump a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* column grid with hairline dividers: the steps row, any count */
.x-cols {
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr);
  margin-top: clamp(34px, 4.5vw, 56px); border-top: 1px solid var(--rule);
}
.x-cols > * { padding: 26px clamp(14px, 2.2vw, 30px) 28px 0; border-right: 1px solid var(--rule); }
.x-cols > * + * { padding-left: clamp(14px, 2.2vw, 30px); }
.x-cols > *:last-child { border-right: 0; }
.x-cols--3 > *:nth-child(3n+1) { padding-left: 0; }
.x-cols--3 > *:nth-child(n+4) { border-top: 1px solid var(--rule); }
.x-cols .n { display: block; font: 300 clamp(34px, 3.6vw, 52px)/1 var(--serif); margin-bottom: 14px; }
.x-cols h3 { font: 500 12px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.x-cols p { font-size: 13.5px; color: var(--mute); max-width: 40ch; }
.x-cols p + p { margin-top: 8px; }
.x-cols .best { font: italic 400 15px/1.4 var(--serif); color: var(--ink); margin-top: 12px; }
.x-cols a { color: inherit; }
.x-dark .x-cols, .x-dark .x-cols > * { border-color: var(--rule-lt); }
.x-dark .x-cols p { color: #B9B7B2; }
.x-dark .x-cols .best { color: #F2EFEA; }
.x-cols--2 { --cols: 2; } .x-cols--4 { --cols: 4; }
.x-cols--2 > *:nth-child(2n), .x-cols--4 > *:nth-child(4n), .x-cols--3 > *:nth-child(3n) { border-right: 0; }
.x-cols--2 > *:nth-child(2n+1), .x-cols--4 > *:nth-child(4n+1) { padding-left: 0; }
.x-cols--2 > *:nth-child(n+3), .x-cols--4 > *:nth-child(n+5) { border-top: 1px solid var(--rule); }
.x-dark .x-cols--2 > *:nth-child(n+3), .x-dark .x-cols--4 > *:nth-child(n+5) { border-top-color: var(--rule-lt); }

/* spec rows: term on the left, explanation on the right */
.x-spec { max-width: 1000px; margin: clamp(34px, 4.5vw, 56px) auto 0; border-top: 1px solid var(--rule); }
.x-spec > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.x-spec dt { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.x-spec dd { margin: 0; font-size: 14px; color: #3B3A38; }
.x-spec dd strong { font-weight: 500; color: var(--ink); }
.x-dark .x-spec, .x-dark .x-spec > div { border-color: var(--rule-lt); }
.x-dark .x-spec dd { color: #B9B7B2; }
.x-dark .x-spec dd strong { color: #fff; }

/* big serif figures */
.x-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.x-stats > div { padding: clamp(28px, 4vw, 52px) var(--gutter); border-left: 1px solid var(--rule-lt); text-align: center; }
.x-stats > div:first-child { border-left: 0; }
.x-stats .v { display: block; font: 300 clamp(52px, 7vw, 108px)/.9 var(--serif); }
.x-stats .k { display: block; margin-top: 12px; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-lt); }

/* two lists side by side */
.x-lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); max-width: 1100px; margin: clamp(34px, 4.5vw, 56px) auto 0; }
.x-lists h3 { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.x-checks { list-style: none; margin: 0; padding: 0; }
.x-checks li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--rule); font-size: 14px; color: #3B3A38; position: relative; }
.x-checks li::before { content: "—"; position: absolute; left: 0; color: var(--mute); }
.x-checks li strong { font-weight: 500; color: var(--ink); }
.x-dark .x-checks li { color: #B9B7B2; border-color: var(--rule-lt); }
.x-dark .x-checks li strong { color: #fff; }

/* numbered feature rows */
.x-feats { border-top: 1px solid var(--rule); margin-top: clamp(34px, 4.5vw, 56px); }
.x-feat { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--rule); align-items: start; scroll-margin-top: 80px; }
.x-feat .n { font: 300 clamp(34px, 3.6vw, 52px)/1 var(--serif); }
.x-feat .k { display: block; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.x-feat h3 { font: 400 clamp(24px, 2.4vw, 34px)/1.1 var(--serif); }
.x-feat p { font-size: 14px; color: #3B3A38; }
.x-feat p + p { margin-top: 10px; }
.x-feat .x-tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.x-feat .x-link { margin-top: 16px; }

/* closing band */
.x-cta { text-align: center; padding: clamp(60px, 8vw, 110px) var(--gutter); }
.x-cta h2 { font: 300 clamp(36px, 5.2vw, 78px)/1 var(--serif); max-width: 18ch; margin: 0 auto 18px; }
.x-cta h2 em { font-style: italic; }
.x-cta .x-body { margin: 0 auto; max-width: 56ch; }
.x-cta-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 30px; }

/* form section reassurance list + fine print */
.x-assure { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--rule); max-width: 520px; }
.x-assure li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: #3B3A38; }
.x-assure li strong { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.lux .x-fine { font-size: 12px; color: var(--mute); max-width: 520px; margin-top: 18px; }
.x-fine a { color: inherit; }

.lux .x-note { font-size: 12.5px; color: var(--mute); max-width: 72ch; margin: 28px auto 0; text-align: center; }
.x-dark .x-note { color: var(--mute-lt); }

/* form extras used by the inner-page forms */
.lux .field label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mute-lt); }
.lux .field textarea {
  width: 100%; min-height: 96px; resize: vertical;
  border: 1px solid rgba(22,23,26,.25); border-radius: 0; background: transparent;
  padding: 10px 12px; font: 400 14.5px/1.5 var(--sans); color: var(--ink); outline: none;
}
.lux .field textarea:focus { border-color: var(--ink); }
.lux .field.invalid textarea { border-color: #A2412B; }
.lux .form-foot a { color: inherit; }

/* script.js injects a progress bar, sticky CTA, QR dock and assistant for
   the old theme. The editorial layout keeps its chrome to the header. */
.lux .scroll-progress, .lux .sticky-cta, .lux .dock, .lux .burst { display: none !important; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.js .x-rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .x-rv.in { opacity: 1; transform: none; }
.js .x-rv-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .x-rv-img.in { clip-path: inset(0 0 0 0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .x-about, .x-join { grid-template-columns: 1fr; min-height: 0; }
  .x-about-media { height: 62vh; min-height: 380px; order: -1; }
  .x-join-media { min-height: 320px; }
  .x-mosaic { grid-template-columns: 1fr 1fr; }
  .x-tile-stat { border-left: 0; }
  .x-steps { grid-template-columns: 1fr; }
  .x-step, .x-step:first-child { border-left: 0; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .x-step:last-child { border-bottom: 0; }
  .x-step-n { margin-bottom: 10px; }
  .x-duo { grid-template-columns: 1fr; }
  .x-cols, .x-cols--2, .x-cols--4 { grid-template-columns: 1fr; }
  .x-cols > *, .x-cols > * + * { padding: 22px 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--rule); }
  .x-dark .x-cols > * { border-bottom-color: var(--rule-lt); }
  .x-cols > *:last-child { border-bottom: 0; }
  .x-spec > div { grid-template-columns: 1fr; gap: 6px; }
  .x-stats { grid-template-columns: 1fr; }
  .x-stats > div { border-left: 0; border-top: 1px solid var(--rule-lt); }
  .x-stats > div:first-child { border-top: 0; }
  .x-lists { grid-template-columns: 1fr; }
  .x-feat { grid-template-columns: 1fr; gap: 10px; }
  .x-phero { min-height: 72svh; }
}
@media (max-width: 560px) {
  .lux .field-row { grid-template-columns: 1fr; gap: 0; }
  .x-rows summary .tag span { display: none; }
  .x-hero-media img { object-position: 78% 60%; }
  .x-logo-item { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .x-hero-media img, .x-hero-video, .x-phero-media img, .x-phero-media video, .x-tags-row { animation: none; }
  .x-phero .x-pill, .x-phero h1, .x-phero-sub, .x-phero-links { animation: none; opacity: 1; }
  .x-hero-kicker, .x-hero-sub, .x-hero-tag, .x-hero-foot { animation: none; opacity: 1; }
  .js .x-rv, .js .x-rv-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .x-menu, .x-menu nav a span { transition: none; }
}
