:root {
  --ink: #111827;
  --muted: #5d6975;
  --paper: #f4f0e7;
  --white: #ffffff;
  --teal: #087f78;
  --teal-dark: #073f46;
  --brass: #f0a33a;
  --coral: #d7653f;
  --sage: #6d8b74;
  --blue: #225c8a;
  --graphite: #202832;
  --line: rgba(17, 24, 39, 0.14);
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

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

img,
svg {
  display: block;
}

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

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

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 8px 35px rgba(24, 32, 31, 0.12);
  backdrop-filter: blur(18px);
}

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

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

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

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

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

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible,
.site-header.is-open .main-nav a:hover,
.site-header.is-open .main-nav a:focus-visible {
  background: rgba(15, 118, 110, 0.1);
}

.nav-cta {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(22px, 6vw, 86px) 80px;
  color: var(--white);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 20, 28, 0.9) 0%, rgba(8, 20, 28, 0.78) 34%, rgba(8, 20, 28, 0.24) 72%),
    linear-gradient(0deg, rgba(8, 20, 28, 0.56) 0%, rgba(8, 20, 28, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

.eyebrow {
  color: #ffc46b;
}

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

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.3vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.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: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #111827;
  background: var(--brass);
  box-shadow: 0 14px 30px rgba(240, 163, 58, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17, 24, 39, 0.14);
  border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.quick-facts div {
  min-height: 118px;
  padding: 26px clamp(18px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    var(--paper);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.quick-facts span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 86px);
}

.intro-grid,
.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-top > div {
  min-width: 0;
}

.section-top p {
  max-width: 440px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.accent-teal .service-icon {
  background: var(--teal);
}

.accent-brass .service-icon {
  background: var(--brass);
}

.accent-brass {
  border-top-color: var(--brass);
}

.accent-coral .service-icon {
  background: var(--coral);
}

.accent-coral {
  border-top-color: var(--coral);
}

.accent-graphite .service-icon {
  background: var(--graphite);
}

.accent-graphite {
  border-top-color: var(--graphite);
}

.accent-sage .service-icon {
  background: var(--sage);
}

.accent-sage {
  border-top-color: var(--sage);
}

.accent-blue .service-icon {
  background: var(--blue);
}

.accent-blue {
  border-top-color: var(--blue);
}

.band {
  padding: clamp(74px, 9vw, 124px) clamp(22px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 48, 61, 0.98), rgba(8, 127, 120, 0.92) 58%, rgba(32, 40, 50, 0.98)),
    #12313d;
}

.band-inner {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: clamp(34px, 5vw, 56px);
}

.band-inner > div:first-child {
  max-width: 900px;
}

.section-label.light {
  color: #f3ca80;
}

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

.process-list article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-list span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(243, 202, 128, 0.48);
  border-radius: 50%;
  color: #f3ca80;
  font-size: 0.82rem;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.split p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
}

.contact-section {
  padding: clamp(74px, 9vw, 124px) clamp(22px, 6vw, 86px);
  background: var(--white);
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

address {
  margin-top: 30px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 31, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  outline: none;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.76);
  background: #18201f;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(247, 244, 238, 0.98);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    border-radius: 8px;
  }

  .hero {
    min-height: 86vh;
    align-items: end;
  }

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

  .intro-grid,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list article {
    min-height: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section-top {
    display: block;
  }
}

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

  .brand small {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 112px 20px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 20, 28, 0.9) 0%, rgba(8, 20, 28, 0.64) 76%),
      linear-gradient(0deg, rgba(8, 20, 28, 0.62), rgba(8, 20, 28, 0.08));
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .quick-facts div {
    min-height: auto;
  }

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

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
