/* Executive visual system — traditional, modern, board-ready
   Navy / graphite / soft gold — no carnival pink/violet */
:root {
  --bg: #070b12;
  --bg2: #0d1420;
  --card: rgba(16, 24, 38, 0.88);
  --text: #eef1f6;
  --muted: #8b96a8;
  --gold: #c4a35a;
  --gold-soft: rgba(196, 163, 90, 0.18);
  --line: rgba(196, 163, 90, 0.2);
  --accent: #3d7a8c;
  --accent-soft: rgba(61, 122, 140, 0.15);
  --max: 1100px;
  --radius: 14px;
  --pink: #c4a35a;
  --cyan: #5a9aab;
  --violet: #6b7c93;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.wrap { width: min(var(--max), calc(100% - 2.25rem)); margin: 0 auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(61, 122, 140, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 10%, rgba(196, 163, 90, 0.06), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #0a101a 50%, #070b12 100%);
}
#sparkCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1rem;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text);
}
.brand a {
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.06em;
}
.brand a:hover { color: var(--gold); }
.top nav { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.top nav a:hover, .top nav a.active { color: var(--text); }
.nav-buy {
  background: var(--gold) !important;
  color: #0a0e14 !important;
  padding: 0.42rem 0.95rem;
  border-radius: 6px;
  font-weight: 700 !important;
  box-shadow: none !important;
  animation: none !important;
}
.nav-buy:hover { filter: brightness(1.08); }

.hub-hero { padding: 3rem 0 3.25rem; }
.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 2.75rem;
  align-items: center;
}
@media (max-width: 800px) {
  .hub-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hub-hero-grid .chips, .hub-hero-grid .buy-row { justify-content: center; }
  .hub-hero-grid .lead { margin-left: auto; margin-right: auto; }
  .hub-photo { max-width: 260px; margin: 0 auto; }
  .top nav a:not(.nav-buy):not(.nav-keep) { display: none; }
}

.hub-photo { position: relative; }
.hub-photo .portrait,
.hub-photo img.portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: block;
  background: #121820;
}
.hub-photo::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px solid rgba(196, 163, 90, 0.22);
  z-index: -1;
  background: transparent;
  filter: none;
  opacity: 1;
  animation: none;
}
.hub-photo .photo-badge {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 0.8rem;
  border-radius: 4px;
  background: #0f1620;
  color: var(--gold);
  border: 1px solid rgba(196, 163, 90, 0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 2;
}
.mono-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #121a26, #0a1018);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  position: relative;
}
.mono-photo::before { display: none; }
.mono-photo .initials {
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.mono-photo .mono-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(196, 163, 90, 0.3);
  background: rgba(196, 163, 90, 0.06);
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: none;
  animation: none;
}

h1 {
  font-family: "Syne", "Outfit", sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 0.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
h1 .grad, h2 .grad, .grad {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--gold);
}
.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 500;
}
.hook {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: none;
}
.lead { color: var(--muted); margin: 0 0 1.35rem; max-width: 38rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
}
.chips span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #b8c0ce;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.82rem 1.25rem;
  border-radius: 6px;
  transition: transform 0.15s ease, background 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: #0a0e14;
  box-shadow: 0 8px 24px rgba(196, 163, 90, 0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}
.buy-note { font-size: 0.84rem; color: var(--muted); margin: 0; }

.section { padding: 3.75rem 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(13, 20, 32, 0.95), rgba(7, 11, 18, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 1.5rem; }

.quote-box {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: 8px;
  border: 1px solid rgba(196, 163, 90, 0.25);
  border-left: 3px solid var(--gold);
  background: rgba(196, 163, 90, 0.05);
  font-size: 1.02rem;
  font-weight: 500;
  color: #d8dde6;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1rem 0.75rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
  background: none;
  -webkit-text-fill-color: var(--gold);
}
.stat span { font-size: 0.76rem; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.feature h3 {
  font-family: "Syne", sans-serif;
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.feature a {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--accent);
}

.timeline {
  margin: 1.25rem 0 1.5rem;
  border-left: 2px solid rgba(196, 163, 90, 0.35);
  padding-left: 1.15rem;
}
.tl-item { margin-bottom: 1rem; position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -1.42rem;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
}
.tl-item strong { color: var(--gold); font-size: 0.9rem; }
.tl-item p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }

.cv-block { margin-bottom: 1.75rem; }
.cv-block h3, .co-title {
  font-family: "Syne", sans-serif;
  color: var(--gold) !important;
  font-size: 1.05rem !important;
  margin: 0 0 0.75rem !important;
  background: none !important;
  -webkit-text-fill-color: var(--gold);
}
.cv-list { list-style: none; padding: 0; margin: 0; }
.cv-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.94rem;
}
.cv-list li strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

/* Company cards with logos */
.co-squares {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.35rem;
}
@media (max-width: 700px) { .co-squares { grid-template-columns: 1fr; } }
.co-square {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 1.25rem 1.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 24, 38, 0.75);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.co-square::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.65;
}
.co-square:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 163, 90, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}
.co-square .co-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.85rem;
  filter: brightness(1.05);
}
.co-square .co-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.co-square strong {
  font-family: "Syne", sans-serif;
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 0.45rem;
  display: block;
  line-height: 1.25;
}
.co-square p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 0.9rem;
  flex: 1;
}
.co-square em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
@media (max-width: 700px) { .card-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card);
  transition: transform 0.2s, border-color 0.2s;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 163, 90, 0.35);
}
.hub-card img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 2/3;
  object-fit: cover;
}
.hub-card h3 {
  font-family: "Syne", sans-serif;
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--gold);
}
.hub-card p { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.88rem; }
.hub-card .linkish { font-size: 0.8rem; font-weight: 700; color: var(--accent); }

.sister-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.sister-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
.sister-links a:hover { color: var(--gold); border-color: rgba(196, 163, 90, 0.4); }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.social-row a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, color 0.2s;
}
.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.cta {
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(61, 122, 140, 0.08), transparent 55%);
}
.cta p { color: var(--muted); margin: 0 0 1.25rem; }
.cta::before { display: none !important; }

.foot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--gold); }
.foot .small { margin-top: 0.4rem; font-size: 0.82rem; }
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.foot-nav a { font-weight: 600; font-size: 0.86rem; }

.page-hero { padding: 2.75rem 0 1.75rem; }
.page-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 0.55rem;
}
.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.author-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.25rem;
  align-items: start;
}
@media (max-width: 860px) {
  .author-grid { grid-template-columns: 1fr !important; text-align: center; }
  .author-photo { margin: 0 auto; max-width: 240px; }
}
.author-photo { position: relative; }
.author-photo img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.author-photo::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px solid rgba(196, 163, 90, 0.2);
  z-index: -1;
  background: transparent;
  animation: none;
  filter: none;
  opacity: 1;
}
.author-photo .badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  background: #0f1620;
  color: var(--gold);
  border: 1px solid rgba(196, 163, 90, 0.4);
}
.role-line { color: var(--gold); font-weight: 600; margin: 0 0 1rem; font-size: 0.95rem; }

/* book page extras */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.06);
  background: rgba(196, 163, 90, 0.04);
  padding: 0.65rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.marquee-track span { white-space: nowrap; }
.marquee-track span::before { content: "· "; color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero { padding: 2rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cover { max-width: 260px; margin: 0 auto; }
  .buy-row, .chips { justify-content: center; }
}
.hero-cover {
  position: relative;
  animation: none;
}
.hero-cover::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at 50% 40%, rgba(196, 163, 90, 0.2), transparent 65%);
  border-radius: 16px;
  filter: blur(18px);
  opacity: 0.8;
  z-index: -1;
  animation: none;
}
.hero-cover img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(196, 163, 90, 0.25);
}

.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 960px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }
.chap {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.45s ease, opacity 0.45s ease, border-color 0.2s;
  position: relative;
}
.chap.in { opacity: 1; transform: translateY(0); }
.chap:hover { border-color: rgba(196, 163, 90, 0.35); }
.chap .media { overflow: hidden; aspect-ratio: 1; }
.chap .media img, .chap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chap h3 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  margin: 0.8rem 0.95rem 0.25rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.chap p {
  margin: 0 0.95rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
}
.chap::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 18, 0.9));
  z-index: 1;
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 700px) { .co-grid { grid-template-columns: 1fr; } }
.co-card {
  display: block;
  text-decoration: none;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.co-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.35);
}
.co-card strong {
  display: block;
  color: var(--gold);
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  font-family: "Syne", sans-serif;
}
.co-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}
.co-card em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.book-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card);
  margin-bottom: 1.15rem;
}
@media (max-width: 600px) {
  .book-row { grid-template-columns: 1fr; }
  .book-row img { max-width: 160px; }
}
.book-row img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}
.book-row h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}
.book-row .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.book-row p { color: var(--muted); margin: 0 0 0.9rem; }

.soon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(196, 163, 90, 0.12);
  border: 1px solid rgba(196, 163, 90, 0.3);
  color: var(--gold);
  margin-left: 0.3rem;
}

/* chapter image motions — subtle */
.chap-01 img { animation: chRise 18s ease-in-out infinite alternate; }
.chap-02 img { animation: chSlither 16s ease-in-out infinite alternate; }
.chap-03 img { animation: chBreath 14s ease-in-out infinite alternate; }
.chap-04 img { animation: chLift 16s ease-in-out infinite alternate; }
.chap-05 img { animation: chReveal 18s ease-in-out infinite alternate; }
.chap-06 img { animation: chPull 16s ease-in-out infinite alternate; }
.chap-07 img { animation: chOrbit 22s ease-in-out infinite alternate; }
.chap-08 img { animation: chPath 17s ease-in-out infinite alternate; }
.chap-09 img { animation: chHorizon 20s ease-in-out infinite alternate; }
@keyframes chRise {
  from { transform: scale(1.05) translateY(2%); }
  to { transform: scale(1.1) translateY(-3%); }
}
@keyframes chSlither {
  from { transform: scale(1.1) translateX(-3%); }
  to { transform: scale(1.1) translateX(3%); }
}
@keyframes chBreath {
  from { transform: scale(1.04); }
  to { transform: scale(1.09); }
}
@keyframes chLift {
  from { transform: scale(1.06) translateY(2%); }
  to { transform: scale(1.1) translateY(-2%); }
}
@keyframes chReveal {
  from { transform: scale(1.08) translateY(-2%); }
  to { transform: scale(1.08) translateY(2%); }
}
@keyframes chPull {
  from { transform: scale(1.05) translateY(-1%); }
  to { transform: scale(1.1) translateY(3%); }
}
@keyframes chOrbit {
  from { transform: scale(1.1) rotate(-0.8deg); }
  to { transform: scale(1.1) rotate(0.8deg); }
}
@keyframes chPath {
  from { transform: scale(1.1) translate(-1.5%, 1.5%); }
  to { transform: scale(1.1) translate(1.5%, -1.5%); }
}
@keyframes chHorizon {
  from { transform: scale(1.12); }
  to { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .chap img, .hub-photo .portrait { animation: none !important; }
}

.director-accent-marcella .bg-fx,
.director-accent-daniel .bg-fx,
.director-accent-steve .bg-fx,
.director-accent-filipe .bg-fx {
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(61, 122, 140, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 10%, rgba(196, 163, 90, 0.05), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #0a101a 50%, #070b12 100%);
}


/* ===== WOW LAYER — competitive professional motion ===== */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--gold), #e8d5a3, var(--accent));
  box-shadow: 0 0 12px rgba(196, 163, 90, 0.45);
  pointer-events: none;
  transition: width 0.05s linear;
}
#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,0.09) 0%, rgba(61,122,140,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.35s;
  mix-blend-mode: screen;
}
#cursorGlow.on { opacity: 1; }
.top.scrolled {
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border-bottom-color: rgba(196,163,90,0.15);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hub-photo .portrait {
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.hub-photo {
  position: relative;
  overflow: visible;
}
.hub-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  background-size: 220% 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.hub-photo:hover::after {
  opacity: 1;
  animation: sheen 1.1s ease;
}
@keyframes sheen {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.co-square {
  will-change: transform;
  transition: transform 0.2s ease-out, border-color 0.2s, box-shadow 0.2s !important;
}
.btn-primary {
  transition: transform 0.15s ease-out, filter 0.15s, box-shadow 0.15s !important;
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(196,163,90,0.35) !important;
}

/* Network strip — wow footer band */
.network-strip {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(13,20,32,0.9), rgba(7,11,18,0.5));
}
.network-strip h2 {
  text-align: center;
  margin-bottom: 0.35rem;
}
.network-strip .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.network-people {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}
@media (max-width: 900px) {
  .network-people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .network-people { grid-template-columns: repeat(2, 1fr); }
}
.network-person {
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 0.85rem 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.network-person:hover {
  transform: translateY(-5px);
  border-color: rgba(196,163,90,0.4);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}
.network-person img,
.network-person .np-mono {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 0.65rem;
  border: 2px solid rgba(196,163,90,0.4);
  display: block;
  background: #121820;
}
.network-person .np-mono {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
}
.network-person strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}
.network-person span {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}
.logo-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0.45rem 0.9rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.logo-row a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.logo-row img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.logo-row .logo-text {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0a0e14;
  letter-spacing: 0.02em;
}

/* Hero entrance */
.hub-hero .hub-photo {
  animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hub-hero .hub-hero-grid > div:last-child {
  animation: heroIn 0.9s 0.12s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hub-hero .hub-photo, .hub-hero .hub-hero-grid > div:last-child {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #cursorGlow, #scrollProgress { display: none !important; }
}
/* daniel-portrait-fix — USLN headshot framing */
.hub-photo .portrait,
.hub-photo img.portrait {
  object-fit: cover;
  object-position: 50% 18%;
}
.network-person img[src*="net-daniel"] {
  object-fit: cover;
  object-position: 50% 20%;
}
/* net-daniel-fix */
.network-person img[src*="net-daniel"] {
  object-fit: cover;
  object-position: 50% 20%;
}

/* ============================================================
   HYBRID THEME #5 — hero navy + light body (board hubs 2026)
   Keeps layout/structure; only colors & surfaces lighten.
   ============================================================ */
:root {
  --bg: #eef2f7;
  --bg2: #e4eaf2;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #5c6b7e;
  --gold: #c4a35a;
  --gold-soft: rgba(196, 163, 90, 0.16);
  --line: rgba(196, 163, 90, 0.32);
  --accent: #2f6b7c;
  --accent-soft: rgba(47, 107, 124, 0.12);
  --heading: #0a1f3c;
  --navy: #0a1f3c;
  --navy-2: #0d2a52;
  --on-navy: #eef1f6;
  --on-navy-muted: #a6b2c4;
  --pink: #c4a35a;
  --cyan: #5a9aab;
  --violet: #6b7c93;
}

body {
  background: var(--bg);
  color: var(--text);
}

.bg-fx {
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(196, 163, 90, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 8%, rgba(47, 107, 124, 0.06), transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #e8edf4 50%, #eef2f7 100%) !important;
}

#sparkCanvas {
  opacity: 0.18 !important;
  mix-blend-mode: multiply;
}

/* Sticky nav — navy band */
.top {
  background: rgba(10, 31, 60, 0.96) !important;
  border-bottom: 1px solid rgba(196, 163, 90, 0.22) !important;
  box-shadow: 0 4px 24px rgba(10, 31, 60, 0.12);
}
.top.scrolled {
  box-shadow: 0 8px 28px rgba(10, 31, 60, 0.18) !important;
  border-bottom-color: rgba(196, 163, 90, 0.28) !important;
}
.brand,
.brand a {
  color: var(--on-navy) !important;
}
.brand a:hover { color: var(--gold) !important; }
.top nav a {
  color: var(--on-navy-muted) !important;
}
.top nav a:hover,
.top nav a.active {
  color: #fff !important;
}

/* Hero — navy, person is primary (90%) */
.hub-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 72%, #eef2f7 100%);
  color: var(--on-navy);
  padding-bottom: 3.75rem;
}
.hub-hero h1 {
  color: #fff !important;
}
.hub-hero h1 .grad,
.hub-hero .grad {
  color: var(--gold) !important;
  background: none !important;
  -webkit-text-fill-color: var(--gold);
}
.hub-hero .subtitle,
.hub-hero .lead {
  color: var(--on-navy-muted) !important;
}
.hub-hero .hook {
  color: #fff !important;
}
.hub-hero .lead strong,
.hub-hero .lead strong[style],
.hub-hero [style*="color:var(--text)"],
.hub-hero [style*="color: var(--text)"] {
  color: #f0f4fa !important;
}
.hub-hero .kicker {
  color: var(--gold);
  border-color: rgba(196, 163, 90, 0.4);
  background: rgba(196, 163, 90, 0.1);
}
.hub-hero .chips span {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #d0d7e2 !important;
}
.hub-hero .btn-secondary {
  color: var(--on-navy) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}
.hub-hero .btn-secondary:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.hub-hero .photo-badge {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border-color: rgba(196, 163, 90, 0.45) !important;
}
.hub-photo .portrait,
.hub-photo img.portrait,
.mono-photo {
  border-color: rgba(196, 163, 90, 0.45) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35) !important;
}
.hub-photo::before {
  border-color: rgba(196, 163, 90, 0.28) !important;
}

/* Headings & body sections — dark ink on light */
h1, h2, h3.co-title {
  color: var(--heading) !important;
}
h1 .grad, h2 .grad, .grad {
  color: var(--gold) !important;
  background: none !important;
  -webkit-text-fill-color: var(--gold);
}
.section-lead,
.subtitle,
.lead,
.feature p,
.tl-item p,
.co-card span,
.book-row p,
.chap p,
.buy-note {
  color: var(--muted) !important;
}
.hook {
  color: var(--heading) !important;
}

.section.alt {
  background: linear-gradient(180deg, #e4eaf2 0%, #eef2f7 100%) !important;
  border-top: 1px solid #d5dde8 !important;
  border-bottom: 1px solid #d5dde8 !important;
}

.feature,
.co-card,
.stat,
.book-row,
.quote-box,
.network-person {
  background: #fff !important;
  border-color: #d5dde8 !important;
  box-shadow: 0 4px 16px rgba(10, 31, 60, 0.04);
}
.feature:hover,
.co-card:hover,
.network-person:hover {
  border-color: rgba(196, 163, 90, 0.45) !important;
  box-shadow: 0 12px 28px rgba(10, 31, 60, 0.1) !important;
}
.feature h3,
.co-card strong,
.stat b,
.tl-item strong,
.network-person strong {
  color: var(--gold) !important;
}
.network-person strong {
  color: var(--heading) !important;
}
.network-person span {
  color: var(--muted) !important;
}
.network-person img,
.network-person .np-mono {
  border-color: rgba(196, 163, 90, 0.45) !important;
  background: #eef2f7 !important;
}
.network-person .np-mono {
  color: var(--gold) !important;
}

.network-strip {
  background: linear-gradient(180deg, #e8edf4 0%, #eef2f7 100%) !important;
  border-top: 1px solid #d5dde8 !important;
}

.chips span {
  background: rgba(10, 31, 60, 0.05) !important;
  border-color: rgba(10, 31, 60, 0.1) !important;
  color: #3d4d60 !important;
}

.btn-secondary {
  color: var(--text) !important;
  border-color: #c5d0de !important;
}
.btn-secondary:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.quote-box {
  border-color: rgba(196, 163, 90, 0.3) !important;
  border-left-color: var(--gold) !important;
  background: rgba(196, 163, 90, 0.08) !important;
  color: var(--text) !important;
}

.timeline {
  border-left-color: rgba(196, 163, 90, 0.4) !important;
}

/* Company / book / chapter cards */
.co-square,
.chap {
  background: #fff !important;
  border-color: #d5dde8 !important;
}
.chap h3 {
  color: var(--heading) !important;
}
.chap::after {
  background: linear-gradient(180deg, transparent, rgba(238, 242, 247, 0.92)) !important;
}

/* Footer-ish logo row stays white tiles */
.logo-row a {
  background: #fff !important;
  border-color: #d5dde8 !important;
}

/* Contact / misc dark panels */
.contact-card,
.cv-block,
.panel,
.card {
  background: var(--card) !important;
  border-color: #d5dde8 !important;
  color: var(--text);
}

/* Scroll progress keeps gold */
#scrollProgress {
  background: linear-gradient(90deg, var(--gold), #e8d5a3, var(--accent)) !important;
}
#cursorGlow {
  background: radial-gradient(circle, rgba(196,163,90,0.12) 0%, rgba(47,107,124,0.05) 40%, transparent 70%) !important;
  mix-blend-mode: multiply;
}

/* Selection */
::selection {
  background: var(--gold);
  color: #0a0e14;
}

/* Scrollbar light */
::-webkit-scrollbar-track { background: #e4eaf2; }
::-webkit-scrollbar-thumb { background: #b8c4d4; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Director accent overrides — keep hybrid */
.director-accent-marcella .bg-fx,
.director-accent-daniel .bg-fx,
.director-accent-steve .bg-fx,
.director-accent-filipe .bg-fx {
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(196, 163, 90, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 10%, rgba(47, 107, 124, 0.05), transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #e8edf4 50%, #eef2f7 100%) !important;
}

/* Inline strong colors in light sections */
.section [style*="color:var(--text)"],
.section [style*="color: var(--text)"] {
  color: var(--heading) !important;
}

/* ============================================================
   POLISH v2 — logos visible · mobile · photon ring signature
   ============================================================ */

/* --- Company portfolio cards on light theme --- */
.co-square {
  background: #ffffff !important;
  border: 1px solid #d5dde8 !important;
  box-shadow: 0 6px 20px rgba(10, 31, 60, 0.06) !important;
  min-height: 210px;
}
.co-square strong {
  color: var(--heading, #0a1f3c) !important;
}
.co-square p { color: var(--muted) !important; }
.co-square .co-role { color: var(--accent) !important; }
.co-square .co-logo {
  height: 42px !important;
  max-width: 170px !important;
  margin-bottom: 1rem !important;
  filter: none !important;
}
.co-square:hover {
  border-color: rgba(196, 163, 90, 0.5) !important;
  box-shadow: 0 14px 32px rgba(10, 31, 60, 0.1) !important;
}

/* --- Hub cards / books --- */
.hub-card {
  background: #fff !important;
  border-color: #d5dde8 !important;
  box-shadow: 0 4px 16px rgba(10, 31, 60, 0.05);
}
.hub-card h3 { color: var(--heading, #0a1f3c) !important; }

/* --- Footer --- */
.foot {
  border-top: 1px solid #d5dde8 !important;
  background: #e8edf4;
  padding: 1.75rem 0 2.25rem !important;
}
.cta {
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(196, 163, 90, 0.1), transparent 55%) !important;
  padding: 3.75rem 0 !important;
}

/* ============================================================
   LOGO RAIL — high contrast tiles (fix: white logos on white)
   ============================================================ */
.logo-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.85rem !important;
  justify-content: center !important;
  align-items: stretch !important;
  margin-top: 1.75rem !important;
  padding: 1.15rem 0.5rem 0.25rem !important;
  border-top: 1px solid #d5dde8;
}
.logo-row::before {
  content: "Partner ecosystem";
  flex: 0 0 100%;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.logo-row a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px !important;
  height: auto !important;
  min-width: 118px !important;
  max-width: 160px;
  flex: 1 1 118px;
  padding: 0.7rem 1rem !important;
  background: #ffffff !important;
  border: 1px solid #c5d0de !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(10, 31, 60, 0.06) !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
}
.logo-row a:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(196, 163, 90, 0.55) !important;
  box-shadow: 0 12px 28px rgba(10, 31, 60, 0.12) !important;
}
.logo-row img {
  height: 40px !important;
  width: auto !important;
  max-width: 140px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Light / white logos need a navy plate to stay visible */
.logo-row a[title="American Torch Tip"],
.logo-row a[title="Freedom to Belong"],
.logo-row a[title*="Torch"] {
  background: #0a1f3c !important;
  border-color: #0a1f3c !important;
}
.logo-row a[title="American Torch Tip"]:hover,
.logo-row a[title="Freedom to Belong"]:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 12px 28px rgba(10, 31, 60, 0.25) !important;
}

/* ============================================================
   SIGNATURE DETAIL — Photon Orbit Ring (optics / board energy)
   Slow gold conic rim around portrait — futuristic, not loud
   ============================================================ */
@property --photon-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.hub-photo {
  isolation: isolate;
}
.hub-photo::before {
  content: "" !important;
  position: absolute !important;
  inset: -10px !important;
  border-radius: 18px !important;
  padding: 2px !important;
  border: none !important;
  background: conic-gradient(
    from var(--photon-angle),
    rgba(196, 163, 90, 0.05),
    #f5a623 12%,
    rgba(245, 166, 35, 0.15) 28%,
    transparent 42%,
    transparent 70%,
    rgba(196, 163, 90, 0.35) 88%,
    rgba(196, 163, 90, 0.05)
  ) !important;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: photonOrbit 9s linear infinite !important;
  filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.25));
  z-index: 0 !important;
  opacity: 1 !important;
  pointer-events: none;
}
@keyframes photonOrbit {
  to { --photon-angle: 360deg; }
}
.hub-photo .portrait,
.hub-photo img.portrait,
.hub-photo > img {
  position: relative;
  z-index: 1;
}
.hub-photo .photo-badge {
  z-index: 3 !important;
}

/* Soft scan beam across hero (once subtle loop) */
.hub-hero {
  position: relative;
  overflow: hidden;
}
.hub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(245, 166, 35, 0.07) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: heroScan 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroScan {
  0%, 15% { background-position: 100% 0; opacity: 0; }
  25% { opacity: 1; }
  55% { background-position: -100% 0; opacity: 0.85; }
  70%, 100% { background-position: -100% 0; opacity: 0; }
}
.hub-hero .wrap,
.hub-hero .hub-hero-grid {
  position: relative;
  z-index: 1;
}

/* Network person polish */
.network-strip {
  padding: 2.75rem 0 3rem !important;
}
.network-people {
  gap: 1rem !important;
  margin: 1.75rem 0 0.5rem !important;
}
.network-person {
  padding: 1rem 0.55rem 1.1rem !important;
}
.network-person img {
  width: 76px !important;
  height: 76px !important;
}

/* ============================================================
   MOBILE / CELL — full review
   ============================================================ */
@media (max-width: 800px) {
  .hub-hero {
    padding: 1.75rem 0 2.5rem !important;
  }
  .hub-hero-grid {
    gap: 1.5rem !important;
  }
  .hub-photo {
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  .hub-photo::before {
    inset: -8px !important;
  }
  h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem) !important;
  }
  .lead {
    font-size: 0.98rem !important;
  }
  .buy-row {
    justify-content: center !important;
  }
  .buy-row .btn {
    width: 100%;
    max-width: 320px;
  }
  .section {
    padding: 2.5rem 0 !important;
  }
  .top-inner {
    padding: 0.75rem 0 !important;
  }
  .top nav a:not(.nav-buy):not(.nav-keep) {
    display: none;
  }
  .logo-row a {
    min-width: calc(50% - 0.6rem) !important;
    max-width: none;
    flex: 1 1 calc(50% - 0.6rem) !important;
    min-height: 64px !important;
  }
  .logo-row img {
    height: 34px !important;
    max-width: 120px !important;
  }
  .network-people {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .co-squares {
    grid-template-columns: 1fr !important;
  }
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr !important;
  }
  .hub-card {
    grid-template-columns: 88px 1fr !important;
    gap: 0.85rem !important;
  }
  .chips {
    justify-content: center !important;
  }
  .kicker {
    font-size: 0.62rem !important;
  }
}

@media (max-width: 420px) {
  .logo-row a {
    min-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem)) !important;
  }
  .stat-row {
    grid-template-columns: 1fr !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hub-photo::before,
  .hub-hero::after {
    animation: none !important;
  }
  .hub-photo::before {
    background: linear-gradient(135deg, rgba(196,163,90,0.5), rgba(245,166,35,0.25)) !important;
    opacity: 0.7 !important;
  }
}

/* ============================================================
   LOGO RAIL FIX v3 — equal tiles, big readable marks
   FTB on white · Option One square full size · OPT wide
   ============================================================ */
.logo-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)) !important;
  gap: 1rem !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  margin-top: 1.85rem !important;
  padding: 1.25rem 0 0.35rem !important;
  border-top: 1px solid #d5dde8 !important;
  flex-wrap: unset !important;
}
.logo-row::before {
  content: "Partner ecosystem" !important;
  grid-column: 1 / -1 !important;
  flex: unset !important;
  text-align: center !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin: 0 0 0.15rem !important;
}
.logo-row a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100px !important;
  min-height: 100px !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: unset !important;
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  background: #ffffff !important;
  border: 1px solid #c5d0de !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(10, 31, 60, 0.06) !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
  overflow: hidden !important;
}
.logo-row a:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(196, 163, 90, 0.55) !important;
  box-shadow: 0 12px 28px rgba(10, 31, 60, 0.12) !important;
}
.logo-row img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

/* Freedom to Belong — full-color on WHITE (never navy) */
.logo-row a[title="Freedom to Belong"] {
  background: #ffffff !important;
  border-color: #c5d0de !important;
}
.logo-row a[title="Freedom to Belong"] img {
  max-height: 78px !important;
  max-width: 100% !important;
  width: auto !important;
}

/* Option One — square mark: give it room */
.logo-row a[title="Option One Insurance"] {
  background: #0a0a0a !important;
  border-color: #1a1a1a !important;
}
.logo-row a[title="Option One Insurance"] img {
  max-height: 88px !important;
  max-width: 88px !important;
  width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
}

/* OPT Firm — wide wordmark */
.logo-row a[title="OPT Firm"] img,
.logo-row a[title*="OPT"] img {
  max-height: 64px !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* Only pure-white marks need navy plate (Torch Tip) */
.logo-row a[title="American Torch Tip"],
.logo-row a[title*="Torch"] {
  background: #0a1f3c !important;
  border-color: #0a1f3c !important;
}
.logo-row a[title="American Torch Tip"] img {
  max-height: 48px !important;
  filter: none !important;
}

/* APC / USLN / Forever — balanced */
.logo-row a[title="American Photonics"] img,
.logo-row a[title="US Legal Now"] img,
.logo-row a[title="Forever Realty"] img {
  max-height: 56px !important;
  max-width: 100% !important;
}

@media (max-width: 800px) {
  .logo-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .logo-row a {
    height: 92px !important;
    min-height: 92px !important;
    padding: 0.7rem 0.75rem !important;
  }
  .logo-row img {
    max-height: 64px !important;
  }
  .logo-row a[title="Freedom to Belong"] img {
    max-height: 70px !important;
  }
  .logo-row a[title="Option One Insurance"] img {
    max-height: 76px !important;
    max-width: 76px !important;
    width: 76px !important;
    height: 76px !important;
  }
}
@media (max-width: 420px) {
  .logo-row {
    grid-template-columns: 1fr 1fr !important;
  }
  .logo-row a {
    height: 88px !important;
    min-height: 88px !important;
  }
}

/* ============================================================
   LOGO + RING FIX v4 — one line only · personalized · tighter ring
   ============================================================ */
.logo-row,
.logo-row.logo-row-single {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.65rem !important;
  margin-top: 1.5rem !important;
  padding: 1rem 0 0.25rem !important;
  border-top: 1px solid #d5dde8 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  grid-template-columns: none !important;
}
.logo-row::before,
.logo-row.logo-row-single::before {
  content: none !important;
  display: none !important;
}
.logo-row a,
.logo-row.logo-row-single a {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 96px !important;
  max-width: 140px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0.4rem 0.75rem !important;
  background: #ffffff !important;
  border: 1px solid #c5d0de !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(10, 31, 60, 0.05) !important;
}
.logo-row img,
.logo-row.logo-row-single img {
  max-height: 42px !important;
  max-width: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* FTB always white plate, readable */
.logo-row a[title="Freedom to Belong"] {
  background: #ffffff !important;
  border-color: #c5d0de !important;
  min-width: 120px !important;
  max-width: 160px !important;
}
.logo-row a[title="Freedom to Belong"] img {
  max-height: 46px !important;
  max-width: 140px !important;
}

/* Option One only when present — black tile, larger square */
.logo-row a[title="Option One Insurance"] {
  background: #0a0a0a !important;
  border-color: #222 !important;
  min-width: 58px !important;
  max-width: 70px !important;
}
.logo-row a[title="Option One Insurance"] img {
  max-height: 48px !important;
  max-width: 48px !important;
  width: 48px !important;
  height: 48px !important;
}

/* Torch Tip navy plate */
.logo-row a[title="American Torch Tip"],
.logo-row a[title*="Torch"] {
  background: #0a1f3c !important;
  border-color: #0a1f3c !important;
}
.logo-row a[title="American Torch Tip"] img {
  max-height: 34px !important;
}

/* IBM / Microsoft chips */
.logo-row a[title="IBM"] img,
.logo-row a[title="Microsoft"] img {
  max-height: 36px !important;
  max-width: 110px !important;
}

@media (max-width: 800px) {
  .logo-row,
  .logo-row.logo-row-single {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 0.5rem !important;
    gap: 0.5rem !important;
  }
  .logo-row a {
    height: 52px !important;
    min-height: 52px !important;
    min-width: 88px !important;
    max-width: 130px !important;
  }
  .logo-row img { max-height: 36px !important; }
}

/* --- Photon ring: SMALLER + more color --- */
.hub-photo::before {
  inset: -5px !important;
  border-radius: 14px !important;
  padding: 2px !important;
  background: conic-gradient(
    from var(--photon-angle, 0deg),
    #f5a623 0%,
    #ffc65c 8%,
    #c8102e 16%,
    transparent 28%,
    transparent 48%,
    #3d7a8c 58%,
    #5a9aab 66%,
    #f5a623 78%,
    #e8d5a3 88%,
    transparent 96%,
    #f5a623 100%
  ) !important;
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.45)) drop-shadow(0 0 10px rgba(61, 122, 140, 0.25)) !important;
  opacity: 0.95 !important;
  animation: photonOrbit 7s linear infinite !important;
}
/* softer scan */
.hub-hero::after {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 44%,
    rgba(245, 166, 35, 0.1) 50%,
    rgba(61, 122, 140, 0.06) 52%,
    transparent 58%,
    transparent 100%
  ) !important;
}

/* ============================================================
   LOGO v5 — FTB cropped · 1 line (shared)
   ============================================================ */
.logo-row.logo-row-single {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  overflow-x: auto !important;
  padding: 1rem 0.25rem 0.4rem !important;
}
.logo-row.logo-row-single a {
  height: 54px !important;
  min-height: 54px !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0.35rem 0.65rem !important;
  flex: 0 0 auto !important;
}
.logo-row.logo-row-single img {
  max-height: 38px !important;
  max-width: 108px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.logo-row a[title="Freedom to Belong"] {
  background: #fff !important;
}
.logo-row a[title="Freedom to Belong"] img {
  max-height: 44px !important;
  max-width: 130px !important;
}

/* ============================================================
   LOGO v6 — Forever official monogram · FTB clean wordmark
   ============================================================ */
.logo-row a[title="Forever Realty"] {
  background: #ffffff !important;
  border-color: #c5d0de !important;
  padding: 0.3rem 0.7rem !important;
  min-width: 0 !important;
}
.logo-row a[title="Forever Realty"] img {
  max-height: 46px !important;
  max-width: 150px !important;
  width: auto !important;
  height: auto !important;
}
.logo-row a[title="Freedom to Belong"] {
  background: #ffffff !important;
  border-color: #c5d0de !important;
  padding: 0.3rem 0.7rem !important;
}
.logo-row a[title="Freedom to Belong"] img {
  max-height: 46px !important;
  max-width: 150px !important;
  width: auto !important;
  height: auto !important;
}
/* Portfolio cards too */
.co-square .co-logo[src*="logo-forever"],
.co-square .co-logo[src*="logo-ftb"],
img.co-logo[src*="logo-forever"],
img.co-logo[src*="logo-ftb"] {
  height: 44px !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

/* ============================================================
   FIX v7 — NO horizontal scroll · small blue cursor · fit logos
   ============================================================ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
.wrap, .network-strip, .logo-row, main, footer, section {
  max-width: 100%;
  box-sizing: border-box;
}

/* Logo row: ONE line, NO scrollbar, shrink to fit */
.logo-row,
.logo-row.logo-row-single {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.4rem !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;          /* NO barra de correr */
  overflow-x: hidden !important;
  margin-top: 1.25rem !important;
  padding: 0.85rem 0 0.2rem !important;
  border-top: 1px solid #d5dde8 !important;
}
.logo-row::before { display: none !important; content: none !important; }

.logo-row a,
.logo-row.logo-row-single a {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 120px !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0.3rem 0.4rem !important;
  background: #ffffff !important;
  border: 1px solid #d0d8e4 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.logo-row a:hover {
  transform: none !important;
  border-color: rgba(196, 163, 90, 0.45) !important;
  box-shadow: 0 4px 12px rgba(10, 31, 60, 0.08) !important;
}
.logo-row img,
.logo-row.logo-row-single img {
  display: block !important;
  max-height: 34px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Official brand sizing tweaks */
.logo-row a[title="IBM"] img { max-height: 22px !important; }
.logo-row a[title="Carrefour"] img { max-height: 30px !important; }
.logo-row a[title="Freedom to Belong"] img { max-height: 36px !important; }
.logo-row a[title="Forever Realty"] img { max-height: 36px !important; }
.logo-row a[title="Option One Insurance"] {
  background: #0a0a0a !important;
}
.logo-row a[title="Option One Insurance"] img {
  max-height: 36px !important;
  max-width: 36px !important;
}
.logo-row a[title="American Torch Tip"] {
  background: #0a1f3c !important;
}
.logo-row a.logo-sold::after {
  font-size: 0.5rem !important;
  top: 1px !important;
  right: 3px !important;
}

@media (max-width: 800px) {
  .logo-row, .logo-row.logo-row-single {
    overflow-x: hidden !important;
    gap: 0.3rem !important;
  }
  .logo-row a {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0.25rem 0.3rem !important;
  }
  .logo-row img { max-height: 28px !important; }
}

/* --- Cursor glow: SMALL + soft blue (was 320px — too big) --- */
#cursorGlow {
  width: 72px !important;
  height: 72px !important;
  background: radial-gradient(
    circle,
    rgba(61, 122, 140, 0.18) 0%,
    rgba(93, 156, 176, 0.08) 45%,
    transparent 70%
  ) !important;
  mix-blend-mode: multiply !important;
  opacity: 0 !important;
}
#cursorGlow.on {
  opacity: 0.85 !important;
}

/* --- Portrait photon ring: thinner, smaller, soft blue-gold --- */
.hub-photo::before {
  inset: -3px !important;
  border-radius: 13px !important;
  padding: 1.5px !important;
  background: conic-gradient(
    from var(--photon-angle, 0deg),
    rgba(61, 122, 140, 0.75) 0%,
    rgba(90, 154, 171, 0.55) 12%,
    rgba(196, 163, 90, 0.4) 22%,
    transparent 32%,
    transparent 58%,
    rgba(61, 122, 140, 0.5) 72%,
    rgba(245, 166, 35, 0.35) 85%,
    rgba(61, 122, 140, 0.7) 100%
  ) !important;
  filter: drop-shadow(0 0 4px rgba(61, 122, 140, 0.3)) !important;
  opacity: 0.9 !important;
  animation: photonOrbit 10s linear infinite !important;
}
.hub-hero::after {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 46%,
    rgba(61, 122, 140, 0.06) 50%,
    rgba(196, 163, 90, 0.05) 52%,
    transparent 56%,
    transparent 100%
  ) !important;
  opacity: 0.7 !important;
}

/* ============================================================
   LOGO UNIFORM v8 — every tile identical (US Legal standard)
   Same box · same padding · same object-fit · no overflow
   ============================================================ */
html, body { overflow-x: hidden !important; }

.logo-row,
.logo-row.logo-row-single,
.logo-row.logo-row-uniform {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.25rem 0 0 !important;
  padding: 1rem 0 0 !important;
  border-top: 1px solid #d5dde8 !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
}
.logo-row::before { display: none !important; content: none !important; }

/* Identical cells — THIS is why US Legal looked good */
.logo-row a,
.logo-row.logo-row-uniform a,
.logo-row.logo-row-single a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 6px 8px !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #d5dde8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transform: none !important;
}
.logo-row a:hover {
  transform: none !important;
  border-color: #c4a35a !important;
  box-shadow: 0 2px 8px rgba(10,31,60,0.08) !important;
}

/* Images fill the cell the SAME way — no special sizes per brand */
.logo-row a img,
.logo-row.logo-row-uniform a img,
.logo-row.logo-row-single a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Kill all brand-specific overrides that broke alignment */
.logo-row a[title="Freedom to Belong"],
.logo-row a[title="Forever Realty"],
.logo-row a[title="IBM"],
.logo-row a[title="Microsoft"],
.logo-row a[title="Carrefour"],
.logo-row a[title="American Photonics"],
.logo-row a[title="US Legal Now"],
.logo-row a[title="Option One Insurance"],
.logo-row a[title="American Torch Tip"],
.logo-row a[title*="Granite"],
.logo-row a[title*="OPT"],
.logo-row a[title*="Pao"] {
  background: #ffffff !important;
  border-color: #d5dde8 !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 6px 8px !important;
  height: 56px !important;
}
.logo-row a[title="Freedom to Belong"] img,
.logo-row a[title="Forever Realty"] img,
.logo-row a[title="IBM"] img,
.logo-row a[title="Microsoft"] img,
.logo-row a[title="Carrefour"] img,
.logo-row a[title="Option One Insurance"] img,
.logo-row a[title="American Torch Tip"] img,
.logo-row a.logo-sold img {
  max-height: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.logo-row a.logo-sold::after {
  content: "sold";
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa6b8;
  line-height: 1;
}
.logo-row a.logo-sold { position: relative; }

@media (max-width: 700px) {
  .logo-row, .logo-row.logo-row-uniform {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
  }
  .logo-row a {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}

/* perf v9 — no mouse shade, hide canvas */
#cursorGlow { display: none !important; }
#sparkCanvas { display: none !important; pointer-events: none !important; }

/* ===== ORIGINAL logo-row RESTORED (pre logo experiments) ===== */
#brand-strip,
.brand-strip,
.brand-strip-grid,
.brand-strip-label { display: none !important; }

.logo-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0.5rem !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
  overflow: visible !important;
  grid-template-columns: none !important;
}
.logo-row::before { display: none !important; content: none !important; }
.logo-row a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0.45rem 0.9rem !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid #d5dde8 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  flex: 0 0 auto !important;
  transform: none !important;
  overflow: hidden !important;
}
.logo-row a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(10, 31, 60, 0.1) !important;
  border-color: #c4a35a !important;
}
.logo-row img {
  display: block !important;
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
  max-width: 130px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ===== LOGO ROW sizes (keep best size) + single horizontal row ===== */
#brand-strip, .brand-strip { display: none !important; }
.logo-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0.75rem !important;
}
.logo-row a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0.45rem 0.9rem !important;
  background: #fff !important;
  border: 1px solid #d5dde8 !important;
  border-radius: 8px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  overflow: hidden !important;
}
.logo-row img {
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
}

/* logo-row original sizes — horizontal */
#brand-strip,.brand-strip{display:none!important}
.logo-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:.75rem!important;justify-content:center!important;align-items:center!important;margin-top:.75rem!important}
.logo-row a{display:flex!important;align-items:center!important;justify-content:center!important;height:52px!important;min-height:52px!important;max-height:52px!important;padding:.45rem .9rem!important;background:#fff!important;border:1px solid #d5dde8!important;border-radius:8px!important;flex:0 0 auto!important;width:auto!important;overflow:hidden!important}
.logo-row img{height:32px!important;width:auto!important;max-height:32px!important;max-width:130px!important;object-fit:contain!important;display:block!important}

/* ===== FTB size match US Legal Now (FTB PNG has more padding; bump only FTB) ===== */
.logo-row a[title="Freedom to Belong"] {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0.25rem 0.75rem !important;
}
.logo-row a[title="Freedom to Belong"] img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 155px !important;
  object-fit: contain !important;
}
/* Keep US Legal at baseline so FTB can match its visual weight */
.logo-row a[title="US Legal Now"] img {
  height: 36px !important;
  max-height: 36px !important;
  max-width: 140px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ===== Language respect accents (subtle — not full-page paint) =====
   EN: American blue / red / white hint
   PT: Brazilian green / yellow / blue hint
   ES: Hispanic red / gold warmth
*/
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.top-inner .lang-switch {
  order: 3;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.lang-btn.is-active {
  background: #fff;
  color: #0a1f3c;
}

/* Thin top ribbon — language identity without dominating design */
html[data-lang="en"] body::before,
html[data-lang="pt"] body::before,
html[data-lang="es"] body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  pointer-events: none;
}
html[data-lang="en"] body::before {
  background: linear-gradient(
    90deg,
    #0a1f3c 0%,
    #3c3b6e 25%,
    #b22234 50%,
    #ffffff 62%,
    #b22234 74%,
    #0a1f3c 100%
  );
}
html[data-lang="pt"] body::before {
  background: linear-gradient(
    90deg,
    #009c3b 0%,
    #ffdf00 48%,
    #002776 100%
  );
}
html[data-lang="es"] body::before {
  background: linear-gradient(
    90deg,
    #aa151b 0%,
    #f1bf00 50%,
    #aa151b 100%
  );
}

/* Soft hero corner wash — respect without rewriting the whole palette */
html[data-lang="en"] .hub-hero {
  box-shadow: inset 0 -1px 0 rgba(178, 34, 52, 0.12);
}
html[data-lang="en"] .hub-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  pointer-events: none;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(178, 34, 52, 0.14) 0%,
    rgba(178, 34, 52, 0) 68%
  );
  z-index: 0;
}
html[data-lang="pt"] .hub-hero {
  box-shadow: inset 0 -1px 0 rgba(0, 156, 59, 0.16);
}
html[data-lang="pt"] .hub-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  pointer-events: none;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(255, 223, 0, 0.12) 0%,
    rgba(0, 156, 59, 0.1) 40%,
    transparent 70%
  );
  z-index: 0;
}
html[data-lang="es"] .hub-hero {
  box-shadow: inset 0 -1px 0 rgba(170, 21, 27, 0.14);
}
html[data-lang="es"] .hub-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  pointer-events: none;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(241, 191, 0, 0.14) 0%,
    rgba(170, 21, 27, 0.1) 42%,
    transparent 70%
  );
  z-index: 0;
}
.hub-hero {
  position: relative;
  overflow: hidden;
}
.hub-hero > .wrap {
  position: relative;
  z-index: 1;
}

/* Small label under switcher area on very wide screens */
.lang-switch::after {
  content: none;
}

@media (max-width: 720px) {
  .lang-switch {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    order: 10;
  }
  .lang-btn {
    flex: 1;
    text-align: center;
    padding: 0.45rem 0.4rem;
  }
}

