/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --ink: #0F0E0C;
  --ink-2: #1A1815;
  --ink-3: #2D2A24;
  --gold: #775B00;
  --gold-hover: #5C4600;
  --gold-light: #C4A76B;
  --gold-soft: #D9C88F;
  --gold-tint: rgba(119, 91, 0, 0.08);
  --cream: #F5F0E1;
  --cream-2: #FAF7ED;
  --paper: #FFFFFF;
  --line: #E5DDC5;
  --line-strong: #C9BE99;
  --muted: #6B6B6B;
  --muted-2: #999999;
  --muted-cream: rgba(245, 240, 225, 0.65);

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --section-y: clamp(72px, 11vw, 144px);
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
section[id] {
  scroll-margin-top: 84px;
}
.mobile-nav-cta-item {
  display: none;
}
@media (max-width: 720px) {
  .mobile-nav-cta-item {
    display: block;
    width: 100%;
  }
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--cream); }

/* Typography helpers */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gold-light); }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page { display: none; }
.page.is-active { display: block; }
section { padding-block: var(--section-y); }
section.tight { padding-block: clamp(48px, 8vw, 96px); }

.bg-cream { background: var(--cream); color: var(--ink); }
.bg-cream-2 { background: var(--cream-2); color: var(--ink); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-gold { background: var(--gold); color: var(--cream); }
.bg-paper { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   NAV
   ========================================================================== */
/* ==========================================================================
   NAV — Luxury Sovereign Header (Responsive across Desktop, iPad & Mobile)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px clamp(18px, 3.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(15, 14, 12, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(196, 167, 107, 0.18);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.3s var(--ease);
}
.site-nav.is-light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(119, 91, 0, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.site-nav.is-light .nav-link {
  color: var(--ink-2);
}
.site-nav.is-light .nav-link:hover,
.site-nav.is-light .nav-link.is-active {
  color: var(--gold);
}

.nav-logo-btn {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}
.nav-logo-btn:hover {
  opacity: 0.82;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  padding: 9px 13px;
  position: relative;
  text-decoration: none;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-light);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--gold-light);
}
.site-nav.is-light .nav-link.is-active::after {
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  background: rgba(119, 91, 0, 0.16);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
  transform: translateY(-1px);
}
.site-nav.is-light .nav-cta {
  color: var(--ink);
  border-color: var(--gold);
  background: rgba(119, 91, 0, 0.08);
}
.site-nav.is-light .nav-cta:hover {
  background: var(--gold);
  color: var(--paper);
}

/* Premium Animated SVG Hamburger Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1.5px solid var(--gold);
  background: rgba(119, 91, 0, 0.08);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  line-height: 1;
}
.nav-toggle:hover {
  background: rgba(119, 91, 0, 0.2);
  border-color: var(--gold-light);
}
.nav-toggle-svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.toggle-bar {
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.22s var(--ease);
  transform-origin: 12px 12px;
}
.toggle-cross {
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.6) rotate(-45deg);
  transform-origin: 12px 12px;
}
.nav-toggle.is-active .toggle-bar {
  opacity: 0;
  transform: scaleX(0.4);
}
.nav-toggle.is-active .toggle-cross {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.nav-toggle-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.site-nav.is-light .nav-toggle {
  color: var(--ink);
  border-color: var(--gold);
  background: rgba(119, 91, 0, 0.08);
}
.site-nav.is-light .nav-toggle:hover {
  background: var(--gold);
  color: var(--paper);
}

.mobile-drawer-footer {
  display: none;
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 14, 12, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero-video.is-loaded {
  opacity: 1;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,12,0.85) 0%, rgba(15,14,12,0.35) 45%, rgba(15,14,12,0.75) 100%),
    linear-gradient(90deg, rgba(15,14,12,0.55) 0%, rgba(15,14,12,0.15) 100%);
  z-index: -1;
}
.hero-content {
  width: 100%;
  padding: 140px var(--gutter) 80px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(48px, 8.5vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  max-width: 12ch;
  margin-bottom: 32px;
}
.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold-light);
  font-weight: 300;
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-cream);
  max-width: 46ch;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.28s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(119, 91, 0, 0.5);
}
.btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 240, 225, 0.28);
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-outline-dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-cream {
  background: var(--cream);
  color: var(--gold);
}
.btn-cream:hover {
  background: var(--paper);
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-cream);
  pointer-events: none;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
  margin-inline: 6px;
  animation: scroll-hint 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-hint {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-corner-badge {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 0.18em;
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  background: var(--cream);
  padding-block: clamp(80px, 12vw, 140px);
  border-bottom: 1px solid var(--line);
}
.manifesto-inner { text-align: center; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.manifesto-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 40px;
}
.manifesto-quote em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.manifesto-meta {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 32px;
  border-top: 1px dashed var(--line-strong);
  min-width: 60%;
}
.manifesto-meta span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.manifesto-meta span strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--gold);
  display: block;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: none;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 88px);
  align-items: end;
}
.sec-head-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.sec-head-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.sec-head-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}
.sec-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.sec-eyebrow-row::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   HERO BRANDS — HANGTAG cards, now with real logos
   ========================================================================== */
.hero-brands {
  background: var(--paper);
  position: relative;
}
.tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tag {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 32px 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}
.tag::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  pointer-events: none;
  transition: border-color 0.5s var(--ease);
}
.tag::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  z-index: 1;
}
.tag:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 24px 48px -20px rgba(119, 91, 0, 0.25);
}
.tag:hover::before { border-color: var(--gold-light); }

.tag-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  align-self: flex-end;
  position: relative;
  z-index: 1;
}
.tag-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tag-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 16px;
  padding: 0;
}
.tag-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  mix-blend-mode: multiply;
}
.tag-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}
.tag-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 32ch;
  margin: 0 auto;
}
.tag-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-top: 8px;
}
.tag-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.tag:hover .tag-link::after { transform: translateX(4px); }

.brands-cta {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brands-cta-text {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 44ch;
}
.brands-cta-text em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}

/* ==========================================================================
   PLAYBOOK
   ========================================================================== */
.playbook { background: var(--cream); }
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.playbook-step {
  background: var(--cream);
  padding: 38px 28px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
  position: relative;
}
.playbook-num {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  font-style: italic;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.playbook-h {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 23px;
  color: var(--ink);
  line-height: 1.15;
}
.playbook-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: auto;
}
.playbook-outro {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px dashed var(--line-strong);
  text-align: center;
}
.playbook-outro p {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 44ch;
  margin: 0 auto;
}
.playbook-outro em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}

/* ==========================================================================
   NUMBERS
   ========================================================================== */
.numbers {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(80px, 10vw, 128px);
  position: relative;
  overflow: hidden;
}
.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(119, 91, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(196, 167, 107, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.numbers-inner { position: relative; }
.numbers-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 72px;
}
.numbers-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.numbers-head h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold-light);
}
.numbers-head p {
  font-size: 16px;
  color: var(--muted-cream);
  line-height: 1.6;
  max-width: 44ch;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(196, 167, 107, 0.15);
  border-block: 1px solid rgba(196, 167, 107, 0.15);
}
.stat {
  background: var(--ink);
  padding: 44px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(56px, 6.5vw, 96px);
  line-height: 0.95;
  color: var(--gold-light);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-cream);
  font-weight: 500;
}
.stat-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-light);
  margin-top: auto;
}

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { background: var(--paper); }
.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.founder-video-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}
.founder-video-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(245, 240, 225, 0.35);
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
}
.founder-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}
.founder-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(15, 14, 12, 0.35);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), opacity 0.35s var(--ease);
}
.founder-play:hover { background: rgba(15, 14, 12, 0.5); }
.founder-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 30px rgba(15, 14, 12, 0.35);
  position: relative;
}
.founder-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--cream);
}
.founder-video-wrap.is-playing .founder-play {
  opacity: 0;
  pointer-events: none;
}
.founder-video-wrap.is-playing .founder-tag {
  opacity: 0;
  pointer-events: none;
}
.founder-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  background: rgba(15, 14, 12, 0.7);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
  color: var(--gold-light);
  font-weight: 600;
}
.founder-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}
.founder-content h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.founder-content p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 20px;
  max-width: 46ch;
}
.founder-attr {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.founder-attr strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.founder-attr span { color: var(--muted); }

/* ==========================================================================
   INVESTORS STRIP (home) — now with real logos
   ========================================================================== */
.investors-strip {
  background: var(--cream);
  padding-block: 88px;
}
.inv-inner { text-align: center; }
.inv-inner .eyebrow {
  display: inline-block;
  margin-bottom: 40px;
}
.inv-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 40px var(--gutter);
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
}
.inv-logos img {
  height: clamp(32px, 3.4vw, 44px);
  width: auto;
  padding: 12px 20px;
  box-sizing: content-box;
  border-radius: 8px;
  background: transparent;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  mix-blend-mode: multiply;
}
.inv-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
  background: var(--paper);
  mix-blend-mode: normal;
  box-shadow: 0 10px 28px -14px rgba(119, 91, 0, 0.4);
}
.inv-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.inv-note a { color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ==========================================================================
   CAREERS CTA
   ========================================================================== */
.careers-cta {
  background: var(--gold);
  color: var(--cream);
  padding-block: clamp(96px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.careers-cta::before,
.careers-cta::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 40px; bottom: 40px;
  background-image: linear-gradient(to bottom, rgba(245,240,225,0.35) 50%, transparent 50%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
  pointer-events: none;
}
.careers-cta::before { left: var(--gutter); }
.careers-cta::after { right: var(--gutter); }
.careers-inner {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.careers-eyebrow {
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.careers-eyebrow::before,
.careers-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cream);
  opacity: 0.5;
}
.careers-h {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.careers-h em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--cream-2);
  opacity: 0.85;
}
.careers-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--cream-2);
  opacity: 0.85;
  max-width: 46ch;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 96px var(--gutter) 32px;
}
.footer-top {
  max-width: var(--container);
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--muted-cream);
  max-width: 28ch;
}
.footer-returns {
  margin-top: 28px;
}
.footer-returns h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-returns ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.footer-returns li {
  display: flex;
  align-items: center;
}
.footer-returns li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  color: rgba(245, 240, 225, 0.35);
  font-size: 13px;
}
.footer-returns a {
  font-size: 14px;
  color: var(--muted-cream);
  transition: color 0.2s var(--ease);
}
.footer-returns a:hover { color: var(--gold-light); }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  font-size: 14px;
  color: var(--muted-cream);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px dashed rgba(196, 167, 107, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a { color: var(--muted-2); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ==========================================================================
   INTERIOR PAGE HERO
   ========================================================================== */
.page-hero {
  background: var(--cream);
  padding: clamp(140px, 18vw, 220px) var(--gutter) clamp(72px, 10vw, 120px);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.page-hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.page-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 48ch;
}
.page-hero-crumbs {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

/* ==========================================================================
   ABOUT — Values
   ========================================================================== */
.about-values { background: var(--paper); }
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.value {
  background: var(--paper);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 32px;
  align-items: start;
}
.value-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border-radius: 50%;
  padding: 18px;
  transition: background 0.3s var(--ease);
}
.value:hover .value-icon { background: var(--cream); }
.value--wide {
  grid-column: 1 / -1;
  grid-template-columns: 108px minmax(0, 620px);
  justify-content: center;
}
.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.value-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.value h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.value p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

/* ==========================================================================
   OUR BUSINESSES — categories, brand cards with LOGOS
   ========================================================================== */
.category-section { padding-block: clamp(80px, 10vw, 132px); }
.category-section + .category-section { border-top: 1px dashed var(--line-strong); }
.cat-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: baseline;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.cat-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  white-space: nowrap;
  align-self: start;
  margin-top: 12px;
}
.cat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.cat-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.cat-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.brand-card {
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(119, 91, 0, 0.2);
}
.brand-card-logo {
  height: 220px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.brand-card:hover .brand-card-logo { background: var(--cream); }
.brand-card-logo img {
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-card-logo img[alt="Trust Basket logo"] {
  max-width: 100%;
  max-height: 100%;
}
.brand-card-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.brand-card-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.brand-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.brand-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.brand-card-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.brand-card:hover .brand-card-link::after { transform: translateX(4px); }

/* ==========================================================================
   LEADERSHIP (on Our Businesses page)
   ========================================================================== */
.leadership { background: var(--cream); }
.leadership-featured {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 96px);
}
.lead-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
  position: relative;
  border: 1px solid var(--line-strong);
}
.leadership-featured .lead-photo {
  aspect-ratio: 1 / 1;
}
.leadership-featured .lead-photo img {
  object-position: center top;
}
.lead-photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(196, 167, 107, 0.35);
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
}
.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.lead-featured-body .lead-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
}
.lead-featured-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.lead-featured-body h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.lead-featured-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 20px;
  max-width: 52ch;
}
.lead-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px dashed var(--line-strong);
}
.lead-team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lead-team-card .lead-photo {
  aspect-ratio: 1 / 1;
}
.lead-team-info .lead-role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.lead-team-info h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   OUR JOURNEY — ALTERNATING timeline (matches current site style)
   ========================================================================== */
.journey-alt {
  background: var(--paper);
  padding-block: clamp(80px, 10vw, 128px);
}
.tl-alt {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.tl-alt::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--gold) 50%, transparent 50%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
  transform: translateX(-0.5px);
}
.tl-alt-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(18px, 2vw, 24px) 0;
  position: relative;
}
/* Pin all three to row 1 — otherwise when the card is placed in
   column 3 first (data-side="right"), the date can auto-place onto
   a second row and sit too low on the left. */
.tl-alt-item .tl-alt-card,
.tl-alt-item .tl-alt-dot,
.tl-alt-item .tl-alt-date { grid-row: 1; }
.tl-alt-item .tl-alt-card { grid-column: 1; }
.tl-alt-item .tl-alt-date { grid-column: 3; text-align: left; padding-left: 12px; }
.tl-alt-item[data-side="right"] .tl-alt-card { grid-column: 3; }
.tl-alt-item[data-side="right"] .tl-alt-date { grid-column: 1; text-align: right; padding-left: 0; padding-right: 12px; }
.tl-alt-dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--gold);
  justify-self: center;
  z-index: 2;
}
.tl-alt-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 8px 32px -12px rgba(15, 14, 12, 0.08);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tl-alt-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 16px 40px -12px rgba(119, 91, 0, 0.18);
}
/* Arrow pointer — gold-tinted, echoes the current site look */
.tl-alt-card::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
/* Left card (default) — arrow on right side pointing right toward the line */
.tl-alt-item:not([data-side="right"]) .tl-alt-card::before {
  right: -12px;
  border-left: 14px solid var(--paper);
  filter: drop-shadow(2px 0 0 var(--line));
}
/* Right card — arrow on left side pointing left */
.tl-alt-item[data-side="right"] .tl-alt-card::before {
  left: -12px;
  border-right: 14px solid var(--paper);
  filter: drop-shadow(-2px 0 0 var(--line));
}

.tl-alt-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.tl-alt-card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.tl-alt-date {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gold);
  letter-spacing: -0.01em;
}

.tl-alt-outro {
  max-width: 780px;
  margin: 80px auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  border-top: 1px dashed var(--line-strong);
  padding-top: 56px;
}
.tl-alt-outro p {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ink-3);
}

/* ==========================================================================
   INVESTORS PAGE — grid with LOGOS
   ========================================================================== */
.investors-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.investor-item {
  background: var(--paper);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.investor-logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.investor-logo img {
  max-height: 120px;
  max-width: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.investor-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.investor-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.investor-name {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.investor-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

/* ==========================================================================
   JOIN US
   ========================================================================== */
.join-culture { background: var(--cream); }
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.culture-card {
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.culture-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.15;
}
.culture-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.culture-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.roles-strip {
  background: var(--paper);
  padding-block: clamp(80px, 10vw, 128px);
}
.roles-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-inline: auto;
}
.roles-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}
.roles-head h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.roles-head p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.roles-list {
  border-top: 1px solid var(--line);
  max-width: 900px;
  margin: 0 auto;
}
.role-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.3s var(--ease);
  cursor: pointer;
}
.role-row:hover { padding-inline: 12px; background: var(--cream-2); }
.role-title {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 20px;
  color: var(--ink);
}
.role-meta { font-size: 13px; color: var(--muted); }
.role-arrow {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}
.role-row:hover .role-arrow { transform: translateX(4px); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.contact-side h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: 40px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.contact-side h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.contact-side p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 42ch;
}
.contact-info {
  border-top: 1px dashed var(--line-strong);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info-item .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-item .val {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 0;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.4;
}
.contact-info-item .val a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.contact-info-item .val a:hover { color: var(--gold); }

.contact-form {
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line-strong);
  pointer-events: none;
  border-radius: 2px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.field input,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 100px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .tags-grid { grid-template-columns: repeat(2, 1fr); }
  .playbook-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .investors-detail-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .numbers-head { grid-template-columns: 1fr; }
  .cat-head { grid-template-columns: 1fr; gap: 20px; }
  .leadership-featured { grid-template-columns: 1fr; }
  .lead-team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tags-grid, .playbook-grid, .stats-grid,
  .brand-grid, .culture-grid, .values-list { grid-template-columns: 1fr; }
  .value { grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 24px; }
  .value-icon { width: 72px; height: 72px; padding: 14px; }
  .investor-item { padding: 40px 28px; }
  .brand-card-logo { height: 180px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .role-row { grid-template-columns: 1fr auto; }
  .role-row > *:nth-child(2), .role-row > *:nth-child(3) { display: none; }
  .contact-form { padding: 32px 24px; }

  /* Timeline collapses to single-column left aligned */
  .tl-alt::before { left: 20px; }
  .tl-alt-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 48px;
    padding-block: 20px;
  }
  .tl-alt-item .tl-alt-card,
  .tl-alt-item .tl-alt-dot,
  .tl-alt-item .tl-alt-date,
  .tl-alt-item[data-side="right"] .tl-alt-card,
  .tl-alt-item[data-side="right"] .tl-alt-date {
    grid-row: auto;
  }
  .tl-alt-item .tl-alt-card,
  .tl-alt-item[data-side="right"] .tl-alt-card { grid-column: 1; }
  .tl-alt-item .tl-alt-date,
  .tl-alt-item[data-side="right"] .tl-alt-date {
    grid-column: 1;
    text-align: left;
    padding: 0;
    order: -1;
  }
  .tl-alt-dot {
    position: absolute;
    left: 14px;
    top: 32px;
    grid-column: unset;
  }
  .tl-alt-card::before,
  .tl-alt-item[data-side="right"] .tl-alt-card::before { display: none; }
}

/* ==========================================================================
   BREAKPOINTS: iPad & Tablets (<= 1040px)
   ========================================================================== */
@media (max-width: 1040px) {
  .site-nav {
    padding: 13px clamp(18px, 3.5vw, 36px);
  }
  .qbycon-logo-svg {
    height: 25px;
  }
  /* On iPad & Mobile: Hide the CTA button from header, show ONLY menu icon */
  .nav-cta {
    display: none !important;
  }
  .nav-toggle-label {
    display: none !important;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    border: 1.5px solid var(--gold);
    background: rgba(119, 91, 0, 0.12);
    color: var(--cream);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s var(--ease);
  }
  .nav-toggle:hover {
    background: rgba(119, 91, 0, 0.25);
    border-color: var(--gold-light);
  }
  .nav-toggle-svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(15, 14, 12, 0.98);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    gap: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s;
    z-index: 999;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links .nav-link,
  .site-nav.is-light .nav-links .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.02em;
    width: 100%;
  }
  .nav-links .nav-link::after {
    display: none;
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.is-active,
  .site-nav.is-light .nav-links .nav-link.is-active {
    color: var(--gold-light);
    padding-left: 10px;
  }

  .mobile-drawer-footer {
    display: block;
    width: 100%;
    border-bottom: none !important;
    padding-top: 18px;
  }
  .mobile-drawer-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-drawer-ctas .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 12.5px;
  }
  .mobile-drawer-meta {
    margin-top: 14px;
    font-size: 11px;
    color: var(--gold-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding-inline: 2px;
  }
}

/* Tablet Flyout (641px - 1040px) */
@media (min-width: 641px) and (max-width: 1040px) {
  .nav-links {
    position: fixed;
    top: 66px;
    right: clamp(18px, 3.5vw, 36px);
    left: auto;
    width: 360px;
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    padding: 16px 22px 28px;
    border-radius: 8px;
    border: 1.5px solid var(--gold);
  }
}

/* ==========================================================================
   BREAKPOINTS: Mobile Screens (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .site-nav {
    padding: 10px 16px;
    gap: 8px;
  }
  .qbycon-logo-svg {
    height: 22px;
  }
  .nav-actions {
    gap: 0;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 7px;
  }
  .nav-toggle-svg {
    width: 20px;
    height: 20px;
  }
  .nav-links {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 55px);
    max-height: calc(100dvh - 55px);
    padding: 14px 18px 32px;
    border-bottom: 1.5px solid var(--gold);
    border-radius: 0 0 8px 8px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video { display: none; }
  .hero { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-section {
  background: var(--paper);
  padding-block: clamp(48px, 8vw, 96px);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 1.15em;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(119, 91, 0, 0.35);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.legal-content a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}
.page-hero-sub br { display: block; content: ""; margin-top: 0.35em; }

/* ==========================================================================
   SEO / GEO — Fact & FAQ blocks
   ========================================================================== */
.geo-facts { padding-block: var(--section-y); }
.geo-facts-inner { max-width: 920px; }
.geo-facts h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 28px;
  color: var(--ink);
}
.geo-facts h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.geo-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 32px;
  max-width: 68ch;
}
.geo-fact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.geo-fact-list li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.geo-fact-list li:last-child { border-bottom: 1px solid var(--line); }
.geo-fact-list strong { color: var(--ink); font-weight: 600; }

.geo-faq { padding-block: var(--section-y); background: var(--cream); }
.geo-faq h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 40px;
  color: var(--ink);
}
.geo-faq h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.geo-faq-list {
  display: grid;
  gap: 0;
  max-width: 860px;
}
.geo-faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
}
.geo-faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.geo-faq-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.geo-faq-item p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 65ch;
}
.geo-faq-item a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  left: var(--gutter);
  top: 12px;
}


/* ==========================================================================
   QBYCON CUSTOM COMPONENTS & SECTIONS (Brand Aligned)
   ========================================================================== */

/* 1. Live Operations Status Bar */
.status-ticker-bar {
  background: var(--ink);
  color: var(--muted-cream);
  border-bottom: 1px solid rgba(196, 167, 107, 0.18);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px var(--gutter);
  position: relative;
  z-index: 101;
}
.status-ticker-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #10B981;
  font-weight: 600;
}
.status-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.status-clock-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.status-tag-item {
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-tag-item::before {
  content: '•';
  color: var(--muted-cream);
}

/* Adjust Site Nav when status ticker is present */
.site-nav {
  top: 0;
}

/* 2. Model Comparison Section */
.models-section {
  padding-block: var(--section-y);
  background: var(--paper);
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.model-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 32px rgba(15, 14, 12, 0.05);
}
.model-card--featured {
  border: 2px solid var(--gold);
  background: var(--cream-2);
  box-shadow: 0 20px 40px rgba(119, 91, 0, 0.09);
}
.model-card--featured:hover {
  border-color: var(--gold);
}
.model-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gold);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.model-num {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
}
.model-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 500;
}
.model-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.model-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.model-features li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  position: relative;
  padding-left: 22px;
}
.model-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.model-card--featured .model-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}
.model-assessment {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.assessment--danger {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.assessment--warning {
  background: rgba(217, 119, 6, 0.08);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.assessment--success {
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid var(--gold-light);
}

/* 3. Infrastructure Pillars - Responsive & Pixel-Perfect for All Devices */
.infra-section {
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 48px;
}
.infra-card {
  border: 1px solid rgba(196, 167, 107, 0.2);
  background: var(--ink-2);
  padding: clamp(28px, 4vw, 42px) clamp(24px, 3.5vw, 36px);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.infra-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.infra-card-header {
  margin-bottom: 18px;
}
.infra-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.infra-num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
}
.infra-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196, 167, 107, 0.12);
  border: 1px solid rgba(196, 167, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.infra-card:hover .infra-icon-wrap {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
  transform: scale(1.05);
}
.infra-title {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 25px);
  color: var(--cream);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.infra-desc {
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 1.65;
  color: var(--muted-cream);
  margin-bottom: 24px;
  flex-grow: 1;
}
.infra-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.infra-tag {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 167, 107, 0.25);
  color: var(--gold-soft);
  padding: 5px 12px;
  border-radius: 3px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .infra-card {
    padding: 24px 20px;
  }
  .infra-tags {
    gap: 6px;
  }
  .infra-tag {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* 4. Leadership Section */
.leadership-section {
  padding-block: var(--section-y);
  background: var(--cream-2);
}
.founder-quote-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 36px 40px;
  border-radius: 4px;
  margin: 36px 0 48px;
}
.founder-quote-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
  font-style: italic;
}
.founder-quote-author {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: 4px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.leader-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
}
.leader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid var(--gold);
}
.leader-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.leader-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.leader-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* 5. Pre-Audit Section & Form */
.preaudit-section {
  padding-block: var(--section-y);
  background: var(--paper);
}
.preaudit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.preaudit-deliverables {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.deliverable-item {
  padding: 24px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.deliverable-item h4 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.deliverable-item h4 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 700;
}
.deliverable-item p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-left: 34px;
}
.mnda-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(119, 91, 0, 0.06);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 10px;
}

/* Dossier Form */
.dossier-card {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 16px 40px rgba(15, 14, 12, 0.06);
  border-radius: 6px;
  padding: 36px 32px;
}
.dossier-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}
.dossier-card p.subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream-2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(119, 91, 0, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 90px;
}
.btn-submit-audit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  margin-top: 10px;
}
.btn-submit-audit:hover {
  background: var(--gold);
  color: var(--paper);
}
.form-feedback {
  margin-top: 16px;
  padding: 14px;
  border-radius: 3px;
  font-size: 14px;
  display: none;
}
.form-feedback.is-visible {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 6. Margin Simulator */
.simulator-section {
  padding-block: var(--section-y);
  background: var(--ink);
  color: var(--cream);
}
.simulator-wrapper {
  margin-top: 48px;
  background: var(--ink-2);
  border: 1px solid rgba(196, 167, 107, 0.25);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sim-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--cream);
}
.sim-value-badge {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(196, 167, 107, 0.2);
}
.currency-selector-row, .category-selector-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-sim-tab {
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-cream);
  border: 1px solid rgba(229, 221, 197, 0.2);
  border-radius: 3px;
  transition: all 0.2s var(--ease);
}
.btn-sim-tab:hover {
  border-color: var(--gold-light);
  color: var(--cream);
}
.btn-sim-tab.is-active {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
}
.sim-range-input {
  width: 100%;
  accent-color: var(--gold-light);
  cursor: pointer;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Simulator Spec Sheet */
.simulator-results {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(196, 167, 107, 0.25);
  border-radius: 4px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sim-sheet-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.sim-fx-meta {
  font-size: 12px;
  color: var(--muted-cream);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sim-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted-cream);
}
.sim-row span.val {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--cream);
}
.sim-row.deduction span.val {
  color: #f87171;
}
.sim-highlight-box {
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sim-highlight-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sim-highlight-item span.lbl {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.sim-highlight-item span.num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #10B981;
}

/* 7. Timeline & Facilities Section */
.timeline-section {
  padding-block: var(--section-y);
  background: var(--cream-2);
}
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.phase-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.phase-card-top {
  margin-bottom: 24px;
}
.phase-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.phase-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.phase-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.phase-meta-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.phase-meta-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--cream);
  padding: 6px 12px;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
}

/* Operational Facilities Nodes */
.facilities-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 36px 0;
}
.facility-node-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: 4px;
}
.facility-node-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.facility-node-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.facility-node-addr {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.facility-tour-banner {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 40px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--gold);
}
.facility-tour-banner h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.facility-tour-banner p {
  font-size: 14.5px;
  color: var(--muted-cream);
  max-width: 65ch;
}

/* 8. Footer Statutory Additions */
.footer-mnda-notice {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 167, 107, 0.2);
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 40px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-cream);
}
.footer-mnda-notice strong {
  color: var(--gold-light);
}

/* Responsive adjustments: iPad & Tablet (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .models-grid, .phases-grid, .facilities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .model-card, .phase-card, .facility-node-card {
    padding: 24px 18px;
  }
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .simulator-wrapper {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    padding: 28px 24px;
  }
  .preaudit-split {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Responsive adjustments: Mobile (<= 640px) */
@media (max-width: 640px) {
  .models-grid, .phases-grid, .facilities-grid, .infra-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .preaudit-split, .simulator-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .status-ticker-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Leadership & Founder Photo Enhancements */
.leader-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 16px rgba(15, 14, 12, 0.12);
  display: block;
}
.founder-quote-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}
.founder-quote-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(119, 91, 0, 0.2);
}
@media (max-width: 640px) {
  .founder-quote-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.qbycon-logo-svg {
  height: 28px;
  width: auto;
  color: var(--cream);
  display: block;
  transition: color 0.3s var(--ease), opacity 0.25s var(--ease);
}
.site-nav.is-light .qbycon-logo-svg {
  color: var(--ink-2);
}
.nav-logo-btn:hover .qbycon-logo-svg {
  opacity: 0.8;
}


/* ==========================================================================
   INFINITE LOGO MARQUEE (Seamless Auto Loop)
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 36px 0;
  margin: 20px 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-slide {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  padding-right: clamp(40px, 6vw, 84px);
  flex-shrink: 0;
}
.marquee-slide img {
  height: 34px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.marquee-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   QBYCON BRAND LOGO (Image Integration with Smart Dark/Light Blending)
   ========================================================================== */
.qbycon-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.site-nav:not(.is-light) .qbycon-brand-logo {
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.95;
}
.site-nav.is-light .qbycon-brand-logo {
  filter: none;
  mix-blend-mode: multiply;
  opacity: 1;
}
.nav-logo-btn:hover .qbycon-brand-logo {
  opacity: 0.75;
}
.footer-brand .qbycon-brand-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  margin-bottom: 18px;
  opacity: 0.95;
}

.footer-brand .qbycon-logo-svg {
  height: 38px;
  width: auto;
  color: var(--cream);
  margin-bottom: 18px;
  display: block;
}


/* ==========================================================================
   POPUP MODAL (Pre-Audit Dossier Intake)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 14, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3.5vw, 36px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-dialog {
  background: var(--paper);
  color: var(--ink-2);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(20px, 4vw, 36px);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s var(--ease);
  z-index: 25;
}
.modal-close-btn:hover {
  background: var(--gold);
  color: var(--paper);
  border-color: var(--gold);
  transform: scale(1.05);
}
.modal-close-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}
.modal-header {
  margin-bottom: 24px;
  padding-right: 56px; /* Safe zone: text never hides behind corner close button */
}
.modal-header h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}
.modal-header p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.modal-mnda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(119, 91, 0, 0.07);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}


/* ==========================================================================
   SIMULATOR MULTI-STEP POPUP MODAL
   ========================================================================== */
.modal-dialog--simulator {
  max-width: 980px;
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  padding: clamp(20px, 3.5vw, 36px);
}
.modal-dialog--simulator .modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border: 1px solid rgba(196, 167, 107, 0.25);
}
.modal-dialog--simulator .modal-close-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.sim-steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  padding-right: 56px; /* Guaranteed clearance so Tab 3 'Simulator' never overlaps close button */
  padding-left: 56px;  /* Balanced padding on left to keep tabs perfectly centered */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-step-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-cream);
  opacity: 0.55;
  transition: all 0.2s var(--ease);
}
.sim-step-tab.is-active {
  color: var(--cream);
  opacity: 1;
}
.sim-step-tab.is-complete {
  color: var(--gold-light);
  opacity: 1;
}
.sim-step-tab .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.sim-step-tab.is-active .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
.sim-step-tab.is-complete .step-num {
  border-color: var(--gold-light);
  background: rgba(196, 167, 107, 0.2);
  color: var(--gold-light);
}

.sim-step-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.sim-modal-step {
  display: none;
  animation: modalStepFade 0.25s ease-out forwards;
}
.sim-modal-step.is-active {
  display: block;
}

@keyframes modalStepFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-step-hero {
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
  padding-block: 8px 16px;
}
.sim-step-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 12px;
}
.sim-step-title em {
  color: var(--gold-light);
  font-style: italic;
}
.sim-step-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-cream);
  margin-bottom: 24px;
}

.sim-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-block: 20px 28px;
}
.sim-feature-card {
  background: var(--ink-2);
  border: 1px solid rgba(196, 167, 107, 0.2);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sim-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(196, 167, 107, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sim-feature-info strong {
  display: block;
  font-size: 13.5px;
  color: var(--cream);
  margin-bottom: 4px;
}
.sim-feature-info span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-cream);
}

.sim-form-body {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  padding-block: 8px 16px;
}
.sim-form-body .form-control {
  background: var(--ink-2);
  border: 1px solid rgba(196, 167, 107, 0.3);
  color: var(--cream);
}
.sim-form-body .form-control:focus {
  background: var(--ink);
  border-color: var(--gold);
}
.sim-form-body label {
  color: var(--gold-soft);
}

.sim-user-badge {
  font-size: 12px;
  color: var(--gold-light);
  background: rgba(196, 167, 107, 0.12);
  border: 1px solid rgba(196, 167, 107, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.simulator-wrapper--modal {
  margin-top: 0;
  padding: clamp(16px, 2.5vw, 24px);
  gap: 28px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 167, 107, 0.2);
}

@media (max-width: 860px) {
  .simulator-wrapper--modal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }
  .modal-header {
    padding-right: 46px;
  }
  .sim-steps-nav {
    padding-right: 48px;
    padding-left: 4px;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sim-step-tab {
    font-size: 11.5px;
    gap: 6px;
    white-space: nowrap;
  }
}
