:root {
  --color-ink: #0d3d44;
  --color-ink-dark: #062b31;
  --color-gold: #f8af2f;
  --color-gold-deep: #d99422;
  --color-stone: #f3f0e9;
  --color-paper: #fffdf8;
  --color-muted: #607174;
  --color-line: #d8d1c4;
  --shadow: 0 22px 60px rgba(6, 43, 49, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink-dark);
  background: var(--color-paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(13, 61, 68, 0.12);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(190px, 24vw, 320px);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-gold-deep);
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-ink-dark);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/threels-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 43, 49, 0.88), rgba(6, 43, 49, 0.55) 48%, rgba(6, 43, 49, 0.18)),
    linear-gradient(0deg, rgba(6, 43, 49, 0.76), rgba(6, 43, 49, 0.08) 42%);
}

.hero__content {
  width: min(790px, calc(100% - 36px));
  margin: 0 0 clamp(48px, 8vw, 92px) clamp(18px, 6vw, 88px);
  color: white;
}

.eyebrow,
.section__label {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h2 {
  margin-bottom: 18px;
  color: var(--color-ink);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

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

.button--secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 820px);
  gap: 34px;
  background:
    linear-gradient(90deg, rgba(248, 175, 47, 0.12), transparent 36%),
    var(--color-paper);
}

.intro__text p,
.about__content p {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.services {
  background: var(--color-stone);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(13, 61, 68, 0.14);
  border-radius: 6px;
  background: var(--color-paper);
  box-shadow: 0 12px 30px rgba(6, 43, 49, 0.06);
}

.service-card__number {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--color-gold-deep);
  font-weight: 900;
}

.service-card p,
.process-item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.process {
  background: var(--color-paper);
}

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

.process-item {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.process-item h3::before {
  display: block;
  width: 34px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--color-gold);
  content: "";
}

.about {
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(0, 780px);
  align-items: center;
  gap: clamp(30px, 7vw, 88px);
  color: white;
  background:
    linear-gradient(135deg, rgba(248, 175, 47, 0.14), transparent 38%),
    var(--color-ink);
}

.about h2,
.about h3 {
  color: white;
}

.about__mark {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.about__mark img {
  max-height: 200px;
  object-fit: contain;
}

.about__content p {
  color: rgba(255, 255, 255, 0.78);
}

.future-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.future-links span,
.future-links a {
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

.future-links span {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.future-links a {
  color: var(--color-ink-dark);
  background: var(--color-gold);
  text-decoration: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 420px);
  gap: 32px;
  padding: clamp(56px, 8vw, 88px) clamp(18px, 6vw, 88px);
  background: var(--color-gold);
}

.contact .eyebrow {
  color: var(--color-ink-dark);
}

.contact h2 {
  margin-bottom: 0;
  color: var(--color-ink-dark);
}

.contact__details {
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--color-ink-dark);
  font-weight: 800;
}

.contact__details a {
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--color-ink-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

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

@media (max-width: 640px) {
  .hero {
    min-height: 760px;
  }

  .hero__content {
    width: calc(100% - 32px);
    margin: 0 16px 44px;
  }

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

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

  .service-card__number {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}
