:root {
  --ink: #162026;
  --ink-soft: #33424a;
  --muted: #68777d;
  --paper: #f6f3ed;
  --white: #fffdfa;
  --line: rgba(22, 32, 38, 0.14);
  --copper: #b96f43;
  --copper-dark: #8e4f2c;
  --sage: #71846f;
  --coal: #101619;
  --shadow: 0 22px 70px rgba(16, 22, 25, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.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;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 12px 12px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(16, 22, 25, 0.56);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    margin 180ms ease;
}

.site-header.is-scrolled {
  margin-top: 10px;
  color: var(--ink);
  border-color: rgba(22, 32, 38, 0.1);
  background: rgba(255, 253, 250, 0.9);
}

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

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

.brand-logo .logo-primary {
  stroke: currentColor;
  stroke-width: 14;
}

.brand-logo .logo-seam {
  stroke: var(--copper);
  stroke-width: 8;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--copper), var(--sage));
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: currentColor;
  opacity: 0.9;
  transition:
    background 160ms ease,
    opacity 160ms ease,
    color 160ms ease;
}

.site-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled .site-nav a:hover {
  background: rgba(22, 32, 38, 0.07);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--copper);
  opacity: 1;
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--copper-dark);
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--coal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 22, 25, 0.3), rgba(16, 22, 25, 0.05)),
    url("https://images.unsplash.com/photo-1690897606066-0aa88b849203?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 22, 25, 0.18) 0%, rgba(16, 22, 25, 0.14) 48%, rgba(16, 22, 25, 0.78) 100%),
    radial-gradient(circle at 12% 92%, rgba(185, 111, 67, 0.34), transparent 30%);
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 190px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #f1c7ad;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--copper-dark);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 253, 250, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--copper-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.16);
}

.band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

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

.intro-copy p:last-child,
.contact-copy p:last-child,
.feature-panel p:last-child {
  margin-bottom: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 142px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--copper-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 330px;
  padding: 26px;
  color: var(--white);
  background: var(--coal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card:nth-child(2) {
  background: #203033;
}

.service-card:nth-child(3) {
  background: #574532;
}

.service-card:nth-child(4) {
  background: #354336;
}

.service-card span {
  display: block;
  margin-bottom: 70px;
  color: #f1c7ad;
  font-weight: 800;
}

.service-card p {
  color: rgba(255, 253, 250, 0.76);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  min-height: 680px;
  background: var(--white);
}

.feature-image {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(16, 22, 25, 0.02), rgba(16, 22, 25, 0.18)),
    url("https://images.unsplash.com/photo-1750267138164-b40268a6bba8?auto=format&fit=crop&w=1600&q=82") center / cover;
}

.feature-panel {
  align-self: center;
  padding: clamp(48px, 7vw, 96px);
}

.feature-panel p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.sector-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.sector-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.steps article {
  min-height: 292px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--copper-dark);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.steps p {
  color: var(--ink-soft);
}

.quote-section {
  padding: 112px 20px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 22, 25, 0.82), rgba(16, 22, 25, 0.44)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=82") center / cover fixed;
}

.quote-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

blockquote {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.quote-inner p {
  color: #f1c7ad;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.62fr);
  gap: clamp(38px, 7vw, 92px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 106px 0;
}

.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-links {
  margin-top: 30px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  background: rgba(255, 253, 250, 0.56);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 38, 0.18);
  border-radius: 6px;
  color: var(--ink);
  background: #fbfaf7;
  outline: 0;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(185, 111, 67, 0.16);
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-success {
  color: #3d6a46;
}

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

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--coal);
}

.footer-brand .brand-copy span {
  color: rgba(255, 253, 250, 0.72);
}

.footer-brand .brand-logo {
  width: 150px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 250, 0.72);
}

.footer-small {
  text-align: right;
  font-size: 0.9rem;
}

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

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .split-feature {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 10px 10px 10px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 2px;
    padding: 12px;
    color: var(--ink);
    border: 1px solid rgba(22, 32, 38, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 253, 250, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .site-nav .nav-cta {
    margin: 6px 0 0;
    justify-content: center;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-media {
    background-position: 56% center;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 150px 0 58px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .band,
  .contact,
  .metrics {
    width: calc(100% - 32px);
  }

  .band,
  .contact {
    padding: 68px 0;
  }

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

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 260px;
  }

  .service-card span,
  .steps span {
    margin-bottom: 36px;
  }

  .feature-image {
    min-height: 340px;
  }

  .feature-panel {
    padding: 48px 20px;
  }

  .quote-section {
    padding: 74px 20px;
    background-attachment: scroll;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-small {
    text-align: left;
  }
}
