/* marshall.net /botworks/ — full page from Magi's brief, 2026-11-19.
   Navy #1B2A4A, burnt orange #E07A2E (sparingly), grays. Logo gold is unchanged.
   Footer styles kept to match the house block. */

:root {
  --navy: #1B2A4A;
  --navy-deep: #0B1F3A;
  --navy-hero: #162238;
  --orange: #E07A2E;
  --orange-hover: #c96a26;
  --orange-btn-text: #1B2A4A;
  --gold: #C9A227;
  --bg: #F4F4F2;
  --bg-white: #ffffff;
  --text: #1B2A4A;
  --body: #3D4656;
  --muted: #5A6170;
  --line: #D8D9DC;
  --header-text: rgba(255, 255, 255, 0.92);
  --hero-muted: rgba(255, 255, 255, 0.8);
  --footer-muted: rgba(255, 255, 255, 0.65);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Liberation Serif", "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --pad: clamp(1rem, 3.5vw, 1.75rem);
  --section-pad: clamp(3.5rem, 8vw, 5.5rem);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: var(--navy); }
a:hover { color: var(--orange); }

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 40rem; }
.container {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ——— Buttons: navy type on burnt orange for contrast ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--orange);
  color: var(--orange-btn-text);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid var(--orange);
}
.btn:hover,
.btn:focus-visible {
  background: #f08a3e;
  border-color: #f08a3e;
  color: var(--navy);
}
.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ——— Slim navy header (logo size unchanged) ——— */
.bw-header {
  background: #1B2A4A;
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 50;
}

.bw-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.bw-header__logo {
  display: flex;
  align-items: center;
  flex: none;
  line-height: 0;
}
.bw-header__logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.bw-header__logo picture { display: block; line-height: 0; }
.bw-header__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
}

.bw-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  margin: 0;
  padding: 0;
}

.bw-header__nav a {
  color: var(--header-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.55rem;
  border-radius: 2px;
  white-space: nowrap;
}
.bw-header__nav a:hover,
.bw-header__nav a:focus-visible { color: var(--orange); }
.bw-header__nav a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.bw-header .btn--header {
  color: var(--orange-btn-text);
  padding: 0.55rem 0.9rem;
  justify-self: end;
}
.bw-header .btn--header:hover,
.bw-header .btn--header:focus-visible {
  color: var(--navy);
}

/* ——— Hero ——— */
main { flex: 1; }

.hero {
  background: var(--navy-hero);
  color: #fff;
  padding: clamp(4.25rem, 9vw, 6.5rem) var(--pad);
}

.hero__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
}
.hero h1 .break { display: block; }

.hero__tagline {
  margin: 1.15rem 0 0;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--hero-muted);
}

.hero__rule {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 1.5rem auto 1.35rem;
  background: var(--orange);
}

.hero__lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--hero-muted);
}

.hero__cta { margin: 1.85rem 0 0; }
.hero__cta .btn:focus-visible { outline-color: #fff; }

.hero__belong {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.hero__belong a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hero__belong a:hover,
.hero__belong a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Sections ——— */
.section { padding-block: var(--section-pad); }
.section--light { background: var(--bg); }
.section--white { background: var(--bg-white); }

.section h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
}

.section__intro {
  margin: 1rem auto 0;
  max-width: 38rem;
  text-align: center;
  color: var(--body);
  font-size: 1.05rem;
}

/* Services cards */
.cards {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: 4px;
  padding: 1.35rem 1.4rem 1.4rem;
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--navy);
}
.card p {
  margin: 0.55rem 0 0;
  color: var(--body);
  font-size: 0.98rem;
}

/* Engagement steps */
.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
  counter-reset: none;
}
.steps li { margin: 0; }
.steps__n {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}
.steps p {
  margin: 0.4rem 0 0;
  color: var(--body);
  font-size: 0.98rem;
}

/* Trust */
#trust p {
  margin: 1rem 0 0;
  color: var(--body);
  font-size: 1.05rem;
  text-align: center;
}
#trust p:first-of-type { margin-top: 1.15rem; }
#trust a { text-underline-offset: 3px; }

/* Contact band */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding-block: var(--section-pad);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band__contact {
  margin: 1.15rem 0 0;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.cta-band__contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-band__contact a:hover,
.cta-band__contact a:focus-visible { color: var(--orange); }
.cta-band__action { margin: 1.6rem 0 0; }

/* ——— House footer (unchanged look) ——— */
.site-footer {
  background: var(--navy-deep);
  color: var(--footer-muted);
  font-size: 0.82rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--navy-deep);
  letter-spacing: 0.01em;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.site-footer a { color: #ffffff; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
}
.site-footer__links a {
  color: var(--footer-muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-footer__links a:hover { color: #5b8cff; }
.site-footer__meta {
  font-size: 11px;
  opacity: 0.78;
  font-style: italic;
}
.site-footer .marshall-principle a,
.site-footer__meta a { color: #ffffff; text-decoration: underline; }

.marshall-principle {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  text-align: center;
}
.marshall-principle p { margin: 0; }
.marshall-principle p + p { margin-top: .5rem; }

nav.mn-footlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 .25rem;
  margin: 1rem auto 0;
  padding: 0;
  max-width: 1080px;
  font-size: .9rem;
  line-height: 1.3;
}
nav.mn-footlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0 .5rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
nav.mn-footlinks a:focus-visible { outline: 3px solid #C9A227; outline-offset: 2px; }

@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.5rem; }
}

@media (max-width: 839px) {
  .bw-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    gap: 0.45rem 0.75rem;
  }
  .bw-header__logo { grid-column: 1; grid-row: 1; }
  .bw-header .btn--header {
    grid-column: 2;
    grid-row: 1;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
  .bw-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
  .bw-header__logo img { height: 40px; }
  .bw-header__nav a {
    font-size: 0.75rem;
    padding: 0.4rem 0.4rem;
  }
}

@media (max-width: 639px) {
  .hero__lead { font-size: 1rem; }
  .hero__tagline .break-sm { display: block; }
  .cta-band__contact { font-size: 1.05rem; }
  .steps { gap: 1.35rem; }
}
