/* Bizcapital Partners: midnight teal & sand. Hand-authored; edit freely.
   No webfonts by design: a system old-style serif carries the display voice,
   system sans carries prose. The look is wide alternating full-bleed bands. */

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --teal: #0c3b3c;
  --teal-2: #10494a;
  --teal-deep: #08292a;
  --teal-line: rgba(239, 231, 217, .16);
  --teal-line-2: rgba(239, 231, 217, .32);

  --wheat: #cbb188;
  --wheat-bright: #ddc79f;
  --wheat-ink: #7a5f2e;
  --wheat-wash: #f6efe0;

  --sand: #efe7d9;
  --sand-2: #e5dac6;
  --paper: #faf7f1;
  --rule: #ddd3c1;
  --rule-2: #c8bba4;

  --on-teal: #dfd7c8;
  --on-teal-mute: #9fb0ad;
  --head: #14282a;
  --body: #4c5a58;

  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r: 3px;
  --r-lg: 10px;

  --edge: clamp(20px, 5vw, 68px);
  --max: 1160px;
  --band: clamp(60px, 7.5vw, 112px);
  --gap: 24px;
  --stack: 30px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 27px;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); color: var(--head); font-weight: 600; letter-spacing: -0.012em; margin: 0; }
p { margin: 0 0 12px; }
a { color: var(--teal); text-underline-offset: 3px; }

.inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }

/* Section label: small caps rule, set in sans against a short wheat dash. */
.tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  line-height: 16px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wheat-ink);
  margin: 0 0 16px;
}
.tag::before { content: ""; width: 22px; height: 2px; background: var(--wheat); flex: none; }

/* ── Bands ─────────────────────────────────────────────────────────── */
.band { padding: var(--band) 0; }
.band--teal { background: var(--teal); color: var(--on-teal); }
.band--teal h2, .band--teal h3 { color: var(--sand); }
.band--teal .tag { color: var(--wheat); }
.band--sand { background: var(--sand); }
.band--paper { background: var(--paper); }

/* ── Top bar (light, teal wordmark; the siblings all run dark bars) ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.bar {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 17px var(--edge);
  font-size: 13.5px;
}
.bar a { color: var(--body); text-decoration: none; }
.bar a:hover { color: var(--teal); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--head);
}
.brand:hover { color: var(--head); }
.bar a.nav-cta, .bar a.nav-cta:hover {
  color: var(--sand);
  background: var(--teal);
  border-radius: var(--r);
  padding: 9px 16px;
}
.bar a.nav-cta:hover { background: var(--teal-2); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sand, .bar a.btn-sand { background: var(--sand); color: var(--teal-deep); border-color: var(--sand); }
.btn-sand:hover { background: #fff; border-color: #fff; color: var(--teal-deep); }
.btn-teal { background: var(--teal); color: var(--sand); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-2); border-color: var(--teal-2); color: var(--sand); }
.btn-line { background: transparent; color: var(--head); border-color: var(--rule-2); }
.btn-line:hover { border-color: var(--teal); color: var(--teal); }
/* Teal surfaces are their own context; without this .btn-line goes ink-on-ink. */
.band--teal .btn-line, .hero .btn-line { color: var(--on-teal); border-color: var(--teal-line-2); }
.band--teal .btn-line:hover, .hero .btn-line:hover { color: var(--wheat); border-color: var(--wheat); }
.btn:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  background: var(--teal);
  color: var(--on-teal);
  padding: clamp(52px, 7vw, 96px) 0 clamp(22px, 2.6vw, 34px);
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 11.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wheat);
  margin: 0 0 clamp(26px, 3.2vw, 38px);
}
.display {
  color: var(--sand);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  max-width: 15ch;
}
.display em { font-style: italic; color: var(--wheat-bright); }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 60px);
  margin-top: clamp(34px, 4.4vw, 52px);
  padding-top: clamp(24px, 2.8vw, 34px);
  border-top: 1px solid var(--teal-line-2);
}
.statement {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.45;
  color: var(--sand);
  margin: 0;
}
.lede { font-size: 16px; line-height: 28px; color: var(--on-teal-mute); margin: 0; }
.hero-figure { max-width: var(--max); margin: clamp(38px, 5vw, 64px) auto 0; padding: 0 var(--edge); }
.hero-figure img { display: block; width: 100%; height: auto; }

/* ── Industries strip ──────────────────────────────────────────────── */
.strip { background: var(--teal-deep); color: var(--on-teal-mute); }
.strip-in {
  max-width: var(--max); margin: 0 auto; padding: 22px var(--edge);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 13px;
}
.strip-lbl { font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; font-weight: 600; color: var(--wheat); margin: 0 8px 0 0; }
.pill { border: 1px solid var(--teal-line); border-radius: 999px; padding: 5px 13px; }

/* ── Section heads ─────────────────────────────────────────────────── */
.head { max-width: 60ch; margin-bottom: clamp(36px, 4.6vw, 58px); }
.h-section { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; margin: 0 0 14px; }
.h-sub { font-size: 17px; line-height: 29px; }
.band--teal .h-sub { color: var(--on-teal-mute); }

/* ── Services ledger ───────────────────────────────────────────────── */
.ledger { border-top: 1px solid var(--rule); }
.band--teal .ledger { border-top-color: var(--teal-line); }
.row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 290px);
  gap: var(--gap) clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 3.6vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
}
.band--teal .row { border-bottom-color: var(--teal-line); }
.row-num {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1;
  color: var(--wheat);
  margin: 0;
  padding-top: 4px;
}
.row-title { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.15; margin: 0 0 10px; }
.row-copy { font-size: 16px; line-height: 27px; margin: 0; max-width: 54ch; }
.band--teal .row-copy { color: var(--on-teal-mute); }
.row-list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 22px; }
.row-list li { position: relative; padding: 8px 0 8px 20px; border-top: 1px solid var(--rule); }
.band--teal .row-list li { border-top-color: var(--teal-line); color: var(--on-teal-mute); }
.row-list li:first-child { border-top: 0; }
.row-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 9px; height: 2px; background: var(--wheat);
}

/* ── Approach steps ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.step { border-top: 2px solid var(--teal); padding-top: 22px; }
.step-num { font-size: 11.5px; letter-spacing: 0.17em; text-transform: uppercase; font-weight: 600; color: var(--wheat-ink); margin: 0 0 12px; }
.step-title { font-size: 23px; line-height: 1.2; margin: 0 0 10px; }
.step-copy { font-size: 15.5px; line-height: 26px; margin: 0; }

/* ── Stats ─────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap) clamp(24px, 4vw, 60px); }
.stat { border-left: 2px solid var(--wheat); padding-left: 22px; }
.stat-num { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; color: var(--sand); margin: 0 0 8px; }
.stat-label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 20px; color: var(--on-teal-mute); margin: 0; max-width: 26ch; }

/* ── About split ───────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.about p { font-size: 17px; line-height: 30px; }
.marks { list-style: none; margin: var(--stack) 0 0; padding: 0; display: grid; gap: 11px; }
.marks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 25px; }
.marks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.about-figure { margin: 0; }
.about-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

/* ── Voices ────────────────────────────────────────────────────────── */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 52px); }
.voice { margin: 0; border-top: 2px solid var(--wheat); padding-top: 24px; }
.voice blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--head); margin: 0 0 16px; }
.voice figcaption { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wheat-ink); font-weight: 600; }

/* ── Contact ───────────────────────────────────────────────────────── */
.cta h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; margin: 0 0 14px; max-width: 18ch; }
.cta p { color: var(--on-teal-mute); font-size: 17px; line-height: 29px; max-width: 54ch; }
.contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--teal-line);
  font-size: 15px;
  line-height: 25px;
}
.contacts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--wheat); margin: 0 0 8px; }
.contacts dd { margin: 0; color: var(--sand); }
.contacts a { color: var(--sand); text-decoration: none; border-bottom: 1px solid var(--teal-line-2); }
.contacts a:hover { border-bottom-color: var(--wheat); color: var(--wheat); }

/* ── Footer ────────────────────────────────────────────────────────── */
.foot { background: var(--teal-deep); color: var(--on-teal-mute); font-size: 13.5px; line-height: 23px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: clamp(38px, 4.5vw, 56px) var(--edge); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr); gap: var(--stack) clamp(24px, 3.4vw, 56px); }
.foot h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--wheat); margin: 0 0 14px; font-family: var(--sans); }
.foot-brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 18px; color: var(--sand); margin: 0 0 14px; }
.foot p { max-width: 46ch; }
.foot nav { display: grid; gap: 8px; }
.foot a { color: var(--on-teal-mute); text-decoration: none; }
.foot a:hover { color: var(--wheat); }
.foot-legal { margin-top: var(--stack); padding-top: 22px; border-top: 1px solid var(--teal-line); display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; font-size: 12.5px; }

/* ── Page header (interior pages) ──────────────────────────────────── */
.pagehead { background: var(--teal); color: var(--on-teal); padding: clamp(46px, 6vw, 78px) 0 clamp(38px, 5vw, 62px); }
.pagehead h1 { color: var(--sand); font-size: clamp(32px, 4.8vw, 54px); line-height: 1.05; margin: 0 0 14px; }
.pagehead .tag { color: var(--wheat); }
.pagehead p { color: var(--on-teal-mute); font-size: 17px; line-height: 29px; max-width: 58ch; margin: 0; }
.stamp { font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; color: var(--on-teal-mute); margin: 16px 0 0; }

/* ── Legal pages ───────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(46px, 6vw, 74px) var(--edge); }
.legal h2 { font-size: 23px; line-height: 30px; margin: 42px 0 12px; padding-top: 28px; border-top: 1px solid var(--rule); }
.legal h2:first-of-type { margin-top: 26px; }
.legal p, .legal li { font-size: 15.5px; line-height: 27px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }

/* ── Apply form ────────────────────────────────────────────────────── */
.apply { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.assure { list-style: none; margin: var(--stack) 0 0; padding: 0; }
.assure li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 26px; margin-bottom: 11px; }
.assure li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.side-note { margin-top: var(--stack); padding: 18px 20px; background: var(--wheat-wash); border-left: 3px solid var(--wheat); border-radius: 0 var(--r) var(--r) 0; font-size: 14.5px; line-height: 24px; }
.side-note p:last-child { margin-bottom: 0; }

.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
form { display: grid; gap: var(--gap); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--gap); }
.field { display: grid; gap: 7px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--head); }
.req { color: var(--wheat-ink); }
.input {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 24px;
  color: var(--head);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  padding: 11px 13px;
  width: 100%;
}
.input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); background: #fff; }
textarea.input { min-height: 118px; resize: vertical; }

fieldset { border: 0; margin: 0; padding: 0; }
fieldset legend { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--head); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; border: 1px solid var(--rule-2); border-radius: var(--r); padding: 9px 14px; background: var(--paper); }
.chip:hover { border-color: var(--teal); }
.chip:has(input:checked) { border-color: var(--teal); background: var(--wheat-wash); }
.chip input { appearance: none; width: 13px; height: 13px; margin: 0; border: 1px solid var(--rule-2); border-radius: 50%; background: #fff; cursor: pointer; flex: none; }
.chip input:checked { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 3px #fff; }
.chip input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 17px 1fr; gap: 12px; font-size: 12.5px; line-height: 20px; color: #5d6a68; }
.consent input { appearance: none; width: 17px; height: 17px; margin: 2px 0 0; border: 1px solid var(--rule-2); border-radius: 3px; background: #fff; cursor: pointer; }
.consent input:checked { background: var(--teal); border-color: var(--teal); }
.consent input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fine { font-size: 12.5px; line-height: 20px; color: #79847f; margin: 0; }
.sent { display: none; border: 1px solid var(--teal); background: var(--wheat-wash); border-radius: var(--r); padding: 14px 18px; font-size: 15px; line-height: 25px; color: var(--head); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .row { grid-template-columns: 56px minmax(0, 1fr); }
  .row-list { grid-column: 2; }
  .steps, .apply, .about, .voices, .hero-split { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .about-figure { order: -1; }
  .display { max-width: none; }
}
@media (max-width: 560px) {
  .duo { grid-template-columns: 1fr; }
  .bar { gap: 14px 18px; }
  .brand { width: 100%; margin-right: 0; }
  .stats, .contacts { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
