/* Young & Bright - shared styles. Brand: navy #00308f, cyan #15c2e8, green #92C348 */
:root {
  --navy: #00308f;
  --navy-deep: #00205f;
  --cyan: #15c2e8;
  --green: #92c348;
  --orange: #f7941d;
  --orange-dark: #e07f08;
  --ink: #14213d;
  --muted: #55627a;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --line: #dbe4f0;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--cyan); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-deep); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-deep); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
/* header monogram: a pre-cropped image (assets/yb-mark.png), no text remnants */
.brand-mark { flex: none; line-height: 0; }
.brand-mark img { display: block; height: 44px; width: auto; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--cyan); }

/* Header call-to-action button: keep button colors, no menu underline */
.nav a.btn-accent, .nav a.btn-accent:hover, .nav a.btn-accent[aria-current="page"] { color: var(--navy-deep); border-bottom: 2px solid transparent; }
.nav a.btn-accent { background: var(--orange); }
.nav a.btn-accent:hover { background: var(--orange-dark); }

/* Services dropdown */
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: " \25BE"; font-size: .8em; }
.nav .has-sub > a:hover, .nav .has-sub > a[aria-current="page"] { border-bottom: 0; }
.nav .sub { display: none; position: absolute; left: -12px; top: 100%; min-width: 290px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 24px rgba(0, 32, 95, .12); z-index: 60; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .sub a { display: block; padding: 9px 18px; border-bottom: 0; }
.nav .sub a:hover { background: var(--bg-soft); border-bottom: 0; }
.nav .sub .sub-label { padding: 8px 18px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.nav .sub .sub-label.sub-gap { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.nav .sub .sub-in a { padding-left: 32px; }
.nav .sub .sub-sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav .sub small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-accent { background: var(--orange); color: var(--navy-deep); }
.btn-accent:hover { background: var(--orange-dark); color: var(--navy-deep); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 84px 0 76px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; max-width: 60ch; color: #dbe7ff; }
.hero .eyebrow { color: var(--cyan); }
.hero { position: relative; overflow: hidden; }
/* Light texture + warm orange hue on the blue banners (kept low-contrast and away from the text) */
.page-head, .cta {
  background:
    radial-gradient(ellipse 80% 220% at 100% 130%, rgba(247,148,29,.72), rgba(247,148,29,.28) 45%, rgba(247,148,29,0) 75%),
    radial-gradient(ellipse 45% 120% at 0% 0%, rgba(21,194,232,.18), rgba(21,194,232,0) 70%),
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.5px) 0 0 / 20px 20px,
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.hero {
  background:
    radial-gradient(ellipse 75% 120% at 100% 105%, rgba(247,148,29,.72), rgba(247,148,29,.28) 45%, rgba(247,148,29,0) 75%),
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(21,194,232,.18), rgba(21,194,232,0) 70%),
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.5px) 0 0 / 20px 20px,
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.hero-ai { position: absolute; inset: 0; background-image: url(../assets/hero-ai.webp), url(../assets/hero-ai.webp), url(../assets/hero-ai.webp); background-repeat: no-repeat; background-position: left 3% bottom 8%, center bottom 8%, right 3% bottom 8%; background-size: auto min(54%, 24vw); opacity: .13; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 30%, rgba(0,0,0,.2) 100%); mask-image: linear-gradient(to bottom, #000 30%, rgba(0,0,0,.2) 100%); }
.hero-grid { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.foot-badge { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 16px; line-height: 0; }
.foot-badge img { display: block; height: 92px; width: auto; }
.tagline { font-size: clamp(.85rem, 1.55vw, 1.05rem); font-weight: 800; letter-spacing: .07em; text-wrap: balance; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.tagline span { color: var(--orange); }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art .edge { stroke: #15c2e8; stroke-opacity: .28; stroke-width: 1.2; fill: none; }
.hero-art .pulse { stroke: #15c2e8; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 14 130; animation: flow 4s linear infinite; }
.hero-art .node { animation: glow 3.2s ease-in-out infinite; }
@keyframes flow { from { stroke-dashoffset: 144; } to { stroke-dashoffset: 0; } }
@keyframes glow { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hero-art .pulse, .hero-art .node { animation: none; } .hero-art .pulse { stroke-dasharray: none; stroke-opacity: .35; } }
.foot-tag { color: #fff; font-weight: 600; letter-spacing: .03em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }

/* Sections */
section { padding: 68px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: var(--radius); padding: 24px; }
.card .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--bg-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 62px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--navy-deep); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; color: var(--navy-deep); }

.two-col { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) translateY(-50%); }

.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dbe7ff; max-width: 56ch; margin: 0 auto 24px; }

/* Founder / bio */
.founder { display: grid; gap: 40px; grid-template-columns: 300px 1fr; align-items: start; }
.portrait { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.founder-name { margin-bottom: .1em; }
.founder-title { color: var(--muted); font-weight: 600; margin-bottom: 1.2em; }
.facts { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) translateY(-50%); }
.page-head { color: #fff; padding: 56px 0 48px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head .eyebrow { color: var(--cyan); }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }

/* Insights */
.post-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.post-card { display: flex; flex-direction: column; }
.post-card h3 { margin-bottom: .4em; }
.post-card h3 a { text-decoration: none; }
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.post-card .more { margin-top: auto; padding-top: 14px; }
.article { max-width: 760px; }
.article h2 { margin-top: 1.8em; font-size: 1.5rem; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article .meta { color: var(--muted); font-size: .95rem; margin-bottom: 1.5em; }
.article .note { background: var(--bg-soft); border-left: 4px solid var(--cyan); padding: 14px 18px; border-radius: 6px; font-size: .95rem; color: var(--muted); }
.article-cta { margin-top: 2.2em; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy-deep); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #b8c5d8; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--navy); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 16px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: #eaf7e0; border: 1px solid var(--green); }
.form-status.err { display: block; background: #fdecec; border: 1px solid #d9534f; }
.side-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
@media (max-width: 800px) { .form .row { grid-template-columns: 1fr; } }

/* Framework diagrams */
.fig { margin: 0; max-width: 560px; width: 100%; justify-self: center; }
.fig svg { display: block; width: 100%; height: auto; }
.fig-wide { max-width: 860px; }
.fig figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }
.steps.col { grid-template-columns: 1fr; }
.legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 10px 0 0; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 7px; margin: 0; }
.sw { width: 18px; height: 18px; border-radius: 4px; display: inline-block; border: 1px solid rgba(0, 32, 95, .25); }
.sw-red { background: repeating-linear-gradient(45deg, #c62828 0 4px, #8e1b1b 4px 8px); }

/* BRIGHT framework + self-assessment */
.map { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map th, .map td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.map th { background: var(--navy); color: #fff; }
.progress { position: sticky; top: 68px; background: #fff; padding: 8px 0; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); z-index: 5; }
.q-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px 14px; margin: 18px 0; }
.q-group legend { font-weight: 700; color: var(--navy-deep); padding: 0 8px; }
.q { margin: 16px 0; }
.q-text { margin-bottom: 8px; font-weight: 500; }
.q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.q-opt { display: flex; align-items: center; gap: 6px; border: 1px solid #b8c5d8; border-radius: 8px; padding: 7px 11px; cursor: pointer; font-size: .92rem; background: #fff; }
.q-opt:hover { border-color: var(--navy); }
.q-opt:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.q-opt:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.overall { font-size: 1.25rem; font-weight: 700; color: var(--navy-deep); }
.bar-row { display: grid; grid-template-columns: 230px 1fr 40px; gap: 12px; align-items: center; margin: 10px 0; }
.bar-track { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; height: 16px; overflow: hidden; }
.bar-fill { background: var(--navy); height: 100%; border-radius: 999px; }
.bar-val { font-weight: 700; text-align: right; }
@media (max-width: 800px) { .bar-row { grid-template-columns: 1fr 40px; } .bar-label { grid-column: 1 / -1; } .progress { top: 0; } }

/* AI assistant widget */
.ai-launch { position: fixed; left: 14px; top: 82px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--navy); color: #fff; border: 2px solid #fff; border-radius: 999px; min-width: 46px; height: 46px; padding: 0 13px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 32, 95, .3); }
.ai-launch .ai-label { display: none; }
.ai-icon { flex: none; }
.ai-star-big, .ai-star-small { fill: var(--orange, #f7941d); }
.ai-star-small { fill: #fff; }
@media (min-width: 1560px) { .ai-launch { padding: 0 20px 0 15px; } .ai-launch .ai-label { display: inline; } }
.ai-launch:hover { background: var(--navy-deep); }
@media (max-width: 860px) { .ai-launch { left: auto; right: 14px; top: auto; bottom: 14px; } .ai-panel { left: 12px; right: 12px; width: auto; top: 76px; max-height: calc(100vh - 150px); } }
.ai-panel { padding: 0; position: fixed; left: 14px; top: 136px; z-index: 91; width: min(380px, calc(100vw - 28px)); height: auto; max-height: calc(100vh - 152px); min-height: 280px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 32, 95, .28); overflow: hidden; }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; padding: 12px 16px; }
.ai-title { display: inline-flex; align-items: center; gap: 6px; }
.ai-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.ai-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; white-space: pre-wrap; font-size: .95rem; line-height: 1.45; }
.ai-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.ai-msg.user { background: var(--navy); color: #fff; align-self: flex-end; }
.ai-msg.pending { color: var(--muted); font-style: italic; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; background: var(--bg-soft); }
.ai-chip { border: 1px solid var(--navy); color: var(--navy); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.ai-chip:hover { background: var(--navy); color: #fff; }
.ai-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; padding: 10px 12px; border: 1px solid #b8c5d8; border-radius: 8px; font: inherit; }
.ai-send { background: var(--orange); color: var(--navy-deep); border: 0; border-radius: 8px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; }
.ai-send:disabled { opacity: .6; cursor: default; }
.ai-note { margin: 0; padding: 0 14px 12px; font-size: .78rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d6f0; padding: 44px 0 26px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.fine { border-top: 1px solid #234a99; margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #9fb2d8; }

/* Mobile */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav .sub { display: flex; position: static; min-width: 0; border: 0; box-shadow: none; padding: 6px 0 0 14px; gap: 2px; }
  .nav .sub a { padding: 6px 0; }
  .nav .sub .sub-label { padding: 6px 0 0; }
  .nav .sub .sub-in a { padding-left: 14px; }
  .nav .has-sub > a::after { content: ""; }
  .two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 52px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; margin: 0 auto; }
  section { padding: 48px 0; }
}
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

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

/* People band under the hero */
.people-band { --pw: max(118vw, 1500px); --ch: 124px; --t: min(0px, calc(18px + var(--ch) + 28px - var(--pw) * .1434)); position: relative; height: calc(var(--pw) * .345 + var(--t)); background: #fff; overflow: hidden; padding: 0; }
@media (max-width: 1299px) { .people-band { --ch: 136px; } }
.people-band img { display: block; position: absolute; left: 0; top: var(--t); width: var(--pw); height: auto; max-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); }
.people-band .wrap { position: absolute; left: 0; right: 0; top: 18px; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: var(--ch); align-items: stretch; gap: 20px; pointer-events: none; }
.people-card { pointer-events: auto; box-sizing: border-box; background: rgba(255,255,255,.93); border-left: 5px solid var(--cyan); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; box-shadow: 0 12px 30px rgba(0,32,95,.14); }
.people-card.pods { border-left-color: var(--cyan); }
.people-card.alt { background: rgba(0,32,95,.94); border-left-color: var(--cyan); color: #dbe7ff; }
.people-card.alt h2 { color: #fff; }
.people-card.alt .eyebrow { color: var(--cyan); }
.people-card.alt a.more { color: #fff; font-weight: 600; }
.people-card h2 { font-size: 1.05rem; line-height: 1.25; margin: 4px 0 6px; }
.people-card p { font-size: .88rem; line-height: 1.4; margin: 0 0 6px; }
.people-card .eyebrow { font-size: .72rem; margin-bottom: 0; }
.people-card p:last-child { margin-bottom: 0; }
@media (max-width: 1150px) { .people-band { height: auto; --t: 0px; display: flex; flex-direction: column; } .people-band img { position: static; order: 1; width: 100%; height: 280px; object-fit: cover; object-position: 30% 0; -webkit-mask-image: none; mask-image: none; } .people-band .wrap { position: relative; order: 2; top: auto; display: block; grid-auto-rows: auto; margin-top: -28px; } .people-card { max-width: none; } }

/* Real Intelligence theme */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.real .section-head p { color: var(--ink); }
.eq { display: flex; align-items: stretch; justify-content: center; gap: 16px; margin: 8px 0 44px; flex-wrap: wrap; }
.eq-tile { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: var(--radius); padding: 22px 18px; }
.eq-tile strong { font-size: 1.5rem; line-height: 1.15; color: var(--navy-deep); }
.eq-small { font-size: .85rem; color: var(--muted); }
.eq-result { flex-basis: 300px; max-width: 340px; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-color: var(--navy); border-top-color: var(--cyan); }
.eq-result strong { color: var(--orange); font-size: 1.7rem; letter-spacing: .04em; }
.eq-result .eq-small { color: #dbe7ff; }
.eq-op { align-self: center; font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.real-sub { text-align: center; margin: 0 0 18px; color: var(--navy-deep); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid-5 .card h3 { font-size: 1.05rem; }
.real-note { margin: 26px auto 0; max-width: 70ch; text-align: center; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .eq-op { width: 100%; text-align: center; font-size: 1.8rem; } }

/* Equation on the photo */
.people-band .wrap.eq-photo { display: flex; align-items: stretch; justify-content: center; gap: 14px; grid-template-columns: none; margin: 0 auto; }
.eq-photo .eq-tile { flex: 1 1 0; max-width: 340px; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(0,32,95,.16); padding: 18px 20px; border-top-width: 5px; }
.eq-photo .eq-tile strong { font-size: 1.5rem; }
.eq-photo .eq-result { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); max-width: 360px; }
.eq-photo .eq-result strong { font-size: 1.7rem; letter-spacing: .03em; }
.eq-photo .eq-small { font-size: .85rem; }
.eq-photo .eq-op { align-self: center; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; box-shadow: 0 6px 16px rgba(0,32,95,.18); }
@media (max-width: 1150px) { .people-band .wrap.eq-photo { display: flex; flex-direction: column; align-items: stretch; margin-top: -28px; } .eq-photo .eq-tile, .eq-photo .eq-result { max-width: none; flex: 0 0 auto; } .eq-photo .eq-op { align-self: center; width: 34px; height: 34px; font-size: 1.3rem; } }
/* Message cards below */
.real-sub2 { margin-top: 44px; }
.msg-cards { margin-top: 4px; }
.msg.people-card { padding: 22px 24px; background: #fff; box-shadow: none; border: 1px solid var(--line); border-left-width: 5px; }
.msg.people-card.alt { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-color: var(--navy); border-left-color: var(--cyan); }
.msg.people-card h2 { font-size: 1.3rem; }
.msg.people-card p { font-size: 1rem; }
.msg.people-card .eyebrow { font-size: .8rem; }
.msg.people-card { border-left-color: var(--cyan); }
.msg.people-card.pods { border-left-color: var(--cyan); }
.msg.people-card.alt { border-left-color: var(--cyan); }

/* Ai / Ri glyphs behind the equation tiles */
.eq-photo .eq-tile { position: relative; overflow: hidden; }
.eq-photo .eq-tile > strong, .eq-photo .eq-tile > .eq-small { position: relative; z-index: 1; }
.eq-glyph { position: absolute; right: 8px; bottom: -8px; font-size: 5.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy); opacity: .13; pointer-events: none; user-select: none; }
.eq-result .eq-glyph { color: var(--orange); opacity: .42; }
