/* StewCrew Ventures LLC — site styles
   Colors are taken from the StewCrew logo: navy #17324F and steel blue #3B7CAC. */

@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #17324f;
  --steel: #3b7cac;
  --steel-ink: #2b6590;   /* steel darkened for small text and links on white */
  --text: #1f3044;
  --muted: #4d5f73;
  --paper: #ffffff;
  --mist: #eef3f8;
  --line: #d3dee8;
  --focus: #3b7cac;

  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; }
h1 { font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.45rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.35rem); line-height: 1.18; letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text); max-width: 38em; }
.measure { max-width: 42em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--mist { background: var(--mist); }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 42em; margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--navy);
  font-family: var(--body); font-weight: 700; font-size: 1.05rem; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: #0f2238; color: #fff; }
.btn--line { background: #fff; color: var(--navy); }
.btn--line:hover { background: var(--mist); color: var(--navy); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; color: var(--navy); }
.brand-name span { color: var(--steel); }
.brand-name small { display: block; font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--steel); }
.header-call { min-height: 46px; padding: 0 18px; font-size: 1rem; }
.menu-btn { display: none; }

@media (max-width: 940px) {
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px;
    border: 2px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy);
    font: 700 1rem var(--body); cursor: pointer;
  }
  .header-call { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) { .brand-name small { display: none; } .brand-name { font-size: 1.02rem; } .brand img { width: 38px; height: 38px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; max-width: 15em; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.hero-doc { font-weight: 600; }
.hero-logo { justify-self: center; width: min(100%, 420px); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.badge-nys { height: 58px; width: auto; }
.badge-sba {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 58px; padding: 6px 26px; border-radius: 999px;
  border: 3px solid var(--navy); background: #fff; color: var(--navy); text-align: center;
  line-height: 1.2;
}
.badge-sba strong { font-family: var(--display); font-size: 1.02rem; }
.badge-sba span { font-size: .84rem; font-weight: 600; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(70%, 280px); }
}

/* ---------- who we work with ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.path {
  display: block; text-decoration: none; color: var(--text);
  padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.path:hover { border-left-color: var(--navy); color: var(--text); }
.path h3 { margin-bottom: 6px; }
.path p { margin: 0 0 10px; color: var(--muted); }
.path .go { font-weight: 700; color: var(--steel-ink); }
@media (max-width: 720px) { .paths { grid-template-columns: 1fr; } }

/* ---------- services (program rows) ---------- */
.programs { border-top: 2px solid var(--navy); }
.program-labels, .program { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
.program-labels { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .95rem; color: var(--muted); }
.program { padding: 26px 0; border-bottom: 1px solid var(--line); }
.program h3 { margin-bottom: 6px; }
.reg { margin: 0; font-size: .95rem; color: var(--steel-ink); font-weight: 600; }
.program .who { margin: 8px 0 0; font-size: .95rem; color: var(--muted); }
.program p { margin: 0; }
.program .send { margin: 0; }
.cell-label { display: none; }
@media (max-width: 860px) {
  .program-labels { display: none; }
  .program { grid-template-columns: 1fr; gap: 12px; }
  .cell-label { display: block; font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- custody chain ---------- */
.custody { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.custody::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 3px;
  background: var(--steel); transform-origin: left center;
}
.custody li { position: relative; counter-increment: step; }
.custody li::before {
  content: counter(step);
  display: grid; place-items: center; position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 1.15rem var(--display);
  box-shadow: 0 0 0 6px var(--mist);
  margin-bottom: 18px;
}
.custody h3 { margin-bottom: 8px; font-size: 1.12rem; }
.custody p { margin: 0; font-size: 1rem; color: var(--text); }
.custody .signed { display: block; margin-top: 10px; font-size: .92rem; color: var(--steel-ink); font-weight: 600; }

.js .custody.draw::before { transform: scaleX(0); }
.js .custody.draw.is-visible::before { transform: scaleX(1); transition: transform 1.4s ease-out; }

@media (max-width: 960px) {
  .custody { grid-template-columns: 1fr; gap: 0; }
  .custody::before { left: 22px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto; transform-origin: center top; }
  .custody li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
  .custody li::before { grid-row: span 3; margin: 0; }
  .js .custody.draw::before { transform: scaleY(0); }
  .js .custody.draw.is-visible::before { transform: scaleY(1); }
}

.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.included > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.included h3 { margin-bottom: 10px; }
.included ul { margin: 0; padding-left: 1.2em; }
.included li { margin-bottom: 6px; }
@media (max-width: 720px) { .included { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-grid h2 { margin-bottom: 18px; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts strong { color: var(--navy); }
.certs { display: grid; gap: 22px; }
.cert { margin: 0; }
.cert a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cert a:hover { border-color: var(--steel); }
.cert figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- government ---------- */
.gov-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.spec { margin: 0; border-top: 2px solid var(--navy); }
.spec > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font-weight: 700; color: var(--navy); }
.spec dd { margin: 0; }
.code { font-family: var(--display); font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.copy {
  margin-left: 10px; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--steel);
  background: #fff; color: var(--steel-ink); font: 600 .85rem var(--body); cursor: pointer; vertical-align: 2px;
}
.copy:hover { background: var(--mist); }
.spec .note { display: block; font-size: .92rem; color: var(--muted); }
@media (max-width: 600px) { .spec > div { grid-template-columns: 1fr; gap: 2px; } }

.statement { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.statement img { border: 1px solid var(--line); margin-bottom: 16px; }
.statement .btn { width: 100%; }
.statement p { font-size: .95rem; color: var(--muted); margin: 12px 0 0; }

.buy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.buy h3 { margin-bottom: 8px; }
.buy p { margin: 0; }
.past { margin-top: 48px; }
.past h3 { margin-bottom: 12px; }
.past ul { margin: 0; padding-left: 1.2em; }
.past li { margin-bottom: 8px; }
@media (max-width: 960px) { .gov-grid, .buy { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .92rem; margin-left: .35em; }
.field .hint--below { display: block; margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1.05rem var(--body); color: var(--text);
  background: #fff; border: 1.5px solid #b9c8d6; border-radius: 8px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--steel); }
.form .btn { justify-self: start; }
.hidden { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

.direct { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.direct h3 { margin-bottom: 8px; }
.direct .big { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--navy); text-decoration: none; }
.direct .big:hover { color: var(--steel-ink); }
.direct hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.direct ul { margin: 0; padding-left: 1.2em; }
.direct li { margin-bottom: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 40px 0; font-size: .98rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer-grid img { width: 56px; height: 56px; }
.footer-grid p { margin: 0 0 4px; }
.footer-grid .sep { display: inline-block; margin-right: 18px; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid .sep { display: block; margin: 0; } }
.footer-grid strong { color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .custody.draw::before { transform: none !important; transition: none !important; }
  .btn { transition: none; }
}

@media print {
  .site-header, .menu-btn, .form, .copy { display: none !important; }
  .section { padding: 24px 0; }
}
