@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/IBMPlexSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b3a4b;
  --navy-deep: #122833;
  --ink: #1c1916;
  --muted: #5c5852;
  --paper: #f7f3ec;
  --cream: #fffcf7;
  --amber: #c4a056;
  --amber-deep: #9a7a3a;
  --rule: #d8d0c4;
  --white: #ffffff;
  --focus: #2a6f8f;
  --danger-soft: #8a4a32;
  --max: 1120px;
  --prose: 40.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--amber-deep); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img { width: 2.6rem; height: 2.6rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
}

.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  color: var(--navy);
  font-family: inherit;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.site-nav a.cta,
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--cream) !important;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--navy);
  font-family: inherit;
  cursor: pointer;
}
.site-nav a.cta { margin-left: 0.35rem; }
.site-nav a.cta:hover,
.btn:hover { background: var(--navy-deep); }
.btn-secondary {
  background: transparent;
  color: var(--navy) !important;
}
.btn-secondary:hover { background: #efe8db; }

.hero {
  background:
    linear-gradient(180deg, #edf3f4 0%, var(--paper) 55%, var(--cream) 100%);
  border-bottom: 1px solid var(--rule);
  padding: 4.25rem 0 4.5rem;
}
.hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1.1rem;
  max-width: 18ch;
}
.hero .lede, .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.section h3 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber-deep);
  margin: 0 0 0.55rem;
}
.prose, .service-block .body, .about-copy { max-width: var(--prose); }
.prose p, .service-block p, .about-copy p { margin: 0 0 1rem; color: var(--ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.card a.more { font-weight: 500; text-decoration: none; }

.feature {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem 1.6rem;
  margin-top: 1.25rem;
}
.feature ul, .service-block ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}
.feature li, .service-block li { margin: 0.25rem 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.15rem 1rem 1.2rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "IBM Plex Serif", Georgia, serif;
  color: var(--amber-deep);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 1.25rem 0 2rem;
}
.service-nav a {
  text-decoration: none;
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.9rem;
  color: var(--navy);
}
.service-nav a:hover { border-color: var(--navy); }

.service-block {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.service-block:first-of-type { border-top: 0; padding-top: 0.5rem; }
.flagship { background: var(--paper); margin: 0 calc(50% - 50vw); padding: 2.25rem calc(50vw - 50%); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.flagship .service-block { border: 0; padding: 0; }
.meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 1.1rem 0 0.25rem;
}
.next-step { margin-top: 1.15rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.email-block {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.35rem 1.3rem;
}
.email-block a { font-weight: 500; word-break: break-all; }
form.contact-form {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.5rem 1.4rem 1.4rem;
}
.field { margin-bottom: 1rem; }
.field label, .field .label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 6px;
  background: #f8eee9;
  border: 1px solid #e2c8bc;
  color: var(--navy-deep);
  display: none;
}
.form-status.is-visible { display: block; }

.site-footer {
  background: var(--navy-deep);
  color: #e6dece;
  padding: 2.25rem 0 1.75rem;
  margin-top: 1rem;
}
.site-footer a { color: #f0e6d0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner {
  display: grid;
  gap: 1rem;
}
.footer-brand {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cream);
}
.footer-nav, .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  font-size: 0.92rem;
}
.footer-contact { font-size: 0.95rem; margin: 0.15rem 0 0; }
.footer-contact a { font-weight: 500; }
.footer-legal { font-size: 0.82rem; color: #c9c0b0; margin: 0.35rem 0 0; }
.contact-actions { margin: 1rem 0 0; }
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
form.contact-form { position: relative; }

.text-us-sticky {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  background: var(--navy);
  color: var(--cream) !important;
  text-decoration: none;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--amber);
  box-shadow: 0 4px 18px rgba(18, 40, 51, 0.35);
}
.text-us-sticky:hover {
  background: var(--navy-deep);
  color: var(--cream) !important;
}
@media (max-width: 860px) {
  .site-footer { padding-bottom: 5.5rem; }
  .text-us-sticky { right: 0.85rem; bottom: 0.85rem; }
}

@media (max-width: 860px) {
  .cards, .steps, .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-toggle-label { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-header { position: sticky; }
  .site-nav a.cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero { padding: 2.75rem 0 3rem; }
  .section { padding: 2.5rem 0; }
  .steps { grid-template-columns: 1fr; }
  .header-inner, .footer-inner, .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}

.cards-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.service-group {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.service-group:first-of-type { border-top: 0; padding-top: 0.25rem; }
.service-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.service-list li {
  margin: 0 0 1.05rem;
  padding: 0 0 1.05rem;
  border-bottom: 1px solid var(--rule);
}
.service-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.service-list strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.hero .lede + .lede { margin-top: -0.75rem; }

@media (max-width: 860px) {
  .cards-5 { grid-template-columns: 1fr; }
}
