/* Ballast Commercial Group. Layout: navy hull bands alternate with sand decks; a brass "beam" rule recurs as the level line. */
:root {
  --navy: #0F2A3D;
  --navy-deep: #0A1F2E;
  --brass: #B8925A;
  --brass-deep: #8A6A38;
  --sand: #F4EFE6;
  --paper: #FBF9F5;
  --slate: #4A5B68;
  --ink: #13222E;
  --line: #E2D9CA;
  --on-navy: #E9E3D8;
  --on-navy-mute: #A9B4BD;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: calc(var(--gutter) + 8px); padding-right: calc(var(--gutter-r) + 8px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--navy); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow { font: 600 12px/1.4 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-deep); }
.eyebrow-light { color: var(--brass); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 2px; font: 600 15px/1 var(--body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: #C9A46D; }
.btn-ghost { border-color: rgba(233,227,216,.45); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--brass); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
/* FL Rule 61J2-10.026(6): team name never larger than the brokerage name. Brokerage logos are sized taller than the Ballast logo. */
.lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 36px; width: auto; }
.lockup-div { width: 1px; height: 44px; background: var(--line); flex: none; }
.brokered { display: flex; align-items: center; gap: 12px; }
.hk { height: 54px; width: auto; }
.hsp { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--brass-deep); }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding-block: 72px 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: center; }
.hero-logo { width: 280px; height: auto; margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); color: #fff; margin-top: 20px; font-weight: 500; }
.hero h1 em { color: var(--brass); font-style: italic; }
.beam { margin: 30px 0 28px; height: 2px; width: min(360px, 70%); background: rgba(184,146,90,.25); position: relative; }
.beam span { position: absolute; inset: 0; background: var(--brass); transform-origin: left center; animation: level 1.6s cubic-bezier(.2,.7,.2,1) both; }
.beam::after { content: ""; position: absolute; left: 50%; top: 2px; width: 14px; height: 12px; margin-left: -7px; background: var(--brass); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes level { from { transform: scaleX(.35) rotate(-2deg); } to { transform: none; } }
.lede { font-size: 19px; max-width: 34em; color: var(--on-navy); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; border-left: 6px solid var(--brass); }
.hero-photo figcaption { position: absolute; left: 6px; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(to top, rgba(10,31,46,.92), rgba(10,31,46,0)); display: grid; gap: 2px; }
.hero-photo strong { font: 600 22px/1.2 var(--display); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.hero-photo figcaption span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }

/* Who */
.who { background: var(--sand); padding-block: 72px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.who-grid article { padding: 8px 32px; border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.who-grid article:first-child { padding-left: 0; border-left: 0; }
.who-grid h3 { font-size: 27px; color: var(--navy); }
.who-grid p:not(.eyebrow) { color: var(--slate); font-size: 16px; }

/* Focus */
.focus { padding-block: 96px; background: var(--paper); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); color: var(--navy); }
.focus-list { display: grid; }
.asset { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; padding-block: 36px; border-top: 1px solid var(--line); }
.asset:last-child { border-bottom: 1px solid var(--line); }
.asset-num { font: 500 clamp(38px, 4.6vw, 56px)/1 var(--display); color: var(--navy); }
.asset-body { display: grid; gap: 14px; max-width: 68ch; min-width: 0; }
.asset-types { font-weight: 600; color: var(--brass-deep); font-size: 15px; }
.asset-body > p:not(.asset-types) { color: var(--slate); }
.terms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.terms li { font-size: 13px; font-weight: 500; color: var(--navy); border: 1px solid var(--line); background: var(--sand); padding: 4px 10px; border-radius: 2px; }

/* Process */
.process { background: var(--navy); color: var(--on-navy); padding-block: 96px; }
.process .section-head h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: rgba(184,146,90,.4); }
.steps li { counter-increment: step; display: grid; gap: 12px; align-content: start; position: relative; }
.steps li::before { content: counter(step); width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); border: 1px solid var(--brass); color: var(--brass); font: 600 20px/1 var(--display); border-radius: 50%; }
.steps h3 { font-size: 28px; color: #fff; margin-top: 8px; }
.steps p { color: var(--on-navy-mute); font-size: 16px; }

/* About */
.about { background: var(--sand); padding-block: 96px; }
.about-in { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 72px; align-items: start; }
.about-mark { color: var(--navy); width: 100%; max-width: 260px; aspect-ratio: 1; }
.about-copy { display: grid; gap: 18px; max-width: 64ch; }
.about-copy h2 { font-size: clamp(34px, 4.4vw, 52px); color: var(--navy); }
.about-copy p:not(.eyebrow):not(.sig) { color: var(--slate); }
.sig { font: italic 500 30px/1 var(--display); color: var(--brass-deep); margin-top: 6px; }

/* Contact */
.contact { background: var(--navy-deep); color: var(--on-navy); padding-block: 96px; }
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-side h2 { font-size: clamp(34px, 4.2vw, 48px); color: #fff; }
.contact-side > p:not(.eyebrow) { color: var(--on-navy-mute); }
.direct { margin: 16px 0 0; display: grid; gap: 16px; }
.direct div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; border-top: 1px solid rgba(184,146,90,.25); padding-top: 14px; }
.direct dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); padding-top: 4px; }
.direct dd { margin: 0; overflow-wrap: anywhere; }
.direct a { text-decoration: none; }
.direct a:hover { color: var(--brass); }

.lead { background: var(--paper); color: var(--ink); padding: 32px; border-top: 4px solid var(--brass); display: grid; gap: 18px; min-width: 0; }
.hp { position: absolute; left: -5000px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .seg legend { font-size: 14px; font-weight: 600; color: var(--navy); }
.opt { font-weight: 400; color: var(--slate); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #CFC5B4; border-radius: 2px; padding: 12px 12px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.field input[aria-invalid="true"] { border-color: #A3341F; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.seg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #CFC5B4; border-radius: 2px; overflow: hidden; }
.seg-row label { position: relative; cursor: pointer; }
.seg-row label + label { border-left: 1px solid #CFC5B4; }
.seg-row input { position: absolute; opacity: 0; inset: 0; }
.seg-row span { display: grid; place-items: center; min-height: 46px; padding: 0 8px; font-size: 15px; font-weight: 500; text-align: center; background: #fff; color: var(--navy); }
.seg-row input:checked + span { background: var(--navy); color: #fff; }
.seg-row input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: -4px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 12.5px; line-height: 1.55; color: var(--slate); background: var(--sand); padding: 14px; border-radius: 2px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.fine { font-size: 12.5px; color: var(--slate); line-height: 1.55; }
.fine a { color: var(--brass-deep); }
.form-status { font-size: 14px; font-weight: 500; min-height: 1px; }
.form-status.err { color: #A3341F; }
.form-status.ok { color: #2E6A44; }

/* Footer */
.foot { background: var(--navy); color: var(--on-navy); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 56px 40px; }
.foot-brand { display: grid; gap: 14px; }
.foot-icon { width: 56px; height: 56px; }
.tag { font: 500 24px/1.2 var(--display); color: #fff; }
.tag em { color: var(--brass); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; color: var(--on-navy-mute); }
.foot-cols > div { display: grid; gap: 10px; align-content: start; }
.foot-cols a { text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--brass); }
.foot-h { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.legal { background: var(--sand); color: var(--slate); }
.legal-in { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 28px; }
.legal-text { display: grid; gap: 8px; font-size: 13px; line-height: 1.6; }
.legal-text strong { color: var(--navy); }
.legal-text a { color: var(--brass-deep); }
.todo { background: #FFF1C2; color: #6B4E00; padding: 0 4px; }

/* Legal page */
.doc { padding-block: 64px 96px; background: var(--paper); }
.doc-in { max-width: 760px; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); color: var(--navy); }
.doc h2 { font-size: 28px; color: var(--navy); margin-top: 22px; }
.doc p, .doc li { color: var(--slate); }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--brass-deep); }
.thanks { min-height: 60vh; display: grid; align-content: center; }

@media (max-width: 960px) {
  .hero-in, .contact-in, .about-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-photo { max-width: 420px; }
  .who-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .who-grid article { padding: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .who-grid article:first-child { border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .asset { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about-mark { max-width: 140px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-block: 48px 64px; }
  .focus, .process, .about, .contact { padding-block: 64px; }
  .brand img { height: 26px; }
  .hk { height: 40px; }
  .hsp { height: 32px; }
  .lockup { gap: 10px; }
  .brokered { gap: 8px; }
  .nav .btn { display: none; }
  .row2, .steps { grid-template-columns: minmax(0, 1fr); }
  .lead { padding: 22px 18px; }
  .seg-row span { font-size: 14px; }
  .cta-row .btn { width: 100%; }
  .legal-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam span { animation: none; }
}
.kwlogos { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.kwsp { background: #fff; border-radius: 4px; padding: 6px 8px; width: 150px; height: auto; display: block; }
