/* Front Porch Business Consulting
   Manrope is licensed under the SIL Open Font License.
   See fonts/OFL.txt. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #14181e;
  --slate: #3a4452;
  --muted: #3e4a59;
  --blue: #0e4b9a;
  --blue-deep: #0a3a78;
  --blue-soft: #e7f0fb;
  --line: #d5dce6;
  --line-strong: #6e7886;
  --paper: #ffffff;
  --mist: #f3f5f8;
  --rail: #eef2f6;
  --charcoal: #14181e;
  --charcoal-2: #1b212b;
  --on-blue: #f4f8fc;
  --danger: #8e1b1b;
  --header: 5.25rem;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(20, 24, 30, 0.08);
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p, ul, ol, dl, figure, blockquote {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-weight: 750;
}

h1 { font-size: clamp(2.15rem, 4.7vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

a {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--blue-deep);
}

p + p {
  margin-top: 0.9rem;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin-top: 0.35rem;
}

.lede {
  margin-top: 0.85rem;
  color: var(--slate);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.on-dark {
  color: #eaf2fc;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 750;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.btn-light:hover {
  background: #e7eef8;
  color: var(--blue-deep);
}

.btn-small {
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
}

.btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.utility {
  background: var(--charcoal);
  color: #f4f7fb;
  font-size: 0.84rem;
  font-weight: 650;
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.45rem 0;
}

.utility a {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.mark,
.brand-logo,
.footer-logo {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
}

.hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 0 1.1rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
}

.wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: 0.95rem;
  max-width: 15rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

#site-nav {
  display: none;
}

#site-nav[data-open="true"] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.35rem 0 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

#site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 0.2rem;
  border-radius: 8px;
}

#site-nav a:hover {
  color: var(--blue);
}

#site-nav .btn {
  margin-top: 0.4rem;
  color: #fff;
  align-self: stretch;
  text-align: center;
}

#site-nav .btn:hover {
  color: #fff;
}

.hero {
  padding: 2.25rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.brand-line {
  margin-top: 0.7rem;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0.55rem 0 1rem;
}

.hero-copy .lede {
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-panel {
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.4rem;
  position: relative;
}

.hero-panel :focus-visible,
.band :focus-visible,
.site-footer :focus-visible,
.utility :focus-visible {
  outline-color: #fff;
}

.panel-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eaf2fc;
}

.panel-title {
  margin: 0.55rem 0 0.7rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-panel p {
  color: var(--on-blue);
}

.hero-panel .panel-title {
  color: #fff;
}

.panel-list {
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.panel-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #fff;
  font-weight: 650;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: #fff;
}

.section-grey {
  background: var(--mist);
}

.about-grid,
.contact-grid,
.band-grid {
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  color: var(--slate);
}

.about-copy p strong,
.about-copy .name-inline {
  color: var(--ink);
}

.profile-card,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.1rem;
}

.profile-card h3,
.form-card h3 {
  margin-bottom: 0.35rem;
}

.profile-card ul {
  margin-top: 0.4rem;
}

.profile-card li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
}

.available {
  margin-top: 0.9rem;
  padding: 0.85rem 0.9rem;
  background: var(--blue-soft);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 650;
}

.available span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tab-hint {
  display: none;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.js .tab-hint {
  display: block;
}

.swipe-hint {
  display: none;
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 750;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.service-tablist {
  display: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0.55rem;
  background: var(--rail);
}

.js .service-tablist {
  display: flex;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.55rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.js .swipe-hint {
  display: block;
}

.service-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: auto;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.service-tab:hover {
  background: #e4e9f0;
}

.service-tab[aria-selected="true"] {
  background: #fff;
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 800;
}

.service-tab:focus-visible {
  outline-offset: -3px;
}

.service-panels {
  min-width: 0;
}

.service-panel {
  padding: 1.25rem 1.15rem 1.4rem;
}

.service-panel + .service-panel {
  border-top: 1px solid var(--line);
}

.js .service-panel:not([data-active="true"]) {
  display: none;
}

.service-panel h3 {
  margin-bottom: 0.7rem;
}

.service-panel p {
  color: var(--slate);
}

.panel-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--slate);
}

.band {
  background: var(--blue);
  color: #fff;
  padding: 3.5rem 0;
}

.band h2,
.slogan-display {
  color: #fff;
}

.slogan-display {
  margin-top: 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.band-copy p {
  color: var(--on-blue);
}

.band .btn {
  margin-top: 1.15rem;
}

.todo-notice {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.contact-details {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-details dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-details a {
  color: var(--ink);
  font-weight: 750;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-details a:not([href]) {
  color: inherit;
  text-decoration: none;
  cursor: text;
}

.form-note,
.form-help,
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note {
  margin: 0.2rem 0 1rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.req {
  font-weight: 700;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status:not(:empty) {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
}

.form-help {
  margin: 0;
}

.noscript {
  margin: 0;
  padding: 0.7rem 0;
  background: var(--mist);
  color: var(--ink);
  font-weight: 650;
}

.site-footer {
  background: var(--charcoal);
  color: #f4f7fb;
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand:hover {
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #e6ebf2;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

#about,
#services,
#how-it-works,
#why-local,
#contact,
.service-panel {
  scroll-margin-top: 4.75rem;
}

#content:focus {
  outline: none;
}

@media (min-width: 700px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .section {
    padding: 5rem 0;
  }

  .hero {
    padding: 3.25rem 0 4.25rem;
  }

  .hero-logo {
    width: 180px;
    height: 180px;
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

  .profile-card,
  .form-card,
  .hero-panel {
    padding: 1.6rem 1.5rem 1.5rem;
  }
}

@media (min-width: 861px) {
  .js .swipe-hint {
    display: none;
  }

  .js .service-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
  }

  .js .service-tablist {
    flex-direction: column;
    overflow: visible;
    border-right: 1px solid var(--line);
    border-radius: 17px 0 0 17px;
    padding: 0.7rem;
  }

  .service-tab {
    width: 100%;
    white-space: normal;
    border-bottom: 0;
    border-left: 3px solid transparent;
    border-radius: 10px;
  }

  .service-tab[aria-selected="true"] {
    border-left-color: var(--blue);
    box-shadow: 0 1px 2px rgba(20, 24, 31, 0.05);
  }

  .service-panel {
    padding: 1.8rem 1.8rem 2rem;
  }

  .hero-grid,
  .about-grid,
  .band-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2.5rem;
    align-items: center;
  }

  .about-grid,
  .contact-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .contact-grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  #site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem 1rem;
  }

  #site-nav[data-open="true"] {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    flex-direction: row;
  }

  #site-nav a {
    padding: 0.35rem 0.1rem;
  }

  #site-nav .btn {
    margin-top: 0;
    margin-left: 0.35rem;
    align-self: center;
  }

  .brand {
    flex: 0 1 auto;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .wordmark {
    max-width: none;
    white-space: nowrap;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 699px) {
  .hero-actions .btn {
    width: 100%;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1rem;
    justify-content: start;
  }
}

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

@media (forced-colors: active) {
  .btn,
  .service-tab,
  .profile-card,
  .form-card,
  .service-layout,
  .steps li {
    border: 1px solid ButtonText;
  }
  .service-tab[aria-selected="true"] {
    border: 2px solid Highlight;
  }
}

@media print {
  .utility,
  .nav-toggle,
  .hero-actions,
  .btn,
  .form,
  .todo-notice,
  .swipe-hint,
  .tab-hint {
    display: none !important;
  }
  .service-tablist { display: none !important; }
  .js .service-panel { display: block !important; }
  .service-panel + .service-panel { border-top: 1px solid #ccc; }
  body { color: #000; background: #fff; }
  .band, .site-footer, .utility { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
