/* =================================================================
   CONTRABIM · Inner-page components
   Layers on top of styles.css — shared across all interior pages.
   ================================================================= */

/* ─── Photo helpers (carried over from Homepage inline) ───────── */
.route-card { padding: 0 30px 30px; padding-top: 0; }
.route-card .rc-head { padding-top: 24px; }
.rc-photo-wrap { position: relative; margin: -1px -31px 24px; aspect-ratio: 16/7; overflow: hidden; background: #0a2032; }
.rc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05) brightness(.85); transition: transform .6s ease, filter .5s ease; }
.route-card:hover .rc-photo { transform: scale(1.04); filter: grayscale(.1) brightness(.95); }
.rc-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,22,38,.55) 100%); }
.rc-photo-tag { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(5,22,38,.6); backdrop-filter: blur(8px); padding: 5px 9px; border: 1px solid rgba(255,255,255,.18); z-index: 1; }
.learn-card { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; padding: 14px 16px; }
.lc-thumb { aspect-ratio: 1/1; overflow: hidden; background: #eceae3; }
.lc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05); }
.band-blue2 { position: relative; overflow: hidden; }
.b2-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; mix-blend-mode: luminosity; filter: grayscale(.7) brightness(.85); pointer-events: none; }

/* ─── Interior nav: links navigate (no mega) ──────────────────── */
.nav-link[href] { text-decoration: none; }
.nav-link.is-here { color: var(--text); }
.nav-link.is-here::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--blue);
}
.nav-link { position: relative; }

/* ─── Page hero ───────────────────────────────────────────────── */
.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fafbfc 100%); border-bottom: 1px solid var(--border-lt); }
.phero-dark { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.phero-bg { position: absolute; inset: 0; pointer-events: none; }
.phero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 64px; }
.phero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { color: rgba(5,22,38,.25); }
.phero-dark .crumb { color: rgba(255,255,255,.4); }
.phero-dark .crumb .sep { color: rgba(255,255,255,.2); }

.phero-h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; line-height: .98; letter-spacing: -.02em; color: var(--dark); margin: 14px 0 8px; text-transform: uppercase; }
.phero-dark .phero-h1 { color: #fff; }
.phero-h1 .lt-blue { color: var(--blue); }
.phero-h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; color: var(--blue); margin: 0 0 24px; }
.phero-lede { font-size: 16px; line-height: 1.75; color: var(--text-muted); max-width: 480px; font-weight: 300; margin: 0 0 30px; }
.phero-dark .phero-lede { color: rgba(255,255,255,.6); }
.phero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* spec strip beneath hero */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); margin-top: 44px; }
.spec-strip .spec { padding: 22px 24px 22px 0; border-left: 1px solid var(--border-lt); padding-left: 22px; }
.spec-strip .spec:first-child { border-left: none; padding-left: 0; }
.spec-k { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.spec-v { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -.01em; }
.phero-dark .spec-strip { border-color: rgba(255,255,255,.1); }
.phero-dark .spec-strip .spec { border-color: rgba(255,255,255,.08); }
.phero-dark .spec-k { color: rgba(255,255,255,.45); }
.phero-dark .spec-v { color: #fff; }

/* ─── Step flow (The BRIDGE) ──────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.flow-step { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px 28px; overflow: hidden; }
.flow-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: .12em; }
.flow-step::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue), transparent); }
.flow-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 6px; display: grid; place-items: center; color: var(--blue); margin-bottom: 22px; }
.flow-icon svg { width: 22px; height: 22px; }
.flow-h { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
.flow-b { font-size: 13px; line-height: 1.65; color: var(--text-muted); font-weight: 300; margin: 0; }
.flow-tag { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--blue); }

/* ─── Spreadsheet / QTO mock (dark) ───────────────────────────── */
.sheet { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: var(--dark); box-shadow: 0 40px 80px -30px rgba(5,22,38,.5); }
.sheet-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.sheet-bar .tabname { color: #fff; }
.sheet-bar .grow { flex: 1; }
.sheet-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 11px; }
.sheet-table th { text-align: left; font-weight: 600; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sheet-table td { padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.78); }
.sheet-table .r { text-align: right; }
.sheet-table .rowhead { color: rgba(255,255,255,.5); }
.sheet-table tr.hot td { background: rgba(0,114,206,.12); color: #8Fc6f5; font-weight: 600; }
.sheet-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.1); }
.sheet-foot span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.sheet-foot b { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.01em; }

/* ─── Split feature rows ──────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split-flip .split-media { order: -1; }
.split-media { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: #0a2032; border: 1px solid var(--border); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.split-media .bp-grid { mix-blend-mode: overlay; }
.split-media-tag { position: absolute; bottom: 12px; left: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(5,22,38,.6); backdrop-filter: blur(8px); padding: 5px 9px; border: 1px solid rgba(255,255,255,.18); }
.split-k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.split-h { font-size: clamp(24px,2.6vw,32px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; color: var(--dark); margin: 0 0 16px; }
.split-b { font-size: 14.5px; line-height: 1.75; color: var(--text-muted); font-weight: 300; margin: 0 0 22px; max-width: 460px; }

/* ─── Big audience cards (Industries) ─────────────────────────── */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aud-card { position: relative; display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.aud-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(0,114,206,.3); }
.aud-media { position: relative; background: #0a2032; overflow: hidden; }
.aud-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05) brightness(.85); transition: transform .6s ease; }
.aud-card:hover .aud-media img { transform: scale(1.05); }
.aud-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5,22,38,.1), rgba(5,22,38,.5)); }
.aud-num { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.aud-body { padding: 28px 30px; display: flex; flex-direction: column; }
.aud-cat { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.aud-h { font-size: 20px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; color: var(--dark); }
.aud-b { font-size: 13px; line-height: 1.6; color: var(--text-muted); font-weight: 300; margin: 0 0 16px; }
.aud-pains { list-style: none; margin: 0 0 18px; padding: 0; }
.aud-pains li { font-size: 11.5px; color: var(--text-muted); padding: 5px 0 5px 16px; position: relative; }
.aud-pains li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; background: var(--blue); transform: rotate(45deg); }
.aud-cta { margin-top: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* ─── Founder / about ─────────────────────────────────────────── */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.founder-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: #0a2032; border: 1px solid var(--border); }
.founder-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.05); }
.founder-media-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(5,22,38,.85)); }
.founder-media-cap b { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.founder-media-cap span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.founder-lead { font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--dark); margin: 0 0 22px; letter-spacing: -.005em; }
.founder-lead b { font-weight: 700; }
.founder-p { font-size: 14.5px; line-height: 1.8; color: var(--text-muted); font-weight: 300; margin: 0 0 18px; max-width: 560px; }
.founder-p b { color: var(--text); font-weight: 600; }

/* timeline */
.timeline { border-left: 2px solid var(--border); margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline li { position: relative; padding: 0 0 30px; }
.timeline li::before { content: ''; position: absolute; left: -35px; top: 4px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--blue); transform: rotate(45deg); }
.timeline .yr { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.timeline .ev { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.timeline .de { font-size: 13px; line-height: 1.6; color: var(--text-muted); font-weight: 300; max-width: 460px; }

/* ─── Pricing comparison ──────────────────────────────────────── */
.cmp { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-lt); }
.cmp thead th { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.cmp thead th.feat { color: var(--blue); }
.cmp tbody td { font-size: 13px; color: var(--text); font-weight: 300; }
.cmp tbody td:first-child { font-weight: 600; }
.cmp td.c { text-align: center; }
.cmp .yes { color: var(--blue); font-weight: 700; }
.cmp .no { color: rgba(5,22,38,.22); }
.cmp tbody tr:hover { background: rgba(0,114,206,.03); }

/* membership / value list two-up */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.value-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.value-icon { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 6px; display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; }
.value-icon svg { width: 20px; height: 20px; }
.value-h { font-size: 15px; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.value-b { font-size: 12.5px; line-height: 1.6; color: var(--text-muted); font-weight: 300; margin: 0; }

/* generic prose lede block centered */
.lede-block { max-width: 720px; }

/* ─── Page switcher (review aid) ──────────────────────────────── */
.cb-psw { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 9999; background: rgba(5,22,38,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 5px 5px 5px 14px; display: inline-flex; align-items: center; gap: 2px; font-family: 'Montserrat', sans-serif; box-shadow: 0 14px 36px -12px rgba(0,0,0,.55); }
.cb-psw-label { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-right: 12px; border-right: 1px solid rgba(255,255,255,.12); margin-right: 4px; white-space: nowrap; }
.cb-psw a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); text-decoration: none; transition: background .15s, color .15s; line-height: 1; }
.cb-psw a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cb-psw a.is-active { background: var(--blue); color: #fff; }
.cb-psw .cb-psw-home { padding: 8px 12px; font-size: 14px; color: rgba(255,255,255,.6); margin-left: 4px; border-left: 1px solid rgba(255,255,255,.1); border-radius: 0 999px 999px 0; }
.cb-psw .cb-psw-home:hover { color: #fff; background: rgba(255,255,255,.08); }
@media print { .cb-psw { display: none; } }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .phero-grid { grid-template-columns: 1fr; gap: 44px; }
  .flow { grid-template-columns: 1fr; }
  .split, .split-flip { grid-template-columns: 1fr; gap: 32px; }
  .split-flip .split-media { order: 0; }
  .aud-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip .spec:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 700px) {
  .phero-inner { padding: 36px 20px 44px; }
  .aud-card { grid-template-columns: 1fr; }
  .aud-media { aspect-ratio: 16/9; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .cmp th, .cmp td { padding: 12px 10px; font-size: 12px; }
  .cb-psw a .label { display: none; }
  .cb-psw { bottom: 10px; }
}
