/* Indianapolis Business Brokers HQ
   House style: "Ledger" (navy and brass, Source Serif 4 + Public Sans). Picked by Bruce 2026-10-07.
   All colors, fonts and spacing live here as variables. Pages never add their own. */

:root {
  --navy: #13243b;        /* headings, form card, footer */
  --navy-deep: #0d1a2b;
  --brass: #d9b36a;       /* buttons on navy */
  --brass-hover: #e6c483;
  --brass-ink: #8a5f16;   /* brass text on white (passes contrast) */
  --mist: #f2f4f7;        /* soft section background */
  --ink: #1c2430;         /* body text */
  --muted: #4a5566;       /* secondary text */
  --on-navy: #c3cbd8;     /* secondary text on navy */
  --line: #dde2ea;        /* borders */
  --white: #ffffff;

  --font-head: "Source Serif 4", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 6px;
  --radius-card: 8px;
  --max: 1280px;   /* one wide content width for every section (Bruce 2026-10-03) */
  --gutter: clamp(16px, 4vw, 40px);
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 19px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--brass-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(36px, 5vw, 54px); }
h2 { font-size: clamp(27px, 3.4vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 22px; border: 0; border-radius: var(--radius); font: 700 17px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--brass { background: var(--brass); color: var(--navy); }
.btn--brass:hover { background: var(--brass-hover); color: var(--navy); }
.btn--line { background: transparent; color: var(--white); border: 1.5px solid var(--brass); }
.btn--line:hover { background: rgba(217, 179, 106, .15); color: var(--white); }

/* Header: logo, Services menu, call button. No utility bar. */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1.12; }
.logo strong { font: 600 21px/1.1 var(--font-head); white-space: nowrap; }
.logo small { white-space: nowrap; font: 600 13px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.header__right { display: flex; align-items: center; gap: 10px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.nav a:hover, .nav__toggle:hover { background: var(--mist); color: var(--navy); }
.nav__group { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border: 0; background: none; border-radius: var(--radius); font: 600 17px var(--font-body); color: var(--ink); cursor: pointer; }
.nav__sub { display: none; position: absolute; top: 100%; left: 0; z-index: 60; width: max-content; margin: 0; padding: 8px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 18px 36px -20px rgba(19, 36, 59, .45); }
.nav__sub a { display: flex; width: 100%; white-space: nowrap; }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__sub.is-open { display: block; }
.menu-btn { display: none; gap: 6px; min-height: var(--tap); border: 1.5px solid var(--line); background: var(--white); border-radius: var(--radius); font: 600 15px var(--font-body); color: var(--navy); cursor: pointer; padding: 0 14px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; right: var(--gutter); top: calc(100% - 6px); width: min(320px, calc(100% - 2 * var(--gutter))); flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 18px 36px -20px rgba(19, 36, 59, .45); padding: 8px; }
  .nav.is-open { display: flex; }
  .nav__toggle { display: none; }
  .nav__sub a { white-space: normal; line-height: 1.3; padding-block: 6px; }
  .nav__sub { display: block; position: static; width: auto; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; margin-bottom: 4px; }
}
.header__call { white-space: nowrap; }
@media (max-width: 560px) {
  .header .call-num { display: none; }
  .header .container { gap: 8px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo strong { font-size: 18px; }
  .logo small { font-size: 10px; letter-spacing: .03em; }
  .menu-btn, .header__call { padding: 0 12px; }
}

/* Affiliate notice (Digital Financing Taskforce style, Bruce 2026-10-07) */
.notice { margin-top: 20px; }
.notice p { margin: 0; background: var(--mist); border-radius: 4px; padding: 12px 18px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }

/* Hero: copy left, form right */
.hero { padding-block: clamp(32px, 5vw, 56px) clamp(40px, 6vw, 64px); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 480px); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 760px) { .hero .container { grid-template-columns: 1fr; } }
.hero__intro { font-size: 20px; color: #2c3644; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 16px; font-weight: 700; color: var(--navy); }
.ticks li::before { content: "\2713\00a0"; color: var(--brass-ink); }
.hero__call { font-size: 18px; margin: 0; }
.hero__call a { font-weight: 700; }

/* Lead form: 2 steps, same questions as the partner's valuation form */
.form-card { background: var(--navy); color: var(--white); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 32px); }
.form-card h2 { color: var(--white); font-size: 28px; margin-bottom: 14px; }
.form-step-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin: 0 0 6px; }
.lead-form { display: grid; gap: 14px; }
.lead-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.lead-form fieldset[hidden] { display: none; }
.lead-form label { display: grid; gap: 5px; font-size: 15px; font-weight: 600; }
.lead-form input, .lead-form select { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px var(--font-body); color: var(--ink); background: var(--white); border: 0; border-radius: 4px; }
.lead-form .hint { font-weight: 400; font-size: 13px; color: var(--on-navy); }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .lead-form .row { grid-template-columns: 1fr; } }
.lead-form .btn { min-height: 54px; font-size: 18px; width: 100%; }
.form-buttons { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--on-navy); margin: 0; }
.form-error { font-size: 14px; font-weight: 700; color: #ffd2cc; margin: 0; }

/* Sections */
.section { padding-block: clamp(44px, 6vw, 64px); }
.section--mist { background: var(--mist); }
.section__lead { max-width: 900px; }

/* Homepage service blocks: short paragraph, then the service name as the link (Playbook item 16) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; margin-top: 32px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.svc p { font-size: 17px; margin: 0 0 14px; }
.svc a { font-weight: 700; font-size: 17px; color: var(--brass-ink); }

/* Main content with call box beside it */
.with-aside { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); align-items: flex-start; }
.with-aside > .prose { flex: 999 1 640px; min-width: 0; }
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.callbox { flex: 1 1 300px; position: sticky; top: 100px; background: var(--navy); color: var(--white); border-radius: var(--radius-card); padding: 28px; }
@media (max-width: 1000px) { .callbox { position: static; } }
.callbox h2 { color: var(--white); font-size: 26px; margin: 0 0 10px; }
.callbox p { font-size: 17px; color: var(--on-navy); margin: 0 0 18px; }
.callbox .btn { width: 100%; margin-bottom: 12px; }
.callbox__phone { font-size: 21px !important; }

.photo { float: right; width: 48%; margin: 6px 0 20px 40px; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 800px) { .photo { float: none; width: auto; margin: 0 0 24px; } }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }

.table-wrap { overflow-x: auto; margin: 8px 0 18px; }
table { border-collapse: collapse; width: 100%; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
th { background: var(--navy); color: var(--white); font-weight: 700; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 600 44px/1 var(--font-head); color: var(--brass-ink); margin-bottom: 8px; }
.steps p { margin: 0; }

.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.areas a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.areas a:hover { border-color: var(--navy); }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy); font-size: 16px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; padding-block: 48px 28px; }
.footer h2 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.footer a { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__phone { font: 600 24px/1 var(--font-head); color: var(--brass) !important; text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(195, 203, 216, .25); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 16px; font-size: 14px; }
.footer__bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
