/* ════════════════════════════════════════════════════════════════════
   RentBaze landing — "Open the door."
   Direction : Grand-hotel Art Deco — brass-on-navy doorway motif.
     · Arched "doorway" photo frames, gold double rules, sunburst,
       Roman-numeral steps, deco corner brackets, film grain.
     · Motion is CSS-only: hero entrance stagger, scroll-driven reveals
       (animation-timeline: view() with graceful fallback), city marquee.
   Palette   : RentBaze brand (navy / mustard / cream / paper) — unchanged.
   Type      : Cinzel (engraved display caps) + Josefin Sans (geometric UI).
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* brand palette — fixed, do not change */
  --navy: #0f2440;
  --navy-700: #16335a;
  --navy-soft: #1c3d68;
  --mustard: #e8c574;
  --mustard-deep: #d4ab4f;
  --cream: #f0e9db;
  --paper: #faf9f5;
  --ink: #1a2233;
  --body: #44505f;
  --muted: #79828f;
  --hairline: #e6e0d4;
  --hairline-strong: #d8d0c0;
  --white: #ffffff;

  /* semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --on-navy: var(--cream);
  --on-navy-soft: rgba(240, 233, 219, 0.74);
  --gold-12: rgba(212, 171, 79, 0.12);
  --gold-35: rgba(212, 171, 79, 0.35);

  /* page gutter — fluid, and never narrower than the device safe-area inset
     (notch/rounded corners in landscape). Every full-width container uses
     these so the horizontal inset is identical at any viewport width. */
  --gutter: clamp(18px, 5vw, 32px);
  --gutter-l: max(var(--gutter), env(safe-area-inset-left));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right));

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-arch: 999em 999em var(--r-md) var(--r-md);
  --r-full: 9999px;

  /* spacing scale (4/8) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --s-24: 96px; --s-32: 128px;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.06), 0 2px 8px rgba(15, 36, 64, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 36, 64, 0.09), 0 2px 6px rgba(15, 36, 64, 0.05);
  --shadow-lg: 0 24px 64px rgba(15, 36, 64, 0.18);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-sans: "Josefin Sans", -apple-system, system-ui, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 240ms var(--ease);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Belt-and-braces against horizontal scroll on mobile: clipping on the
     root element is honored by iOS Safari, where `overflow-x` on <body>
     alone is not — a stray over-wide child used to push the viewport wide
     and zoom the whole page out, flattening the gutters. */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: normal; }

::selection { background: var(--mustard); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--mustard-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 300;
}
.skip-link:focus { left: 16px; }

/* film grain — barely-there texture over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* ───────── Shared display type — engraved deco caps ───────── */

.hero-title,
.section-title,
.host-title,
.step-title,
.footer-line,
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.06;
}

/* gilded word — gradient brass on the key noun */
.hero-title em,
.footer-line em {
  background: linear-gradient(100deg, var(--mustard-deep) 5%, var(--mustard) 45%, #f3dca2 55%, var(--mustard-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* eyebrow with deco diamonds */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--s-4);
}
.eyebrow--light { color: var(--mustard); }

.dmd {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--mustard-deep);
  transform: rotate(45deg);
}
.dmd--gold { background: var(--mustard); }
.eyebrow--light .dmd { background: var(--mustard); }

/* ───────── Nav ───────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 4px solid var(--mustard);      /* the brass threshold */
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 78px;
  padding-inline: var(--gutter-l) var(--gutter-r);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);              /* inner-arch stroke via currentColor */
}
.brand--light { color: var(--cream); }
.brand-mark { width: 36px; height: 36px; }
.brand-word {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.brand-word--dark { color: var(--cream); }

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: var(--s-2);
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--body);
  transition: color var(--t);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: var(--mustard-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-4);
}
.link-quiet {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--t);
}
.link-quiet:hover { color: var(--mustard-deep); }

/* ───────── Language picker ───────── */

.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: box-shadow var(--t), background var(--t);
}
.lang-btn:hover { box-shadow: inset 0 0 0 1px var(--mustard-deep); }
.lang-btn svg { width: 17px; height: 17px; }
.lang-caret { width: 13px !important; height: 13px !important; transition: transform var(--t); }
.lang.open .lang-caret { transform: rotate(180deg); }
.lang-code { line-height: 1; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  z-index: 120;
}
.lang.open .lang-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--t);
}
.lang-menu li:hover { background: var(--cream); }
.lang-menu li[aria-selected="true"] { font-weight: 700; }
.lang-menu li[aria-selected="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--mustard-deep);
  transform: rotate(45deg);
}

/* Compact icon CTA — mobile only (declared here, toggled in media queries) */
.nav-cta-icon {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--navy);
  color: var(--cream);
  box-shadow: inset 0 0 0 2.5px rgba(232, 197, 116, 0.55);
}
.nav-cta-icon svg { width: 19px; height: 19px; }
.nav-cta-icon:hover { background: var(--navy-700); }

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 12px; }

.btn-solid {
  background: var(--navy);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--navy), inset 0 0 0 2.5px rgba(232, 197, 116, 0.55);
}
.btn-solid:hover { background: var(--navy-700); box-shadow: inset 0 0 0 1px var(--navy-700), inset 0 0 0 2.5px var(--mustard), var(--shadow-md); }

.btn-gold {
  background: linear-gradient(115deg, var(--mustard-deep), var(--mustard) 55%, var(--mustard-deep) 130%);
  color: var(--navy);
}
.btn-gold:hover { box-shadow: 0 10px 30px rgba(232, 197, 116, 0.28), var(--shadow-md); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(240, 233, 219, 0.4);
}
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--cream); background: rgba(240, 233, 219, 0.08); }

/* ───────── Hero ───────── */

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: clamp(var(--s-12), 7vw, var(--s-24)) 0;
  padding-inline: var(--gutter-l) var(--gutter-r);
  overflow-x: clip;   /* contain the sunburst's decorative bleed */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.78fr;
  gap: clamp(var(--s-8), 5vw, var(--s-16));
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-title {
  font-size: clamp(2.5rem, 10.5vw, 7.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 0.98;
  margin: var(--s-4) 0 var(--s-6);
}

.hero-lede {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--body);
  max-width: 56ch;
  margin-bottom: var(--s-8);
}

/* hero entrance — staggered rise */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.5s; }
.hero-door { animation: rise 1.1s var(--ease) 0.25s both; }

/* the doorway — arched photo with double brass frame + sunburst */
.hero-door { position: relative; }
/* sunburst fanning out from the arch crown */
.hero-door::before {
  content: "";
  position: absolute;
  inset: -28% -25% 55%;
  background: repeating-conic-gradient(
    from 0deg at 50% 40%,
    rgba(212, 171, 79, 0.34) 0deg 1.6deg,
    transparent 1.6deg 8deg
  );
  -webkit-mask: radial-gradient(farthest-side at 50% 40%, #000 20%, rgba(0, 0, 0, 0.5) 55%, transparent 92%);
          mask: radial-gradient(farthest-side at 50% 40%, #000 20%, rgba(0, 0, 0, 0.5) 55%, transparent 92%);
  pointer-events: none;
}

.arch {
  position: relative;
  border: 1px solid var(--mustard-deep);
  border-radius: var(--r-arch);
  padding: 12px;
  background: var(--paper);
}
.arch::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold-35);
  border-radius: inherit;
  pointer-events: none;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999em 999em calc(var(--r-md) - 6px) calc(var(--r-md) - 6px);
}
.arch--hero {
  aspect-ratio: 4 / 5.1;
  box-shadow: var(--shadow-lg);
}
.arch--hero img { aspect-ratio: 4 / 5.1; }

/* floating "verified" note over the arch */
.hero-note {
  position: absolute;
  left: max(-44px, -6vw);
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  max-width: 270px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--body);
}
.hero-note strong { color: var(--navy); font-weight: 600; }
.note-medal {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mustard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--mustard-deep);
}
.note-medal svg { width: 17px; height: 17px; }

/* search bar — the primary CTA */
.searchbar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-md);
  padding: 8px 8px 8px 0;
  max-width: 720px;
  transition: box-shadow var(--t), border-color var(--t);
}
.searchbar:focus-within { box-shadow: var(--shadow-lg); border-color: var(--mustard-deep); }

.seg {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--r-full);
  transition: background var(--t);
  min-width: 0;
}
.seg:hover { background: var(--paper); }
.seg label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 3px;
  cursor: pointer;
}
.seg input {
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}
.seg input::placeholder { color: var(--muted); }

.seg-divider {
  width: 1px;
  align-self: center;
  height: 34px;
  background: var(--hairline-strong);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--mustard);
  border-radius: var(--r-full);
  padding: 0 26px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2.5px rgba(232, 197, 116, 0.45);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--navy-700); box-shadow: inset 0 0 0 2.5px var(--mustard); }
.search-btn:active { transform: scale(0.98); }
.search-btn svg { width: 17px; height: 17px; }

.popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--s-6);
}
.popular-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: var(--s-2);
}
.chip {
  padding: 8px 16px 7px;
  border-radius: var(--r-full);
  background: var(--cream);
  border: 1px solid transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.chip:hover { background: var(--mustard); border-color: var(--mustard-deep); transform: translateY(-1px); }

/* hero stats — double-rule deco strip */
.hero-stats {
  margin-top: clamp(var(--s-12), 6vw, var(--s-24));
  border-block: 3px double var(--hairline-strong);
  padding: var(--s-8) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--s-4);
}
.stat + .stat { border-left: 1px solid var(--hairline); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--navy);
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ───────── Cities marquee ───────── */

.marquee {
  margin-top: clamp(var(--s-12), 6vw, var(--s-16));
  background: var(--navy);
  border-block: 1px solid var(--mustard-deep);
  overflow: hidden;
  padding: 15px 0 13px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-seq {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-seq li {
  position: relative;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0 30px 0 46px;
  white-space: nowrap;
}
.marquee-seq li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--mustard);
  transform: translateY(-60%) rotate(45deg);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ───────── Section heads ───────── */

.section-head { margin-bottom: var(--s-12); }
.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
}
.section-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--navy);
}
.section-title--light { color: var(--cream); }
.section-sub {
  font-size: 1.1rem;
  color: var(--body);
  margin-top: var(--s-3);
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: gap var(--t), color var(--t);
  display: inline-flex;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--mustard-deep);
}
.link-arrow:hover { color: var(--mustard-deep); gap: 14px; }

/* ───────── Section shells ───────── */

.categories,
.featured,
.how,
.voices,
.host {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: clamp(var(--s-16), 7vw, var(--s-24));
  padding-inline: var(--gutter-l) var(--gutter-r);
}

/* ───────── Categories ───────── */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: var(--s-8) var(--s-4) var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-arch);
  background: var(--white);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--mustard-deep);
}
.cat-icon {
  width: 48px;
  height: 58px;
  border-radius: 999em 999em 6px 6px;   /* tiny doorway */
  background: var(--cream);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  transition: background var(--t), color var(--t);
}
.cat:hover .cat-icon { background: var(--navy); color: var(--mustard); }
.cat-icon svg { width: 23px; height: 23px; }
.cat-name { font-weight: 600; font-size: 16px; color: var(--navy); }
.cat-count { font-size: 13px; color: var(--muted); }

/* ───────── Featured listings ───────── */

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}
.listing {
  border-radius: var(--r-arch);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 10px 10px 0;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.listing:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mustard-deep);
}
.listing-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 999em 999em 10px 10px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--gold-35);
}
.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.listing:hover .listing-photo img { transform: scale(1.05); }

.badge-verified {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--mustard);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px 6px;
  border-radius: var(--r-full);
  box-shadow: 0 0 0 1px rgba(232, 197, 116, 0.5), var(--shadow-sm);
  white-space: nowrap;
}
.badge-verified svg { width: 12px; height: 12px; }

.listing-body { padding: var(--s-4) var(--s-3) var(--s-6); }
.listing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.listing-title { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  flex-shrink: 0;
}
.rating svg { width: 13px; height: 13px; color: var(--mustard-deep); }
.rating--lg { font-size: 16px; }
.rating--lg svg { width: 16px; height: 16px; }
.listing-meta { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.listing-price {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--body);
}
.listing-price strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
}
.listing-price span { color: var(--muted); }

/* ───────── How it works ───────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.step {
  position: relative;
  padding-top: var(--s-8);
  border-top: 3px double var(--hairline-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--mustard-deep);
  transform: rotate(45deg);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--mustard-deep);
  letter-spacing: 0.1em;
  line-height: 1;
}
.step-title {
  font-size: 1.55rem;
  color: var(--navy);
  margin: var(--s-3) 0;
}
.step-body { color: var(--body); font-size: 1.02rem; max-width: 32ch; }

/* ───────── Trust ───────── */

.trust {
  margin-top: clamp(var(--s-16), 7vw, var(--s-24));
  background:
    repeating-linear-gradient(45deg, rgba(232, 197, 116, 0.045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(232, 197, 116, 0.045) 0 1px, transparent 1px 28px),
    var(--navy);
  border-block: 1px solid var(--mustard-deep);
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: clamp(var(--s-16), 7vw, var(--s-24));
  padding-inline: var(--gutter-l) var(--gutter-r);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-16);
  align-items: center;
}
.trust-lede {
  font-size: 1.15rem;
  color: var(--on-navy-soft);
  margin-top: var(--s-6);
  max-width: 42ch;
}
.pillars { display: grid; gap: var(--s-4); }
.pillar {
  display: flex;
  gap: var(--s-6);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: rgba(22, 51, 90, 0.6);
  border: 1px solid var(--navy-soft);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.pillar:hover { transform: translateX(6px); border-color: var(--mustard-deep); background: var(--navy-700); }
.pillar-icon {
  flex-shrink: 0;
  width: 50px;
  height: 60px;
  border-radius: 999em 999em 6px 6px;
  background: var(--gold-12);
  box-shadow: inset 0 0 0 1px var(--gold-35);
  color: var(--mustard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 25px; height: 25px; }
.pillar-title { font-size: 1.22rem; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.pillar-body { color: var(--on-navy-soft); font-size: 1rem; }

/* ───────── Voices ───────── */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-8);
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* deco corner brackets */
.quote::before,
.quote::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--mustard-deep);
  pointer-events: none;
}
.quote::before { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.quote::after { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }

.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.q-name { font-weight: 600; color: var(--ink); }
.q-role { font-size: 14px; color: var(--muted); }

/* ───────── Host CTA ───────── */

.host-card {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(232, 197, 116, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(232, 197, 116, 0.04) 0 1px, transparent 1px 28px),
    radial-gradient(120% 140% at 100% 0%, var(--navy-700) 0%, var(--navy) 60%);
  border: 1px solid var(--mustard-deep);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-12), 6vw, var(--s-24));
}
.host-copy { position: relative; z-index: 1; max-width: 60%; }
.host-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--cream);
  margin: var(--s-4) 0 var(--s-6);
}
.host-lede {
  font-size: 1.15rem;
  color: var(--on-navy-soft);
  max-width: 46ch;
  margin-bottom: var(--s-8);
}
.host-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* nested glowing doorway rising from the card's edge */
.door-rings {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 5 / 5.6;
  pointer-events: none;
}
.door-rings span {
  position: absolute;
  border: 1px solid;
  border-bottom: 0;
  border-radius: 999em 999em 0 0;
}
.door-rings span:nth-child(1) { inset: 0 0 0 0; border-color: rgba(232, 197, 116, 0.28); }
.door-rings span:nth-child(2) { inset: 13% 13% 0; border-color: rgba(232, 197, 116, 0.45); }
.door-rings span:nth-child(3) { inset: 26% 26% 0; border-color: rgba(232, 197, 116, 0.7); }
.door-glow {
  position: absolute;
  inset: 39% 39% 0;
  border-radius: 999em 999em 0 0;
  background: radial-gradient(80% 100% at 50% 100%, rgba(232, 197, 116, 0.5), rgba(232, 197, 116, 0.07) 70%, transparent);
}

/* ───────── Footer ───────── */

.footer {
  background: var(--navy);
  color: var(--cream);
  margin-top: clamp(var(--s-16), 7vw, var(--s-24));
  border-top: 4px solid var(--mustard);
}
.footer-line {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: clamp(var(--s-16), 6vw, var(--s-24)) 0;
  padding-inline: var(--gutter-l) var(--gutter-r);
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  color: var(--cream);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-line .dmd { width: 8px; height: 8px; }

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: clamp(var(--s-12), 5vw, var(--s-16)) var(--s-16);
  padding-inline: var(--gutter-l) var(--gutter-r);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-8);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-tag { color: rgba(240, 233, 219, 0.65); max-width: 32ch; font-size: 15px; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: var(--s-4);
}
.footer-col a {
  display: block;
  color: rgba(240, 233, 219, 0.82);
  font-size: 15px;
  padding: 6px 0;
  transition: color var(--t), transform var(--t);
}
.footer-col a:hover { color: var(--mustard); }

.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding-block: var(--s-6) var(--s-12);
  padding-inline: var(--gutter-l) var(--gutter-r);
  border-top: 1px solid var(--navy-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-size: 14px;
  color: rgba(240, 233, 219, 0.6);
}
.footer-legal-links { display: inline-flex; gap: var(--s-6); }
.footer-legal-links a:hover { color: var(--cream); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════
   Scroll-driven reveals — pure CSS, progressive enhancement only
   ════════════════════════════════════════════════════════════════════ */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise 1s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 5% entry 38%;
    }
  }
}

/* ════════════════════════════════════════════════════════════════════
   Responsive — 1024 / 768 / 480
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-door { max-width: 460px; margin: var(--s-8) auto 0; }
  .hero-note { left: -8px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: 1fr; gap: var(--s-12); }
  .host-copy { max-width: 100%; }
  .door-rings { opacity: 0.4; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-actions { gap: var(--s-3); }
  /* Declutter the bar so it never overflows: drop the secondary text link and
     the wide CTA, swap in a compact icon CTA. Keeps brand + language + action
     comfortably within even a 320px screen, in any language. */
  .link-quiet { display: none; }
  .nav-cta { display: none; }
  .nav-cta-icon { display: inline-flex; }
  .searchbar { flex-wrap: wrap; border-radius: var(--r-lg); padding: var(--s-2); }
  .seg-divider { display: none; }
  .seg { flex-basis: 100%; border-radius: var(--r-md); }
  .search-btn { flex-basis: 100%; justify-content: center; height: 50px; margin-top: 4px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) 0; }
  .stat:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: var(--s-12); }
  .quotes { grid-template-columns: 1fr; }
  .door-rings { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  /* Horizontal insets come from the global --gutter now (consistent at every
     width), so no per-section padding override is needed here. */
  .hero-note { position: static; margin-top: var(--s-4); max-width: 100%; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .marquee-seq li { font-size: 13px; padding: 0 22px 0 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none; }
  .cat:hover, .listing:hover, .pillar:hover, .chip:hover, .quote:hover { transform: none; }
  .listing:hover .listing-photo img { transform: none; }
}
