@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/barlow-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

:root {
  --navy: #0b1f3a;
  --navy-deep: #071525;
  --gold: #c9a227;
  --gold-hover: #ddb84a;
  --cream: #f4f0e6;
  --paper: #fbf8f1;
  --white: #ffffff;
  --ink: #0b1f3a;
  --muted: #3e5168;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 16px 40px rgba(7, 21, 37, 0.08);
  --wrap: 72rem;
  --space: clamp(1.15rem, 4vw, 2rem);
  --nav-h: 4.4rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

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

body {
  margin: 0;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
button, input, textarea { font: inherit; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 50;
  padding: 0.6rem 0.9rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-nav-bar {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  min-height: var(--nav-h);
}

.site-nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav__brand:focus-visible,
.site-nav__list a:focus-visible,
.btn:focus-visible,
.site-nav__toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-nav__logo { width: min(10.5rem, 46vw); height: auto; }

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.site-nav__toggle-box {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 0.95rem;
}

.site-nav__toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease;
}

.site-nav__toggle-bar:nth-child(1) { top: 0; }
.site-nav__toggle-bar:nth-child(2) { top: 50%; margin-top: -1px; }
.site-nav__toggle-bar:nth-child(3) { bottom: 0; }

body.nav-open .site-nav__toggle-bar:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}
body.nav-open .site-nav__toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .site-nav__toggle-bar:nth-child(3) {
  top: 50%;
  bottom: auto;
  margin-top: -1px;
  transform: rotate(-45deg);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.8rem;
  color: var(--white);
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav__list a:hover,
.site-nav__list a.is-active { color: var(--gold); }

.nav-cta {
  margin-left: 0.35rem;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 999px;
  padding-inline: 1rem !important;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--gold-hover);
  color: var(--navy) !important;
}

.hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(201, 162, 39, 0.18), transparent 32rem),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%);
  color: var(--white);
  padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.2rem);
}

.kicker {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.92rem;
}

.hero h1,
.page-hero h1 {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.96;
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 14ch;
  margin-top: 0.7rem;
}

.lede {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-hover); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--navy); color: var(--white); }
.btn--ink:hover { background: var(--navy-deep); }
.btn--line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }

.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head h2,
.block-title {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-head p,
.muted { color: var(--muted); margin-top: 0.7rem; }
.section--navy .muted { color: rgba(255, 255, 255, 0.78); }

.gold-rule {
  display: block;
  width: 3.2rem;
  height: 3px;
  margin: 0.8rem 0 0;
  background: var(--gold);
}

.service-grid,
.trio,
.license-grid,
.team-grid {
  display: grid;
  gap: 1rem;
}

.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.license-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card,
.plain-card,
.license-card,
.person,
.faq details {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.2rem;
  text-decoration: none;
  border-top: 4px solid var(--gold);
}

.service-card:hover { border-top-color: var(--navy); }
.service-card span {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
}
.service-card h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: 1.45rem;
  line-height: 1.15;
}
.service-card p { color: var(--muted); flex: 1; }
.service-card em {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

.plain-card,
.license-card { padding: 1.25rem 1.3rem 1.35rem; }
.plain-card h3,
.license-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.plain-card p,
.license-card p { color: var(--muted); }

.license-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  align-items: center;
}
.license-code {
  grid-row: span 3;
  align-self: center;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 4.5rem;
}
.license-card h3 { margin: 0; }
.status {
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: var(--cream);
  color: var(--navy);
  font-family: "Barlow Condensed", Barlow, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.92rem;
}

.person { padding: 1.2rem 1.2rem 1.35rem; text-align: center; }
.person img {
  width: 9.5rem;
  height: 9.5rem;
  margin: 0.3rem auto 0.9rem;
  border-radius: 50%;
  object-fit: cover;
}
.person h3 { font-size: 1.3rem; }
.person p {
  margin-top: 0.25rem;
  color: var(--gold);
  font-family: "Barlow Condensed", Barlow, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.4rem, 6vw, 4rem) 0;
}
.page-hero .lede { color: rgba(255, 255, 255, 0.84); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.prose p + p { margin-top: 0.9rem; }
.prose a { color: var(--navy); font-weight: 700; }

.prose a.btn--ink,
.prose a.btn--ink:hover,
.prose a.btn--line:hover {
  color: var(--white);
}

.prose a.btn--line {
  color: var(--navy);
}

.prose a.btn--primary,
.prose a.btn--primary:hover {
  color: var(--navy);
}

.check-list { list-style: none; padding: 0; margin-top: 1rem; }
.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-top: 0.45rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
}

.faq { display: grid; gap: 0.7rem; }
.faq details { padding: 0.95rem 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 0.55rem; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
}
.contact-card a { color: var(--gold); font-weight: 700; text-decoration: none; }
.contact-card p { margin-top: 0.7rem; }
.contact-card h2 {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
label { display: grid; gap: 0.3rem; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(11, 31, 58, 0.22);
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.95rem; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.4rem 0 1.3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 1.5rem;
}
.footer-logo { width: 9rem; margin-bottom: 0.8rem; }
.site-footer h2 {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p + p,
.site-footer a + a { margin-top: 0.35rem; }
.footer-links { display: flex; flex-direction: column; }
.footer-meta {
  width: min(var(--wrap), calc(100% - var(--space) * 2));
  margin: 1.5rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
  }
  body.nav-open .site-nav { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: min(var(--wrap), calc(100% - var(--space) * 2));
    margin: 0 auto;
    padding: 0.4rem 0 1rem;
  }
  .site-nav__list a { min-height: 3.1rem; font-size: 1.15rem; }
  .nav-cta { margin: 0.4rem 0 0; justify-content: center; }
  .service-grid,
  .trio,
  .license-grid,
  .team-grid,
  .split,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
}
