:root {
  --navy: #071e36;
  --navy-2: #0e2b4a;
  --gold: #b88a35;
  --gold-2: #d2ad68;
  --off-white: #f8f5ef;
  --charcoal: #1f2933;
  --muted: #5b6571;
  --line: rgba(7, 30, 54, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 30, 54, 0.16);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--off-white);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--navy);
  background: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(7, 30, 54, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
  min-width: 0;
}

.site-header.is-scrolled {
  background: rgba(7, 30, 54, 0.94);
  box-shadow: 0 12px 40px rgba(7, 30, 54, 0.22);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
}

.brand span {
  font-weight: 750;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--gold-2);
}

.nav-cta {
  padding: 0.68rem 0.9rem;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero picture,
.hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: 60% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 30, 54, 0.9) 0%, rgba(7, 30, 54, 0.64) 38%, rgba(7, 30, 54, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 30, 54, 0.82) 0%, rgba(7, 30, 54, 0) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 9rem 0 6rem;
  min-width: 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.93;
  font-weight: 500;
  overflow-wrap: break-word;
}

.tagline {
  margin-bottom: 1.1rem;
  color: var(--gold-2);
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  font-weight: 760;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  color: var(--navy);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold-2);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 820;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.rich-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro {
  background: var(--off-white);
}

.audience,
.process {
  color: var(--white);
  background: var(--navy);
}

.audience h2,
.process h2,
.process h3 {
  color: var(--white);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.audience-list span {
  padding: 0.7rem 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid article {
  min-height: 220px;
  padding: 1.35rem;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid p,
.capability-panel p,
.capability-panel li,
.process-list p,
.contact-copy p {
  color: var(--muted);
}

.capabilities {
  background: #f0ece3;
}

.capability-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.capability-panel ul {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.capability-panel li + li {
  margin-top: 0.55rem;
}

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

.process-list li {
  padding-top: 1rem;
  border-top: 2px solid rgba(210, 173, 104, 0.7);
}

.process-list span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-2);
  font-weight: 850;
}

.process-list p {
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  background: var(--off-white);
}

.contact-copy img {
  width: 128px;
  height: 128px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: var(--white);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-row.full,
.button.full,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  color: var(--charcoal);
  background: #fbfaf7;
  border: 1px solid rgba(31, 41, 51, 0.22);
  border-radius: var(--radius);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(184, 138, 53, 0.28);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: #06172a;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
}

.site-footer p {
  margin-bottom: 0.2rem;
}

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

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-2);
}

.legal-page {
  padding-top: 8rem;
}

.legal-content {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h1 {
  color: var(--navy);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(7, 30, 54, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
  }

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

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
    margin-top: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  .nav-toggle {
    flex: 0 0 44px;
    margin-left: auto;
  }

  .brand span {
    max-width: 120px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero picture img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 30, 54, 0.94) 0%, rgba(7, 30, 54, 0.72) 60%, rgba(7, 30, 54, 0.38) 100%),
      linear-gradient(0deg, rgba(7, 30, 54, 0.88) 0%, rgba(7, 30, 54, 0) 55%);
  }

  .hero-content {
    width: auto;
    max-width: calc(100vw - 28px);
    margin-right: 14px;
    margin-left: 14px;
    padding-bottom: 4rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.7rem, 13.6vw, 4rem);
  }

  .section-inner,
  .footer-inner,
  .legal-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .service-grid,
  .process-list,
  .contact-form,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 0.4rem;
  }

  .legal-nav {
    display: none;
  }
}

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