:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #596864;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: rgba(20, 33, 31, 0.14);
  --green: #17443b;
  --green-2: #286657;
  --clay: #b85c38;
  --gold: #d2a552;
  --shadow: 0 24px 70px rgba(20, 33, 31, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(247, 245, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(20, 33, 31, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.nav-active .site-nav a:hover,
.site-header.nav-active .site-nav a:focus-visible {
  background: rgba(23, 68, 59, 0.09);
}

.site-nav .nav-cta {
  background: var(--gold);
  color: #21170b;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 28, 25, 0.84) 0%, rgba(9, 28, 25, 0.62) 38%, rgba(9, 28, 25, 0.18) 72%),
    linear-gradient(0deg, rgba(9, 28, 25, 0.6) 0%, rgba(9, 28, 25, 0.04) 44%);
}

.hero-content {
  width: min(820px, 100%);
  padding: 160px clamp(18px, 6vw, 88px) 88px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #f1be67;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #21170b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  min-height: 122px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--surface);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 1.1rem;
}

.trust-band span {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 6vw, 88px);
}

.intro-grid,
.section-heading,
.profile-band,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.intro p,
.section-heading p,
.profile-band p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  background: #eef2e8;
}

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(20, 33, 31, 0.07);
}

.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--clay);
  font-weight: 900;
}

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

.service-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.references {
  background: var(--paper);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.reference-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.reference-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process {
  background: var(--green);
  color: #fff;
}

.process .section-kicker {
  color: #f1be67;
}

.process h2 {
  max-width: 920px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 52px 0 0;
  list-style: none;
}

.timeline li {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.timeline span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.76);
}

.profile-band {
  padding: clamp(76px, 10vw, 118px) clamp(18px, 6vw, 88px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.faq {
  background: #eef2e8;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-top: 44px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20, 33, 31, 0.06);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 20px 58px 20px 22px;
  font-weight: 850;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 22px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 33, 31, 0.22);
  border-radius: 50%;
  color: var(--green);
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 820px;
  margin: 0;
  padding: 0 58px 22px 22px;
  color: var(--muted);
}

.contact {
  background: #fbfaf7;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 33, 31, 0.2);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-2);
  outline: 3px solid rgba(40, 102, 87, 0.16);
}

.checkbox-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 750;
}

.form-status.is-error {
  color: #9f3428;
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 6vw, 88px);
  background: #101a18;
  color: #fff;
}

.site-footer strong,
.site-footer span,
.footer-links a {
  display: block;
}

.site-footer span,
.footer-links {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-header {
  position: static;
}

.legal-nav {
  color: inherit;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 34px clamp(18px, 6vw, 88px) 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
}

.legal-content {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px) 0;
}

.legal-content h2 {
  margin: 30px 0 8px;
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
  line-height: 1.18;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content a {
  color: var(--green);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .section-heading,
  .profile-band,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 132px 18px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 28, 25, 0.88) 0%, rgba(9, 28, 25, 0.62) 100%),
      linear-gradient(0deg, rgba(9, 28, 25, 0.7) 0%, rgba(9, 28, 25, 0.1) 55%);
  }

  .button {
    width: 100%;
  }

  .trust-band,
  .service-grid,
  .timeline,
  .reference-grid {
    grid-template-columns: 1fr;
  }

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

  .card-number {
    margin-bottom: 30px;
  }

  .site-footer {
    display: grid;
  }

  .legal-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-nav a:not(.nav-cta) {
    display: none;
  }

  .legal-hero {
    padding-top: 28px;
  }

  .legal-content {
    width: min(100% - 36px, 860px);
  }
}
