/* ============================================================
   Entwine — Home
   Design tokens & styles translated 1:1 from the Figma comp
   (file: Entwine Website / Home, node 8:1788)
   ============================================================ */

/* ---- Fonts ----
   Outfit only, self-hosted from /assets. */
@font-face { font-family:"Outfit"; font-style:normal; font-weight:100; font-display:swap; src:url("assets/Outfit-Thin.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:200; font-display:swap; src:url("assets/Outfit-ExtraLight.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:300; font-display:swap; src:url("assets/Outfit-Light.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:400; font-display:swap; src:url("assets/Outfit-Regular.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:500; font-display:swap; src:url("assets/Outfit-Medium.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:600; font-display:swap; src:url("assets/Outfit-SemiBold.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:700; font-display:swap; src:url("assets/Outfit-Bold.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:800; font-display:swap; src:url("assets/Outfit-ExtraBold.ttf") format("truetype"); }
@font-face { font-family:"Outfit"; font-style:normal; font-weight:900; font-display:swap; src:url("assets/Outfit-Black.ttf") format("truetype"); }

/* ---- Design tokens ---- */
:root {
  --gold: #b8a86a;
  --ink: #0a0a0a;
  --black: #000000;
  --white: #ffffff;
  --green: #46ba64;
  --gray-1: #8a8a8a;
  --gray-2: #6b6b6b;
  --gray-3: #4a4a4a;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(0, 0, 0, 0.12);

  --bg-eco: #f8f8f8;
  --bg-zaar: #e9eaec;
  --bg-footer: #f1f2f4;

  /* ONE shared grid — every section's content aligns to the same column.
     Background stays full-bleed; content is capped at --content and centred. */
  --content: 1400px;
  --gutter: max(24px, 5vw, calc((100% - var(--content)) / 2));
  --pad-wide: var(--gutter);
  --pad: var(--gutter);
  /* vertical breathing between sections */
  --sec-y: clamp(84px, 8.5vw, 152px);

  --display: "Outfit", system-ui, sans-serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --mono: "Outfit", system-ui, sans-serif;

  --r-card: 12px;
  --r-pill: 999px;
  --nav-h: 80px;
}

/* ---- Reset ---- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* page stage — full width so every section background is full-bleed;
   content inside each section is centred via the --pad / --pad-wide calc above */
.stage { width: 100%; margin: 0; position: relative; overflow-x: clip; }

/* ---- Scroll-reveal (added to sections by JS; no-JS shows everything) ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* gentle stagger for grid children inside a revealed section */
.reveal .tiles > *, .reveal .eco__grid > *, .reveal .cards__grid > *, .reveal .callouts__grid > *,
.reveal .why-row, .reveal .footer__top > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in .tiles > *, .reveal.in .eco__grid > *, .reveal.in .cards__grid > *, .reveal.in .callouts__grid > *,
.reveal.in .why-row, .reveal.in .footer__top > * { opacity: 1; transform: none; }
.reveal.in .tiles > *:nth-child(2), .reveal.in .why-row:nth-child(2), .reveal.in .callouts__grid > *:nth-child(2) { transition-delay: .08s; }
.reveal.in .tiles > *:nth-child(3), .reveal.in .why-row:nth-child(3), .reveal.in .callouts__grid > *:nth-child(3) { transition-delay: .16s; }
.reveal.in .tiles > *:nth-child(4), .reveal.in .why-row:nth-child(4) { transition-delay: .24s; }
.reveal.in .eco__grid > *:nth-child(2), .reveal.in .cards__grid > *:nth-child(2) { transition-delay: .1s; }
.reveal.in .cards__grid > *:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Shared bits ---- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gray-1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 23px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s cubic-bezier(.16,.84,.44,1), box-shadow .25s ease,
              background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn .arrow { font-weight: 400; transition: transform .25s cubic-bezier(.16,.84,.44,1); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #c6b77c; box-shadow: 0 10px 24px rgba(184,168,106,.35); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #efeae0; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--line-light); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--upper { text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.14em; padding: 15px 23px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* keyboard focus ring */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* app store / google play badge — official artwork, rendered at one shared
   height so the two badges always line up. Swap the SVGs in /assets/badges/. */
.badge {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border-radius: 9px;
  transition: transform .2s cubic-bezier(.16,.84,.44,1), box-shadow .25s ease;
}
.badge__img { height: 100%; width: auto; display: block; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.28); }

/* app-screen — framed slot for a real screenshot (see /screen-slot.js).
   Shows a captioned placeholder until /assets/screens/<name>.png is added. */
.app-screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(165deg, #15140f, #0b0a09);
}
.app-screen::after {
  content: attr(data-label);
  position: absolute;
  padding: 0 18px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.app-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.app-screen img.is-loaded { opacity: 1; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad-wide);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}
.brand .logo { height: 24px; width: auto; display: block; transition: opacity .2s ease; }
.brand:hover .logo { opacity: .8; }
/* desktop: links pushed to the right, before the CTA */
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  position: relative;
  color: var(--white);
  font-size: 16px;
  opacity: 0.92;
  transition: color .2s ease, opacity .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: var(--gold); transition: right .28s cubic-bezier(.16,.84,.44,1);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { right: 0; }
.nav-links a.signin { font-weight: 600; }
.nav-cta { color: var(--ink); }

/* burger */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 24px; height: 14px; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 24px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s ease, opacity .2s ease, top .3s ease, background .2s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); background: var(--gold); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); background: var(--gold); }

/* mobile dropdown */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
  background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  padding: 8px var(--pad-wide) 26px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  color: #fff; font-size: 18px; padding: 16px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s ease;
}
.mobile-menu a::after { content: "→"; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: .2s ease; }
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--gold); }
.mobile-menu a:hover::after { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  /* pull the hero up so its image sits at the very top, behind the overlaid nav */
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + 72px) var(--pad-wide) 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #050505 center/cover no-repeat;
  pointer-events: none;
}
.hero__bg img {
  position: absolute;
  right: -8%;
  top: 4%;
  height: 96%;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}
.hero__inner { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero h1 .gold { color: var(--gold); display: block; }
.hero__sub {
  margin: 28px auto 0;
  max-width: 860px;
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.hero__badges {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* audience tiles */
.tiles {
  position: relative;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
}
.tile {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  border-left: 5px solid var(--gold);
  border-radius: var(--r-card);
  box-shadow: 15px 17px 22px rgba(0, 0, 0, 0.18);
  padding: 35px 30px;
  min-height: 311px;
  display: flex;
  flex-direction: column;
}
.tile:nth-child(1) { border-left-color: #7e54f1; }
.tile:nth-child(2) { border-left-color: var(--gold); }
.tile:nth-child(3) { border-left-color: #ffc101; }
.tile:nth-child(4) { border-left-color: var(--green); }
.tile h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f4f4f4;
}
.tile p {
  font-size: 16px;
  line-height: 1.56;
  color: var(--white);
  letter-spacing: -0.0125em;
}
.tile a {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tile a:hover { color: var(--gold); }
.tile a span { display: inline-block; transition: transform .25s cubic-bezier(.16,.84,.44,1); }
.tile a:hover span { transform: translateX(4px); }
/* card hover states */
.tile, .callout, .fcard, .eco-card { transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 22px 24px 44px rgba(0,0,0,.32); }
.callout:hover { transform: translateY(-4px); box-shadow: 16px 20px 40px rgba(0,0,0,.18); }
.fcard:hover, .eco-card:hover { transform: translateY(-3px); }

/* ============================================================
   ONE ECOSYSTEM
   ============================================================ */
.eco {
  background: var(--bg-eco);
  border-bottom: 1px solid var(--line-light);
  padding: var(--sec-y) var(--pad);
  text-align: center;
}
.eco h2 {
  margin: 0 auto;
  max-width: 1000px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 3.3vw, 64px);
  line-height: 1.05;
  color: var(--gold);
  letter-spacing: -0.005em;
}
.eco h2 .ink { color: var(--ink); display: block; }
.eco__lead {
  margin: 24px auto 0;
  max-width: 648px;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.2;
  color: var(--black);
}
.eco__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}
.eco-card {
  position: relative;
  border-radius: var(--r-card);
  padding: 52px 40px 110px;
  min-height: 495px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}
.eco-card--light { background: var(--white); }
.eco-card--dark { background: var(--black); color: var(--white); border-color: transparent; }
.eco-card .eyebrow { font-size: 18px; letter-spacing: 0.135em; }
.eco-card--light .eyebrow { color: var(--gray-1); }
.eco-card h3 {
  margin: 22px 0 0;
  font-weight: 400;
  font-size: clamp(26px, 1.9vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.eco-card--light h3 { color: var(--black); }
.eco-card p.body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
}
.eco-card--light p.body { color: var(--gray-3); }
.eco-card--dark p.body { color: rgba(255, 255, 255, 0.72); }
.eco-card__cta {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   WHY CHOOSE (dark, image bg)
   ============================================================ */
.why {
  position: relative;
  background: #0c0b0a;
  color: var(--white);
  overflow: hidden;
  padding: var(--sec-y) var(--pad-wide) clamp(300px, 32vw, 520px);
}
.why__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.why__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, #000 14%, rgba(0,0,0,0) 152%);
}
.why__head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
}
.why h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(48px, 5.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.why h2 .gold { color: var(--gold); display: block; }
.why__note { max-width: 317px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.85); }

.why__list { position: relative; border-bottom: 1px solid rgba(255,255,255,0.15); }
.why-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 32px;
  padding: 56px;
  border-top: 1px solid var(--line-dark);
}
.why-row:first-child { border-top: 0; }
.why-row__num {
  font-weight: 400;
  font-size: clamp(56px, 6.25vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.why-row:nth-child(2) .why-row__num,
.why-row:nth-child(4) .why-row__num { color: var(--white); }
.why-row__title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(26px, 2.1vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.why-row__title .gold { color: var(--gold); display: block; }
.why-row__text { border-left: 1px solid var(--line-dark); padding-left: 25px; }
.why-row__text .lead { font-size: 18px; line-height: 1.45; }
.why-row__text .sub { margin-top: 13px; font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.82); }

/* ============================================================
   FEATURE CARDS (Yours / Free Tools / Primary Source)
   ============================================================ */
.cards {
  padding: 0 var(--pad-wide) 100px;
  margin-top: clamp(-420px, -24vw, -230px);
  padding-bottom: var(--sec-y);
  position: relative;
  z-index: 2;
}
.cards__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 28px;
  align-items: end;
  padding-top: 70px;
}
.fcard {
  position: relative;
  border-radius: var(--r-card);
  padding: 56px 36px 40px;
  min-height: 460px;
  box-shadow: 23px 27px 49px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fcard--light { background: var(--white); border: 1px solid rgba(0,0,0,0.07); }
.fcard--dark { background: var(--black); color: var(--white); min-height: 509px; }
.fcard__index {
  position: absolute;
  top: 18px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-1);
}
.fcard--dark .fcard__index { color: var(--gold); }
.fcard__index .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--gold); }
.fcard .kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.55;
}
.fcard--light .kicker { color: var(--gray-1); }
.fcard--dark .kicker { color: var(--gold); }
.fcard__display {
  margin: 26px 0 0;
  font-weight: 300;
  font-family: var(--sans);
  color: var(--gold);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.fcard--big .fcard__display { font-size: clamp(48px, 4.3vw, 70px); }
.fcard--dark .fcard__display { color: var(--white); font-size: clamp(56px, 4.3vw, 82px); }
.fcard--sm .fcard__display { font-size: clamp(34px, 2.5vw, 48px); }
.fcard__lead {
  margin-top: auto;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--black);
}
.fcard--dark .fcard__lead { color: var(--white); font-size: 26px; line-height: 1.25; }
.fcard__foot { margin-top: 16px; font-size: 15.5px; color: rgba(255,255,255,0.72); }
.fcard .btn { margin-top: 22px; align-self: flex-start; }

/* ============================================================
   APP DOWNLOAD
   ============================================================ */
.app {
  background: var(--white);
  padding: clamp(40px,4vw,72px) var(--pad-wide) var(--sec-y);
}
.app__grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 56px;
  align-items: center;
}
.app h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(40px, 3.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.app h2 .gold { color: var(--gold); }
.app__lead { margin-top: 22px; max-width: 666px; font-size: 16px; line-height: 1.7; color: var(--gray-2); }
.app__stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}
.app__stat { padding: 22px 36px 0 0; }
.app__stat + .app__stat { border-left: 1px solid rgba(10, 10, 10, 0.14); padding-left: 36px; }
.app__stat .label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-2); }
.app__stat .value { margin-top: 8px; font-size: 38px; letter-spacing: -0.03em; color: var(--ink); }
.app__stat .value .gold { color: var(--gold); }
.app__stat .value .ink { color: var(--ink); }
.app__badges { margin-top: 34px; display: flex; gap: 16px; flex-wrap: nowrap; }
.app__visual {
  background: var(--ink);
  border-radius: 24px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  position: relative;
}
.app__visual::before,
.app__visual::after { content: ""; position: absolute; width: 18px; height: 18px; }
.app__visual img { height: 100%; max-height: 597px; width: auto; border-radius: 8px; object-fit: cover; }

/* ============================================================
   CHANNEL PARTNERS (gold band)
   ============================================================ */
.partners {
  position: relative;
  background: var(--gold);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  padding: var(--sec-y) var(--pad);
}
.partners__bg {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.5; pointer-events: none;
}
.partners__bg img { width: 100%; height: 100%; object-fit: cover; }
.partners__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.partners__divider { width: 22px; height: 1px; background: rgba(0,0,0,0.6); margin-bottom: 22px; }
.partners .eyebrow { color: var(--black); }
.partners h2 {
  margin: 18px 0 0;
  font-weight: 400;
  font-size: clamp(40px, 3.3vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--black);
}
.partners h2 .white { color: var(--white); font-weight: 300; }
.partners__card {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 36px;
  color: var(--white);
}
.partners__card .quote { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.33; }
.partners__card .meta { margin-top: 26px; font-size: 16.5px; line-height: 1.55; color: var(--white); }
.partners__card .meta .gold { color: var(--gold); font-weight: 300; }
.partners__card .row {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.partners__card .row .contact { font-size: 14px; }
.partners__card .row .contact .gold { color: var(--gold); font-weight: 500; }
.partners__card .row .pill {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 11px 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  gap: 10px;
}

/* ============================================================
   INVEST / ZAAR
   ============================================================ */
.zaar {
  background: var(--bg-zaar);
  border-bottom: 1px solid var(--line-light);
  padding: var(--sec-y) var(--pad);
}
.zaar__grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 60px;
  align-items: center;
}
.zaar__divider { width: 22px; height: 1px; background: var(--gray-3); opacity: 0.6; margin-bottom: 22px; }
.zaar .eyebrow { color: var(--gray-3); }
.zaar h2 {
  margin: 18px 0 0;
  font-weight: 400;
  font-size: clamp(40px, 3.3vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--black);
}
.zaar h2 .gold { color: var(--gold); font-weight: 300; display: block; }
.zaar__body { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 1.15vw, 22px); line-height: 1.2; color: var(--gray-3); }
.zaar .btn { margin-top: 28px; }

.zaar-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(120, 60, 20, 0.05);
  padding: 33px 32px;
}
.zaar-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.zaar-card__top .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-1); }
.zaar-card__top .sub { margin-top: 8px; font-size: 13px; color: var(--gray-3); }
.zaar-card__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(47, 138, 74, 0.12);
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.zaar-card__amount { margin-top: 34px; display: flex; align-items: baseline; gap: 12px; }
.zaar-card__amount .big { font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.03em; color: var(--black); }
.zaar-card__amount .target { font-size: 13px; color: var(--gray-1); }
.zaar-card__progress-meta {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.zaar-card__progress-meta .committed { font-weight: 500; color: var(--black); }
.zaar-card__progress-meta .committed span { font-weight: 400; color: var(--gray-3); }
.zaar-card__progress-meta .pct { color: var(--gray-3); }
.zaar-card__bar {
  margin-top: 10px;
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(20, 15, 10, 0.06);
  overflow: hidden;
}
.zaar-card__bar i {
  display: block;
  height: 100%;
  width: 32%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #c90e0a, var(--gold));
}
.zaar-card__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-3);
}
.zaar-card__foot b { color: var(--black); }

/* ============================================================
   PRODUCT CALLOUTS
   ============================================================ */
.callouts {
  background: var(--white);
  padding: var(--sec-y) var(--pad-wide);
}
.callouts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.callout {
  background: var(--white);
  border-left: 7px solid var(--gold);
  border-radius: var(--r-card);
  box-shadow: 16px 16px 33px rgba(0, 0, 0, 0.12);
  padding: 38px 36px;
  min-height: 309px;
  display: flex;
  flex-direction: column;
}
.callout:nth-child(1) { border-left-color: #7e54f1; }
.callout:nth-child(2) { border-left-color: var(--gold); }
.callout:nth-child(3) { border-left-color: var(--black); }
.callout .kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.callout h3 {
  margin: 16px 0 0;
  font-weight: 200;
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.callout p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--gray-2); }
.callout__cta { margin-top: auto; padding-top: 22px; }
.callout .badges-row { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  padding: 80px var(--pad) 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}
.footer__contactinfo { margin-top: 30px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.6; color: var(--gray-2); }
.footer__contactinfo a { color: var(--gray-3); text-decoration: none; width: fit-content; }
.footer__contactinfo a:hover { color: var(--gold); }
.footer__contactinfo span { margin-top: 4px; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-3); transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__social iconify-icon { font-size: 18px; }
.footer__brand .brand { color: var(--ink); }
.footer__brand .brand .logo { height: 30px; }
.footer__brand p { margin-top: 22px; max-width: 387px; font-size: 16px; line-height: 1.45; color: var(--gray-3); }
.footer__brand .badges-row { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.footer h4 {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.footer ul a { font-size: 15px; color: var(--black); }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--gray-1);
}
.footer__legal { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--gold); }

/* dark closing bar */
.footbar {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  border-top: 1px solid var(--ink);
}
.footbar__side { display: flex; align-items: center; gap: 16px; padding: 40px 48px; }
.footbar__side--right { justify-content: flex-start; }
.footbar__side--left { justify-content: flex-end; }
.footbar__step { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.footbar__step b { color: var(--gold); font-weight: 500; }
.footbar__step span { color: rgba(255, 255, 255, 0.55); }
.footbar__center {
  display: flex; align-items: center; justify-content: center;
  align-self: stretch;
  border-inline: 1px solid rgba(255,255,255,0.08);
}
.footbar__center svg { height: 46px; width: auto; display: block; }
.footbar .btn--gold { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* large laptops — shrink the shared grid a touch */
@media (max-width: 1280px) {
  :root { --content: 1120px; }
}
/* tablets / small laptops */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .eco__grid, .partners__grid, .zaar__grid, .cards__grid, .callouts__grid { grid-template-columns: 1fr; }
  .cards { margin-top: 0; }
  .why { padding-bottom: var(--sec-y); }
  .app__grid { grid-template-columns: 1fr; }
  .app__visual { min-height: 420px; order: -1; }
  .why-row { grid-template-columns: 90px minmax(0, 1fr); }
  .why-row__text { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
/* phones — landscape / large */
@media (max-width: 820px) {
  .eco-card, .fcard, .callout, .tile { min-height: auto; }
  .eco-card { padding-bottom: 40px; }
  .eco-card__cta { position: static; margin-top: 28px; }
  .tiles { margin-top: 48px; }
  .footer__top { grid-template-columns: 1fr; }
  .footbar { grid-template-columns: 1fr; }
  .footbar__center { display: none; }
  .footbar__side { justify-content: center !important; padding: 22px 24px; flex-wrap: wrap; }
  .footbar__side--left { justify-content: center; }
  .partners__card .row { flex-direction: column; align-items: flex-start; }
}
/* phones */
@media (max-width: 560px) {
  :root { --sec-y: clamp(56px, 13vw, 88px); --nav-h: 64px; }
  .tiles { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--nav-h) + 40px) var(--gutter) 52px; }
  .hero__badges, .app__badges { gap: 12px; }
  .why { padding-inline: var(--gutter); }
  .why-row { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .why-row__num { font-size: 60px; }
  .why-row__text { border-top: 0; padding-top: 0; }
  .app__stats { grid-template-columns: 1fr; }
  .app__stat { padding-right: 0; }
  .app__stat + .app__stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(10,10,10,0.14); padding-top: 18px; }
  .badge { height: 46px; }
  /* footer contact details: centred, clearly separated from the store badges */
  .footer__contactinfo { margin-top: 38px; text-align: center; justify-items: center; }
  .footer__contactinfo a { width: auto; }
  .footer__social { justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .zaar-card, .partners__card { padding: 26px 22px; }
  .eco-card, .fcard { padding-left: 26px; padding-right: 26px; }
}
/* tiny phones — shrink the badges a touch so both fit side by side */
@media (max-width: 430px) {
  .badge { height: 42px; }
}

/* ============================================================
   /restaurants  (page-specific sections)
   ============================================================ */
.rhero {
  position: relative; background: var(--black); color: #fff; overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + 84px) var(--pad-wide) 96px;
}
.rhero__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 130% at 85% -10%, #1b1711 0%, #0a0a0a 56%); }
.rhero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.rhero h1 { margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(34px,4.4vw,64px); line-height: 1.04; letter-spacing: -.03em; }
.rhero h1 .gold { color: var(--gold); }
.rhero p { margin: 24px 0 0; max-width: 560px; font-size: clamp(16px,1.2vw,19px); line-height: 1.6; color: rgba(255,255,255,.8); }
.rhero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.rhero__visual { aspect-ratio: 4/3; border-radius: var(--r-card); border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg,#15120d,#000); display: flex; align-items: center; justify-content: center; }
.rhero__visual svg { width: 72px; opacity: .5; }

.r-sec { padding: var(--sec-y) var(--pad); }
.r-sec--wide { padding-inline: var(--pad-wide); }
.r-sec.dark { background: var(--ink); color: #fff; }
.r-sec.tint { background: var(--bg-eco); }
.r-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.r-head h2 { margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(30px,3.3vw,56px); line-height: 1.04; letter-spacing: -.03em; }
.r-head h2 .gold { color: var(--gold); }
.r-head p { margin: 16px 0 0; color: var(--gray-2); font-size: 17px; line-height: 1.6; }
.r-sec.dark .r-head p { color: rgba(255,255,255,.7); }

/* accordion */
.faq { margin: 0; border-top: 1px solid var(--line-light); counter-reset: faq; }
.faq summary::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-size: 13px; letter-spacing: .12em; color: var(--gold); margin-right: 20px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 6px; display: flex; justify-content: flex-start; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 300; font-size: clamp(18px,1.6vw,24px); letter-spacing: -.01em; color: var(--ink); transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq .chev { flex: none; width: 22px; height: 22px; position: relative; margin-left: auto; transition: transform .3s ease; }
.faq .chev::before, .faq .chev::after { content: ""; position: absolute; top: 10px; width: 12px; height: 2px; background: var(--gold); }
.faq .chev::before { left: 0; transform: rotate(45deg); }
.faq .chev::after { right: 0; transform: rotate(-45deg); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 6px 26px; max-width: 700px; color: var(--gray-3); font-size: 16px; line-height: 1.65; }
.faq__close { text-align: center; margin-top: 46px; font-family: var(--display); font-weight: 300; font-size: clamp(20px,2vw,30px); letter-spacing: -.02em; }
.faq__close .gold { color: var(--gold); }

/* benefits */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.benefit { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 34px;
  box-shadow: 0 18px 50px rgba(20,16,10,.06); transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease; }
.benefit:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(20,16,10,.1); }
.benefit .ic { width: 50px; height: 50px; border-radius: 12px; background: rgba(184,168,106,.14); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 18px; }
.benefit .ic iconify-icon { font-size: 26px; }
.benefit h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 300; font-size: 22px; letter-spacing: -.01em; }
.benefit p { margin: 0; color: var(--gray-3); font-size: 15px; line-height: 1.6; }

/* steps — connected process timeline */
.steps { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin: 0 auto; }
.steps::before { content: ""; position: absolute; top: 29px; left: 9%; right: 9%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,168,106,.55) 18%, rgba(184,168,106,.55) 82%, transparent); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__node { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease; }
.step__node iconify-icon { font-size: 28px; }
.step:hover .step__node { transform: translateY(-3px); background: rgba(184,168,106,.12); }
.step__num { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.step h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 300; font-size: 26px; letter-spacing: -.01em; }
.step p { margin: 0 auto; max-width: 320px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.6; }
.steps__foot { text-align: center; margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.steps__foot p { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(20px,2.2vw,32px); letter-spacing: -.02em; max-width: 700px; }
.steps__foot .gold { color: var(--gold); }

/* club members */
.club { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0 0 40px; }
.member { border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 34px; background: var(--white); text-align: center;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), border-color .3s ease; }
.member:hover { transform: translateY(-4px); border-color: var(--gold); }
.member .nm { font-family: var(--display); font-weight: 300; font-size: 26px; }
.member .loc { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-1); }
.club__cta { text-align: center; }

/* tools */
.tools { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0 0 36px; }
.tool { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 32px; box-shadow: var(--sh-callout); display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease; }
.tool:hover { transform: translateY(-4px); box-shadow: 16px 20px 44px rgba(0,0,0,.16); }
.tool .tag { align-self: flex-start; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(184,168,106,.45); border-radius: 999px; padding: 5px 12px; margin-bottom: 20px; }
.tool h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 300; font-size: 24px; letter-spacing: -.01em; }
.tool p { margin: 0 0 22px; color: var(--gray-3); font-size: 15px; line-height: 1.6; }
.tool .more { margin-top: auto; color: var(--gold); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.tool .more span { transition: transform .25s cubic-bezier(.16,.84,.44,1); }
.tool:hover .more span { transform: translateX(4px); }
.tools__all { text-align: center; }

/* two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 0; }
.path { background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); padding: 46px; display: flex; flex-direction: column; }
.path h3 { margin: 16px 0 14px; font-family: var(--display); font-weight: 300; font-size: clamp(24px,2.2vw,32px); letter-spacing: -.02em; }
.path p { margin: 0 0 28px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; }
.path .btn { align-self: flex-start; margin-top: auto; }

/* final gold CTA band */
.rcta { background: var(--gold); color: var(--black); padding: var(--sec-y) var(--pad); text-align: center; }
.rcta h2 { margin: 0 auto; max-width: 920px; font-family: var(--display); font-weight: 300; font-size: clamp(30px,3.4vw,56px); line-height: 1.05; letter-spacing: -.03em; }
.rcta p { margin: 20px auto 0; max-width: 700px; color: rgba(0,0,0,.72); font-size: 17px; line-height: 1.6; }
.rcta__cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.rcta__links { display: inline-flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.rcta__links a { color: rgba(0,0,0,.72); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(0,0,0,.28); padding-bottom: 3px; transition: color .2s ease, border-color .2s ease; }
.rcta__links a span { transition: transform .25s cubic-bezier(.16,.84,.44,1); }
.rcta__links a:hover { color: var(--ink); border-color: var(--ink); }
.rcta__links a:hover span { transform: translateX(4px); }
.rcta__links .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.3); }
.rcta .btn--dark { background: var(--ink); color: #fff; }
.rcta .btn--dark:hover { background: #000; }
.rcta .btn--ghost { background: transparent; color: var(--black); border-color: rgba(0,0,0,.35); }
.rcta .btn--ghost:hover { background: rgba(0,0,0,.06); border-color: var(--black); }

@media (max-width: 1024px) {
  .rhero__grid, .benefits, .steps, .club, .tools, .paths { grid-template-columns: 1fr; }
  .rhero__visual { order: -1; }
  .steps { gap: 30px; }
  .steps::before { display: none; }
}

/* ============================================================
   MEGA MENU (site-wide nav)
   ============================================================ */
.nav-mega { margin-left: auto; display: flex; align-items: center; gap: 30px; flex-wrap: nowrap; }
.navitem { position: relative; }
.navlink { background: none; border: 0; font: inherit; color: #fff; opacity: .92; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; white-space: nowrap; transition: color .2s ease, opacity .2s ease; }
.navlink:hover, .navitem:focus-within .navlink { color: var(--gold); opacity: 1; }
.navlink .car { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); margin: -3px 0 0 1px; transition: transform .25s ease; }
.navitem:hover .navlink .car, .navitem:focus-within .navlink .car { transform: rotate(225deg); }

.mega, .dropdown {
  position: absolute; top: calc(100% + 14px); z-index: 70;
  background: rgba(12,11,10,.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45);
  padding: 20px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mega::before, .dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.navitem:hover .mega, .navitem:focus-within .mega,
.navitem:hover .dropdown, .navitem:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.mega--tools { width: min(760px, 90vw); left: 50%; transform: translateX(-50%) translateY(8px); }
.navitem:hover .mega--tools, .navitem:focus-within .mega--tools { transform: translateX(-50%); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 10px; transition: background .2s ease; }
.mega-item:hover { background: rgba(255,255,255,.05); }
.mega-item .mi-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(184,168,106,.14); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.mega-item .mi-ic iconify-icon { font-size: 22px; }
.mega-item .mi-t { color: #fff; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.mega-item .mi-d { color: rgba(255,255,255,.55); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.mega-tag { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,168,106,.4); border-radius: 999px; padding: 2px 7px; }
.mega-foot { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.mega-foot a { color: var(--gold); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.mega-foot .muted { color: rgba(255,255,255,.4); font-size: 12.5px; }
.dropdown { min-width: 220px; padding: 10px; }
.dropdown a { display: block; color: rgba(255,255,255,.85); padding: 11px 14px; border-radius: 8px; font-size: 15px; transition: background .2s ease, color .2s ease; }
.dropdown a:hover { background: rgba(255,255,255,.05); color: var(--gold); }

/* mobile accordion inside the burger menu */
.m-acc { border-bottom: 1px solid rgba(255,255,255,.08); }
.m-acc > summary { list-style: none; cursor: pointer; color: #fff; font-size: 18px; padding: 16px 2px;
  display: flex; justify-content: space-between; align-items: center; }
.m-acc > summary::-webkit-details-marker { display: none; }
.m-acc > summary .chev { width: 18px; height: 18px; position: relative; flex: none; transition: transform .3s ease; }
.m-acc > summary .chev::before, .m-acc > summary .chev::after { content: ""; position: absolute; top: 8px; width: 10px; height: 2px; background: var(--gold); }
.m-acc > summary .chev::before { left: 0; transform: rotate(45deg); }
.m-acc > summary .chev::after { right: 0; transform: rotate(-45deg); }
.m-acc[open] > summary .chev { transform: rotate(180deg); }
.m-acc .m-sub { padding: 4px 2px 16px; display: flex; flex-direction: column; }
.m-acc .m-sub a { color: rgba(255,255,255,.7); font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.m-acc .m-sub a:hover { color: var(--gold); background: rgba(255,255,255,.05); }

/* keep the desktop nav on one line as it narrows (1170 → 769) before the burger */
@media (max-width: 1170px) and (min-width: 769px) {
  .nav-mega { gap: 20px; }
  .navlink { font-size: 14.5px; }
}
@media (max-width: 1000px) and (min-width: 769px) {
  .nav { gap: 14px; }
  .nav-mega { gap: 13px; }
  .navlink { font-size: 13px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 870px) and (min-width: 769px) {
  .nav-mega { gap: 10px; }
  .navlink { font-size: 12px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
}

/* collapse the mega nav to the burger on phones / small tablets */
@media (max-width: 768px) {
  .nav-mega { display: none; }
  /* the full-width sticky download bar (.mdl) covers download on mobile, so
     hide the header's Download button here; it returns on desktop. */
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* ============================================================
   IMAGE PLACEHOLDERS (named assets w/ Unsplash fallback)
   ============================================================ */
.imgph { display: block; width: 100%; height: 100%; object-fit: cover; background: linear-gradient(160deg,#1b1711,#000); }
.figure { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }

/* "what changes" split (image + benefits) */
.changes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.changes-grid .figure { aspect-ratio: 3/4; }
@media (max-width: 1024px) { .changes-grid { grid-template-columns: 1fr; } .changes-grid .figure { aspect-ratio: 16/10; } }

/* ============================================================
   HERO variants — image ALWAYS background, text ALWAYS centred
   ============================================================ */
.hero--page { text-align: center; }
.hero--page .hero__inner { max-width: 940px; }
.hero--page h1 { font-size: clamp(30px, 3.8vw, 58px); line-height: 1.05; }
.hero--page .eyebrow { display: block; margin-bottom: 18px; }
/* full-cover background image + legibility overlay */
.hero__bg--cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero__bg--cover::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.72) 0%, rgba(8,8,8,.86) 100%); }

/* ============================================================
   Section background image (editorial, like Home)
   ============================================================ */
.r-sec.has-bg { position: relative; overflow: hidden; }
.r-bg { position: absolute; inset: 0; pointer-events: none; }
.r-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.r-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.72), rgba(10,10,10,.88)); }
.r-sec.has-bg .r-inner { position: relative; }

/* ============================================================
   Editorial feature list (matches Home's bordered rows)
   ============================================================ */
.feat-list { margin: 0; border-bottom: 1px solid var(--line-dark); }
.feat-row { display: grid; grid-template-columns: 70px minmax(0,.8fr) minmax(0,1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line-dark); align-items: start; }
.feat-row .fic { color: var(--gold); line-height: 0; }
.feat-row .fic iconify-icon { font-size: 44px; }
.feat-row h3 { margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(22px,2vw,32px); letter-spacing: -.02em; }
.feat-row p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; border-left: 1px solid var(--line-dark); padding-left: 28px; }
@media (max-width: 860px) {
  .feat-row { grid-template-columns: 48px 1fr; gap: 18px; padding: 32px 0; }
  .feat-row .fic iconify-icon { font-size: 34px; }
  .feat-row p { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 16px; }
}

/* ============================================================
   PRELOADER — Entwine monogram, plays on every page load
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 99999; background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
#preloader .pl-mark { width: 86px; height: 86px; color: var(--gold); animation: pl-pulse 1.5s ease-in-out infinite; }
@keyframes pl-pulse { 0%,100% { opacity: .32; transform: scale(.9); } 50% { opacity: 1; transform: scale(1); } }
#preloader.done { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #preloader .pl-mark { animation: none; } }

/* ============================================================
   REUSABLE PAGE COMPONENTS (all marketing pages)
   ============================================================ */
.r-sub { text-align:center; max-width:760px; margin:-28px auto 44px; color:var(--gray-2); font-size:17px; line-height:1.6; }
.r-sec.dark .r-sub { color:rgba(255,255,255,.7); }

/* generic cards */
.cardgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:24px; }
.cardgrid--2 { grid-template-columns:repeat(2,1fr); }
.cardgrid--3 { grid-template-columns:repeat(3,1fr); }
.card { background:var(--white); border:1px solid var(--line-light); border-radius:var(--r-card); padding:34px; box-shadow:0 18px 50px rgba(20,16,10,.05); transition:transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease, border-color .3s ease; display:flex; flex-direction:column; }
.card:hover { transform:translateY(-4px); box-shadow:0 26px 60px rgba(20,16,10,.1); }
.card .k { font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); font-weight:500; margin-bottom:14px; }
.card .ic { width:52px; height:52px; border-radius:14px; background:rgba(184,168,106,.14); color:var(--gold); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.card .ic iconify-icon { font-size:28px; }
.card h3 { margin:0 0 12px; font-family:var(--display); font-weight:300; font-size:23px; letter-spacing:-.01em; }
.card p { margin:0; color:var(--gray-3); font-size:15px; line-height:1.6; }
.card .more { margin-top:auto; padding-top:18px; color:var(--gold); font-weight:500; display:inline-flex; gap:8px; align-items:center; }
.card .more span { transition:transform .25s cubic-bezier(.16,.84,.44,1); }
.card:hover .more span { transform:translateX(4px); }
.card .tag { align-self:flex-start; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); border:1px solid rgba(184,168,106,.45); border-radius:999px; padding:5px 12px; margin-bottom:18px; }
.r-sec.dark .card { background:rgba(255,255,255,.03); border-color:var(--line-dark); box-shadow:none; }
.r-sec.dark .card:hover { border-color:var(--gold); }
.r-sec.dark .card h3 { color:#fff; }
.r-sec.dark .card p { color:rgba(255,255,255,.7); }

/* stats (dark) */
.statgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:0 36px; border-top:1px solid var(--line-dark); }
.stat { padding:34px 0; border-bottom:1px solid var(--line-dark); }
.stat .big { font-family:var(--display); font-weight:200; font-size:clamp(38px,4vw,60px); color:var(--gold); letter-spacing:-.03em; line-height:1; }
.stat .lbl { margin-top:10px; font-size:16px; font-weight:500; color:#fff; }
.stat .d { margin-top:8px; font-size:14px; color:rgba(255,255,255,.6); line-height:1.55; }

/* team */
.team { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:26px; }
.teammate .ph2 { aspect-ratio:1/1; border-radius:var(--r-card); overflow:hidden; margin-bottom:18px; background:linear-gradient(160deg,#1b1711,#000); border:1px solid var(--line-light); }
.teammate .nm { font-family:var(--display); font-weight:300; font-size:21px; }
.teammate .ro { font-size:12px; letter-spacing:.05em; color:var(--gold); margin-top:5px; }
.teammate .bio { margin-top:12px; font-size:13.5px; line-height:1.6; color:var(--gray-3); }
.r-sec.dark .teammate .nm { color:#fff; }
.r-sec.dark .teammate .bio { color:rgba(255,255,255,.62); }
.r-sec.dark .teammate .ph2 { border-color:var(--line-dark); }

/* vertical timeline */
.timeline { position:relative; max-width:720px; margin:0 auto; }
.timeline::before { content:""; position:absolute; left:5px; top:6px; bottom:6px; width:1px; background:var(--line-dark); }
.tl { position:relative; padding:0 0 34px 34px; }
.tl:last-child { padding-bottom:0; }
.tl::before { content:""; position:absolute; left:0; top:5px; width:11px; height:11px; border-radius:50%; background:var(--ink); border:1px solid var(--gold); }
.tl .date { font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }
.tl h4 { margin:6px 0 0; font-family:var(--display); font-weight:300; font-size:20px; color:#fff; }

/* prose (story) */
.prose { max-width:760px; margin:0 auto; }
.prose p { color:rgba(255,255,255,.78); font-size:18px; line-height:1.75; margin:0 0 20px; }
.r-sec:not(.dark) .prose p { color:var(--gray-3); }

/* pricing */
.ptable { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; align-items:stretch; }
/* below desktop the plans become a swipeable snap slider (next card peeks in) */
@media (max-width: 1024px) {
  .ptable { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px;
    margin-inline:calc(-1 * var(--pad)); padding:6px var(--pad) 22px;
    -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .ptable::-webkit-scrollbar { display:none; }
  .ptable .plan { flex:0 0 min(78vw, 320px); scroll-snap-align:center; }
}
.plan { background:var(--white); border:1px solid var(--line-light); border-radius:var(--r-card); padding:30px; display:flex; flex-direction:column; box-shadow:0 18px 50px rgba(20,16,10,.05); }
.plan--featured { border-color:var(--gold); box-shadow:0 24px 60px rgba(184,168,106,.2); position:relative; }
.plan--featured::before { content:"Most popular"; position:absolute; top:-11px; left:30px; background:var(--gold); color:#fff; font-size:10px; letter-spacing:.14em; text-transform:uppercase; padding:4px 12px; border-radius:999px; }
.plan .pn { font-family:var(--display); font-weight:300; font-size:22px; }
.plan .pr { margin:14px 0 2px; font-family:var(--display); font-weight:200; font-size:32px; color:var(--ink); letter-spacing:-.02em; }
.plan .pr small { font-size:13px; color:var(--gray-2); font-family:var(--sans); }
.plan .pa { font-size:13px; color:var(--gold); }
.plan .pd { font-size:14px; color:var(--gray-3); line-height:1.55; margin:14px 0 18px; }
.plan ul { list-style:none; margin:0 0 22px; padding:0; display:grid; gap:11px; }
.plan li { font-size:14px; color:var(--gray-3); display:flex; gap:9px; align-items:flex-start; }
.plan li iconify-icon { color:var(--gold); font-size:18px; flex:none; margin-top:1px; }
.plan .btn { margin-top:auto; justify-content:center; }
.billing { position:relative; display:inline-flex; gap:6px; background:var(--white); border:1px solid var(--line-light); border-radius:999px; padding:5px; margin:0 auto 36px; }
.billing button { position:relative; z-index:1; border:0; background:transparent; padding:9px 20px; border-radius:999px; font-family:inherit; font-size:13px; font-weight:500; color:var(--gray-2); cursor:pointer; transition:color .25s ease; }
.billing button.on { color:#fff; }
.billing .thumb { position:absolute; top:5px; bottom:5px; left:5px; width:0; border-radius:999px; background:var(--ink); transition:left .35s cubic-bezier(.16,.84,.44,1), width .35s cubic-bezier(.16,.84,.44,1); }
.plan .pr.flip, .plan .pa.flip { animation:pr-flip .35s ease; }
@keyframes pr-flip { 0% { opacity:0; transform:translateY(7px); } 100% { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .billing .thumb { transition:none; } .plan .pr.flip, .plan .pa.flip { animation:none; } }

/* filter pills */
.pills { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:44px; }
.pills button, .pills a { border:1px solid var(--line-light); background:var(--white); color:var(--gray-3); border-radius:999px; padding:9px 18px; font-size:13px; font-weight:500; cursor:pointer; transition:.2s; }
.pills .on, .pills button:hover, .pills a:hover { background:var(--ink); color:#fff; border-color:var(--ink); }

/* blog cards */
.blogcard .ph2 { aspect-ratio:16/10; border-radius:var(--r-card); overflow:hidden; margin-bottom:20px; background:linear-gradient(160deg,#1b1711,#000); }
.blogcard .meta { display:flex; gap:12px; align-items:center; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.blogcard .meta .read { color:var(--gray-1); }
.blogcard h3 { margin:0 0 10px; font-family:var(--display); font-weight:300; font-size:22px; line-height:1.2; letter-spacing:-.01em; }
.blogcard p { color:var(--gray-3); font-size:14px; line-height:1.6; }
a.blogcard, a.blogcard:visited { color:inherit; text-decoration:none; }
.blogcard h3 { color:var(--ink); }
.blogcard__more { margin-top:16px; color:var(--gold); font-weight:500; font-size:13px; display:inline-flex; gap:7px; align-items:center; }
.blogcard__more span { transition:transform .25s cubic-bezier(.16,.84,.44,1); }
a.blogcard:hover .blogcard__more span { transform:translateX(4px); }
.blogcard.is-hidden { display:none; }

/* job listing */
.job { display:grid; grid-template-columns:1fr auto; gap:18px 24px; align-items:start; padding:30px 0; border-top:1px solid var(--line-light); }
.job:last-child { border-bottom:1px solid var(--line-light); }
.job .dept { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }
.job h3 { margin:8px 0 6px; font-family:var(--display); font-weight:300; font-size:24px; }
.job .loc { font-size:13px; color:var(--gray-2); }
.job p { margin:12px 0 0; color:var(--gray-3); font-size:15px; line-height:1.6; max-width:760px; }
.job .av { font-size:11px; letter-spacing:.1em; text-transform:uppercase; padding:6px 14px; border-radius:999px; white-space:nowrap; }
.job .av.open { background:rgba(47,138,74,.12); color:#2f8a4a; }
.job .av.closed { background:rgba(0,0,0,.05); color:var(--gray-1); }

/* tier explainer */
.tiers { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.tier { border:1px solid var(--line-light); border-radius:var(--r-card); padding:28px; background:var(--white); }
.tier .nm { font-family:var(--display); font-weight:300; font-size:22px; }
.tier .ct { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-top:6px; }
.tier p { margin-top:12px; color:var(--gray-3); font-size:14px; line-height:1.6; }

/* newsletter */
.newsletter { max-width:520px; margin:0 auto; text-align:center; }
.newsletter form { display:flex; gap:10px; margin-top:24px; }
.newsletter input { flex:1; border:1px solid var(--line-light); border-radius:999px; padding:14px 20px; font-family:inherit; font-size:15px; background:var(--white); }
.newsletter input:focus { outline:2px solid var(--gold); outline-offset:2px; }
.newsletter .note { margin-top:12px; font-size:13px; color:var(--gray-1); }

@media (max-width:1024px) {
  .cardgrid--2, .cardgrid--3, .tiers { grid-template-columns:1fr; }
  .team { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px) {
  .team { grid-template-columns:1fr; }
  .job { grid-template-columns:1fr; }
  .newsletter form { flex-direction:column; }
  .newsletter input { border-radius:14px; }
}

/* ============================================================
   SECTION VARIETY + WOW  (skins, watermark, accents)
   ============================================================ */
.r-sec { position: relative; overflow: clip; }
.r-sec.tint  { background: #f3eee4; }                                   /* warm linen */
.r-sec.cream { background: #ece1cf; }                                   /* deeper cream */
.r-sec.ink   { background: var(--ink); color: #fff; }
.r-sec.noir  { background: radial-gradient(120% 130% at 80% -12%, #1d1812 0%, #0a0a0a 62%); color: #fff; }

/* light/dark heading + sub adapt */
.r-sec.ink .r-head h2, .r-sec.noir .r-head h2 { color: #fff; }
.r-sec.ink .r-sub, .r-sec.noir .r-sub, .r-sec.dark .r-sub { color: rgba(255,255,255,.7); }

/* gold tick above every section heading */
.r-head::before { content: ""; display: block; width: 42px; height: 2px; background: var(--gold); border-radius: 2px; margin: 0 auto 22px; }

/* faint Entwine watermark (dark/light) */
.wmark { position: absolute; top: -46px; right: -36px; width: clamp(170px, 20vw, 320px); height: auto; color: var(--gold); opacity: .07; pointer-events: none; z-index: 0; }
.r-sec.wm > *:not(.wmark) { position: relative; z-index: 1; }

/* card gold top-accent on hover */
.card { position: relative; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); border-radius: var(--r-card) var(--r-card) 0 0; transition: width .4s cubic-bezier(.16,.84,.44,1); }
.card:hover::after { width: 100%; }

/* component variants on ink / noir (in addition to .dark) */
.r-sec.ink .card, .r-sec.noir .card { background: rgba(255,255,255,.03); border-color: var(--line-dark); box-shadow: none; }
.r-sec.ink .card:hover, .r-sec.noir .card:hover { border-color: var(--gold); }
.r-sec.ink .card h3, .r-sec.noir .card h3 { color: #fff; }
.r-sec.ink .card p, .r-sec.noir .card p { color: rgba(255,255,255,.7); }
.r-sec.ink .teammate .nm, .r-sec.noir .teammate .nm { color: #fff; }
.r-sec.ink .teammate .bio, .r-sec.noir .teammate .bio { color: rgba(255,255,255,.62); }
.r-sec.ink .prose p, .r-sec.noir .prose p { color: rgba(255,255,255,.78); }

/* steps adapt to light OR dark sections */
.step p { color: var(--gray-3); }
.step h3 { color: var(--ink); }
.r-sec.dark .step p, .r-sec.ink .step p, .r-sec.noir .step p { color: rgba(255,255,255,.72); }
.r-sec.dark .step h3, .r-sec.ink .step h3, .r-sec.noir .step h3 { color: #fff; }

/* CTA band drama */
.rcta { position: relative; overflow: clip; }
.rcta > *:not(.wmark) { position: relative; z-index: 1; }
.rcta .wmark { opacity: .07; top: -50px; right: -30px; }

/* ============================================================
   Age gate (18+) + cookie consent banner
   ============================================================ */
.ag { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 28px; color: #fff;
  background: radial-gradient(70% 60% at 50% -10%, rgba(184,168,106,.22), transparent 60%), #0a0a0a;
  transition: opacity .5s ease; }
.ag--done { opacity: 0; pointer-events: none; }
.ag__in { max-width: 560px; }
.ag__mark { width: 52px; height: auto; color: var(--gold); }
.ag__kick { margin: 26px 0 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.ag__title { margin: 16px 0 0; font-family: var(--display); font-weight: 200; font-size: clamp(30px, 5vw, 52px); line-height: 1.04; letter-spacing: -.03em; }
.ag__title span { color: var(--gold); }
.ag__sub { margin: 18px auto 0; max-width: 40ch; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.72); }
.ag__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ag__note { margin: 26px 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media (prefers-reduced-motion: reduce) { .ag { transition: none; } }

.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99980; display: flex; flex-wrap: wrap;
  align-items: center; gap: 16px 22px; padding: 18px 22px; border-radius: 14px;
  background: rgba(12,12,12,.96); color: #fff; border: 1px solid rgba(184,168,106,.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .4s ease, transform .4s ease; }
.ck--hide { opacity: 0; transform: translateY(10px); pointer-events: none; }
.ck__txt { flex: 1 1 320px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); }
.ck__txt b { color: #fff; font-weight: 500; }
.ck__txt a { color: var(--gold); }
.ck__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ck__btns .btn { padding: 11px 18px; font-size: 13.5px; }
@media (min-width: 720px) { .ck { left: auto; right: 24px; bottom: 24px; max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }

/* ============================================================
   DOWNLOAD — desktop widget + QR modal (store-link.js)
   ============================================================ */
.ew-dl { display: flex; flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.ew-dl__avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .02em; color: inherit; opacity: .82; }
.ew-dl__ics { display: inline-flex; gap: 8px; align-items: center; font-size: 19px; }
.ew-dl__btn { flex: none; }
@media (max-width: 600px) {
  .ew-dl { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .ew-dl__avail { justify-content: center; }
}

.ew-qr { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.ew-qr.open { opacity: 1; visibility: visible; }
.ew-qr__backdrop { position: absolute; inset: 0; background: rgba(8,7,6,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ew-qr__card { position: relative; z-index: 1; width: min(380px, 100%); background: #fff; border-radius: 22px; padding: 38px 34px 30px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: translateY(10px) scale(.98); transition: transform .3s cubic-bezier(.16,.84,.44,1); }
.ew-qr.open .ew-qr__card { transform: none; }
.ew-qr__x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; background: transparent; font-size: 26px; line-height: 1; color: var(--gray-1); cursor: pointer; border-radius: 50%; transition: .2s; }
.ew-qr__x:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.ew-qr__kick { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; font-weight: 600; }
.ew-qr__title { font-family: var(--display); font-weight: 300; font-size: 24px; letter-spacing: -.01em; color: var(--ink); margin: 0 0 22px; }
.ew-qr__code { width: 220px; height: 220px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-light); background: #fff; }
.ew-qr__code img { width: 100%; height: 100%; display: block; }
.ew-qr__hint { font-size: 13.5px; line-height: 1.55; color: var(--gray-2); margin: 18px auto 0; max-width: 290px; }
.ew-qr__or { display: flex; align-items: center; gap: 12px; margin: 22px 4px 18px; color: var(--gray-1); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ew-qr__or::before, .ew-qr__or::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.ew-qr__stores { display: flex; gap: 14px; justify-content: center; }
.ew-qr__stores .badge { height: 46px; display: inline-flex; border-radius: 8px; }
.ew-qr__stores .badge img { height: 100%; width: auto; display: block; }
.app__stat--dl .label { margin-bottom: 12px; }
@media (max-width: 480px) { .ew-qr__card { padding: 34px 22px 26px; } }

/* ============================================================
   iPHONE MOCKUP (home app section — holds the app demo video)
   ============================================================ */
.iphone { position: relative; height: clamp(480px, 66vh, 640px); aspect-ratio: 1290 / 2796; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 72px rgba(0,0,0,.5); }
.iphone__screen { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.iphone__media { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .iphone { height: clamp(460px, 86vw, 600px); } }

/* reusable phone frame — no notch/island, full screenshot (9:19.5), used in
   the wine-lovers steps and the restaurants feature. */
.appphone { position: relative; width: 100%; background: #0b0b0b; border-radius: 30px; padding: 7px;
  box-shadow: 0 26px 55px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.09); }
.appphone__screen { position: relative; width: 100%; height: auto; aspect-ratio: 1290 / 2796; border-radius: 24px; overflow: hidden; background: #000; }
.appphone__screen .app-screen { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Insights index: fixed 4-column grid (stays 4 regardless of how many
   articles a filter leaves — a single card never stretches full width). */
#articleGrid { grid-template-columns: repeat(4, 1fr); align-items: start; }
@media (max-width: 1100px) { #articleGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { #articleGrid { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE STICKY DOWNLOAD BAR (store-link.js)
   ============================================================ */
:root { --mdl-h: 54px; }
.mdl { display: none; }
@media (max-width: 768px) {
  .mdl { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--mdl-h);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--gold); color: #0a0a0a; font-weight: 600; font-size: 15px;
    letter-spacing: .01em; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.2);
    transform: translateY(0); transition: transform .3s cubic-bezier(.16,.84,.44,1); will-change: transform; }
  .mdl iconify-icon { font-size: 21px; }
  body.mdl-hidden .mdl { transform: translateY(-100%); }
  body { padding-top: var(--mdl-h); }
  .nav { top: var(--mdl-h); transition: top .3s cubic-bezier(.16,.84,.44,1); }
  body.mdl-hidden .nav { top: 0; }
}

/* ============================================================
   TOOL "UNDER DEVELOPMENT" LIGHTBOX (tools-popup.js)
   ============================================================ */
.tdev { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.tdev.open { opacity: 1; visibility: visible; }
.tdev__backdrop { position: absolute; inset: 0; background: rgba(8,7,6,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tdev__card { position: relative; z-index: 1; width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 36px 32px 28px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: translateY(10px) scale(.98); transition: transform .3s cubic-bezier(.16,.84,.44,1); }
.tdev.open .tdev__card { transform: none; }
.tdev__x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: transparent; font-size: 26px; line-height: 1; color: var(--gray-1); cursor: pointer; border-radius: 50%; transition: .2s; }
.tdev__x:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.tdev__kick { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.tdev__title { font-family: var(--display); font-weight: 300; font-size: 26px; letter-spacing: -.01em; color: var(--ink); margin: 0 0 12px; }
.tdev__txt { font-size: 15px; line-height: 1.6; color: var(--gray-2); margin: 0 0 22px; }
.tdev__form { display: flex; gap: 10px; }
.tdev__form input { flex: 1; border: 1px solid var(--line-light); border-radius: 999px; padding: 12px 18px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.tdev__form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.tdev__note { margin: 14px 0 0; font-size: 12.5px; color: var(--gray-1); }
@media (max-width: 480px) { .tdev__form { flex-direction: column; } .tdev__card { padding: 30px 22px 24px; } }
