/* ════════════════════════════════════════════════════════════════
   PURPLE ORANGE GROUP — site.css
   POG-specific layer on top of home.css / shell.css / hero-reel.css /
   violema-phone.css. Loaded last so these tweaks win. House easing:
   cubic-bezier(0.16, 1, 0.3, 1). Accent travels via --reel-accent.
════════════════════════════════════════════════════════════════ */

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: #fff; color: #09090b;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus { top: 12px; color: #09090b; }

/* ════════════════════════════════════
   HEADER — logo wordmark + mobile toggle
════════════════════════════════════ */
.site-header .logo span { white-space: nowrap; }
.site-header .logo .logo-sub {
  color: var(--zinc-500); font-weight: 500;
}

/* Current-page nav highlight (Team) */
.nav-desktop a[aria-current="page"] { color: #fff; }
.mobile-nav a[aria-current="page"] { color: #fff; background: var(--white-5); }

/* Menu toggle icons (main.js flips inline display between these) */
.menu-toggle .icon-menu,
.menu-toggle .icon-close { width: 24px; height: 24px; display: block; }
.menu-toggle .icon-close { display: none; }

/* ════════════════════════════════════
   HERO — cinematic reel shell tweaks
════════════════════════════════════ */
/* One extra auto row for the venture switcher; keeps the founder wall in
   the flexible bottom row exactly like the source layout. */
@media (min-width: 861px) {
  .cinematic-hero__shell {
    grid-template-rows: auto auto auto minmax(80px, 1fr);
  }
}

/* Browser-chrome bar: url + live status dot that recolours per venture */
.proof-reel__browser-url { color: #cdcdd8; letter-spacing: 0.1em; }
.proof-reel__browser-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--reel-accent, #a855f7);
}
.proof-reel__browser-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 8px currentColor;
}

/* Evidence rail cell 2 — operating principle reads as a quote */
.proof-reel__principle p {
  font-family: var(--font-quote); font-style: italic;
  font-size: 16px; color: #e9e9f1; line-height: 1.4;
}

/* Meta-panel visit links */
.proof-reel__visit {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 4px;
  color: var(--reel-accent, #c4b5fd);
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--reel-accent, #a855f7) 55%, transparent);
  padding-bottom: 2px; width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.proof-reel__visit:hover { color: #fff; border-color: #fff; }
.proof-reel__visit.is-soon {
  color: #9696a3; border-bottom-color: transparent; cursor: default;
}

/* Counter controls: nicer chevrons */
.proof-reel__controls button { border-radius: 10px; transition: background 0.2s, color 0.2s; }
.proof-reel__controls button:hover { background: rgba(255,255,255,0.06); }

/* ── Venture switcher (6-tab reel rail) ─────────────────────────────
   Reuses the segment-picker aesthetic; the active pill recolours to the
   live venture accent so the switcher is part of the "accent travels"
   signature. Synced to the reel via the reelchange event. */
.venture-switch {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 2px; padding: 5px;
  border: 1px solid var(--white-10); border-radius: 14px;
  background: rgba(24,24,27,0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.venture-tab {
  flex: 1 1 auto; min-width: 0;
  padding: 10px 14px; border: 1px solid transparent; cursor: pointer;
  background: transparent; color: var(--zinc-400);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.2px; border-radius: 10px; white-space: nowrap;
  text-align: center;
  transition: color 0.3s, background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.venture-tab:hover { color: #fff; }
.venture-tab.active {
  color: #fff;
  background: linear-gradient(135deg,
    var(--reel-accent, #8b5cf6),
    color-mix(in srgb, var(--reel-accent, #8b5cf6) 45%, var(--orange-500)));
  box-shadow: 0 6px 20px rgba(0,0,0,0.34),
              0 0 26px color-mix(in srgb, var(--reel-accent, #8b5cf6) 24%, transparent);
}
@media (max-width: 639px) { .venture-switch { display: none; } }

/* ════════════════════════════════════
   GENERIC SECTION HEADER (kicker + h2 + lead)
════════════════════════════════════ */
.section-lead {
  color: var(--zinc-400); font-size: 18px; max-width: 640px;
  margin: 0 auto; text-wrap: balance; line-height: 1.7;
}

/* ════════════════════════════════════
   PORTFOLIO — proof grid additions
════════════════════════════════════ */
#portfolio { scroll-margin-top: 90px; }
.proof-lead {
  color: var(--zinc-200); font-size: 16px; font-weight: 500;
  margin-bottom: 12px; margin-top: 2px;
}
.proof-card .project-status { margin: -2px 0 14px; }
.project-actions .is-soon,
.project-action-soon {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  color: #85858f; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; font-size: 13px; cursor: default;
}

/* ════════════════════════════════════
   STORY — group thesis (editorial)
════════════════════════════════════ */
#story { scroll-margin-top: 90px; }
.story-block { max-width: 860px; margin: 0 auto; text-align: center; }
.story-quote {
  font-family: var(--font-quote); font-style: italic; font-weight: 500;
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.16;
  color: #f4f4f5; margin: 8px auto 4px; max-width: 20ch;
  text-wrap: balance;
}
.story-quote .wi-accent { font-size: inherit; }
.story-body {
  display: grid; gap: 20px; max-width: 660px; margin: 34px auto 0;
}
.story-body p { color: var(--zinc-300); font-size: 17px; line-height: 1.75; }
.story-body p b { color: #fff; font-weight: 600; }
.story-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 34px;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border-bottom: 1px solid var(--orange-400); padding-bottom: 4px;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}
.story-link:hover { color: #fff; gap: 12px; }
.story-link svg { width: 16px; height: 16px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.story-link:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════
   DIMA / OPERATING-STANDARD BAND
════════════════════════════════════ */
#dima { scroll-margin-top: 90px; }
.chatops-point-ico svg { color: var(--purple-300); }

.dima-card {
  display: flex; gap: 16px; align-items: stretch;
  margin-top: 30px; padding: 14px;
  border: 1px solid var(--white-10); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  position: relative; overflow: hidden; max-width: 520px;
}
.dima-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500), transparent);
}
.dima-card__photo {
  flex: 0 0 auto; width: 100px; align-self: stretch;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #201a1a, #0a0a0c);
}
.dima-card__photo img {
  width: 100%; height: 100%; min-height: 140px;
  object-fit: cover; object-position: center 18%; display: block;
}
.dima-card__body {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-width: 0; padding: 4px 4px 4px 0;
}
.dima-card__badge {
  align-self: flex-start; display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 9999px;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
  color: #fff; font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.dima-card__name {
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 17px;
  line-height: 1.15; margin-top: 2px;
}
.dima-card__title {
  color: var(--orange-300); font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.dima-card__body p { color: var(--zinc-400); font-size: 13px; line-height: 1.5; margin-top: 4px; }

@media (max-width: 460px) {
  .dima-card { flex-direction: column; }
  .dima-card__photo { width: 100%; height: 160px; align-self: auto; }
}

/* ════════════════════════════════════
   CONNECT
════════════════════════════════════ */
#connect { scroll-margin-top: 90px; }
.connect-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  max-width: 1040px; margin: 0 auto;
}
@media (min-width: 760px) { .connect-grid { grid-template-columns: repeat(3, 1fr); } }
.connect-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px; border-radius: 16px;
  background: rgba(16,14,24,0.52); border: 1px solid var(--white-10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: inherit; text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
a.connect-card:hover {
  transform: translateY(-5px); background: rgba(24,20,34,0.6);
  border-color: rgba(139,92,246,0.28);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(139,92,246,0.1);
}
.connect-card__label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--orange-400);
}
.connect-card__value {
  font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff;
  line-height: 1.2; overflow-wrap: anywhere;
}
.connect-card__note { color: var(--zinc-500); font-size: 13.5px; line-height: 1.5; }
.connect-card__socials { display: flex; flex-direction: column; gap: 4px; }
.connect-card__socials a {
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #fff;
  text-decoration: none; width: fit-content;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.connect-card__socials a:hover { color: #fff; border-bottom-color: var(--purple-400); }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.pog-footer {
  border-top: 1px solid var(--white-5); margin-top: 96px;
  padding: 64px 0 40px; background: rgba(9,9,11,0.6);
}
.pog-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 44px;
}
@media (min-width: 860px) {
  .pog-footer__grid { grid-template-columns: 1.4fr 2fr; gap: 64px; }
}
.pog-footer__brand p {
  color: var(--zinc-400); font-size: 14.5px; line-height: 1.65;
  max-width: 340px; margin: 16px 0 18px;
}
.pog-footer__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff;
  text-decoration: none;
}
.pog-footer__logo img { width: 28px; height: 28px; }
.pog-footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pog-footer__social a {
  color: var(--zinc-400); font-size: 13.5px; text-decoration: none;
  transition: color 0.2s;
}
.pog-footer__social a:hover { color: #fff; }
.pog-footer__cols {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 520px) { .pog-footer__cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.pog-footer__col h3 {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--zinc-500);
  margin-bottom: 16px;
}
.pog-footer__col ul { list-style: none; display: grid; gap: 11px; }
.pog-footer__col a,
.pog-footer__col span[aria-disabled] {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--zinc-300); font-size: 14px; text-decoration: none;
  transition: color 0.2s;
}
.pog-footer__col a:hover { color: #fff; }
.pog-footer__col span[aria-disabled] { color: var(--zinc-500); cursor: default; }
.footer-dot {
  flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.5);
}
.footer-dot--beta { background: #67e8f9; box-shadow: 0 0 8px rgba(103,232,249,0.5); }
.footer-dot--soon { background: #c4b5fd; box-shadow: 0 0 8px rgba(196,181,253,0.5); }
.pog-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--white-5);
  color: var(--zinc-500); font-size: 13px;
}

/* ════════════════════════════════════
   TEAM PAGE
════════════════════════════════════ */
.team-hero {
  margin-top: 64px; padding: 72px 0 8px; position: relative; overflow: hidden;
  text-align: center;
}
@media (min-width: 640px) { .team-hero { margin-top: 80px; padding-top: 96px; } }
.team-hero::before {
  content: ""; position: absolute; inset: -20% 0 auto; height: 460px; z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,0.18), transparent 58%),
    radial-gradient(circle at 72% 20%, rgba(249,115,22,0.08), transparent 46%);
  filter: blur(8px); pointer-events: none;
}
.team-hero__inner { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.team-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.04em;
  color: #f8fafc; margin: 14px 0 20px; text-wrap: balance;
}
.team-hero__lead { color: var(--zinc-400); font-size: 18px; line-height: 1.7; max-width: 560px; margin: 0 auto; }

.leaders {
  list-style: none; display: grid; gap: 24px; grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 720px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--white-5); position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s, box-shadow 0.5s;
}
.leader-card:hover {
  transform: translateY(-5px); border-color: rgba(139,92,246,0.28);
  box-shadow: 0 22px 54px rgba(0,0,0,0.4), 0 0 30px rgba(139,92,246,0.1);
}
.leader-card__photo {
  aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, #1a1a1d, #0a0a0c);
  border-bottom: 1px solid var(--white-5);
}
.leader-card__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.leader-card:hover .leader-card__photo img { transform: scale(1.04); }
.leader-card--guardian::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500), transparent);
}
.leader-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.leader-card__role {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange-400);
}
.leader-card__name { font-family: var(--font-display); font-size: 21px; color: #fff; line-height: 1.2; }
.leader-card__bio { color: var(--zinc-400); font-size: 14.5px; line-height: 1.6; }
.guardian-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  padding: 6px 12px 6px 6px; border-radius: 9999px; width: fit-content;
  background: rgba(255,255,255,0.03); border: 1px solid var(--white-10);
  color: var(--zinc-300); font-family: var(--font-display); font-size: 12px; font-weight: 600;
}
.guardian-badge img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
}

.team-outro {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 56px; padding: 28px 32px; border-radius: 18px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--white-5);
}
.team-outro__where p { color: var(--zinc-300); font-size: 16px; }
.team-outro__where p b { color: #fff; }
.team-outro__label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--orange-400);
  margin-bottom: 6px; display: block;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  padding: 13px 22px; border-radius: 9999px;
  border: 1px solid var(--white-20); background: transparent; color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-back:hover { background: var(--white-10); border-color: var(--purple-400); color: #fff; transform: translateY(-2px); }
.btn-back svg { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-back:hover svg { transform: translateX(-3px); }

/* ════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .skip-link, .venture-tab, .connect-card, .leader-card,
  .leader-card__photo img, .story-link, .story-link svg,
  .btn-back, .btn-back svg { transition: none !important; }
  .team-hero::before { filter: none; }
}

/* ════════════════════════════════════
   Frontiers rail — areas marquee (item 8)
   Gold hand-painted PNG glyphs from /assets/brand/areas/ at 26px
   height; slow constant scroll, edge mask, hover slows (not
   stops), a purple->orange sheen sweeps the rail.
════════════════════════════════════ */
/* Constrain the hero grid so the rail's max-content track can't blow out the column */
.cinematic-hero { grid-template-columns: minmax(0, 1fr); }
.hero-top, .hero-areas { min-width: 0; max-width: 100%; }

.hero-top {            /* frontiers rail, full-width above the demo */
  width: min(1360px, 100%);
  margin: 0 auto 18px;
  padding: 4px 24px 0;
}
.hero-areas { margin: 0; }

/* A touch shorter demo on desktop so the founder wall still sits near the fold */
@media (min-width: 901px) {
  .proof-reel__viewport { height: min(36vw, 516px); }
}
.areas-rail {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.areas-rail__track {
  display: flex; width: max-content;
  animation: areas-scroll 68s linear infinite;
  will-change: transform;
}
.areas-rail:hover .areas-rail__track { animation-duration: 160s; }  /* slow, never a hard stop */
/* Lead-in on each group keeps the first icon clear of the edge mask at load
   (and permanently, when reduced motion stops the scroll). Equal padding on
   both groups keeps the -50% loop seamless. */
.areas-rail__group { display: flex; padding-left: clamp(64px, 7vw, 110px); }
.areas-rail__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 clamp(20px, 2.3vw, 38px);
  color: rgba(231, 228, 240, 0.72);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.areas-rail__item img { height: 32px; width: auto; flex: none; }
.areas-rail__label {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(231, 228, 240, 0.5); white-space: nowrap;
  transition: color 0.3s ease;
}
.areas-rail__item:hover { color: #fff; transform: translateY(-2px); }
.areas-rail__item:hover .areas-rail__label { color: rgba(231, 228, 240, 0.78); }
.areas-rail::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(168,85,247,0.10) 48%, rgba(255,122,0,0.10) 52%, transparent 60%);
  transform: translateX(-60%);
  animation: areas-sheen 8s ease-in-out infinite;
}
@keyframes areas-scroll { to { transform: translateX(-50%); } }
@keyframes areas-sheen { 0%, 12% { transform: translateX(-60%); } 88%, 100% { transform: translateX(160%); } }
@media (prefers-reduced-motion: reduce) {
  /* No marquee: show every icon statically (wrapped), no edge fade, no sheen —
     nothing is ever hidden for reduced-motion visitors. */
  .areas-rail { -webkit-mask-image: none; mask-image: none; }
  .areas-rail__track { animation: none; width: auto; }
  .areas-rail__group { flex-wrap: wrap; row-gap: 10px; padding-left: 0; }
  .areas-rail__group[aria-hidden="true"] { display: none; }
  .areas-rail::after { display: none; }
}
@media (max-width: 640px) { .hero-areas { display: none; } }  /* phones only; tablets keep the rail */

/* ════════════════════════════════════
   Legal pages (privacy.html / terms.html) + footer legal links
════════════════════════════════════ */
.legal {
  max-width: 720px;
  color: #b8b8c2;
  font-size: 16px;
  line-height: 1.75;
}
.legal h2 {
  margin: 40px 0 12px;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal b { color: #e7e4f0; }
.legal a { color: var(--purple-300); text-underline-offset: 3px; }
.legal a:hover { color: #fff; }

.pog-footer__legal a { color: inherit; text-decoration: none; }
.pog-footer__legal a:hover { color: #fff; }

/* ════════════════════════════════════
   Dima line art — edge-to-edge behind the Connect glass panels
════════════════════════════════════ */
#connect { position: relative; overflow: hidden; }
#connect .container { position: relative; z-index: 1; }

.connect-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.connect-art img {
  width: 100%;
  min-width: 1100px;
  height: auto;
  opacity: 0.32;
  filter: saturate(1.15);
}

/* ── Free audit banner — glass, with Dima standing on the top edge ── */
.audit-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: 1040px;
  margin: 54px auto 0;
  padding: 26px 34px;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(16, 14, 24, 0.6) 42%, rgba(249, 115, 22, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.audit-banner::before {   /* top-edge light sweep */
  content: "";
  position: absolute;
  top: -1px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), rgba(249, 115, 22, 0.7), transparent);
  pointer-events: none;
}
.audit-banner__dima {
  width: 168px;
  height: auto;
  margin: -52px 0 -8px;   /* paws over the top edge — he stands on the banner */
  filter: drop-shadow(0 20px 38px rgba(139, 92, 246, 0.4));
}
.audit-banner__copy { display: grid; gap: 9px; }
.audit-banner__badge {
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-400);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.audit-banner__copy h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.audit-banner__copy p {
  margin: 0;
  max-width: 480px;
  color: var(--zinc-300);
  font-size: 14.5px;
  line-height: 1.6;
}
.audit-banner__cta {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.audit-banner__cta span {
  color: var(--zinc-500);
  font-size: 12.5px;
  line-height: 1.5;
}
.audit-banner__book {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.08);
  color: var(--zinc-300);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.audit-banner__book:hover {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(139, 92, 246, 0.16);
}

/* Desktop tel-click toast (number copied) */
#tel-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 12px);
  z-index: 200;
  padding: 13px 19px;
  border-radius: 12px;
  background: rgba(16, 14, 24, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
#tel-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer social logos — monochrome, not yet linked */
.pog-footer__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.pog-footer__logos span {
  display: inline-flex;
  color: var(--zinc-500);
  cursor: default;
  transition: color 0.3s;
}
.pog-footer__logos span:hover { color: var(--zinc-300); }
.pog-footer__logos svg { width: 17px; height: 17px; fill: currentColor; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .audit-banner { background: linear-gradient(120deg, rgba(139, 92, 246, 0.2), rgba(16, 14, 24, 0.92) 42%, rgba(249, 115, 22, 0.16)); }
}
@media (max-width: 880px) {
  .audit-banner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding: 26px 22px 28px;
    margin-top: 64px;
  }
  .audit-banner__dima { width: 150px; margin: -66px 0 -6px; }
  .audit-banner__copy { justify-items: center; }
  .audit-banner__copy p { max-width: 560px; }
}

/* ════════════════════════════════════
   FORMS — contact + newsletter (posts to the Cloudflare Worker)
   Shared primitives (.pog-form__*) are reused by every form on the site.
════════════════════════════════════ */

/* Honeypot: off-screen, out of the a11y tree, never focusable-visible. */
.pog-form__hp {
  position: absolute !important; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.pog-form__status {
  min-height: 1.25em; margin: 10px 0 0; font-size: 13.5px; line-height: 1.5;
}
.pog-form__status.is-pending { color: var(--zinc-400); }
.pog-form__status.is-error   { color: #ff8a75; }

.pog-form__done {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 2px; color: var(--zinc-200); font-size: 15px; line-height: 1.5;
  animation: pog-form-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pog-form__done p { margin: 0; }
.pog-form__done-check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}
@keyframes pog-form-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Connect: contact form beside the details ── */
.connect-layout {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  max-width: 1040px; margin: 0 auto;
}
@media (min-width: 880px) {
  /* stretch + space-between so the form panel and the aside cards
     end flush on the same bottom line */
  .connect-layout { grid-template-columns: 1.25fr 0.85fr; align-items: stretch; }
  .connect-aside { justify-content: space-between; }
}
.connect-aside { display: flex; flex-direction: column; gap: 16px; }

.connect-form-panel {
  padding: 30px; border-radius: 18px;
  background: rgba(16,14,24,0.45);
  border: 1px solid var(--white-10);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.contact-form { display: grid; gap: 16px; }
.contact-form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; min-width: 0; }
.field > label {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.4px; color: var(--zinc-300);
}
.field > label span { color: var(--zinc-500); font-weight: 500; }

.field input,
.field select,
.field textarea,
.nl-form__input {
  width: 100%; font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.03); border: 1px solid var(--white-10);
  border-radius: 11px; padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder,
.nl-form__input::placeholder { color: var(--zinc-500); }
.field input:focus,
.field select:focus,
.field textarea:focus,
.nl-form__input:focus {
  outline: none; border-color: var(--purple-400);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
/* Custom chevron for the select */
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--zinc-400) 50%),
    linear-gradient(135deg, var(--zinc-400) 50%, transparent 50%);
  background-position: calc(100% - 20px) 51%, calc(100% - 15px) 51%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 38px; cursor: pointer;
}
.field select option { color: #111; }

.contact-form__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 2px;
}
.contact-form__submit { flex: none; }
.contact-form__foot .pog-form__status { margin: 0; }

.pog-form__btn-label { display: inline-block; }
.is-busy button[type="submit"] { opacity: 0.6; cursor: progress; }

/* ── Footer newsletter (injected site-wide by forms.js) ── */
.pog-footer__newsletter {
  display: grid; gap: 18px 40px; align-items: center;
  padding: 30px 0; margin-top: 8px;
  border-top: 1px solid var(--white-5);
}
@media (min-width: 760px) { .pog-footer__newsletter { grid-template-columns: 1fr minmax(300px, 420px); } }
.pog-footer__nl-copy h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #fff; margin: 0;
}
.pog-footer__nl-copy p { color: var(--zinc-400); font-size: 14px; line-height: 1.55; margin: 6px 0 0; }

.nl-form__row { display: flex; gap: 10px; }
.nl-form__row .nl-form__input { flex: 1 1 auto; min-width: 0; }
.nl-form__btn {
  flex: none; font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: #fff; border: none; border-radius: 11px; padding: 0 20px; cursor: pointer;
  background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.2s;
}
.nl-form__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139, 92, 246, 0.3); }
.nl-form .pog-form__status { margin-top: 8px; }

/* ── Insights: dedicated in-page newsletter block ── */
.nl-block {
  max-width: 720px; margin: 8px auto 0; padding: 40px;
  border-radius: 20px; text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,0.12), transparent 62%),
    linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--white-10);
}
.nl-block__kicker {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--orange-400);
}
.nl-block h2 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); color: #fff; margin: 10px 0 8px; }
.nl-block__lead { color: var(--zinc-400); font-size: 16px; line-height: 1.6; margin: 0 auto 22px; max-width: 480px; }
.nl-block .nl-form { max-width: 460px; margin: 0 auto; }
