:root {
  --ink: #1f3b4b;
  --muted: #63758d;
  --line: #dbe4ed;
  --paper: #ffffff;
  --white: #ffffff;
  --steel: #1f3b4b;
  --aqua: #7fb2c3;
  --gold: #c99a44;
  --shadow: 0 24px 70px rgba(31, 59, 75, 0.16);
  color-scheme: light;
  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;
  color: var(--ink);
  background: var(--paper);
}

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

.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: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  max-height: 48px;
  width: auto;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

.brand-mark::before {
  position: absolute;
  inset: 0;
  content: "";
  border-left: 4px solid var(--ink);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.brand-mark::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 12px;
  content: "";
  background: var(--ink);
  box-shadow: 0 36px 0 var(--ink);
}

.brand-name {
  font-size: 1.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 8px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background:
    linear-gradient(var(--white), var(--white)) 50% 17px / 19px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) 50% 26px / 19px 2px no-repeat,
    var(--ink);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 88vh;
  padding: 132px clamp(22px, 7vw, 96px) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 249, 245, 1) 0%, rgba(251, 249, 245, 0.98) 39%, rgba(251, 249, 245, 0.58) 63%, rgba(251, 249, 245, 0.28) 100%),
    var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("hero-main-crop.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 14%, rgba(0, 0, 0, 0.58) 34%, black 58%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 14%, rgba(0, 0, 0, 0.58) 34%, black 58%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(251, 249, 245, 0.96) 30%, rgba(251, 249, 245, 0.46) 51%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: 5rem;
  line-height: 1;
  font-weight: 650;
  max-width: 720px;
}

h2 {
  margin-bottom: 22px;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 650;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
  line-height: 1.12;
}

.hero-copy,
.approach-copy p,
.service-card p,
.steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-copy {
  width: 100%;
  max-width: 560px;
  margin: 18px 0 48px;
  font-size: 1.14rem;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 26px clamp(22px, 7vw, 96px);
  background: var(--ink);
  color: var(--white);
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro p,
.intro span {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.intro-line {
  display: none;
}

.section,
.contact-band {
  scroll-margin-top: 84px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 7vw, 96px);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 320px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
}

.service-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--aqua);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.credentials {
  border-top: 1px solid var(--line);
}

.credentials-content {
  max-width: 720px;
}

.credentials-intro {
  margin-bottom: 32px;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid rgba(99, 117, 141, 0.28);
  font-size: 1rem;
  font-weight: 500;
}

.credentials-list li:last-child {
  border-bottom: 1px solid rgba(99, 117, 141, 0.28);
}

.credentials-list li::before {
  content: "—";
  color: var(--aqua);
  font-weight: 800;
  flex-shrink: 0;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 7vw, 90px);
  background: var(--white);
}

.approach-copy {
  max-width: 720px;
}

.steps {
  display: grid;
  gap: 14px;
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(99, 117, 141, 0.28);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(99, 117, 141, 0.28);
}

.steps span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.steps p {
  margin-bottom: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
  padding: clamp(64px, 9vw, 108px) clamp(22px, 7vw, 96px);
  color: var(--ink);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}


.contact-band h2 {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.contact-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-band h2,
.contact-band .eyebrow {
  text-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 7vw, 96px);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 921px) and (max-width: 1240px) {
  .hero {
    min-height: 820px;
    padding-top: 124px;
    background: var(--white);
  }

  .hero-media {
    background-position: right top;
    background-size: auto 100%;
    opacity: 0.62;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 44%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0) 70%);
  }

  h1 {
    font-size: 4.55rem;
    max-width: 720px;
  }

  .hero-copy {
    max-width: 560px;
  }
}

@media (max-width: 1860px) and (min-width: 921px) {
  .hero-media {
    background-position: calc(100% + 200px) top;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block !important;
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 12;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    display: none;
    min-width: min(280px, calc(100vw - 40px));
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 82vh;
    grid-template-columns: 1fr;
    background: var(--white);
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-position: calc(100% + 240px) 65%;
    background-size: 100% auto;
    opacity: 0.24;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-content {
    justify-self: start;
    align-self: center;
    padding: 0 20px 0 20px;
  }

  .hero-copy {
    background: transparent;
    margin: 18px 0 48px;
    padding: 16px 0 24px;
    max-width: 38ch;
  }

  h1 {
    max-width: 680px;
    font-size: 4.1rem;
  }

  h2 {
    font-size: 3rem;
  }

  .approach,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 14px 20px;
  }

  .section,
  .contact-band {
    scroll-margin-top: 76px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 60px;
    height: 40px;
    font-size: 1.58rem;
  }

  .brand-mark::before {
    border-left-width: 3px;
    border-top-width: 3px;
    border-bottom-width: 3px;
  }

  .brand-mark::after {
    width: 3px;
    height: 10px;
    box-shadow: 0 30px 0 var(--ink);
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 46px;
    background: var(--white);
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    opacity: 0.24;
    background-repeat: no-repeat;
    background-position: calc(100% + 120px) center;
    background-size: 140% auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-content {
    max-width: 340px;
    padding: 0 20px 0;
    justify-self: start;
    align-self: center;
  }

  .hero-content::before {
    display: none;
  }

  .hero-copy {
    padding: 16px 0 24px;
    margin: 18px 0 48px;
    background: transparent;
    max-width: 38ch;
  }

  h1 {
    font-size: 3.2rem;
    max-width: 100%;
    margin-bottom: 160px;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy,
  .approach-copy p,
  .service-card p,
  .steps p {
    font-size: 1.12rem;
    line-height: 1.6;
  }

  .hero-copy {
    max-width: 38ch;
    margin: 18px 0 12px;
    padding: 16px 0 0;
  }

  .button {
    width: 100%;
  }

  .intro {
    gap: 10px;
  }

  .intro-line {
    display: none;
  }

  .intro p,
  .intro span {
    font-size: 0.84rem;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-list a,
  .contact-list span {
    align-items: flex-start;
  }
}
