:root {
  color-scheme: light;
  --ink: #101419;
  --muted: #5d6672;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --soft: #ece8dd;
  --line: rgba(16, 20, 25, 0.13);
  --navy: #111827;
  --blue: #255c99;
  --green: #28766f;
  --gold: #c69a3a;
  --orange: #b86137;
  --shadow: 0 24px 70px rgba(16, 20, 25, 0.14);
  --font-body: "Manrope", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(16, 20, 25, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 52%, #f1eee7 100%);
  background-size: 96px 96px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  margin: 0;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
.nav,
.hero-actions,
.form-footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(16, 20, 25, 0.2);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 42px;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  color: rgba(16, 20, 25, 0.76);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.hero {
  isolation: isolate;
  min-height: min(720px, calc(100svh - 112px));
  overflow: hidden;
  padding: clamp(56px, 9vw, 118px) clamp(20px, 5vw, 76px);
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  z-index: -3;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(246, 244, 239, 0.98) 0%, rgba(246, 244, 239, 0.9) 39%, rgba(246, 244, 239, 0.34) 73%),
    linear-gradient(180deg, rgba(246, 244, 239, 0), rgba(246, 244, 239, 0.84));
  z-index: -2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 28px;
  max-width: 820px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 20px;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-copy {
  color: #374151;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  max-width: 690px;
}

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

.button {
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font: 900 0.78rem/1 var(--font-body);
  justify-content: center;
  min-height: 48px;
  padding: 17px 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  outline: 2px solid rgba(37, 92, 153, 0.28);
  outline-offset: 3px;
  transform: translateY(-2px);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(16, 20, 25, 0.24);
  color: var(--ink);
}

.intro-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(32px, 5vw, 54px) clamp(20px, 5vw, 76px);
}

.intro-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.55;
  margin: 0;
  max-width: 980px;
}

.section {
  padding: clamp(68px, 10vw, 130px) clamp(20px, 5vw, 76px);
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 62px);
  max-width: 860px;
}

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

.service-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(16, 20, 25, 0.08);
  min-height: 292px;
  padding: clamp(24px, 3vw, 34px);
}

.service-number {
  color: var(--green);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 58px;
}

.service-grid p,
.approach-copy p,
.contact-intro p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.approach-section {
  align-items: center;
  background: var(--soft);
  border-block: 1px solid rgba(16, 20, 25, 0.1);
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
}

.strategy-image {
  border: 1px solid rgba(16, 20, 25, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strategy-image img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.step-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
}

.step-list article {
  border-top: 1px solid rgba(16, 20, 25, 0.15);
  padding: 22px 0;
}

.step-list article:last-child {
  border-bottom: 1px solid rgba(16, 20, 25, 0.15);
}

.step-list p {
  margin-bottom: 0;
}

.contact-section {
  background:
    linear-gradient(120deg, rgba(40, 118, 111, 0.18), transparent 42%),
    #101419;
  color: #fff;
  display: grid;
  gap: clamp(34px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  padding: clamp(68px, 10vw, 132px) clamp(20px, 5vw, 76px);
  position: relative;
  scroll-margin-top: 84px;
}

.contact-section::before {
  background: #101419;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.contact-intro {
  max-width: 660px;
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-intro a {
  color: #f0c85b;
  font-weight: 800;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 40px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

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

label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  appearance: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  color: var(--ink);
  font: 600 1rem/1.4 var(--font-body);
  min-height: 50px;
  padding: 13px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f0c85b;
  outline: 3px solid rgba(240, 200, 91, 0.24);
}

.form-footer {
  grid-column: 1 / -1;
  gap: 18px;
  justify-content: space-between;
}

.form-status {
  color: #f0c85b;
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0;
}

.button[disabled] {
  cursor: progress;
  opacity: 0.62;
  transform: none;
}

.site-footer {
  align-items: center;
  background: #080a0d;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 76px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f0c85b;
  font-weight: 800;
}

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

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: min(640px, calc(100svh - 132px));
    padding: 42px 18px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(246, 244, 239, 0.98), rgba(246, 244, 239, 0.78)),
      linear-gradient(180deg, rgba(246, 244, 239, 0.08), rgba(246, 244, 239, 0.88));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.45rem);
  }

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

  .service-grid article {
    min-height: 230px;
  }

  .form-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .intro-band,
  .section {
    animation: rise 560ms ease both;
  }

  .intro-band {
    animation-delay: 90ms;
  }

  .section {
    animation-delay: 140ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
