/* ==========================================================================
   Barra Point Advisory — site stylesheet
   Brand colours are taken from the logo. Change them here and the whole
   site updates.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --navy: #0A2540;
  --navy-deep: #061A2E;
  --teal: #00695C;
  --teal-bright: #00897B;
  --teal-soft: #E0F0EE;
  --paper: #F8FAFC;
  --paper-2: #EEF2F6;
  --ink: #1E293B;
  --ink-soft: #475569;
  --line: #DCE3EA;
  --white: #ffffff;
  --red: #b4432f;
  --amber: #c98a1b;
  --green: #2e7d4f;

  --sans: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(6, 27, 48, .06), 0 8px 24px rgba(6, 27, 48, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.sans { font-family: var(--sans); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 650; font-size: .95rem;
  padding: .9rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  background: var(--navy); color: var(--white);
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--teal-soft); border-color: var(--teal-soft); color: var(--navy); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow {
  font-family: var(--sans); font-weight: 650; font-size: .92rem;
  text-decoration: none; color: var(--teal);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { font-family: var(--sans); line-height: 1; }
.brand-text b { display: block; color: var(--navy); font-weight: 700; font-size: 1.2rem; letter-spacing: .5px; }
.brand-text span { display: block; color: var(--teal); font-weight: 400; font-size: .54rem; letter-spacing: 4px; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--teal); transition: right .2s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .65rem 1.1rem; font-size: .88rem; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.5rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; width: auto; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #d5dee8; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: #6fd0bd; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { max-width: 34em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-mark {
  position: absolute; right: -140px; top: -60px; width: 560px; opacity: .05; pointer-events: none;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
}

/* Status card: the "reported vs actual" signature element */
.status-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  font-size: .9rem;
  position: relative;
}
.status-card header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700;
}
.status-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 20px; border-bottom: 1px solid #E8EDF2; }
.status-row:last-of-type { border-bottom: 0; }
.status-row .k { color: var(--ink); font-weight: 600; }
.pill {
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap; text-align: center; min-width: 74px;
}
.pill--g { background: #e2f1e7; color: var(--green); }
.pill--a { background: #fbefd6; color: #94630c; }
.pill--r { background: #f8e0da; color: var(--red); }
.status-cols { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 20px 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.status-cols span:nth-child(2), .status-cols span:nth-child(3) { min-width: 74px; text-align: center; }
.status-card footer {
  background: var(--navy); color: var(--white);
  padding: 16px 20px; border-radius: 0 0 6px 6px;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 500;
}

/* ---------- Client strip ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.clients .wrap { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.clients .label { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; }
.clients li { font-family: var(--sans); font-weight: 700; color: var(--navy); opacity: .75; font-size: 1rem; letter-spacing: .01em; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.card .num { font-family: var(--sans); font-weight: 800; color: var(--teal); font-size: .82rem; letter-spacing: .1em; margin-bottom: 1.2rem; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: 1.02rem; color: var(--ink-soft); }
.card .link-arrow { margin-top: auto; }
.card ul { padding-left: 1.1em; margin: 0 0 1.4em; font-size: 1rem; color: var(--ink-soft); }
.card ul li { margin-bottom: .35em; }

.card--feature { border-top: 4px solid var(--teal); }

/* ---------- Signals list ---------- */
.signals { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .signals { grid-template-columns: 1fr; gap: 32px; } }
.signal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.signal-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 1.08rem; color: #e6edf3;
}
.signal-list li b { display: block; font-family: var(--sans); color: var(--white); font-size: 1rem; margin-bottom: 2px; }
.signal-list .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 8px; }
.dot--r { background: #e0634b; box-shadow: 0 0 0 5px rgba(224, 99, 75, .18); }
.dot--a { background: #e6a93a; box-shadow: 0 0 0 5px rgba(230, 169, 58, .18); }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.outcome { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.outcome .big { font-family: var(--sans); font-weight: 800; font-size: 2.3rem; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-bottom: .6rem; }
.outcome p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.outcome .who { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-top: .9rem; display: block; }
@media (max-width: 900px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--sans); font-weight: 800; font-size: .85rem; color: var(--teal);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--navy);
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product { position: relative; }
.product .tag {
  align-self: flex-start;
  font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 1.2rem;
}
.tag--live { background: #e2f1e7; color: var(--green); }
.tag--soon { background: var(--teal-soft); color: var(--teal); }
.tag--plan { background: #EEF2F6; color: var(--ink-soft); }
.product .meta { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); margin: -.2rem 0 1rem; font-weight: 600; }
.product .price { font-family: var(--sans); font-weight: 800; color: var(--navy); font-size: 1.15rem; margin-bottom: 1rem; }

/* ---------- Insights list ---------- */
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.post-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .cat { font-family: var(--sans); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { font-size: .98rem; color: var(--ink-soft); }
.post-card .date { margin-top: auto; font-family: var(--sans); font-size: .78rem; color: var(--ink-soft); font-weight: 600; }

.series { margin-bottom: 72px; }
.series-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 14px; margin-bottom: 28px; }
.series-head h2 { margin: 0; font-size: 1.6rem; }
.series-head p { margin: 0; font-size: 1rem; }

/* ---------- Page header ---------- */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head .lead { max-width: 40em; }
.breadcrumb { font-family: var(--sans); font-size: .82rem; font-weight: 600; margin-bottom: 1.4rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
.service .side .num { font-family: var(--sans); font-weight: 800; color: var(--teal); font-size: .85rem; letter-spacing: .1em; margin-bottom: 1rem; }
.service .side h2 { font-size: 1.8rem; }
.service .side .for { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.service .body h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.service .body ul { padding-left: 1.1em; }
.service .body li { margin-bottom: .4em; }
.callout { background: var(--white); border-left: 4px solid var(--teal); padding: 20px 24px; margin: 1.8rem 0; font-size: 1.05rem; border-radius: 0 6px 6px 0; }
.callout p:last-child { margin: 0; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Article ---------- */
.article-head { padding: 64px 0 40px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.article-meta { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); font-weight: 600; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 2rem 0; padding: 0 0 0 24px; border-left: 3px solid var(--teal); font-family: var(--sans); font-weight: 500; color: var(--navy); font-size: 1.3rem; }
.prose .standfirst { font-size: 1.3rem; line-height: 1.55; color: var(--navy); }
.article-foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.series-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.series-nav a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; text-decoration: none; }
.series-nav a:hover { border-color: var(--teal); }
.series-nav small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 4px; }
.series-nav span { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.35; }
.series-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .series-nav { grid-template-columns: 1fr; } .series-nav .next { grid-column: 1; } }

.author-box { display: flex; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 40px; }
.author-box img { width: 64px; height: 64px; }
.author-box p { margin: 0; font-size: 1rem; }
.author-box b { font-family: var(--sans); color: var(--navy); }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.buy-box { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; box-shadow: var(--shadow); }
.buy-box .price { font-family: var(--sans); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1; }
.buy-box .price small { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.buy-box ul { list-style: none; padding: 0; margin: 1.4rem 0; font-family: var(--sans); font-size: .9rem; }
.buy-box li { padding: 8px 0; border-bottom: 1px solid #E8EDF2; display: flex; justify-content: space-between; gap: 1rem; }
.buy-box li span:first-child { color: var(--ink-soft); }
.buy-box li span:last-child { font-weight: 650; color: var(--navy); text-align: right; }
.buy-box .btn { width: 100%; justify-content: center; }
.buy-box .fine { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; font-family: var(--sans); }
@media (max-width: 920px) { .product-layout { grid-template-columns: 1fr; } .buy-box { position: static; } }

.contents-list { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.contents-list li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contents-list li::before { content: counter(c, decimal-leading-zero); font-family: var(--sans); font-weight: 800; color: var(--teal); font-size: .9rem; padding-top: 3px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-family: var(--sans); font-size: .85rem; font-weight: 650; color: var(--navy); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem;
  padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { display: none; }
.form-note { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); }
.form-status { font-family: var(--sans); font-size: .95rem; font-weight: 600; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e2f1e7; color: var(--green); }
.form-status.err { display: block; background: #f8e0da; color: var(--red); }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; font-family: var(--sans); font-size: 1rem; padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: var(--radius); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-aside > div:first-child { padding-top: 0; }
.contact-aside h3 { font-size: 1rem; margin-bottom: .4em; }
.contact-aside p { font-size: 1rem; margin: 0; color: var(--ink-soft); }
.availability { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 650; font-size: .9rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; }
.availability::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(201,138,27,.18); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.portrait-slot {
  aspect-ratio: 4 / 5; background: var(--navy); border-radius: 6px; display: grid; place-items: center;
  overflow: hidden; position: relative;
}
.portrait-slot img.mark { width: 55%; opacity: .9; filter: brightness(0) invert(1); opacity: .16; }
.portrait-slot .cap { position: absolute; bottom: 16px; left: 16px; right: 16px; font-family: var(--sans); font-size: .78rem; color: #9fb3c6; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); }
.timeline .when { font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.timeline h3 { font-size: 1.08rem; margin: .2em 0 .3em; }
.timeline h3 span { font-weight: 600; color: var(--ink-soft); }
.timeline p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 24px; font-family: var(--sans); font-size: .9rem; }
.facts dt { font-weight: 700; color: var(--ink-soft); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 4px 0 0; color: var(--navy); font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--sans); font-size: .8rem; font-weight: 650; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #d7efe9; font-size: 1.15rem; margin: 0; max-width: 36em; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }

/* ---------- Partner band ---------- */
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; gap: 32px; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.check-list li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb3c6; padding: 72px 0 32px; font-family: var(--sans); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #c9d6e2; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-text b { display: block; color: var(--navy); font-weight: 700; font-size: 1.2rem; letter-spacing: .5px; }
.site-footer .brand-text span { display: block; color: var(--teal); font-weight: 400; font-size: .54rem; letter-spacing: 4px; margin-top: 3px; }

.footer-about { margin-top: 1.2rem; max-width: 28em; line-height: 1.6; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Small screens: keep the status card inside the viewport */
@media (max-width: 520px) {
  .status-row, .status-cols { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .status-card header { padding: 12px 14px; }
  .pill { min-width: 0; font-size: .6rem; padding: 4px 7px; white-space: normal; }
  .status-cols span:nth-child(2), .status-cols span:nth-child(3) { min-width: 0; }
  .status-card footer { padding: 14px; }
}
html, body { overflow-x: clip; }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a, .contact-aside a { overflow-wrap: anywhere; }
.prose .contents-list { padding-left: 0; } .prose .contents-list li { margin: 0; }

/* ===== Brand illustrations: "Convergence & Clarity" streams ===== */
.hero, .page-head, .case-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-streams, .head-streams, .case-hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-streams { opacity: .55; }
.head-streams { opacity: .35; }
.hero-mark { display: none; }
@media (max-width: 960px) { .hero-streams { opacity: .25; } }

.spec-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-family: var(--sans); font-size: .95rem; }
.spec-links span { color: var(--ink-soft); font-weight: 600; }
.spec-links a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--teal-soft); }
.spec-links a:hover { border-color: var(--teal); }

a.outcome { text-decoration: none; transition: background .2s; }
a.outcome:hover { background: var(--teal-soft); }

/* Case cards */
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.case-art { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #0d3550 60%, #0a4a4a 100%); height: 170px; }
.case-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-stat { position: absolute; left: 22px; bottom: 18px; right: 22px; color: var(--white); font-family: var(--sans); }
.case-stat b { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.case-stat span { display: block; font-size: .82rem; color: #B7D7D2; margin-top: 6px; }
.case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-body .cat { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.case-body h3 { font-size: 1.12rem; line-height: 1.35; }
.case-body .link-arrow { margin-top: auto; padding-top: .6rem; }

/* Case study page */
.case-hero { background: linear-gradient(135deg, var(--navy) 0%, #0b3049 65%, #08433F 100%); color: #CBD5E1; padding: 72px 0 64px; }
.case-hero h1 { color: var(--white); max-width: 18em; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.case-hero .lead { color: #CBD5E1; max-width: 42em; }
.case-hero .eyebrow { color: #6FD0BD; }
.case-hero .breadcrumb, .case-hero .breadcrumb a { color: #9FB3C8; }
.case-hero-svg { opacity: .6; }
.case-hero-stat { margin-top: 2rem; display: inline-flex; align-items: baseline; gap: 14px; font-family: var(--sans); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 14px 20px; }
.case-hero-stat b { color: var(--white); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; }
.case-hero-stat span { color: #B7D7D2; font-size: .95rem; }
.case-layout { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
@media (max-width: 920px) { .case-layout { grid-template-columns: 1fr; gap: 32px; } }
.outcome-box { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 8px; padding: 28px; position: sticky; top: 100px; }
.outcome-box ul { list-style: none; padding: 0; margin: 0 0 .5rem; }
.outcome-box li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-family: var(--sans); font-weight: 500; color: var(--navy); font-size: 1.02rem; line-height: 1.4; }
.outcome-box li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--sans); font-weight: 600; font-size: 1.12rem; color: var(--navy); padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--ink-soft); }

/* About portrait placeholder */
.portrait-slot { background: linear-gradient(160deg, var(--navy), #08433F); }
.portrait-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.portrait-slot img.mark { position: relative; width: 38%; filter: none; opacity: .95; }
.prose .tags { margin-bottom: 1rem; }
.prose .tags span { font-size: .85rem; }
.hero-streams, .head-streams { -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 72%); mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 72%); }
.hero-streams { opacity: .8; }
.portrait-slot img.mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40%; margin: 0; }
