.preview-ribbon{background:linear-gradient(90deg,#FDD700,#3B5BFF);color:#0A0C1C;text-align:center;font:600 0.78rem/1.35 Inter,system-ui,sans-serif;padding:0.45rem 0.75rem;letter-spacing:0.02em;}
/* Insight Media Inc — mobile-first institutional holding
   Base: 375px. Enhance @ 768 / 1024. Boardroom, not neon. */

:root {
  --bg: #07090c;
  --bg-elev: #0c1016;
  --text: #f5f2ea;
  --text-muted: rgba(245, 242, 234, 0.68);
  --text-dim: rgba(245, 242, 234, 0.48);
  --champagne: #c4a574;
  --champagne-light: #e8d5a8;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --line: rgba(196, 165, 116, 0.28);
  --danger: #c47878;
  --radius: 14px;
  --radius-sm: 10px;
  --pad-x: 1.25rem;
  --max: 1120px;
  --nav-h: 64px;
  --sticky-cta-h: 72px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-label: var(--font-ui);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--champagne-light);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Labels ——— */
.label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 0.75rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--champagne) 0%, var(--champagne-light) 100%);
  color: #0a0c10;
  border-color: transparent;
}
.btn-primary:hover { color: #0a0c10; filter: brightness(1.06); }

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--champagne);
  background: var(--glass-strong);
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* ——— Site header / nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 0.75rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 1;
}
.brand:hover { color: var(--text); }
.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.brand-sub {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-panel {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(7, 9, 12, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem var(--pad-x) 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-panel.open { display: flex; }

.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: var(--glass-strong);
  color: var(--champagne-light);
}

.nav-desktop { display: none; }

/* Sticky bottom CTA — mobile */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem var(--pad-x) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 9, 12, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}
.sticky-cta .btn { min-height: 48px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.skyline-layer {
  position: absolute;
  inset: -4% -2%;
  will-change: transform;
}
.skyline-base {
  transform: scale(1.06);
  transition: transform 0.1s linear;
}
.skyline-base picture,
.skyline-base img,
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.skyline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}
.skyline-drift {
  z-index: 1;
  background:
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(196, 165, 116, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(100, 140, 200, 0.1), transparent 70%);
  animation: sky-drift 28s ease-in-out infinite alternate;
}
.skyline-clouds {
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 25% at 10% 20%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse 45% 20% at 85% 15%, rgba(255,255,255,0.04), transparent 55%);
  animation: cloud-drift 40s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}
.skyline-lights {
  z-index: 1;
  background:
    radial-gradient(1px 1px at 12% 62%, rgba(232,213,168,0.7), transparent),
    radial-gradient(1.5px 1.5px at 28% 55%, rgba(232,213,168,0.5), transparent),
    radial-gradient(1px 1px at 45% 68%, rgba(232,213,168,0.65), transparent),
    radial-gradient(1.5px 1.5px at 62% 58%, rgba(200,220,255,0.45), transparent),
    radial-gradient(1px 1px at 78% 64%, rgba(232,213,168,0.55), transparent),
    radial-gradient(1px 1px at 88% 52%, rgba(232,213,168,0.4), transparent);
  background-size: 100% 100%;
  animation: lights-twinkle 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sky-drift {
  from { transform: translate3d(-1.5%, 0, 0) scale(1.02); }
  to { transform: translate3d(1.5%, -1%, 0) scale(1.05); }
}
@keyframes cloud-drift {
  from { transform: translate3d(-3%, 0, 0); }
  to { transform: translate3d(3%, 1%, 0); }
}
@keyframes lights-twinkle {
  from { opacity: 0.45; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .skyline-drift, .skyline-clouds, .skyline-lights { animation: none; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.72) 0%, rgba(7, 9, 12, 0.55) 40%, rgba(7, 9, 12, 0.94) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.82) 0%, rgba(7, 9, 12, 0.45) 55%, rgba(7, 9, 12, 0.2) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: 0.85rem;
  max-width: min(22ch, 100%);
  overflow-wrap: break-word;
}
.hero h1 .accent {
  color: var(--champagne-light);
  font-style: italic;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 36ch;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-meta span {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: none;
  margin-top: 0.2rem;
}

/* ——— Proof strip ——— */
.proof {
  padding: 1.25rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-elev);
}
.proof-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.proof-chip em {
  font-style: normal;
  color: var(--champagne-light);
  margin-right: 0.35rem;
}

/* ——— Sections ——— */
.section {
  padding: 3.25rem 0;
}
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.section-head {
  margin-bottom: 1.75rem;
}
.section-head h2 {
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  margin-bottom: 0.5rem;
}
.section-head p {
  max-width: 40ch;
  font-size: 1.02rem;
}

/* ——— Portfolio cards ——— */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.door {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.door:hover,
.door:focus-visible {
  border-color: rgba(196, 165, 116, 0.45);
  background: var(--glass-strong);
  color: inherit;
  transform: translateY(-1px);
}

.door-tag {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

.door h3 {
  font-size: 1.35rem;
  margin: 0;
}

.door p {
  font-size: 0.98rem;
  margin: 0;
  flex: 1;
}

.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--champagne-light);
}
.door-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.door.featured {
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.12) 0%, var(--glass) 55%);
  border-color: rgba(196, 165, 116, 0.35);
}

/* ——— Protocol ——— */
.protocol-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.step-num {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 0.55rem;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}
.step p {
  font-size: 0.98rem;
  margin: 0;
}

/* ——— Cities teaser ——— */
.cities-teaser {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid var(--line);
}
.cities-teaser h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.cities-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 1.35rem;
}
.cities-stats div {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cities-stats span {
  display: block;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}
.cities-stats strong {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* ——— Contact ——— */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card,
.form-card {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.contact-card h2,
.form-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  appearance: none;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.18);
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0.75rem 0 0;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(196, 165, 116, 0.12);
  border: 1px solid rgba(196, 165, 116, 0.35);
  color: var(--champagne-light);
  font-weight: 600;
}
.form-success.visible { display: block; }

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #05070a;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--champagne-light); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-legal a { color: var(--text-dim); min-height: 44px; display: inline-flex; align-items: center; }

/* ——— Cities page ——— */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero h1 {
  font-size: clamp(1.75rem, 6.5vw, 2.4rem);
  max-width: 16ch;
}
.page-hero h1 .accent { color: var(--champagne-light); }
.page-hero .lead {
  max-width: 40ch;
  font-size: 1.05rem;
}

.city-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0 3rem;
}

.city-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.city-card:hover,
.city-card:focus-visible {
  border-color: rgba(196, 165, 116, 0.4);
  background: var(--glass-strong);
  color: inherit;
}
.city-card.live {
  border-color: rgba(196, 165, 116, 0.4);
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.1) 0%, var(--glass) 60%);
}
.city-badge {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
}
.city-card h3 {
  font-size: 1.2rem;
  margin: 0;
}
.city-card .domain {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}
.city-open {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--champagne-light);
}

/* Reveal (subtle) */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ——— Tablet 768+ ——— */
@media (min-width: 768px) {
  :root {
    --pad-x: 1.75rem;
  }

  body {
    padding-bottom: 0;
  }

  .sticky-cta { display: none; }

  .nav-toggle { display: none; }

  .nav-panel {
    position: static;
    inset: auto;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
  }
  .nav-panel a {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.92rem;
  }
  .nav-cta-desk {
    margin-left: 0.5rem;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    color: #0a0c10 !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem !important;
  }
  .nav-cta-desk:hover {
    color: #0a0c10 !important;
    filter: brightness(1.05);
  }

  .hero {
    align-items: center;
    min-height: min(82vh, 760px);
    padding: 4rem 0;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.1rem);
    max-width: 14ch;
  }
  .hero-lead {
    font-size: 1.12rem;
    max-width: 42ch;
  }
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .btn-row .btn {
    width: auto;
    min-width: 200px;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .door.featured { grid-column: 1 / -1; }

  .protocol-stack {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.25rem;
    align-items: start;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .cities-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ——— Desktop 1024+ ——— */
@media (min-width: 1024px) {
  :root {
    --pad-x: 2rem;
    --nav-h: 72px;
  }

  .brand-name { font-size: 1.05rem; }

  .nav-panel a {
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .section { padding: 4.5rem 0; }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .door.featured {
    grid-column: span 2;
  }
  .door.span-2 {
    grid-column: span 2;
  }

  .city-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .proof-track {
    justify-content: space-between;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
}


/* ——— Twin BAMN doors ——— */
.twin-doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.door.twin {
  min-height: 100%;
}

/* ——— Live price frames ——— */
.price-frames {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.price-frame {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(196,165,116,0.1) 0%, var(--glass) 45%);
  border: 1px solid rgba(196, 165, 116, 0.35);
}
.price-frame h3 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
}
.price-domain {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.live-price-widget {
  position: relative;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: visible;
}
.live-price-pulse {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6dcf8a;
  box-shadow: 0 0 0 0 rgba(109, 207, 138, 0.55);
  animation: pulse-live 2s ease-out infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(109, 207, 138, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(109, 207, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 207, 138, 0); }
}
.live-price-label {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 0.4rem;
}
.live-price-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text);
  margin: 0 0 0.45rem;
}
.live-price-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* ——— Showcase cards ——— */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.showcase-card:hover,
.showcase-card:focus-visible {
  border-color: rgba(196, 165, 116, 0.5);
  color: inherit;
  transform: translateY(-2px);
}
.showcase-visual {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #0a1018;
}
.showcase-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.showcase-body h3 { margin: 0; font-size: 1.35rem; }
.showcase-body p { margin: 0; font-size: 0.98rem; }

.process-row .step { position: relative; }

@media (min-width: 768px) {
  .twin-doors {
    grid-template-columns: 1fr 1fr;
  }
  .price-frames {
    grid-template-columns: 1fr 1fr;
  }
  .process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .showcase-visual { min-height: 180px; }
}

@media (min-width: 1024px) {
  .nav-cta-desk {
    margin-left: 0.5rem;
    padding: 0.55rem 1.1rem !important;
    min-height: 40px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    color: #0a0c10 !important;
    font-size: 0.85rem !important;
  }
  .nav-cta-desk:hover { filter: brightness(1.05); color: #0a0c10 !important; }
}

/* ——— HOLDING — Capture + Buy-in desk ——— */
.capture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.capture-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.capture-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
}
.capture-card p { margin: 0; }

.buyin-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(196, 165, 116, 0.08), transparent 60%),
    var(--bg);
}
.buyin-desk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.buyin-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(12, 16, 22, 0.95) 0%, rgba(196, 165, 116, 0.06) 100%);
  border: 1px solid rgba(196, 165, 116, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  min-width: 0;
  overflow: visible;
}
.buyin-card-featured {
  border-color: rgba(196, 165, 116, 0.55);
  background: linear-gradient(165deg, rgba(196, 165, 116, 0.14) 0%, rgba(12, 16, 22, 0.92) 55%);
  position: relative;
}
.buyin-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(232, 213, 168, 0.15);
}
.buyin-card-top h3 {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
}
.buyin-card > p {
  margin: 0;
  font-size: 0.98rem;
}
.buyin-list {
  margin: 0;
  padding: 0.75rem 0 0.25rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.buyin-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.buyin-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 8px rgba(196, 165, 116, 0.45);
}
.buyin-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}
.buyin-meta span {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}
.buyin-meta strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}
.buyin-card .btn { width: 100%; }
.buyin-card .btn + .btn { margin-top: -0.25rem; }

@media (min-width: 768px) {
  .capture-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .buyin-desk {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .buyin-card-featured {
    transform: translateY(-4px);
  }
}

#buyin, #capture, #protocol, #marketplace, #showcase, #dav, #bamn, #contact {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
.buyin-card h3, .capture-card h3 {
  overflow: visible !important;
  white-space: normal !important;
  color: var(--text);
}

/* ——— BAMN interactive dual-reveal (hover / tap) ——— */
.bamn-portal {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 165, 116, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(14, 18, 26, 0.98) 0%, rgba(8, 10, 14, 0.95) 100%);
  border: 1px solid rgba(196, 165, 116, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(232, 213, 168, 0.12);
  overflow: hidden;
  min-height: 220px;
}
.bamn-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(196, 165, 116, 0.06) 50%, transparent 60%);
  pointer-events: none;
  animation: bamn-sheen 8s ease-in-out infinite;
}
@keyframes bamn-sheen {
  0%, 100% { opacity: 0.35; transform: translateX(-8%); }
  50% { opacity: 0.85; transform: translateX(8%); }
}
.bamn-trigger {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.bamn-trigger:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: -4px;
}
.bamn-trigger-kicker {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
}
.bamn-trigger h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.bamn-trigger-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}
.bamn-trigger-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  background: rgba(196, 165, 116, 0.08);
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne-light);
}
.bamn-trigger-hint svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}
.bamn-portal.is-open .bamn-trigger-hint svg,
.bamn-portal:hover .bamn-trigger-hint svg {
  transform: rotate(90deg);
}

.bamn-doors {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 0 1.25rem 1.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 0.45s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    padding 0.35s var(--ease);
}
.bamn-portal.is-open .bamn-doors,
.bamn-portal:hover .bamn-doors,
.bamn-portal:focus-within .bamn-doors {
  max-height: 640px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 0.15rem;
}
@media (hover: hover) and (pointer: fine) {
  .bamn-portal:hover .bamn-doors { max-height: 640px; opacity: 1; transform: none; }
}
.bamn-door {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.bamn-door:hover,
.bamn-door:focus-visible {
  border-color: rgba(196, 165, 116, 0.55);
  background: rgba(196, 165, 116, 0.1);
  color: inherit;
  transform: translateY(-2px);
}
.bamn-door-num {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}
.bamn-door h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}
.bamn-door p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.bamn-door .door-cta {
  margin-top: 0.35rem;
}
@media (min-width: 768px) {
  .bamn-doors {
    grid-template-columns: 1fr 1fr;
  }
  .bamn-trigger {
    padding: 2rem 2rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bamn-portal::before { animation: none; }
  .bamn-doors { transition: none; }
  .bamn-trigger-hint svg { transition: none; }
}

/* ——— Live marketplace embed chrome (Doma X-Frame blocked) ——— */
.embed-chrome {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0c10;
}
.embed-chrome-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, #161a22, #0e1218);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.embed-dots {
  display: flex;
  gap: 5px;
}
.embed-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.embed-dots span:nth-child(1) { background: #ff5f57; }
.embed-dots span:nth-child(2) { background: #febc2e; }
.embed-dots span:nth-child(3) { background: #28c840; }
.embed-url {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.embed-stage {
  position: relative;
  min-height: 168px;
  padding: 1.25rem 1rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(196, 165, 116, 0.08), transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    );
}
.embed-stage .live-price-widget {
  background: transparent;
  border: 0;
  padding: 0;
}
.embed-blocked-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.price-frame .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.price-frame .btn-row .btn { flex: 1 1 auto; min-width: 140px; text-align: center; }

/* ——— DAV home module ——— */
.dav-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.dav-flagship {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(196, 165, 116, 0.16) 0%, rgba(10, 14, 20, 0.95) 48%),
    var(--glass);
  border: 1px solid rgba(196, 165, 116, 0.45);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dav-flagship:hover,
.dav-flagship:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232, 213, 168, 0.65);
  color: inherit;
}
.dav-flagship h3 {
  margin: 0;
  font-size: 1.65rem;
}
.dav-flagship p { margin: 0; color: var(--text-muted); }
.dav-panel {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.dav-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.dav-panel > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.city-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.city-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.city-chip:hover,
.city-chip:focus-visible {
  border-color: rgba(196, 165, 116, 0.55);
  color: var(--champagne-light);
}
.city-chip.flag { border-color: rgba(196, 165, 116, 0.55); color: var(--champagne); }
@media (min-width: 900px) {
  .dav-layout {
    grid-template-columns: 0.95fr 1.35fr;
    align-items: stretch;
  }
}

/* ——— Asset company row (5 doors) ——— */
.asset-intro {
  margin: -0.25rem 0 1.25rem;
  max-width: 52ch;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .showcase-grid.asset-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .showcase-grid.asset-row {
    grid-template-columns: repeat(5, 1fr);
  }
  .showcase-grid.asset-row .showcase-visual { min-height: 140px; }
  .showcase-grid.asset-row .showcase-body { padding: 1rem; }
  .showcase-grid.asset-row .showcase-body h3 { font-size: 1.15rem; }
  .showcase-grid.asset-row .showcase-body p { font-size: 0.88rem; }
}
.showcase-card.flagship-asset {
  border-color: rgba(196, 165, 116, 0.45);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.08), var(--glass));
}

/* Cities hub upgrades */
.cities-frame {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(196, 165, 116, 0.3);
  background: linear-gradient(135deg, rgba(196, 165, 116, 0.1), rgba(0, 0, 0, 0.25));
}
.cities-frame p { margin: 0.35rem 0 0; color: var(--text-muted); max-width: 60ch; }
.city-card .city-meta {
  margin: 0.35rem 0 0;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
