/* Bravo 9 · BASIRA Analytics */

:root {
  --navy: #0F1B3D;
  --navy-deep: #0A1330;
  --navy-raise: #16244D;
  --navy-line: #25355F;
  --gold: #C9A227;
  --gold-soft: #E0C36A;
  --gold-ink: #7A6114;      /* gold for text on light backgrounds (AA contrast) */
  --white: #FFFFFF;
  --paper: #F5F3EE;
  --ink: #0F1B3D;
  --text-on-dark: #D7DCE8;
  --muted-on-dark: #9AA5BF;
  --muted-on-light: #4A5572;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 48, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.wordmark-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--muted-on-dark);
  transition: color 0.15s;
}
.nav a:hover { color: var(--white); }
.nav .nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 7px 16px;
}
.nav .nav-cta:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 820px) {
  .nav li:not(:last-child) { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost { color: var(--white); border-color: var(--navy-line); }
.btn-ghost:hover { border-color: var(--white); }
.btn-block { display: block; text-align: center; margin-top: 28px; }

/* ---------- Shared section parts ---------- */

.section { padding: var(--section-y) 0; }

.section-num,
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  max-width: 24ch;
  text-wrap: balance;
}

.section-head { margin-bottom: clamp(48px, 6vw, 72px); }

.lede {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 19px;
  color: var(--muted-on-dark);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(201, 162, 39, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--navy-line);
}

/* Faint coordinate grid: a plotting sheet, not a photo */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.hero h1 { display: flex; flex-direction: column; gap: 6px; }
.hero-company {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--muted-on-dark);
  letter-spacing: 0.04em;
}
.hero-product {
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.expansion {
  margin-top: 28px;
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-on-dark);
}
.expansion b {
  color: var(--gold);
  font-weight: 700;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 22px);
  color: var(--white);
}
.tagline::before {
  content: "";
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.hero-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--navy-line);
}
.hero-facts > div {
  padding: 22px 20px 26px 0;
}
.hero-facts > div + div { padding-left: 20px; border-left: 1px solid var(--navy-line); }
.hero-facts dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.hero-facts dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
}

@media (max-width: 760px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}

/* ---------- Method ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--navy-line);
}

.step {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: var(--navy);
}
.step + .step { border-left: 1px solid var(--navy-line); }

/* Directional chevron between steps */
.step + .step::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: var(--navy);
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.step-num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 { font-size: 30px; margin-bottom: 14px; }
.step > p { color: var(--muted-on-dark); }

.step-list {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  font-size: 15px;
}
.step-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
  color: var(--text-on-dark);
}
.step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1.5px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--navy-line); }
  .step + .step::before {
    top: -8px;
    left: clamp(28px, 3vw, 44px);
    transform: rotate(135deg);
  }
}

/* ---------- Difference (light section) ---------- */

.difference {
  background: var(--paper);
  color: var(--ink);
}
.difference h2, .difference h3 { color: var(--ink); }
.difference .section-num { color: var(--gold-ink); }
.difference h2 { max-width: none; }
.difference h2 em {
  font-style: italic;
  font-weight: 600;
  box-shadow: inset 0 -0.16em 0 var(--gold);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.diff-copy > p {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 19px;
  color: var(--muted-on-light);
}

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  border-top: 1px solid rgba(15, 27, 61, 0.15);
}
.contrast-col { padding: 22px 24px 0 0; }
.contrast-col + .contrast-col { padding-left: 24px; border-left: 1px solid rgba(15, 27, 61, 0.15); }
.contrast-col h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin-bottom: 12px;
}
.contrast-col--b9 h3 { color: var(--gold-ink); }
.contrast-col li { padding: 6px 0; font-size: 16px; }
.contrast-col:not(.contrast-col--b9) li {
  color: var(--muted-on-light);
  text-decoration: line-through;
  text-decoration-color: rgba(15, 27, 61, 0.3);
}
.contrast-col--b9 li { font-weight: 500; }

.ip {
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--navy);
  color: var(--text-on-dark);
  border-left: 3px solid var(--gold);
}
.difference .ip h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}
.ip p { font-size: 16px; }

/* Memo illustration */
.memo {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(15, 27, 61, 0.14);
  box-shadow: 0 1px 0 rgba(15,27,61,0.04), 0 24px 48px -24px rgba(15, 27, 61, 0.35);
  position: sticky;
  top: 96px;
}
.memo-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--navy);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.memo-head { flex-wrap: wrap; }
.memo-head span { white-space: nowrap; }
.memo-class { color: var(--gold); }

.memo-body { padding: 24px 22px 26px; }
.memo-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin: 22px 0 10px;
}
.memo-label:first-child { margin-top: 0; }
.memo-line {
  height: 9px;
  background: #E3E1DA;
  margin-bottom: 8px;
}
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; }

.memo-bars { display: grid; gap: 12px; }
.memo-bar { display: grid; gap: 3px; }
.memo-bar span { display: block; height: 10px; width: var(--v); }
.memo-bar .curr { background: var(--navy); }

.memo-sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
}
.memo-sigline {
  flex: 1;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.memo-sigline::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 70px;
  height: 18px;
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 60% 40%;
  transform: skewX(-20deg);
}

.memo figcaption {
  padding: 10px 22px;
  border-top: 1px solid rgba(15, 27, 61, 0.1);
  font-size: 12px;
  color: var(--muted-on-light);
}

@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; }
  .memo { position: static; max-width: 460px; }
}
@media (max-width: 520px) {
  .contrast { grid-template-columns: 1fr; }
  .contrast-col + .contrast-col { padding-left: 0; border-left: 0; margin-top: 20px; border-top: 1px solid rgba(15, 27, 61, 0.15); }
}

/* ---------- Proof ---------- */

.proof { background: var(--navy-deep); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.proof-item {
  background: var(--navy-deep);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
}
.proof-item--lead {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 36px 32px;
  background: var(--navy-raise);
}
.proof-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.proof-v {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.proof-item--lead .proof-v {
  margin-top: 0;
  font-size: clamp(34px, 4vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.proof-item--lead .proof-v::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.18);
}
.proof-item p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted-on-dark);
}
.proof-item--lead p { margin-top: 0; flex-basis: 40ch; flex-grow: 1; max-width: 52ch; }

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item--lead { padding: 30px 26px; }
}

/* ---------- Who it serves ---------- */

.serves-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
}
.serves-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--navy-line);
}
.serves-idx {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  padding-top: 8px;
}
.serves-list h3 { font-size: 24px; margin-bottom: 8px; }
.serves-list p { color: var(--muted-on-dark); font-size: 16px; }

@media (max-width: 760px) {
  .serves-list { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.contact h2 { max-width: 18ch; }

.contact-card {
  font-style: normal;
  padding: 32px;
  background: var(--navy-raise);
  border: 1px solid var(--navy-line);
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--navy-line);
}
.contact-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding-top: 3px;
}
.contact-v {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: right;
}
a.contact-v:hover { color: var(--gold); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  font-size: 14px;
  color: var(--muted-on-dark);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--gold); }
