:root {
  --bg: #0f1115;
  --bg-soft: #171b21;
  --panel: #1d222b;
  --text: #f3f4f6;
  --muted: #c7ccd4;
  --muted-strong: #9fa8b5;
  --line: rgba(255,255,255,.09);
  --accent: #b5121b;
  --accent-soft: rgba(181,18,27,.12);
  --accent-warm: #d9c5b2;
  --shadow: 0 18px 40px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(181,18,27,.15), transparent 25%),
    linear-gradient(180deg, #11141a 0%, #0f1115 100%);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(15,17,21,.86);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 32px;
  min-width: 32px;
  height: auto;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-copy strong {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-copy span {
  color: var(--muted-strong);
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 1.35;
  max-width: 520px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover,
.nav a.active { color: var(--text); }

.page { padding: 46px 0 88px; }
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(181,18,27,.15), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,197,178,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 34px;
  padding: 52px;
  align-items: stretch;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(217,197,178,.6);
}
.hero h1,
.section h2 {
  margin: 14px 0 18px;
  line-height: 1.08;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
}
.hero h1 { font-size: clamp(2.5rem, 4vw, 4.4rem); max-width: 12ch; }
.section h2 { font-size: clamp(1.7rem, 2.6vw, 2.8rem); }
.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: break-word;
}
.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover,
.button-secondary:hover,
.button-ghost:hover { transform: translateY(-2px); }
.button { background: var(--accent); color: #fff; }
.button-secondary { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid rgba(255,255,255,.1); }
.button-ghost { border: 1px solid rgba(217,197,178,.35); color: var(--accent-warm); }

.hero-card,
.panel,
.card,
.quote,
.final-action {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.hero-card { padding: 28px; align-self: stretch; }
.label,
.kicker {
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
}
.kicker { color: var(--muted-strong); letter-spacing: .16em; }
.profile-card { padding: 14px; overflow: hidden; }
.profile-card .profile-photo {
  width: 100%;
  height: clamp(380px, 48vw, 560px);
  min-height: 0;
  border-radius: 22px;
  object-fit: cover;
  object-position: 50% 32%;
}
.profile-caption { display: none; }
.hero-card ul,
.card ul,
.panel ul,
.final-action ul { margin: 16px 0 0; padding: 0; list-style: none; }
.hero-card li,
.card li,
.panel li,
.final-action li {
  position: relative;
  padding-left: 18px;
  margin-top: 12px;
  color: var(--muted);
}
.hero-card li::before,
.card li::before,
.panel li::before,
.final-action li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.section { margin-top: 34px; }
.section-header { margin-bottom: 22px; }
.grid,
.grid-2,
.grid-3,
.steps,
.quote-grid,
.stats-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card,
.panel,
.quote { padding: 26px; }
.card h3,
.panel h3,
.quote strong { margin: 0 0 10px; font-size: 1.15rem; }
.card p,
.panel p,
.quote p,
.final-action p,
.stat p,
.step p { margin: 0; color: var(--muted); overflow-wrap: break-word; }
.listing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 22px;
  overflow: hidden;
}
.listing-card h3,
.listing-card p { margin-left: 8px; margin-right: 8px; }
.listing-card .button-ghost { align-self: flex-start; margin: 4px 8px 0; }
.listing-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 17px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.listing-card-image:hover img,
.listing-card-image:focus-visible img { transform: scale(1.025); }
.listing-card-image:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}
.step,
.stat {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 18px;
}
.stat strong { display: block; margin-bottom: 8px; font-size: 1.4rem; }
.quote em { color: var(--accent-warm); font-style: normal; font-size: 14px; }
.final-action {
  margin-top: 34px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(181,18,27,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.inline-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.inline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 14px;
}

.footer {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 14px;
}
.footer a { color: var(--accent-warm); }
.site-footer { margin-top: 60px; padding: 48px 0 36px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.7fr 1.05fr; gap: 48px; align-items: start; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-mark { width: 52px; min-width: 52px; }
.footer-logo-mark img { width: 100%; height: auto; display: block; }
.footer-logo-text { color: var(--text); font-weight: 700; letter-spacing: .12em; font-size: 16px; }
.footer-text { color: var(--muted); max-width: 620px; line-height: 1.7; margin-bottom: 18px; overflow-wrap: break-word; }
.footer-branding { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.partner-badge { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.partner-badge img { display: block; width: 118px; height: auto; opacity: 1; }
.legal-line { color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: break-word; }
.footer-right { display: grid; grid-template-columns: 1px 1fr 1fr; gap: 28px; }
.footer-line { width: 1px; min-height: 160px; background: var(--line); }
.footer-right h6,
.contact-title { margin: 0 0 14px; color: var(--text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav-items,
.contact-info { display: flex; flex-direction: column; gap: 10px; color: var(--muted); overflow-wrap: break-word; }
.footer-nav-items a,
.contact-info a { color: var(--muted); }
.footer-nav-items a:hover,
.contact-info a:hover { color: var(--accent-warm); }
.site-footer .footer-branding { margin-top: 22px; display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: center; gap: 28px; }
.site-footer .partner-badge img { width: 118px; }

@media (max-width: 980px) {
  .topbar-inner { padding: 14px 0; align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero-grid,
  .grid-2,
  .grid-3,
  .steps,
  .quote-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 36px 26px; }
  .hero h1 { max-width: none; }
  .footer-main,
  .footer-right { grid-template-columns: 1fr; gap: 24px; }
  .footer-line { display: none; }
  .site-footer .footer-branding { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 980px) {
  .container { width: calc(100% - 24px); }
  .topbar { position: relative; }
  .topbar-inner { min-height: 0; gap: 12px; }
  .brand { align-items: flex-start; gap: 10px; }
  .brand-mark { width: 28px; min-width: 28px; margin-top: 2px; }
  .brand-copy strong { font-size: 13px; letter-spacing: .12em; }
  .brand-copy span { display: none; }
  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 12px;
  }
  .nav a {
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .page { padding: 24px 0 64px; }
  .hero { border-radius: 24px; }
  .hero::after { display: none; }
  .hero-grid { display: block; padding: 24px 18px; }
  .eyebrow { font-size: 10px; letter-spacing: .13em; }
  .eyebrow::before { width: 22px; }
  .hero h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
    line-height: 1.13;
    max-width: none;
  }
  .lead { font-size: 15px; line-height: 1.68; }
  .hero-actions,
  .action-row { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 14px;
    white-space: normal;
  }
  .hero-card,
  .panel,
  .card,
  .final-action { border-radius: 22px; }
  .profile-card { margin-top: 22px; padding: 8px; }
  .profile-card .profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    object-position: 50% 32%;
  }
  .section { margin-top: 30px; }
  .section h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); line-height: 1.18; }
  .card,
  .panel,
  .quote,
  .final-action { padding: 20px; }
  .inline-pill { font-size: 12px; min-height: 34px; padding: 7px 10px; }
  .site-footer { margin-top: 42px; padding: 34px 0 22px; }
  .partner-badge img,
  .site-footer .partner-badge img { width: 92px; }
}

@media (max-width: 340px) {
  .container { width: calc(100% - 20px); }
  .hero-grid { padding: 22px 14px; }
  .hero h1 { font-size: 1.62rem; }
  .lead { font-size: 14px; }
  .nav a { font-size: 11.5px; padding: 6px 8px; }
}


/* Courtier page: true mobile layout */
@media (max-width: 760px) {
  body.courtier-page .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  body.courtier-page .topbar {
    position: relative;
  }
  body.courtier-page .topbar-inner {
    display: block;
    min-height: 0;
    padding: 12px 0 14px;
  }
  body.courtier-page .brand {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
  }
  body.courtier-page .brand-copy span {
    display: none;
  }
  body.courtier-page .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    font-size: 12px;
  }
  body.courtier-page .nav a {
    min-width: 0;
    padding: 7px 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    white-space: normal;
  }
  body.courtier-page .page {
    padding: 18px 0 58px;
  }
  body.courtier-page .hero {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
  }
  body.courtier-page .hero::after {
    display: none;
  }
  body.courtier-page .hero-grid {
    display: block;
    width: 100%;
    padding: 22px 16px;
  }
  body.courtier-page .hero-grid > div,
  body.courtier-page .hero-grid > aside {
    width: 100%;
    min-width: 0;
  }
  body.courtier-page .hero h1 {
    max-width: none;
    font-size: 29px;
    line-height: 1.14;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
  }
  body.courtier-page .lead {
    max-width: none;
    font-size: 15px;
    line-height: 1.68;
    overflow-wrap: break-word;
  }
  body.courtier-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.courtier-page .button,
  body.courtier-page .button-secondary,
  body.courtier-page .button-ghost {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    white-space: normal;
  }
  body.courtier-page .profile-card {
    margin-top: 22px;
    padding: 8px;
    width: 100%;
  }
  body.courtier-page .profile-card .profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 32%;
    border-radius: 16px;
  }
  body.courtier-page .section h2 {
    font-size: 24px;
    line-height: 1.18;
  }
  body.courtier-page .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  body.courtier-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  body.courtier-page .hero-grid {
    padding: 20px 14px;
  }
  body.courtier-page .hero h1 {
    font-size: 25px;
  }
  body.courtier-page .lead {
    font-size: 14px;
  }
}

/* Courtier mobile final override */
@media screen and (max-width: 980px) {
  body.courtier-page {
    overflow-x: hidden !important;
  }
  body.courtier-page .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.courtier-page .topbar {
    position: relative !important;
  }
  body.courtier-page .topbar-inner {
    display: block !important;
    min-height: 0 !important;
    padding: 12px 0 !important;
  }
  body.courtier-page .brand {
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  body.courtier-page .brand-copy span {
    display: none !important;
  }
  body.courtier-page .nav {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    font-size: 12px !important;
  }
  body.courtier-page .nav a {
    display: block !important;
    min-width: 0 !important;
    padding: 7px 8px !important;
    text-align: center !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  body.courtier-page .page {
    width: 100% !important;
    padding: 18px 0 58px !important;
  }
  body.courtier-page .hero,
  body.courtier-page .section,
  body.courtier-page .final-action,
  body.courtier-page .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.courtier-page .hero {
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  body.courtier-page .hero::after {
    display: none !important;
  }
  body.courtier-page .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 22px 16px !important;
    gap: 22px !important;
  }
  body.courtier-page .hero-grid > *,
  body.courtier-page .hero-card,
  body.courtier-page .panel,
  body.courtier-page .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.courtier-page .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.7rem, 7.4vw, 2.05rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.025em !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  body.courtier-page .lead {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    overflow-wrap: break-word !important;
  }
  body.courtier-page .hero-actions,
  body.courtier-page .action-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body.courtier-page .button,
  body.courtier-page .button-secondary,
  body.courtier-page .button-ghost {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }
  body.courtier-page .profile-card {
    padding: 8px !important;
    margin-top: 0 !important;
  }
  body.courtier-page .profile-card .profile-photo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    object-position: 50% 32% !important;
    border-radius: 16px !important;
  }
  body.courtier-page .grid-2,
  body.courtier-page .grid-3,
  body.courtier-page .footer-main,
  body.courtier-page .footer-right {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  body.courtier-page .section h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.95rem) !important;
    line-height: 1.18 !important;
  }
}

/* Mobile nav: horizontal scroll tabs under header */
@media screen and (max-width: 980px) {
  .topbar-inner,
  body.courtier-page .topbar-inner {
    display: block !important;
    min-height: 0 !important;
    padding: 12px 0 10px !important;
  }
  .brand,
  body.courtier-page .brand {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  .brand-copy span,
  body.courtier-page .brand-copy span {
    display: none !important;
  }
  .nav,
  body.courtier-page .nav {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 2px 0 6px !important;
    scroll-snap-type: x proximity !important;
  }
  .nav::-webkit-scrollbar,
  body.courtier-page .nav::-webkit-scrollbar {
    display: none !important;
  }
  .nav a,
  body.courtier-page .nav a {
    flex: 0 0 auto !important;
    min-width: auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    white-space: nowrap !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    scroll-snap-align: start !important;
  }
}

/* Navigation: full tabs at page top, compact hamburger after scrolling */
.mobile-menu-toggle {
  display: none;
}
@media screen and (min-width: 981px) {
  .topbar.is-scrolled .topbar-inner { position: relative; }
  .topbar.is-scrolled .nav:not(.is-open) { display: none; }
  .topbar.is-scrolled .mobile-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(217,197,178,.5);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: var(--accent-warm);
    cursor: pointer;
  }
  .topbar.is-scrolled .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .topbar.is-scrolled .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.is-scrolled .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .topbar.is-scrolled .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar.is-scrolled .nav.is-open {
    display: flex;
    position: absolute;
    top: 66px;
    right: 0;
    width: 230px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(15,17,21,.98);
    border: 1px solid rgba(217,197,178,.28);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,.3);
  }
  .topbar.is-scrolled .nav.is-open a {
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--accent-warm);
  }
  .topbar.is-scrolled .nav.is-open a:hover { background: rgba(255,255,255,.06); }
}

/* Mobile hamburger menu: nav hidden until 3-line button click */
@media screen and (max-width: 980px) {
  .topbar-inner,
  body.courtier-page .topbar-inner {
    position: relative !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 12px !important;
    right: 0 !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transition: transform .18s ease, opacity .18s ease !important;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
  .brand,
  body.courtier-page .brand {
    padding-right: 56px !important;
  }
  .nav,
  body.courtier-page .nav {
    display: none !important;
  }
  .nav.is-open,
  body.courtier-page .nav.is-open {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 4px 0 8px !important;
    margin-top: 4px !important;
    scroll-snap-type: x proximity !important;
  }
  .nav.is-open::-webkit-scrollbar,
  body.courtier-page .nav.is-open::-webkit-scrollbar {
    display: none !important;
  }
  .nav.is-open a,
  body.courtier-page .nav.is-open a {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    white-space: nowrap !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    scroll-snap-align: start !important;
  }
}

/* Lafleur: natural property choices + no photo frame */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}
.choice-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(217,197,178,.24);
  background: rgba(255,255,255,.045);
  color: var(--text);
  text-decoration: none;
}
.choice-card strong {
  color: var(--accent-warm);
  font-size: 14px;
}
.choice-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.choice-card:hover {
  border-color: rgba(217,197,178,.46);
  transform: translateY(-1px);
}
.profile-card,
body.courtier-page .profile-card,
body.courtier-page .hero-card.profile-card {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.profile-card .profile-photo,
body.courtier-page .profile-card .profile-photo {
  display: block;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .choice-card {
    padding: 14px;
  }
}

/* Reprise depuis publié — correctif mobile global anti-débordement 2026-08-05 00:58 */
@media screen and (max-width: 980px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body * {
    max-width: 100%;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .topbar,
  .page,
  .hero,
  .section,
  .site-footer,
  .footer-main,
  .footer-right,
  .hero-grid,
  .grid-2,
  .grid-3,
  .choice-grid,
  .steps,
  .stats-grid,
  .quote-grid,
  .inline-list,
  .hero-card,
  .panel,
  .card,
  .quote,
  .final-action {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .choice-grid,
  .steps,
  .stats-grid,
  .quote-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .choice-card,
  .inline-pill,
  .button,
  .button-secondary,
  .button-ghost,
  .nav a {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .hero h1,
  .section h2,
  h1,
  h2,
  h3,
  p,
  li,
  strong,
  span {
    overflow-wrap: anywhere;
  }

  .hero-card ul,
  .card ul,
  .panel ul,
  .final-action ul {
    padding-left: 0 !important;
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100% !important;
    height: auto;
  }
}

/* Correctif local nuit 2026-08-19: menu mobile lisible sans troncature horizontale */
@media screen and (max-width: 980px) {
  .nav.is-open,
  body.courtier-page .nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 6px 0 8px !important;
    margin-top: 8px !important;
    scroll-snap-type: none !important;
  }
  .nav.is-open a,
  body.courtier-page .nav.is-open a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    line-height: 1.25 !important;
    padding: 8px 9px !important;
  }
}

@media screen and (max-width: 380px) {
  .nav.is-open,
  body.courtier-page .nav.is-open {
    grid-template-columns: 1fr !important;
  }
}
