:root {
  --navy: #13294b;
  --navy-deep: #102340;
  --gold: #b59461;
  --gold-ink: #6e5430;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --slate: #2c3a4b;
  --muted: #5c6b7c;
  --line: rgba(19, 41, 75, 0.14);
  --serif: "Roboto Slab", "Noto Serif", Georgia, serif;
  --sans: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  --header: 76px;
  --wrap: 1080px;
  color-scheme: light;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-padding-top: calc(var(--header) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--ivory);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--navy);
  color: var(--ivory);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

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

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

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand img {
  width: auto;
  height: 46px;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.32rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: #1c3d6e;
  border-color: #1c3d6e;
}

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

.header-cta {
  padding: 0.72rem 0.95rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--gold-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(19, 41, 75, 0.28);
}

.btn-ghost:hover {
  background: var(--ivory);
  border-color: var(--navy);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 0 4.25rem;
  background-color: var(--ivory);
  background-image: url("../assets/topo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(40rem, 100%);
}

.hero-logo {
  width: min(340px, 76vw);
  height: auto;
  margin: 0 auto 1.6rem;
  display: block;
}

.hero.hero-video {
  display: block;
  padding: 0;
  background: #121416;
  background-image: none;
  text-align: center;
}

.hero-media {
  position: relative;
  background: #121416;
}

.hero-media video,
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  background: #121416;
}

.hero-poster {
  display: none;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5.5rem 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.94) 0%, rgba(8, 10, 14, 0.72) 42%, rgba(8, 10, 14, 0) 100%);
}

.hero-video h1 {
  color: #ffffff;
}

.hero-video .support {
  color: #f7f5f0;
}

.hero-video .text-link {
  color: #e4c99a;
}

.hero-video .btn {
  border-color: #b59461;
}

.hero h1 {
  margin: 0 auto 0.9rem;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero h1 span {
  display: block;
}

.hero.hero-video h1 {
  color: #ffffff;
}

.hero.hero-video .support {
  color: #f7f5f0;
}

.hero.hero-video .text-link {
  color: #e4c99a;
}

.hero.hero-video .btn {
  background: #f7f5f0;
  border-color: #b59461;
  color: #13294b;
}

.hero.hero-video .btn:hover {
  background: #ffffff;
  border-color: #e4c99a;
  color: #102340;
}

.hero .support {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.credibility {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credibility-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0.15rem 0;
}

.credibility-list li {
  margin: 0;
  padding: 0.95rem 0.7rem;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  border-left: 1px solid var(--line);
}

.credibility-list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section-lead {
  margin: -0.35rem 0 1.6rem;
  max-width: 40rem;
}

.services {
  background: var(--white);
  padding: 4.5rem 0 4.25rem;
}

.services h2,
.band h2,
.contact h2,
.legal h1 {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.2;
}

.services h2,
.band h2,
.contact h2 {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
}

.band {
  padding: 4.5rem 0;
}

.markets {
  background: var(--white);
}

.market-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.market-list li {
  margin: 0;
  padding: 1.15rem 1rem;
  background: var(--ivory);
  border-top: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.process {
  background: var(--ivory);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 2px solid var(--navy);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--navy);
}

.steps p,
.about p {
  margin: 0 0 0.85rem;
  max-width: 42rem;
}

.about {
  background: var(--white);
}

.about p:last-child {
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  counter-reset: service;
}

.service-list li {
  counter-increment: service;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 1.25rem;
}

.service-list li::before {
  content: counter(service, decimal-leading-zero);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}

.service-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--navy);
}

.service-list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--slate);
}

.service-list .note {
  margin-top: 0.55rem;
}

.service-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
}

.service-groups .service-lead {
  grid-column: 1 / -1;
}

.service-groups article {
  margin: 0;
  padding-top: 0.95rem;
  border-top: 2px solid var(--navy);
}

.service-groups h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--navy);
}

.service-groups p {
  margin: 0;
  max-width: 36rem;
  color: var(--slate);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
}

.chips li {
  margin: 0;
  padding: 0.38rem 0.62rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.process-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}

.process-strip li {
  margin: 0;
  padding: 1rem 1.15rem 0 0;
}

.process-strip li + li {
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
}

.process-strip h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--navy);
}

.process-strip p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.contact {
  padding: 4.5rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.contact .lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.email-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  text-underline-offset: 0.18em;
}

.inquiry {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.2rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label,
.check {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
}

.req {
  color: var(--gold-ink);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(19, 41, 75, 0.22);
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid {
  border-color: #8d3d3d;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.35rem 0 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--slate);
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--navy);
}

.fine {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.fine a {
  color: var(--navy);
}

.form-actions .btn {
  margin-bottom: 0.35rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
}

.form-status p {
  margin: 0 0 0.7rem;
}

.form-status pre {
  margin: 0 0 0.8rem;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slate);
}

.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
  border-top: 2px solid var(--gold);
  padding: 1.6rem 0;
}

.site-footer :focus-visible {
  outline-color: var(--ivory);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: auto;
  height: 52px;
}

.footer-name {
  margin: 0 0 0.15rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
}

.footer-email,
.footer-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-email:hover,
.footer-nav a:hover {
  color: #e4c99a;
}

.footer-nav {
  display: flex;
  gap: 1.35rem;
}

.legal {
  padding: 3.25rem 0 4.5rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.legal .meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2rem 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
}

.legal p,
.legal li {
  max-width: 40rem;
  margin: 0 0 0.8rem;
}

.legal ul {
  margin: 0 0 0.8rem;
  padding-left: 1.15rem;
}

.legal a {
  color: var(--navy);
}

@media (min-width: 880px) {
  .hero:not(.hero-video) {
    padding: 3.25rem 0 2.75rem;
  }
}

@media (max-width: 800px) {
  .hero-copy {
    position: static;
    padding: 1.6rem 1.15rem 2rem;
    background: #121416;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video {
    display: none;
  }

  .hero-poster {
    display: block;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1.15rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin-top: 0.95rem;
  }
}

@media (max-width: 800px) {
  .service-list,
  .service-groups,
  .contact-grid,
  .steps,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip {
    border-top: 0;
  }

  .process-strip li,
  .process-strip li + li {
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .market-list {
    grid-template-columns: 1fr 1fr;
  }

  .credibility-list {
    grid-template-columns: 1fr;
  }

  .credibility-list li,
  .credibility-list li:nth-child(even),
  .credibility-list li:first-child {
    padding: 0.75rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .credibility-list li:first-child {
    border-top: 0;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .services,
  .contact,
  .band {
    padding: 3rem 0;
  }
}

@media (max-width: 560px) {
  .market-list {
    grid-template-columns: 1fr;
  }
}

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  :root {
    --header: 68px;
  }

  .brand img {
    height: 40px;
  }

  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  .brand-sub {
    letter-spacing: 0.16em;
    font-size: 0.58rem;
  }

  .header-cta {
    padding: 0.85rem 1rem;
    font-size: 0.94rem;
  }
}
