:root {
  color-scheme: light;
  --navy: #061827;
  --navy-2: #0e2a3d;
  --steel: #eaf0f3;
  --slate: #465b6d;
  --gold: #c59b4c;
  --white: #ffffff;
  --ink: #132333;
  --line: #d7e1e7;
  --shadow: 0 18px 42px rgb(6 24 39 / 12%);
  --max-width: 1120px;
  --section-y: clamp(48px, 6.8vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgb(255 255 255 / 95%);
  border-bottom: 1px solid rgb(215 225 231 / 88%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.18;
}

.brand-text small {
  color: var(--slate);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--gold);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 68svh;
  align-items: end;
  padding: clamp(84px, 11vw, 122px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 88px);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(6 24 39 / 94%) 0%, rgb(6 24 39 / 80%) 48%, rgb(6 24 39 / 30%) 100%),
    linear-gradient(180deg, rgb(6 24 39 / 8%) 0%, rgb(6 24 39 / 76%) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
}

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

.button.primary:hover {
  background: #d2aa63;
}

.button.secondary {
  border-color: rgb(255 255 255 / 42%);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 10%);
}

.section {
  padding: var(--section-y) clamp(18px, 5vw, 72px);
}

.two-column,
.section-head,
.service-grid,
.process-grid,
.contact-content,
.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.two-column,
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.26;
}

p {
  margin: 0;
  color: var(--slate);
}

.section-copy {
  display: grid;
  gap: 16px;
  font-size: 1.04rem;
}

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

.about-section {
  border-bottom: 1px solid var(--line);
}

.services-section {
  background: var(--steel);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 680px;
}

.section-head p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.service-card,
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgb(6 24 39 / 5%);
}

.service-card::before,
.process-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 42px;
  height: 3px;
  background: var(--gold);
  content: "";
}

.service-card h3,
.process-card h3 {
  max-width: 92%;
}

.service-card p,
.process-card p {
  margin-top: 14px;
  font-size: 0.96rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.process-card {
  min-height: 176px;
}

.contact-section {
  background: var(--navy);
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.contact-content {
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  background: var(--navy-2);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  max-width: 620px;
  margin-top: 16px;
  color: rgb(255 255 255 / 74%);
  font-size: 1.05rem;
}

.contact-card {
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgb(0 0 0 / 14%);
}

.contact-card span {
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.email-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--navy);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--navy-2);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px);
  background: #04111d;
  color: rgb(255 255 255 / 70%);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  color: inherit;
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

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

  .contact-content {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .nav-links {
    gap: 18px;
    justify-content: flex-start;
    padding-bottom: 2px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 40px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgb(6 24 39 / 94%) 0%, rgb(6 24 39 / 82%) 100%),
      linear-gradient(180deg, rgb(6 24 39 / 18%) 0%, rgb(6 24 39 / 80%) 100%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.2vw, 2.05rem);
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

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

  .section {
    padding: 48px 16px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card,
  .process-card {
    min-height: 0;
    padding: 24px 20px 20px;
  }

  .contact-section {
    padding: 40px 16px;
  }

  .contact-content {
    gap: 24px;
    padding: 24px;
  }

  .contact-card {
    min-height: 0;
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
