/* Dynasty Premium website.
   Same design as the customer app (Phase 2b): white editorial pages, black + gold
   chrome (header, marquee, footer), light grey product tiles, DM Sans throughout.
   Token values come from the app's SRC/theme (colors.ts chrome + lightColors,
   spacing.ts, radius.ts). */

:root {
  /* Colour */
  --black: #111111;          /* chrome.bg: header, footer, primary buttons */
  --gold: #C9A24A;           /* chrome.gold: text and icons on black */
  --gold-muted: #8C7A55;     /* chrome.muted: secondary links on black */
  --white: #FFFFFF;          /* page background */
  --tile: #F3F2F0;           /* product image tiles */
  --tile-alt: #F7F6F4;       /* surfaceAlt */
  --text: #111111;
  --text-muted: #8A8580;
  --divider: #ECEAE6;
  --border: #E4E2DE;
  --border-strong: #C9C6C0;
  --overlay: rgba(17, 17, 17, .55);

  /* Radius (radius.ts) */
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;                 /* tiles, banners */
  --r-xl: 16px;
  --r-pill: 999px;           /* pills, buttons */

  /* Spacing (spacing.ts, 4/8 pt) */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 20px;
  --s-xxl: 24px;
  --s-xxxl: 32px;
  --s-huge: 40px;
  --s-giant: 56px;
  --pad: 16px;               /* screenPadding */

  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --track: 1.5px;            /* uppercase labels */
  --track-title: 1.2px;      /* uppercase section titles */
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ── Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
/* Old accent words are kept in the text, without the serif italic look */
h1 em, h2 em, h3 em, h4 em { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--black); color: var(--gold); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.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;
}

/* ── Type ──────────────────────────────────────── */
.label, .kicker {
  display: inline-block;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-muted);
}
.sec-title, .section-head h2 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: var(--track-title);
  text-transform: uppercase;
}
.page-title {
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 700;
  letter-spacing: var(--track-title);
  text-transform: uppercase;
  line-height: 1.15;
}
.lead { font-size: 16px; color: var(--text-muted); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; }
.btn-black { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn-black:hover { color: var(--gold); }
.btn-gold-text { color: var(--gold); }
.btn-line { border: 1px solid var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); }
.btn-gold-line { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-gold-line:hover { background: var(--gold); color: var(--black); }

/* "VIEW ALL >" */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text);
}
.view-all svg { transition: transform .2s var(--ease); }
.view-all:hover svg { transform: translateX(3px); }

/* ── Marquee ───────────────────────────────────── */
.ticker {
  background: var(--black);
  color: var(--gold);
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 74, .16);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-track span {
  padding: 9px 0;
  padding-right: 1.6em;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: var(--track);
  white-space: nowrap;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Header ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--gold);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(201, 162, 74, .18); }
.hdr {
  display: flex;
  align-items: center;
  gap: var(--s-xxl);
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }
.hdr-nav { margin: 0 auto; }
.hdr-nav ul { display: flex; gap: var(--s-xxl); }
.hdr-nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--gold);
  transition: color .2s;
}
.hdr-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.hdr-nav a:hover::after, .hdr-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: var(--s-md); margin-left: auto; }
.hdr-nav + .hdr-actions { margin-left: 0; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  color: var(--gold);
  transition: background .2s;
}
.icon-btn:hover { background: rgba(201, 162, 74, .1); }
.hdr-cta { min-height: 40px; padding: 0 20px; font-size: 12px; }
.menu-btn { display: none; }

/* Search bar under the header */
.search-panel {
  background: var(--black);
  border-top: 1px solid rgba(201, 162, 74, .16);
  padding: var(--s-md) 0 var(--s-lg);
}
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; align-items: center; gap: var(--s-sm); max-width: 720px; margin: 0 auto; }
.search-panel .field-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--gold-muted);
  border-radius: var(--r-pill);
  color: var(--gold);
}
.search-panel input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 15px;
}
.search-panel input::placeholder { color: var(--gold-muted); }
.search-panel .btn { min-height: 46px; padding: 0 22px; }

/* Mobile full-screen menu */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad) var(--s-xxl);
  background: var(--black);
  color: var(--gold);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s, visibility .25s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.drawer nav { display: flex; flex-direction: column; margin: var(--s-xxl) 0; }
.drawer nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 162, 74, .16);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.drawer nav a[aria-current="page"] { color: var(--white); }
.drawer .btn { align-self: flex-start; }
.drawer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: var(--s-xxxl); color: var(--gold-muted); font-size: 14px; }
.drawer-contact a:hover { color: var(--gold); }
.drawer-overlay { display: none; }

/* ── Sections ──────────────────────────────────── */
main { display: block; }
.section, .sec { padding: var(--s-huge) 0; }
.sec + .sec { padding-top: var(--s-sm); }
.sec-head, .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  margin-bottom: var(--s-lg);
}
.section-head { display: block; margin-bottom: var(--s-xxl); }
.section-head .kicker { margin-bottom: 6px; }
.section-head p, .sec-sub { margin-top: 6px; color: var(--text-muted); font-size: 14px; max-width: 620px; }
.sec-head > div { min-width: 0; }
.sec-tools { display: flex; align-items: center; gap: var(--s-sm); flex: none; }
.rail-btn {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  transition: border-color .2s, opacity .2s;
}
.rail-btn:hover { border-color: var(--black); }
.rail-btn:disabled { opacity: .35; cursor: default; border-color: var(--border); }

/* Horizontal rails (hero banners, product rows, editorial banners) */
.rail {
  display: grid;
  grid-auto-flow: column;
  gap: var(--s-md);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad) 2px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ── Home: intro ───────────────────────────────── */
.intro { padding: var(--s-huge) 0 var(--s-xxl); text-align: center; }
.intro h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(26px, 4.6vw, 44px);
  letter-spacing: var(--track-title);
  text-transform: uppercase;
  line-height: 1.12;
}
.intro p { max-width: 560px; margin: var(--s-md) auto 0; color: var(--text-muted); font-size: 15px; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-md); margin-top: var(--s-xxl); }

/* ── Banners (shared by hero, editorial, brands, moments) ── */
.banner-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg, #1E1915);
  color: var(--white);
  isolation: isolate;
}
.banner-card .compo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10% 6%;
}
.banner-card .compo img {
  width: auto;
  height: 66%;
  max-width: 42%;
  margin: 0 -4%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
  transition: transform .6s var(--ease);
}
.banner-card .compo img:nth-child(1) { transform: rotate(-8deg) translateY(4%); }
.banner-card .compo img:nth-child(2) { z-index: 1; height: 78%; }
.banner-card .compo img:nth-child(3) { transform: rotate(8deg) translateY(4%); }
.banner-card:hover .compo img:nth-child(1) { transform: rotate(-10deg) translate(-3%, 2%); }
.banner-card:hover .compo img:nth-child(3) { transform: rotate(10deg) translate(3%, 2%); }
.banner-card:hover .compo img:nth-child(2) { transform: scale(1.04); }
.banner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .34);
}
.banner-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--track-title);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* Hero: wide banners, title centred; next card peeks on mobile, 2-3 on desktop */
.hero-rail { grid-auto-columns: calc(100% - 40px); }
.hero-card { aspect-ratio: 2.1; display: grid; place-items: center; text-align: center; padding: var(--s-lg); }

/* Editorial: tall portrait banners, title bottom-left with ">" */
.tall-rail { grid-auto-columns: 68%; }
.tall-card { aspect-ratio: 1 / 1.38; display: flex; align-items: flex-end; }
.tall-card .compo { align-items: center; padding: 0 6%; bottom: 30%; }
.tall-card .compo img { height: 46%; max-width: 40%; }
.tall-card .compo img:nth-child(2) { height: 56%; }
.tall-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .55) 100%); }
.tall-foot { display: flex; align-items: flex-end; gap: var(--s-sm); width: 100%; padding: var(--s-xl); }
.tall-foot .banner-title { flex: 1; font-size: clamp(26px, 2.8vw, 34px); }
.tall-foot svg { flex: none; margin-bottom: 4px; }

/* Banner backgrounds (dark, from the product colours) */
.bg-choc { --bg: #2A1D16; }
.bg-black { --bg: #111111; }
.bg-red { --bg: #5A1013; }
.bg-wine { --bg: #3E1018; }
.bg-purple { --bg: #2B1B45; }
.bg-green { --bg: #16301F; }
.bg-blue { --bg: #14233A; }
.bg-umber { --bg: #3A2A1A; }

/* ── Product card (same as the app) ────────────── */
.pcard { position: relative; min-width: 0; }
.pcard-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.06;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
}
.pcard-tile picture { width: 84%; height: 84%; }
.pcard-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;   /* white photo backgrounds melt into the grey tile */
  transition: transform .45s var(--ease);
}
.pcard:hover .pcard-tile img { transform: scale(1.06); }
.pcard-label {
  position: absolute;
  top: var(--s-md);
  left: var(--s-md);
  right: 52px;
  font-size: 10.5px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-add {
  position: absolute;
  right: var(--s-sm);
  bottom: var(--s-sm);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--text);
  border-radius: var(--r-pill);
  color: var(--text);
  background: transparent;
  transition: background .2s, color .2s;
}
.pcard:hover .pcard-add, .pcard-add:hover, .pcard-add:focus-visible { background: var(--black); color: var(--white); }
.pcard-body { padding-top: var(--s-md); }
.pcard-brand { display: block; font-size: 11.5px; line-height: 15px; color: var(--text-muted); }
.pcard-name {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 400;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prow { grid-auto-columns: calc((100% - var(--s-md)) / 2.3); }

/* Grey tiles used in collages */
.pimg {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: var(--tile);
  overflow: hidden;
}
.pimg picture { width: 86%; height: 86%; }
.pimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* Product grids (home featured, shop) */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-xxl) var(--s-md);
}
.products .empty { grid-column: 1 / -1; padding: var(--s-giant) 0; text-align: center; color: var(--text-muted); }
.products .empty .btn { margin-top: var(--s-lg); }
.grid-status { margin-bottom: var(--s-lg); font-size: 12px; letter-spacing: .4px; color: var(--text-muted); }
.grid-status:empty { display: none; }
.grid-more { display: flex; justify-content: center; margin-top: var(--s-xxxl); }

/* ── Membership band ───────────────────────────── */
.band {
  background: var(--black);
  color: var(--gold);
  padding: var(--s-xxxl) 0;
}
.band-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg) var(--s-xxl); flex-wrap: wrap; }
.band h2 {
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: var(--track-title);
  text-transform: uppercase;
}
.band p { margin-top: 6px; color: var(--gold-muted); font-size: 14px; }
.band .view-all { color: var(--gold); }

/* ── Why ───────────────────────────────────────── */
.why { display: grid; gap: var(--s-lg); }
.why-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-xxl);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
}
.why-card h3 { font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.why-card p { margin-top: var(--s-sm); color: var(--text-muted); font-size: 14px; }
.why-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-sm); margin: var(--s-xl) 0; }
.why-card.dark { background: var(--black); border-color: var(--black); color: var(--gold); }
.why-card.dark p { color: var(--gold-muted); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: auto; }
.chips li, .cat-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.why-card.dark .chips li { border-color: var(--gold-muted); }

/* ── Moments ───────────────────────────────────── */
.domes { display: grid; gap: var(--s-xxl) var(--s-lg); }
.dome-card { display: block; }
.dome-card .banner-card { aspect-ratio: 1.6; }
.dome-title { margin-top: var(--s-md); font-size: 14px; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; }
.dome-card p { margin-top: 4px; color: var(--text-muted); font-size: 14px; }

/* ── About teaser ──────────────────────────────── */
.teaser { display: grid; gap: var(--s-xxxl); align-items: center; padding-top: var(--s-xxxl); border-top: 1px solid var(--divider); }
.teaser h2 { margin: 6px 0 var(--s-md); font-size: clamp(22px, 3vw, 30px); letter-spacing: var(--track-title); text-transform: uppercase; }
.teaser p { color: var(--text-muted); margin-bottom: var(--s-md); max-width: 560px; }
.teaser .btn { margin-top: var(--s-sm); }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-sm); }

/* ── App section ───────────────────────────────── */
.app-sec { padding: var(--s-huge) 0 var(--s-giant); border-top: 1px solid var(--divider); }
.app { display: grid; gap: var(--s-huge); align-items: center; }
.app-icon { width: 64px; height: 64px; border-radius: var(--r-xl); margin-bottom: var(--s-xl); }
.app h2 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: var(--track-title); text-transform: uppercase; }
.app .lead { margin-top: var(--s-md); max-width: 520px; }
.app-points { display: grid; gap: var(--s-md); margin: var(--s-xxl) 0; }
.app-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.app-points svg { flex: none; width: 26px; height: 26px; padding: 5px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); }
.play-btn { min-height: 56px; padding: 0 24px 0 20px; gap: 12px; text-transform: none; letter-spacing: 0; }
.play-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.play-btn small { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.play-btn b { font-size: 17px; font-weight: 500; }
.secure-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: var(--s-xl); font-size: 12px; color: var(--text-muted); }
.secure-badge img { height: 15px; width: auto; }

.phone {
  justify-self: center;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 44px;
  background: var(--black);
  box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .5), inset 0 0 0 1px rgba(201, 162, 74, .25);
}
.phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-lg);
  padding: var(--s-xxl);
  border-radius: 34px;
  background: var(--black);
  color: var(--gold);
  text-align: center;
  border: 1px solid rgba(201, 162, 74, .18);
}
.phone-screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: var(--r-pill);
  background: #000;
  transform: translateX(-50%);
}
.p-logo { width: 80px; }
.phone-screen h3 { font-size: 15px; letter-spacing: var(--track); text-transform: uppercase; }
.qr { width: 72%; padding: 10px; border-radius: var(--r); background: var(--white); }
.qr img { width: 100%; }
.phone-screen small { font-size: 11px; line-height: 1.5; color: var(--gold-muted); }

/* ── Footer ────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--gold-muted);
  padding: var(--s-giant) 0 var(--s-xxl);
  font-size: 14px;
}
.foot-grid { display: grid; gap: var(--s-xxxl) var(--s-xxl); }
.foot-brand .logo img { height: 64px; }
.tagline { margin-top: var(--s-md); color: var(--gold-muted); font-size: 14px; }
.site-footer h4 {
  margin-bottom: var(--s-lg);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.foot-links { display: grid; gap: 10px; }
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--gold); }
.foot-contact li { display: flex; align-items: center; gap: 10px; }
.foot-contact svg { flex: none; color: var(--gold); }
.foot-play { margin-top: var(--s-xl); min-height: 48px; }
.foot-play svg { color: currentColor; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  margin-top: var(--s-huge);
  padding-top: var(--s-xl);
  border-top: 1px solid rgba(201, 162, 74, .16);
  font-size: 12px;
}
.site-footer .secure-badge { margin: 0; color: var(--gold-muted); }
.site-footer .secure-badge img { filter: brightness(0) invert(1); opacity: .7; }

/* Social icons: thin gold outline */
.socials { display: flex; gap: var(--s-sm); margin-top: var(--s-xl); }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-muted);
  border-radius: var(--r-pill);
  color: var(--gold);
  transition: border-color .2s, background .2s, color .2s;
}
.socials a:hover { border-color: var(--gold); background: var(--gold); color: var(--black); }
/* On white pages (contact) */
.socials-light { margin-top: 6px; }
.socials-light a { border-color: var(--border-strong); color: var(--text); }
.socials-light a:hover { border-color: var(--black); background: var(--black); color: var(--gold); }
.drawer .socials-light a { border-color: var(--gold-muted); color: var(--gold); }

/* ── WhatsApp ──────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--gold);
  border: 1px solid rgba(201, 162, 74, .45);
  box-shadow: 0 10px 24px -8px rgba(17, 17, 17, .5);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ── Fade-up on scroll ─────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }

/* ── Page header + breadcrumb ──────────────────── */
.page-banner { padding: var(--s-xxxl) 0 0; }
.page-banner .banner { padding-bottom: var(--s-xxl); border-bottom: 1px solid var(--divider); }
.page-banner h1 {
  font-size: clamp(26px, 4.4vw, 40px);
  letter-spacing: var(--track-title);
  text-transform: uppercase;
  line-height: 1.15;
}
.page-banner p { margin-top: var(--s-sm); color: var(--text-muted); font-size: 14px; max-width: 620px; }
.crumbs { margin-bottom: var(--s-md); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

/* Black-and-gold variant (shop, brands) */
.page-banner--dark { background: var(--black); padding: var(--s-xxxl) 0; }
.page-banner--dark .banner { padding: 0; border: 0; }
.page-banner--dark h1 { color: var(--gold); }
.page-banner--dark p, .page-banner--dark .crumbs ol { color: var(--gold-muted); }
.page-banner--dark .crumbs a:hover, .page-banner--dark .crumbs [aria-current] { color: var(--gold); }
.page-banner + .section { padding-top: var(--s-xxxl); }

/* ── Shop ──────────────────────────────────────── */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text-muted);
  transition: border-color .2s;
  max-width: 560px;
}
.search:focus-within { border-color: var(--black); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--text); }
.search input::placeholder { color: var(--text-muted); }
.tabs {
  display: flex;
  gap: var(--s-sm);
  margin: var(--s-xl) calc(var(--pad) * -1) var(--s-xl);
  padding: 0 var(--pad) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--black); }
.tab[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }

/* ── Brands ────────────────────────────────────── */
.brand-grid { display: grid; gap: var(--s-lg); }
.brand-card { min-height: 240px; display: flex; align-items: flex-end; }
.brand-card .compo { justify-content: flex-end; padding: 6% 5%; }
.brand-card .compo img { height: 62%; max-width: 24%; }
.brand-card .compo img:nth-child(2) { height: 74%; }
.brand-card::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 70%); }
.brand-info { position: relative; padding: var(--s-xxl); max-width: 520px; }
.brand-info .banner-title { font-size: clamp(30px, 5vw, 52px); }
.brand-count { display: block; margin-top: 6px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.brand-info p { margin-top: var(--s-sm); font-size: 14px; color: rgba(255, 255, 255, .85); max-width: 380px; }
.brand-info .view-all { margin-top: var(--s-lg); color: var(--white); }
.brand-note { margin-top: var(--s-xxxl); text-align: center; color: var(--text-muted); font-size: 14px; }
.brand-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ── Membership ────────────────────────────────── */
.member { display: grid; gap: var(--s-huge); align-items: start; }
.member h2 { margin: 6px 0 var(--s-md); font-size: clamp(22px, 3vw, 30px); letter-spacing: var(--track-title); text-transform: uppercase; }
.benefits { display: grid; gap: 0; margin: var(--s-xxl) 0; border-top: 1px solid var(--divider); }
.benefits li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 15px; }
.benefits svg { flex: none; width: 18px; height: 18px; color: var(--gold); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-md); align-items: end; }
.plan {
  position: relative;
  overflow: hidden;
  padding: var(--s-xxl) var(--s-sm);
  border: 1px solid var(--black);
  border-radius: var(--r);
  background: var(--white);
  text-align: center;
}
.plan.featured { padding-top: calc(var(--s-xxl) + 34px); }
.plan-badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 8px 4px;
  background: var(--black);
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.plan-days { font-size: clamp(34px, 5vw, 46px); font-weight: 700; line-height: 1; }
.plan-unit { margin-top: 4px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-muted); }
.plan-price { margin-top: var(--s-lg); padding-top: var(--s-md); border-top: 1px solid var(--divider); font-size: 17px; font-weight: 500; }
.plan-price s { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.member-note { margin-top: var(--s-md); font-size: 12px; color: var(--text-muted); text-align: center; }
.steps { display: grid; gap: var(--s-lg); counter-reset: none; }
.step { padding: var(--s-xxl); border: 1px solid var(--border); border-radius: var(--r); }
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: var(--s-lg);
  border: 1px solid var(--black);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
}
.step h3 { font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.step p { margin-top: 6px; color: var(--text-muted); font-size: 14px; }
.faq { max-width: 820px; border-top: 1px solid var(--divider); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-muted); font-size: 14px; max-width: 680px; }
.faq a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ── About ─────────────────────────────────────── */
.about { display: grid; gap: var(--s-huge); }
.about-copy { max-width: 680px; }
.about-copy > h2 { margin-bottom: var(--s-xl); font-size: clamp(20px, 2.6vw, 26px); letter-spacing: var(--track-title); text-transform: uppercase; }
.about-copy > p { margin-bottom: var(--s-lg); font-size: 16px; line-height: 1.75; color: #3A3734; }
.about-copy strong { color: var(--text); font-weight: 700; }
.pull-quote {
  margin: var(--s-xxxl) calc(var(--pad) * -1);
  padding: var(--s-xxxl) var(--s-xxl);
  background: var(--black);
  color: var(--gold);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
  letter-spacing: .3px;
}
.pull-quote strong { color: var(--gold); font-weight: 500; }
.closing { margin-top: var(--s-xxl); padding-top: var(--s-xxl); border-top: 1px solid var(--divider); }
.about-copy > p.closing { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.25; letter-spacing: var(--track-title); text-transform: uppercase; }
.cat-chips { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-xxxl); }
.cat-chips svg { flex: none; width: 16px; height: 16px; }
.about-visual { align-self: start; }
.about-arch { position: relative; }
.about-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-sm); }
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-md);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

/* ── Contact ───────────────────────────────────── */
.contact { display: grid; gap: var(--s-huge); align-items: start; }
.contact-cards { border-top: 1px solid var(--divider); }
.contact-card { display: flex; align-items: center; gap: var(--s-lg); padding: 18px 0; border-bottom: 1px solid var(--divider); }
.contact-card .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
}
.contact-card small { display: block; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-muted); }
.contact-card a, .contact-card .v { font-size: 15px; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-card { padding: var(--s-xxl); border: 1px solid var(--border); border-radius: var(--r); }
.form-card h2 { font-size: 20px; letter-spacing: var(--track-title); text-transform: uppercase; }
.form-card > p { margin: 6px 0 var(--s-xxl); color: var(--text-muted); font-size: 14px; }
.form-row { display: grid; gap: 0 var(--s-md); }
.field { margin-bottom: var(--s-lg); }
.field label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-muted); }
.field label span { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--black); }
.form-card .btn { width: 100%; }
.form-note { margin-top: var(--s-md); font-size: 13px; color: var(--text-muted); }
.form-note:empty { display: none; }

/* ── Legal pages ───────────────────────────────── */
.legal { max-width: 760px; font-size: 15px; line-height: 1.75; color: #3A3734; }
.legal h2 { margin: var(--s-huge) 0 var(--s-md); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }
.legal h3 { margin: var(--s-xxl) 0 var(--s-sm); font-size: 15px; color: var(--text); }
.legal p, .legal ul, .legal ol { margin-bottom: var(--s-md); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal ol { list-style: decimal; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal .divider, .legal hr { height: 1px; margin: var(--s-xxxl) 0; border: 0; background: var(--divider); }
.highlight-box { margin: var(--s-xl) 0; padding: var(--s-xl); border-radius: var(--r); background: var(--tile); }
.table-wrap { overflow-x: auto; margin: var(--s-lg) 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 12px 14px; border-bottom: 1px solid var(--divider); text-align: left; }
.legal th { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-muted); }

/* ── 404 ───────────────────────────────────────── */
.notfound { text-align: center; padding: var(--s-giant) 0 80px; }
.notfound-code { font-size: clamp(90px, 18vw, 160px); font-weight: 700; line-height: 1; letter-spacing: 4px; color: var(--tile); -webkit-text-stroke: 1px var(--border-strong); }
.notfound h1 { margin-top: var(--s-md); font-size: clamp(24px, 4vw, 34px); letter-spacing: var(--track-title); text-transform: uppercase; }
.notfound p { max-width: 460px; margin: var(--s-md) auto 0; color: var(--text-muted); }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 599px) {
  .brand-card { min-height: 340px; }
  .brand-card .compo { bottom: 42%; justify-content: center; padding: 6% 8% 0; }
  .brand-card .compo img { max-width: 34%; }
  .brand-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .6) 75%); }
}

@media (min-width: 600px) {
  .prow { grid-auto-columns: calc((100% - var(--s-md) * 2) / 3.3); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .tall-rail { grid-auto-columns: 44%; }
  .domes { grid-template-columns: 1fr 1fr; }
  .why-imgs { gap: var(--s-md); }
  .pull-quote { margin-left: 0; margin-right: 0; border-radius: var(--r); }
}

@media (min-width: 760px) {
  :root { --pad: 24px; }
  .hero-rail { grid-auto-columns: calc((100% - var(--s-md)) / 2); }
  .section, .sec { padding: var(--s-giant) 0; }
  .sec + .sec { padding-top: var(--s-lg); }
  .sec-title, .section-head h2 { font-size: 22px; }
  .why { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .brand-card { min-height: 300px; }
  .brand-info { padding: var(--s-xxxl); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .rail-btn { display: grid; }
  .prow { grid-auto-columns: calc((100% - var(--s-md) * 4) / 5); }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-xxxl) var(--s-lg); }
  .tall-rail { grid-auto-columns: calc((100% - var(--s-md) * 2) / 3); }
  .teaser { grid-template-columns: 1.1fr 1fr; gap: var(--s-giant); }
  .app { grid-template-columns: 1.2fr 1fr; }
  .member { grid-template-columns: 1fr 1fr; gap: var(--s-giant); }
  .about { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: var(--s-giant); justify-content: space-between; }
  .about-visual { position: sticky; top: calc(var(--header-h) + 24px); }
  .contact { grid-template-columns: 1fr 1.2fr; gap: var(--s-giant); }
  .form-card { padding: var(--s-xxxl); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; }
}

@media (min-width: 1200px) {
  .hero-rail { grid-auto-columns: calc((100% - var(--s-md) * 2) / 3); }
  .hero-card { aspect-ratio: 1.55; }
  .products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .prow { grid-auto-columns: calc((100% - var(--s-md) * 5) / 6); }
}

@media (max-width: 1080px) {
  .hdr-nav ul { gap: var(--s-lg); }
  .hdr-nav a { font-size: 11.5px; letter-spacing: 1.2px; }
}

@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .hdr-nav, .hdr-cta { display: none; }
  .menu-btn { display: grid; }
  .logo img { height: 40px; }
  .hdr-actions, .hdr-nav + .hdr-actions { gap: 0; margin-left: auto; margin-right: -10px; }
  .search-panel .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
