:root {
  --navy: #0d1b2a;
  --navy-2: #16283d;
  --sand: #d9c7a5;
  --sand-soft: #f3eee5;
  --white: #ffffff;
  --text: #17212b;
  --muted: #66717d;
  --line: rgba(13, 27, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(13, 27, 42, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(780px, 100%);
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--sand-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

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

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.06);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(13, 27, 42, 0.06);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  padding-top: 120px;
  background:
    radial-gradient(circle at 78% 16%, rgba(217, 199, 165, 0.4), transparent 33%),
    linear-gradient(180deg, #fbfcfd 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #857250;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(13, 27, 42, 0.18);
}

.button-primary:hover {
  background: var(--navy-2);
}

.button-secondary {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.05);
  border-color: rgba(13, 27, 42, 0.08);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.hero-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), transparent 40%),
    var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.abstract-mark {
  position: relative;
  height: 185px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.abstract-mark span {
  display: block;
  width: 18%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.abstract-mark span:nth-child(1) {
  height: 45%;
}

.abstract-mark span:nth-child(2) {
  height: 72%;
}

.abstract-mark span:nth-child(3) {
  height: 100%;
  background: linear-gradient(180deg, rgba(217, 199, 165, 0.42), transparent);
}

.hero-card p {
  max-width: 34ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.07rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(13, 27, 42, 0.05);
}

.service-card p {
  color: var(--muted);
}

.service-number {
  display: inline-block;
  margin-bottom: 70px;
  color: #927c53;
  font-size: 0.8rem;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.approach-list {
  display: grid;
  gap: 22px;
}

.approach-list > div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.approach-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  padding-top: 20px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
}

.cta-card h2,
.cta-card .eyebrow {
  color: var(--white);
}

.cta-card h2 {
  margin-bottom: 0;
}

.page-hero {
  padding-top: 120px;
  background:
    radial-gradient(circle at 75% 10%, rgba(217, 199, 165, 0.35), transparent 30%),
    #fbfcfd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 45px rgba(13, 27, 42, 0.06);
}

.contact-panel > p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-details > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-details span,
.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-details a,
.contact-details p {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 600;
}

.contact-note,
.form-disclaimer {
  margin-top: 24px;
  color: #8a7350 !important;
  font-size: 0.83rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  background: #fafbfc;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 12px;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  background: var(--white);
  border-color: rgba(13, 27, 42, 0.42);
  box-shadow: 0 0 0 4px rgba(13, 27, 42, 0.06);
}

.form-status {
  display: none;
  margin: 0;
  color: #416448;
  font-weight: 600;
}

.site-footer {
  padding: 56px 0;
  background: #0a1521;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.site-footer p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

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

  .split-section {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .hero {
    padding-top: 92px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 36px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 26px;
  }

  .contact-panel,
  .contact-form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
